2AFC Prompting of Large Multimodal Models for Image Quality Assessment

Hanwei Zhu, Xiangjie Sui, Baoliang Chen, Xuelin Liu, Peilin Chen, Yuming Fang, Shiqi Wang

Abstract

While Large Multimodal Models (LMMs) have demonstrated sophisticated high-level reasoning, their capacity for low-level visual tasks such as Image Quality Assessment (IQA) remains under-explored. This paper introduces a robust framework for evaluating LMMs using the Two-Alternative Forced Choice (2AFC) method—a gold standard in vision science. By systematically probing models with paired image comparisons, the study reveals significant performance gaps between closed-source models like GPT-4V and open-source alternatives, particularly regarding positional bias and fine-grained visual discrimination.

Introduction

Large Multimodal Models (LMMs) have achieved remarkable success in semantic understanding and complex reasoning. However, their ability to perceive low-level visual attributes, such as noise, blur, or compression artifacts, is less understood. Image Quality Assessment (IQA) is a fundamental task in computer vision with applications ranging from content creation to medical imaging. Traditional evaluation methods for LMMs in this domain often rely on descriptive text or absolute numerical ratings, which are prone to subjectivity and are difficult to aggregate reliably.

To address these limitations, this research adopts the 2AFC (Two-Alternative Forced Choice) prompting method. By asking a model to simply identify which of two images possesses superior quality, the framework provides a more objective and standardized benchmark for measuring visual perception in AI.

Methodology

The researchers developed a "Probing Pipeline" designed to quantify the IQA capabilities of LMMs through four primary stages:

  1. 2AFC Prompting: Models are presented with two images and the prompt: "Which image has better visual quality?" To account for potential biases, each pair is presented twice, with the order of the images swapped.
  2. Coarse-to-Fine Pairing: The benchmark includes "coarse" pairs (images with obvious quality differences) and "fine-grained" pairs (images with subtle differences, such as varying intensities of the same distortion type).
  3. Maximum A Posteriori (MAP) Estimation: To derive a global quality score from individual pairwise comparisons, the authors utilize MAP estimation based on Thurstone’s Case V model. This allows for the conversion of binary "win/loss" data into a continuous quality scale.
  4. Evaluation Metrics: The study introduces three key performance indicators:
  5. Consistency ($\kappa$): Measures if the model provides the same answer regardless of image placement (left vs. right).
  6. Accuracy ($\alpha$): Measures how often the model's choice aligns with human Mean Opinion Scores (MOS).
  7. Correlation ($\rho$): Measures the alignment between the aggregated model-generated scores and human rankings across an entire dataset.

Experimental Setup and Datasets

The study utilizes a comprehensive subset of 1,060 images drawn from eight established IQA datasets, covering both synthetic and realistic distortions:

  • Synthetic Distortions: CSIQ, KADID-10k, MM21, and KADIS-700k.
  • Realistic/Authentic Distortions: CLIVE, KonIQ-10k, SPAQ, and SQAD.

To ensure the integrity of the evaluation and minimize the risk of data contamination (where models might have seen the test data during training), the authors manually curated and conducted new subjective user studies for the KADIS-700k and SQAD datasets.

Key Insights and Discussion

The Challenge of Positional Bias

A significant finding of the study is the prevalence of "Order Bias" in open-source LMMs. Models such as IDEFICS and mPLUG-Owl frequently favored the second image regardless of actual quality, sometimes choosing the second option over 70% of the time. This suggests that these models often rely on linguistic patterns rather than genuine visual analysis when faced with comparative tasks.

GPT-4V as the Benchmark

GPT-4V emerged as a significant outlier, substantially outperforming all open-source models. It demonstrated a weighted average consistency of 0.823, compared to the best open-source model (Q-Instruct), which scored only 0.432. GPT-4V is currently the only model tested that exhibits an inherent capability to quantify visual quality with reasonable reliability.

Coarse vs. Fine-Grained Perception

While LMMs are relatively successful at distinguishing between high-quality and heavily distorted images (coarse-grained), their performance drops sharply on fine-grained tasks. Even GPT-4V struggled with subtle synthetic distortions, with accuracy falling to 24.4% on specific CSIQ subsets. This indicates that while LMMs are beginning to "see" quality, they lack the precision required for professional-grade IQA.

The Training Gap

The study highlights a gap in current training methodologies. Models like Q-Instruct, which are specifically fine-tuned for low-level vision tasks, performed poorly on 2AFC comparisons. This suggests that the ability to describe quality in text does not automatically translate to the ability to compare quality accurately.

Conclusion

The 2AFC framework provides a rigorous new lens through which to view the visual capabilities of LMMs. While GPT-4V shows promise, the widespread issues with consistency and positional bias in other models indicate that low-level visual perception remains a major hurdle. Future research should focus on improving fine-grained sensitivity and developing architectural solutions to eliminate the linguistic biases that currently plague multimodal comparison tasks.

Summary updated

BibTeX
@article{zhu2024afc,
  author = {Hanwei Zhu and Xiangjie Sui and Baoliang Chen and Xuelin Liu and Peilin Chen and Yuming Fang and Shiqi Wang},
  title = {{2AFC Prompting of Large Multimodal Models for Image Quality Assessment}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  doi = {10.1109/tcsvt.2024.3434999},
}
Figure