Introduction
Blind Image Quality Assessment (BIQA) aims to predict human perception of image quality without a reference image. This task is particularly challenging for "in-the-wild" images where distortions are authentic and complex, ranging from sensor noise to compression artifacts. Traditional BIQA models often rely on features from models pre-trained for image classification, such as those trained on ImageNet. However, these classification-based priors are designed to be invariant to distortions to maintain object recognition accuracy, making them inherently "quality-blind."
The DP-IQA Framework
The authors propose DP-IQA, a framework that repurposes the internal representations of pre-trained text-to-image (T2I) diffusion models, specifically Stable Diffusion (SD), for quality assessment. The core hypothesis is that a model capable of generating high-quality images must possess an inherent understanding of pixel-level quality and texture.
The Teacher Model
The teacher model extracts multi-level features from the SD denoising U-Net at a single, fixed timestep ($t=1$). To adapt the generative model for IQA, several key components are introduced:
- Text Adapter: This module bridges the gap between fixed quality-related text templates (e.g., "a photo of a {scene} with {distortion} distortion") and the SD latent space.
- Image Adapter: Standard VAEs used in latent diffusion often act as low-pass filters. The Image Adapter reintroduces high-frequency details directly into the U-Net, ensuring the model can perceive fine-grained distortions.
- Quality Feature Decoder (QFD): This module aggregates multi-scale features from different layers of the U-Net into a final quality score.
Knowledge Distillation
To make the system practical for real-world applications, the knowledge from the massive teacher model is distilled into a student model based on EfficientNet-B7. The student is trained to minimize both the difference in predicted quality scores and the distance between its feature maps and the teacher's quality-aware features. This process results in a model that is 3× faster and has 14× fewer parameters while maintaining high accuracy.
Why Diffusion Priors?
Diffusion models are trained on the "gradient of data density," making them highly sensitive to the spatial arrangement of pixels. Unlike discriminative models that focus primarily on high-level semantics, diffusion models must master low-level textures to generate realistic images.
As shown in the cross-attention maps, the model effectively distinguishes between the subject of the image and the distortions affecting it. This dual awareness allows DP-IQA to excel in complex, real-world scenarios where semantic content and quality are deeply intertwined.
Key Results and Generalization
DP-IQA achieves state-of-the-art (SOTA) performance on major "in-the-wild" benchmarks, including KonIQ-10k (achieving a Spearman correlation of 0.942) and SPAQ. Notably, the model demonstrates superior generalization in cross-dataset evaluations, proving that it learns robust quality features rather than just memorizing specific dataset characteristics.
While the model excels at authentic distortions, future work may address potential overfitting on small-scale synthetic datasets and further optimize the efficiency of the distillation process for mobile-ready architectures. The success of DP-IQA suggests that the internal knowledge of large-scale generative models holds significant untapped potential for discriminative tasks requiring fine-grained pixel understanding.
Summary updated