Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Image Quality Assessment via Teaching Large Multimodal Model to Compare

Hanwei Zhu, Haoning Wu|arXiv (Cornell University)|May 29, 2024
Computer Science and EngineeringComputer Science4 citations
TL;DR

This paper proposes Compare2Score, a large multimodal model (LMM)-based no-reference image quality assessment (NR-IQA) framework that leverages relative image comparisons to generate continuous quality scores. By training on scaled-up comparative instructions derived from within-dataset MOS rankings and using a soft comparison inference method with posterior probability optimization, Compare2Score achieves state-of-the-art performance across nine IQA datasets, outperforming both specialized and general-purpose LMMs.

ABSTRACT

While recent advancements in large multimodal models (LMMs) have significantly improved their abilities in image quality assessment (IQA) relying on absolute quality rating, how to transfer reliable relative quality comparison outputs to continuous perceptual quality scores remains largely unexplored. To address this gap, we introduce Compare2Score-an all-around LMM-based no-reference IQA (NR-IQA) model, which is capable of producing qualitatively comparative responses and effectively translating these discrete comparative levels into a continuous quality score. Specifically, during training, we present to generate scaled-up comparative instructions by comparing images from the same IQA dataset, allowing for more flexible integration of diverse IQA datasets. Utilizing the established large-scale training corpus, we develop a human-like visual quality comparator. During inference, moving beyond binary choices, we propose a soft comparison method that calculates the likelihood of the test image being preferred over multiple predefined anchor images. The quality score is further optimized by maximum a posteriori estimation with the resulting probability matrix. Extensive experiments on nine IQA datasets validate that the Compare2Score effectively bridges text-defined comparative levels during training with converted single image quality score for inference, surpassing state-of-the-art IQA models across diverse scenarios. Moreover, we verify that the probability-matrix-based inference conversion not only improves the rating accuracy of Compare2Score but also zero-shot general-purpose LMMs, suggesting its intrinsic effectiveness.

Motivation & Objective

  • To address the gap in transferring discrete comparative outputs from LMMs into continuous, reliable perceptual quality scores for no-reference image quality assessment (NR-IQA).
  • To overcome the limitations of absolute rating fusion across diverse IQA datasets due to inconsistent perceptual scales and subjective testing methodologies.
  • To develop a scalable, flexible, and robust training strategy that enables LMMs to learn human-like visual quality comparison from paired image comparisons.
  • To design an efficient inference mechanism that converts relative comparison likelihoods into optimized, continuous quality scores using maximum a posteriori estimation.
  • To demonstrate the generalizability of the proposed method by improving zero-shot IQA performance across multiple open-source LMMs.

Proposed method

  • The method generates a large-scale comparative training dataset by comparing images within the same IQA dataset using their mean opinion score (MOS) differences, creating five comparative levels: inferior, worse, similar, better, superior.
  • It leverages the LMM to learn to respond to comparative prompts such as 'Compared with the first image, how is the quality of the second image?', enabling human-like quality comparison.
  • During inference, a soft comparison mechanism computes the likelihood of a test image being preferred over multiple predefined anchor images across different quality intervals.
  • The quality score is derived via maximum a posteriori (MAP) estimation on the resulting probability matrix, transforming discrete comparisons into continuous, calibrated scores.
  • The anchor images are selected using a balanced sampling strategy across quality intervals, ensuring coverage of the full quality spectrum.
  • The framework is robust to anchor image source, with performance maintained across datasets with synthetic, realistic, and generative distortions.
Figure 1: Illustrations of the motivation of this work. (a) Images with identical rescaled MOS from various IQA datasets exhibit significant variations in perceptual quality. (b) Images that cluster at the same rating level from different IQA datasets display mismatches due to differing subjective t
Figure 1: Illustrations of the motivation of this work. (a) Images with identical rescaled MOS from various IQA datasets exhibit significant variations in perceptual quality. (b) Images that cluster at the same rating level from different IQA datasets display mismatches due to differing subjective t

Experimental results

Research questions

  • RQ1Can relative image comparisons be effectively scaled and used to train LMMs for no-reference image quality assessment with improved generalization?
  • RQ2How can discrete comparative outputs from LMMs be reliably converted into continuous, perceptually aligned quality scores?
  • RQ3Does the proposed soft comparison and probability matrix-based inference method improve both specialized and zero-shot general-purpose LMMs in IQA?
  • RQ4How sensitive is the performance to the number and source of anchor images used in the inference process?
  • RQ5Can the method achieve state-of-the-art performance across diverse IQA datasets with varying distortion types?

Key findings

  • Compare2Score achieves state-of-the-art performance on nine standard IQA datasets, with Spearman’s rank correlation coefficient (SRCC) values ranging from 0.914 to 0.975 across datasets.
  • On the KonIQ-10k dataset, Compare2Score achieves an SRCC of 0.939, significantly outperforming all compared open-source LMMs, including Co-Instruct (0.849 accuracy).
  • The probability-matrix-based inference method improves not only Compare2Score but also zero-shot performance across five open-source LMMs, demonstrating broad applicability.
  • Using β=1 anchor image per quality interval achieves optimal performance with minimal computational cost, as increasing β does not improve results and increases inference time.
  • The model maintains strong robustness across different anchor image sources, achieving consistent SRCC across datasets with synthetic (KADID-10k), realistic (KonIQ-10k), and generative (AGIQA-3K) distortions.
  • The soft comparison method achieves 0.849 prediction accuracy on LIVE, 0.870 on KADID-10k, and 0.858 on KonIQ-10k, surpassing even specialized models like Co-Instruct.
Figure 2: Training and inference phash of Compare2Score . (a) The LMM is fine-tuned with instruction-response pairs generated by comparing the MOSs from the same IQA dataset, allowing for a more flexible combination of various IQA datasets. (b) The trained visual quality comparator ( i . e ., LMM) i
Figure 2: Training and inference phash of Compare2Score . (a) The LMM is fine-tuned with instruction-response pairs generated by comparing the MOSs from the same IQA dataset, allowing for a more flexible combination of various IQA datasets. (b) The trained visual quality comparator ( i . e ., LMM) i

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.