Learning To Blindly Assess Image Quality In The Laboratory And Wild

Weixia Zhang, Kede Ma, Guangtao Zhai, Xiaokang Yang

TL;DR

Researchers have developed a unified Blind Image Quality Assessment (BIQA) model that excels at evaluating both "synthetic" (laboratory-controlled) and "realistic" (real-world) image distortions. By training on multiple datasets simultaneously using a pairwise ranking strategy and a novel "fidelity loss," the model bypasses the need for complex perceptual scale realignment and significantly outperforms previous state-of-the-art methods.

What Problem Does This Paper Address?

Assessing image quality without a "perfect" reference image—known as Blind Image Quality Assessment (BIQA)—is notoriously difficult. Historically, the field has been split into two camps:

  1. Synthetic Distortions: Images manipulated in a lab with known effects like Gaussian blur or JPEG compression (e.g., the LIVE dataset).
  2. Realistic Distortions: Images captured in the "wild" with messy, overlapping issues like poor lighting, sensor noise, or shaky hands (e.g., KonIQ-10K).

Models trained on one type usually fail miserably on the other. You might think the solution is to simply combine all existing datasets into one giant training set. However, every dataset uses a different "perceptual scale." One might rate quality from 1 to 5, while another uses 0 to 100. Even after rescaling, a "70" in one dataset might look much worse than a "70" in another due to different subjective testing environments. Re-aligning these scales usually requires expensive new human experiments.

Methods

The authors propose a training strategy that ignores absolute scores in favor of relative rankings.

  • Intra-Database Pairwise Learning: Instead of teaching the model that "Image A is a 7.5," they teach it that "Image A is better than Image B." Because they only compare images within the same dataset, the differing global scales between datasets no longer matter.
  • Continuous Quality Annotation: Using Thurstone’s model, they convert Mean Opinion Scores (MOS) and standard deviations into a probability $p$ that image $x$ is better than image $y$. This provides a "soft" label that accounts for human uncertainty, rather than a hard binary (0 or 1) choice.
  • Fidelity Loss: Instead of standard cross-entropy, they use a "fidelity loss" borrowed from quantum physics. This loss function is bounded and more stable, preventing the model from over-penalizing "hard" examples where humans themselves couldn't agree on which image was better.
  • Architecture: They use a ResNet-34 backbone but replace the standard global average pooling with second-order bilinear pooling. This allows the model to better capture the complex spatial statistics necessary for identifying fine-grained distortions.

Datasets

The model was trained and evaluated on six major IQA databases:

  • Synthetic: LIVE, CSIQ, and TID2013.
  • Realistic (Wild): BID, LIVE Challenge, and KonIQ-10K.

By combining these, the training set included over 240,000 image pairs.

Key Insights and Ideas

  • Bypassing the Realignment Headache: The most elegant "aha moment" is that you don't need to align scales if you only care about which image in a pair is better. This allows for "massive" data scaling by simply pooling existing datasets.
  • Uncertainty Matters: By using the standard deviation of human scores to create a probability distribution ($p$), the model learns that some comparisons are "toss-ups." This is more representative of real human perception than forcing a hard "better/worse" decision.
  • Bilinear Pooling for Quality: Standard deep learning models (like those for object recognition) often discard spatial variance. For quality assessment, that variance is the signal. Bilinear pooling preserves these essential features.

Key Results

The proposed model achieved state-of-the-art results across the board.

  • Superior Performance: In terms of Spearman Rank-order Correlation Coefficient (SRCC), the model outperformed all previous BIQA methods on all six databases.
  • Beating Full-Reference Models: Remarkably, this "blind" model (which sees no reference image) performed comparably to, or even better than, classic "full-reference" models like MS-SSIM on certain datasets.
  • Cross-Database Robustness: When trained on a mix of synthetic and realistic data, the model showed much stronger generalization to unseen datasets compared to models trained on only one type of distortion. For example, on the KonIQ-10K dataset, it achieved an SRCC of 0.894, significantly higher than the next best competitor (0.754).

Limitations and Future Work

While the model handles intra-database rankings perfectly, it doesn't explicitly learn to compare an image from Dataset A to an image from Dataset B (the "inter-database" problem).

The authors suggest that future work could:

  1. Explicitly enforce constraints to learn uncertainty more effectively.
  2. Incorporate more diverse datasets as they become available, as the framework is "model agnostic" and easy to scale.
  3. Explore "group maximum differentiation" (gMAD) competitions to further stress-test the model's generalizability against other top-performing networks.

Summary updated

BibTeX
@inproceedings{zhang2020learning,
  author = {Weixia Zhang and Kede Ma and Guangtao Zhai 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