Diffusion Model-Based Visual Compensation Guidance and Visual Difference Analysis for No-Reference Image Quality Assessment

Zhaoyang Wang, Bo Hu, Mingyang Zhang, Jie Li, Leida Li, Maoguo Gong, Xinbo Gao

TL;DR

This paper introduces DiffV²IQA, the first framework to leverage generative diffusion models for No-Reference Image Quality Assessment (NR-IQA). By using a diffusion model to "repair" distorted images, the system creates high-quality pseudo-references that allow the model to evaluate quality through both visual compensation and a novel difference analysis, achieving state-of-the-art results across seven major benchmarks.

What Problem Does This Paper Address?

Assessing the quality of an image without a "perfect" original version to compare it to (No-Reference IQA) is a notoriously difficult task in computer vision. Humans are naturally good at this because our brains possess a "self-repair" mechanism—based on the free-energy principle—that allows us to imagine what a clean version of a blurry or grainy photo should look like.

Existing AI methods have tried to mimic this by using GANs (Generative Adversarial Networks) to restore images, but these often struggle with complex distortions or produce "hallucinated" details that aren't interpretable. Furthermore, most models don't efficiently use the information gained during the restoration process to actually calculate a final quality score.

Methods

The authors propose a dual-branch architecture called DiffV²IQA, which consists of three main stages:

  1. Diffusion Restoration Network: Based on the SR3 super-resolution architecture, this U-Net-based diffusion model takes a distorted image and iteratively removes noise to produce a "restored" version ($y_0$). Crucially, it also saves intermediate noisy versions ($y_{t1}, y_{t2}$), which provide a gradient of "interpretable" high-level visual information.
  2. Visual Compensation Guidance (VCG) Branch: This branch uses a Vision Transformer (ViT) to extract features from the original distorted image and the restored versions. It employs a "noise level embedding" strategy to help the network distinguish between original features and the high-level information introduced by the restoration process.
  3. Visual Difference Analysis (VDA) Branch: This is the most novel part of the evaluation. Since the diffusion model provides a "clean" pseudo-reference, the authors use a ResNet50-based branch and a Residual Transposed Attention Block (RTAB) to calculate the difference between the distorted and restored images. This effectively turns a "No-Reference" problem into a "Full-Reference" one.

Datasets

The model was pre-trained on the PIPAL dataset (known for its diverse distortion types) and evaluated on a comprehensive suite of benchmarks:

  • Synthetic Distortions: LIVE, CSIQ, TID2013, and Kadid10k.
  • Authentic (Real-world) Distortions: LIVE Challenge (CLIVE) and KonIQ-10k.
  • Generalization Testing: Waterloo Exploration Database (using gMAD competition).

Key Insights and Ideas

  • Diffusion as a Pseudo-Reference: The core "aha moment" is treating the diffusion model's output not just as a pretty picture, but as a surrogate for the missing ground truth. This allows the model to capture "nuanced changes" that standard NR-IQA models miss.
  • Interpretable Intermediates: Unlike GANs, which are "black boxes," the step-by-step nature of diffusion allows the authors to pick specific timestamps ($t$) in the denoising process. These intermediate images serve as a "visual compensation" guide that helps the model understand the scale of the distortion.
  • The Power of Difference: The VDA branch proves that explicitly calculating the disparity between "distorted" and "imagined clean" versions is more effective than simply looking at the restored image in isolation.

Key Results

DiffV²IQA consistently outperformed existing state-of-the-art (SOTA) models like MANIQA and MUSIQ:

  • CSIQ Dataset: Achieved an SRCC of 0.986 and PLCC of 0.990, significantly higher than previous methods.
  • TID2013 Dataset: Reached an SRCC of 0.962, demonstrating superior performance on complex, multi-type distortions.
  • Generalization: In the gMAD competition (a head-to-head "attacker vs. defender" test), the model proved more robust than MANIQA, correctly identifying high-quality images that other models misclassified due to compositional biases.

Limitations and Future Work

While groundbreaking, the authors acknowledge a few hurdles:

  • Computational Cost: Diffusion models are iterative and inherently slower than single-pass CNNs or Transformers. This leads to an "inherent extension of inference time."
  • Authentic Distortion Gap: While the model performs well on real-world photos, the improvement isn't as dramatic as it is on synthetic distortions. This is likely because the diffusion model is pre-trained on synthetic data.
  • Future Directions: The authors suggest exploring more realistic simulated datasets to bridge the gap to authentic distortions and extending the framework to Video Quality Assessment (VQA).

Summary updated

BibTeX
@article{wang2025diffusion,
  author = {Zhaoyang Wang and Bo Hu and Mingyang Zhang and Jie Li and Leida Li and Maoguo Gong and Xinbo Gao},
  title = {{Diffusion Model-Based Visual Compensation Guidance and Visual Difference Analysis for No-Reference Image Quality Assessment}},
  journal = {IEEE Trans. Image Process.},
  year = {2025},
  url = {https://openreview.net/forum?id=ri7tDgL9NK},
}
Figure