Adversarial attacks are well-known for tricking classifiers into seeing a "toaster" where there is a "banana." But what happens when the target isn't a label, but a continuous quality score? In the world of No-Reference Image Quality Assessment (NR-IQA), current attacks focus on making a single image look better or worse to a model. New research from Peking University and Peng Cheng Laboratory argues that we are missing the bigger picture: the relationship between images.
Abstract
Deep neural networks have demonstrated impressive success in No-Reference Image Quality Assessment (NR-IQA). However, recent research highlights the vulnerability of NR-IQA models to subtle adversarial perturbations, leading to inconsistencies between model predictions and subjective ratings. Current adversarial attacks focus on perturbing predicted scores of individual images, neglecting the crucial aspect of inter-score correlation relationships within an entire image set. Meanwhile, it is important to note that correlation, like ranking correlation, plays a significant role in NR-IQA tasks. To comprehensively explore the robustness of NR-IQA models, we introduce a new framework of correlation-error-based attacks that perturb both the correlation within an image set and score changes on individual images. We propose a practical two-stage SROCC-MSE-Attack (SMA) that initially optimizes target attack scores for the entire image set and then generates adversarial examples guided by these scores. Experimental results demonstrate that our SMA method not only significantly disrupts the SROCC to negative values but also maintains a considerable change in the scores of individual images.
What Problem Does This Paper Address?
No-Reference Image Quality Assessment (NR-IQA) models predict a quality score for an image without a "perfect" original for comparison. These models are typically evaluated on two fronts:
- Accuracy (Error-based): How close is the predicted score to a human's Mean Opinion Score (MOS)?
- Consistency (Correlation-based): Does the model rank a set of images in the same order a human would?
Until now, adversarial attacks on NR-IQA have been primarily "error-based," attempting to make a high-quality image receive a low score. However, the authors point out a massive blind spot: an attack could shift every image's score by a fixed amount, but if the relative ranking stays the same, the model might still be useful for tasks like image retrieval or recommendation. The authors set out to create an attack that simultaneously maximizes prediction error for individual images while completely disrupting the ranking correlation across the entire dataset.
The SMA Framework
The authors propose a two-stage framework called SROCC-MSE-Attack (SMA) to address both error and correlation metrics:
- Stage 1: Target Score Optimization. Instead of directly perturbing pixels, the authors first find a set of "optimal" target scores for the entire image set. They use multi-objective optimization to minimize the Spearman’s Rank-Order Correlation Coefficient (SROCC) and maximize the Mean Squared Error (MSE). Because SROCC is based on discrete ranks (which are non-differentiable), they employ a differentiable ranking proxy to enable backpropagation.
- Stage 2: Targeted Sample Generation. Once the "malicious" target scores are established, the framework generates adversarial examples. It subtly alters the pixels of each image so the NR-IQA model predicts the specific target score derived in Stage 1.
Key Insights and Results
The results are a wake-up call for the IQA community, demonstrating that current models are dangerously vulnerable to attacks that flip their internal logic upside down.
- Flipping the Correlation: On the DBCNN model, SMA dropped the SROCC from a clean 0.868 to a staggering -0.716. This means the model's rankings became almost the exact opposite of human rankings.
- Massive Rank Displacement: The authors measured $\Delta$Rank, tracking how many positions an image moves in a sorted list. SMA achieved a $\Delta$Rank of about 110 (out of a 232-image test set), meaning images were moved halfway across the entire dataset's ranking on average.
- Invisibility vs. Impact: The method achieved better "invisibility" (measured by LPIPS) than many existing attacks. By targeting specific scores rather than just "maximizing error," the perturbations required are often more subtle and less noticeable to the human eye.
Conclusion
The SMA method provides a new perspective on the robustness of NR-IQA models. Traditional attacks are like a teacher grading every student lower; the "best" student is still the best. SMA is like the teacher shuffling the names on the papers—it destroys the utility of the model for any system that relies on sorting. The authors conclude that merely training models to predict scores accurately isn't enough; future NR-IQA research must focus on "ranking consistency" to build models that cannot be easily manipulated into misrepresenting relative image quality.
Summary updated