Cross-Dataset-Robust Method for Blind Real-World Image Quality Assessment

Yuan Chen, Zhiliang Ma, Yang Zhao · DOI

Abstract

Although many effective models and real-world datasets have been presented for blind image quality assessment (BIQA), recent BIQA models usually tend to fit specific training set. Hence, it is still difficult to accurately and robustly measure the visual quality of an arbitrary real-world image. In this paper, a robust BIQA method, is designed based on three aspects, i.e., robust training strategy, large-scale real-world dataset, and powerful backbone. First, many individual models based on popular and state-of-the-art (SOTA) Swin-Transformer (SwinT) are trained on different real-world BIQA datasets respectively. Then, these biased SwinT-based models are jointly used to generate pseudo-labels, which adopts the probability of relative quality of two random images instead of fixed quality score. A large-scale real-world image dataset with 1,000,000 image pairs and pseudo-labels is then proposed for training the final cross-dataset-robust model. Experimental results on cross-dataset tests show that the performance of the proposed method is even better than some SOTA methods that are directly trained on these datasets, thus verifying the robustness and generalization of our method.

Introduction

Blind Image Quality Assessment (BIQA) is a critical task in computer vision, aimed at predicting human perception of image quality without a reference image. While deep learning has significantly advanced the field, most current models suffer from a lack of generalization. Existing datasets, such as LIVEC or KonIQ-10k, are relatively small and inherently biased due to specific capture conditions and subjective evaluation scales. Consequently, a model trained on one dataset often performs poorly when tested on another.

Comparison of human Mean Opinion Scores (MOS) against predictions from various SOTA BIQA models, highlighting the discrepancy and dataset bias.

As shown in the figure above, existing state-of-the-art (SOTA) models like DBCNN, HyperIQA, and TReS often fail to align with human Mean Opinion Scores (MOS) when applied across different image types. This paper introduces CDR-BIQA, a method designed to overcome this "dataset bias" by leveraging a massive unlabeled dataset and a robust pseudo-labeling strategy.

Methodology

The proposed CDR-BIQA framework utilizes a three-stage training strategy to ensure cross-dataset robustness:

  1. Individual Model Training: Multiple individual BIQA models are trained using the Swin-Transformer (SwinT) backbone. Each model is trained on a distinct labeled dataset (e.g., LIVEC, SPAQ, etc.). While powerful, these models are naturally biased toward their specific training distributions.
  2. Robust Pseudo-Label Generation: To utilize a large-scale unlabeled dataset (100,000 images), the ensemble of biased models from Stage 1 is used to predict quality scores for random image pairs $(X, Y)$. Instead of absolute scores, the difference is converted into a relative probability—the likelihood that image $X$ is superior to image $Y$. Averaging these probabilities across the ensemble creates a robust "pseudo-label" that neutralizes individual dataset biases.
  3. Final Model Training: The final Cross-Dataset-Robust (CDR) model is trained using a Siamese-like architecture. It learns to predict relative quality using a fidelity loss function, comparing its predictions against the ensemble's robust pseudo-labels.

Key Insights

  • Relative Quality over Absolute Scores: Absolute quality scores are difficult to align across datasets. However, the relative ranking of image pairs is more consistent. Training on probabilities of relative quality helps the model learn fundamental quality features rather than memorizing specific scoring ranges.
  • Wisdom of the Biased Crowd: By combining multiple biased models, the framework cancels out individual dataset biases, resulting in a more neutral and robust teacher for the final model.
  • Swin-Transformer Backbone: The hierarchical structure of the Swin-Transformer is highly effective at capturing multi-scale features, ranging from fine-grained noise to global composition, which are essential for accurate quality assessment.

Experimental Results

CDR-BIQA demonstrates superior generalization in cross-dataset evaluations. Notably, it frequently outperforms models trained directly on the target test datasets. For instance, on the LIVEC dataset, CDR-BIQA achieved a Spearman Rank Correlation Coefficient (SRCC) of 0.888, surpassing models specifically optimized for that dataset.

Performance was found to scale with the amount of data, improving steadily as the number of pseudo-labeled training pairs increased, eventually plateauing around 500,000 pairs. Furthermore, Grad-CAM visualizations indicate that CDR-BIQA focuses more accurately on salient image regions compared to single-dataset models.

Conclusion and Future Work

CDR-BIQA effectively addresses the dataset bias problem in real-world BIQA. While it excels at "in-the-wild" distortions, its performance on purely synthetic distortions remains an area for further refinement. Future research may explore even larger unlabeled datasets, alternative transformer architectures, or the extension of this relative probability framework to video quality assessment.

Summary updated

BibTeX
@misc{chen2023cross,
  author = {Yuan Chen and Zhiliang Ma and Yang Zhao},
  title = {{Cross-Dataset-Robust Method for Blind Real-World Image Quality Assessment}},
  year = {2023},
  eprint = {2309.14868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.14868},
}
Figure