Learning to Blindly Assess Image Quality in the Laboratory and Wild

Weixia Zhang, Kede Ma, Xiaokang Yang

Introduction

Blind Image Quality Assessment (BIQA) aims to predict the perceptual quality of an image without access to a pristine reference. This task is critical for numerous applications, from optimizing image processing pipelines to filtering content on social media. However, a significant gap exists between models trained on "synthetic" laboratory distortions and those trained on "realistic" real-world distortions.

The Challenge: Lab vs. Wild

Historically, BIQA research has been bifurcated. Synthetic datasets like LIVE or TID2013 focus on specific, isolated distortions such as Gaussian blur or JPEG compression. In contrast, "wild" datasets like KonIQ-10K or LIVE Challenge contain images with complex, overlapping artifacts like sensor noise, motion blur, and poor exposure.

Comparison of synthetic distortions (a, b) and realistic distortions (d, e, f) against a reference image (c).

A major hurdle in bridging these two domains is the inconsistency of perceptual scales. Different datasets use different Mean Opinion Score (MOS) ranges (e.g., 1-5 vs. 0-100). Simply merging datasets is often ineffective because a score of "70" in one context may represent a different quality level than "70" in another, necessitating expensive realignment experiments.

Methodology: Learning from Rankings

To overcome the scale alignment problem, the researchers proposed a unified training strategy based on relative rankings rather than absolute scores.

Intra-Database Pairwise Learning

By training the model to predict which image in a pair is better within the same dataset, the global scale differences between datasets become irrelevant. This allows for the simultaneous use of multiple diverse datasets, totaling over 240,000 image pairs.

Soft Labels and Fidelity Loss

Instead of hard binary labels (better/worse), the model utilizes Thurstone’s model to convert MOS and standard deviations into a probability distribution. This "soft" label captures human uncertainty. To optimize this, a fidelity loss function—inspired by quantum physics—is employed. This loss is more stable than standard cross-entropy and prevents over-penalizing the model on ambiguous pairs where human observers disagreed.

Architectural Enhancements

The model uses a ResNet-34 backbone. Crucially, it replaces standard global average pooling with second-order bilinear pooling. While standard pooling is designed for object recognition (where spatial variance is often noise), BIQA requires capturing fine-grained spatial statistics, which bilinear pooling preserves.

Key Results and Performance

The proposed unified model achieved state-of-the-art results across six major IQA databases.

  • Superior Correlation: The model consistently outperformed previous BIQA methods in terms of Spearman Rank-order Correlation Coefficient (SRCC). On the KonIQ-10K dataset, it reached an SRCC of 0.894, a significant improvement over previous benchmarks.
  • Competitive with Full-Reference Models: In some cases, this blind model performed as well as or better than full-reference metrics like MS-SSIM, which have the advantage of seeing the original image.
  • Robust Generalization: Training on a mixture of synthetic and realistic data significantly improved the model's ability to generalize to unseen datasets, proving the effectiveness of the multi-dataset ranking approach.

Conclusion

By shifting the focus from absolute score regression to relative pairwise ranking, this research successfully bridges the gap between laboratory-controlled and real-world image quality assessment. The combination of soft-labeling, fidelity loss, and bilinear pooling provides a robust framework that scales easily with new data, paving the way for more reliable automated quality control in the wild.

Summary updated

BibTeX
@inproceedings{zhang2020learning,
  author = {Weixia Zhang and Kede Ma and Xiaokang Yang},
  title = {{Learning to Blindly Assess Image Quality in the Laboratory and Wild}},
  booktitle = {ICIP},
  year = {2020},
  doi = {10.1109/icip40778.2020.9191278},
}
Figure