Abstract
Blind image quality assessment (BIQA) aims to automatically evaluate the perceived quality of a single image. While deep learning has advanced this field, the scarcity of labeled data limits performance. We propose QPT, a self-supervised pretext task customized for BIQA. QPT learns representations from unlabeled data using a quality-aware contrastive loss and a massive degradation space ($2 \times 10^7$ combinations). Our model, pretrained on ImageNet, becomes highly sensitive to image quality, significantly outperforming existing methods on downstream BIQA benchmarks.
1. Introduction
In computer vision, models are typically pretrained on ImageNet to learn semantic features (recognizing what is in an image). However, for Blind Image Quality Assessment (BIQA), semantic features are often insufficient. Two images with the same semantic content can have drastically different quality scores due to distortions like blur, noise, or compression.
The primary hurdle in BIQA is the paucity of labeled data. While classification datasets are massive, BIQA datasets are relatively small, leading to overfitting when training deep models from scratch. Standard self-supervised models (like MoCo) are often "quality-blind" because they are designed to be invariant to distortions. QPT addresses this by making the model "distortion-variant."
2. Methodology
The QPT framework consists of two core innovations: a complex degradation pipeline and a quality-aware contrastive loss.
2.1 Massive Degradation Space
To simulate the variety of real-world distortions, we developed a stochastic degradation pipeline. Unlike simple synthetic blurs, our method uses a sequence of operations—geometric deformation, color jitter, and texture adjustment—that can be skipped, shuffled, or applied in high-order (repeatedly).
This creates a space of approximately $2 \times 10^7$ possible degradation combinations, ensuring the model encounters a nearly infinite variety of distorted images during pre-training.
2.2 Quality-aware Contrastive Loss (QC-Loss)
The overall framework processes input images through this degradation space to generate contrastive pairs. As shown in the pipeline overview, the model extracts patches and encodes features to form a specific contrastive structure.
Standard contrastive learning treats different views of the same image as "positives." QPT modifies this by assuming patches from the same distorted image should have similar representations. It introduces two types of "negatives":
- Content-based negatives: Patches from different images.
- Degradation-based negatives: Patches from the same original image but subjected to different distortions.
By forcing the model to distinguish between different distortions on identical content, the network learns features sensitive to quality rather than just semantics.
3. Experiments and Results
We pretrained a ResNet-50 backbone on 1.2 million ImageNet images without human quality labels. We then evaluated it on several downstream BIQA datasets, including BID, CLIVE, KonIQ10K, SPAQ, and FLIVE.
3.1 Performance and Efficiency
QPT-pretrained models achieved state-of-the-art results, even outperforming complex Transformer-based architectures. On the BID dataset, QPT improved the Spearman Rank Correlation Coefficient (SRCC) by 3.0% and the Pearson Linear Correlation Coefficient (PLCC) by 4.6% over previous bests. Notably, even when trained on only 50% of ImageNet data, QPT maintained superior performance.
3.2 Linear Probing
In linear probing experiments (where the encoder is frozen), QPT outperformed standard MoCo by over 8% in SRCC. This demonstrates that the features learned by QPT are inherently more quality-aware than those from standard semantic-focused self-supervised learning.
4. Conclusion
QPT demonstrates that self-supervised pre-training, when tailored with a quality-aware objective and a diverse degradation space, can overcome the data scarcity bottleneck in BIQA. Future work includes scaling to larger models and extending the framework to video quality assessment.
Summary updated