Introduction
In the evolving landscape of computer vision, adversarial attacks have long been a concern for image classification. However, a new front has opened: the manipulation of learning-based No-Reference Image Quality Assessment (NR-IQA) metrics. As these metrics (e.g., Linearity, MetaIQA, SPAQ) become the gold standard for benchmarks and optimization, they have become targets for "quality-boosting" attacks. Gushchin et al. address this in their study on adversarial purification—a defense strategy that cleanses images of adversarial perturbations before they reach the evaluation metric.
The Challenge of IQA Defense
Learning-based IQA metrics are designed to mimic human perception, often outperforming traditional tools like PSNR. Yet, they are highly vulnerable to adversarial perturbations—tiny, often imperceptible changes that can trick a metric into assigning a high score to a low-quality image. This poses a significant threat to the integrity of public leaderboards. Unlike classification defenses, where the goal is to maintain a label, IQA defenses must restore the original perceived quality without introducing blurring or artifacts that would themselves lower the metric's score.
Methodology and Novel Contributions
The researchers evaluated 16 purification methods against 10 distinct attack types. These methods range from standard preprocessing (resizing, JPEG compression) to advanced neural restoration (MPRNet, Real-ESRGAN) and diffusion-based models.
Novel Defense Methods
- DiffPure + Edge/Unsharp: While Diffusion-based Purification (DiffPure) is highly effective at removing noise, it can over-smooth images. The authors proposed blending purified images with original edges (via Sobel filters) or applying unsharp masking to restore crispness without re-introducing the attack.
- FCN Filter: A compact, 3-layer Fully Convolutional Network was developed specifically to neutralize AdvCF, an unrestricted attack that manipulates image colors rather than adding pixel noise.
Experimental Setup and Benchmark
To evaluate these defenses, the authors created a comprehensive benchmark using 200 images from the NIPS 2017 Adversarial Learning Development Set. Each image was subjected to 10 attacks, including gradient-based (FGSM, MI-FGSM) and perceptual-aware (SSAH, AdvCF) methods, targeting metrics such as Linearity and SPAQ.
Key Insights
- The "Flip" Paradox: Simple spatial transformations like flipping or rotating can defeat many attacks because they are often spatially dependent. However, this is considered "security through obscurity" and can be bypassed by defense-aware attackers.
- Diffusion Dominance: DiffPure emerged as the most robust method, effectively "forgetting" adversarial noise during the diffusion process.
- Quality-Robustness Trade-off: There is a delicate balance between neutralizing an attack and preserving legitimate image quality. The proposed structural re-injection techniques (DiffPure + Edge) successfully address this trade-off.
Results and Conclusion
The study found that DiffPure + Unsharp maintained the highest correlation (SROCC ~0.75) between original and purified scores, effectively neutralizing most attacks. For color-based attacks like AdvCF, the specialized FCN filter provided the best balance of visual quality and neutralization.
While diffusion-based methods are powerful, their computational cost (~3 FPS) remains a barrier for real-time applications compared to faster methods like Resize (~63 FPS). The authors conclude that while preprocessing is a strong empirical defense, the future of the field lies in developing "provable defenses" with mathematical guarantees against manipulation.
Summary updated