Exploring Vulnerabilities of No-Reference Image Quality Assessment Models: A Query-Based Black-Box Method

Chenxi Yang, Yujia Liu, Dingquan Li, Tingting Jiang

How do you trick an AI that is designed to see like a human? In the world of computer vision, No-Reference Image Quality Assessment (NR-IQA) models are the "critics." They look at an image—without needing a pristine original for comparison—and assign it a quality score. These models are essential for everything from social media recommendation algorithms to fine-tuning image compression.

But a new paper by Chenxi Yang and colleagues reveals that these digital critics have a significant blind spot. They’ve developed a pioneering query-based black-box attack that can drastically manipulate quality scores while keeping the changes completely invisible to the human eye.

TL;DR

This paper introduces the first query-based black-box attack specifically designed for No-Reference Image Quality Assessment (NR-IQA) models. By leveraging human visual system priors and a novel "score boundary" iterative approach, the researchers successfully crashed model performance (e.g., dropping SROCC from 0.95 to 0.11) using only a limited number of model queries.

What Problem Does This Paper Address?

Most adversarial attacks—techniques used to fool AI—are "white-box," meaning the attacker has full access to the model's internal math (gradients). In the real world, models are usually "black boxes": you can send an image and get a score, but you don't know how the model works inside.

Attacking NR-IQA is significantly harder than attacking standard image classifiers for three reasons:

  1. Regression vs. Classification: In classification, you just need to flip a label (e.g., "cat" to "dog"). In IQA, you are dealing with a continuous score. There is no natural "boundary" to cross.
  2. Inefficiency of Random Noise: The authors found that while random Gaussian noise can easily break a classifier, it barely nudges an IQA score.
  3. Sensitivity: IQA models are specifically trained to detect subtle quality changes. To fool them, an attack must be extremely precise yet remain imperceptible to humans.

Methods

The researchers proposed a framework that treats the attack as a geometric optimization problem.

The framework of the proposed attack method.

Key innovations include:

  • Score Boundaries: Since IQA lacks classification boundaries, the authors created "score boundaries"—target thresholds that the attack tries to cross in each iteration to systematically degrade the score.
  • Global-Local (GL) Optimization: Instead of just lowering a score, the attack aims to flip the ranking of an entire image set. It pushes high-quality images toward lower scores and low-quality images toward higher ones, maximizing the disruption of the model's utility.
  • HVS-Prior Attack Directions: Rather than using random noise, the attack starts by injecting high-frequency textures and sparse noise extracted from other high-quality images. It specifically targets edges and salient regions (areas humans look at most), where NR-IQA models are most sensitive.
  • JND Constraint: To ensure the attack is invisible, they use a "Just Noticeable Difference" (JND) model to keep every pixel change below the human threshold of perception.

Datasets

The method was evaluated on two major benchmarks:

  • LIVE: A dataset featuring synthetic distortions (like blur or noise).
  • CLIVE (LIVEC): A more challenging dataset featuring authentic, real-world distortions.
  • KADID-10k: Used as a source for high-quality "prior" images to generate attack directions.

Key Insights and Ideas

  • Texture is the Weak Point: NR-IQA models rely heavily on texture information. By injecting adversarial textures into salient regions, the attack achieves much higher efficiency than pixel-wise random searches.
  • Adaptive Iteration: The attack isn't one-size-fits-all. The "score boundaries" are adaptive; if a boundary is too hard to cross, the algorithm dynamically adjusts it, ensuring a successful attack even on robust models.
  • Authentic Distortion Vulnerability: A surprising finding was that models trained on real-world, authentic distortions (CLIVE) were significantly more vulnerable to these attacks than those trained on synthetic distortions.

Key Results

The results were dramatic. When attacking the state-of-the-art DBCNN model:

  • On the LIVE dataset, the Spearman correlation (SROCC)—a measure of how well the model aligns with human judgment—plummeted from 0.9529 to 0.3985.
  • On the CLIVE dataset, the drop was even more severe: from 0.8133 to 0.1148, effectively rendering the model useless.
Visualizing the attack on the DBCNN model. The adversarial examples (right) look identical to the originals but receive vastly different scores.

Crucially, these attacks were achieved with a budget of only 8,000 queries, far fewer than previous general-purpose black-box methods required to achieve even minor score changes.

Limitations and Future Work

While highly effective, the authors note that the attack still requires several thousand queries, which might be detectable by some systems. Furthermore, the extreme vulnerability of models to authentic distortions suggests that current NR-IQA training methods may be overfitting to specific types of visual features.

Future research will likely focus on developing "adversarial training" for IQA—using these very attacks to build models that are harder to fool. For now, this work serves as a wake-up call for the IQA community: our digital eyes are much easier to trick than we thought.

Summary updated

BibTeX
@article{yang2024exploring,
  author = {Chenxi Yang and Yujia Liu and Dingquan Li and Tingting Jiang},
  title = {{Exploring Vulnerabilities of No-Reference Image Quality Assessment Models: A Query-Based Black-Box Method}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  url = {https://openreview.net/forum?id=okSli4p6Im},
}
Figure