NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Enhancing Image Quality Assessment Ability of LMMs via Retrieval-Augmented Generation

Kang Fu, Huiyu Duan, Zicheng Zhang, Yucheng Zhu, Jun Zhao, Xiongkuo Min, Jia Wang, Guangtao ZhaiarXiv 2026

TL;DR

IQARAG is a novel, training-free framework that significantly boosts the Image Quality Assessment (IQA) capabilities of Large Multimodal Models (LMMs). By leveraging Retrieval-Augmented Generation (RAG) to provide semantically similar but quality-diverse reference images as "visual anchors," it eliminates the need for computationally expensive fine-tuning while aligning model outputs closely with human perception.

What Problem Does This Paper Address?

Evaluating image quality automatically—known as Image Quality Assessment (IQA)—is a fundamental task in multimedia processing. While Large Multimodal Models (LMMs) have shown impressive zero-shot capabilities in predicting quality scores, achieving state-of-the-art performance typically requires fine-tuning. Fine-tuning forces the model's text output tokens to align with human-assigned Mean Opinion Scores (MOS).

However, fine-tuning LMMs is incredibly resource-intensive and time-consuming. The authors of this paper ask: Can we achieve the distribution alignment benefits of fine-tuning without actually changing the model's weights?

To solve this, they look to how humans judge quality. As shown in the motivation figure below, human raters are much more accurate and reliable when they can compare a target image against a set of reference examples spanning different quality tiers.

Fig. 1. Motivation of IQARAG. By referencing multiple semantically similar but quality-variant images, the people can evaluate image quality more accurate and reliable.

Methods

The authors introduce IQARAG (Image Quality Assessment Retrieval-Augmented Generation), a training-free pipeline consisting of three main phases:

  1. Retrieval Feature Extraction: The input image and a database of reference images are passed through a vision encoder (typically the LMM's native encoder) to extract unified visual features.
  2. Image Retrieval (with a twist): Instead of simply retrieving the most semantically similar images, the system enforces quality diversity. It calculates the $L_2$ distance between the target image and the database to find the top-$K$ semantic matches. It then divides the MOS range $[0, 1]$ into 5 uniform bins (representing Excellent, Good, Fair, Poor, Bad) and selects the top semantically similar image that falls into each bin. This ensures the LMM receives a balanced spectrum of quality benchmarks.
  3. Integration & Quality Score Generation: The selected reference images, their corresponding MOS labels, and the target image are formatted into a structured prompt. The LMM processes this prompt, and the authors extract the log probabilities (logits) for the predefined quality words. A close-set softmax is applied to these logits, and a final continuous quality score is calculated via a weighted sum.

The complete architecture is outlined below:

Overview of the IQARAG framework

Datasets

The framework was evaluated across four mainstream IQA datasets, covering both synthetic and real-world distortions:

  • KADID-10k: A large-scale database containing 10,125 synthetically distorted images derived from 81 pristine reference images.
  • KonIQ-10k: An in-the-wild dataset consisting of 10,073 diverse public images.
  • LIVE Challenge (LIVEC): 1,162 real-world images captured using various mobile devices, featuring authentic distortions.
  • SPAQ: 11,125 images specifically focused on smartphone photography across 66 different phone models.

Key Insights and Ideas

  • Context as an Anchor: Providing context directly inside the prompt acts as a visual anchor. It effectively "re-centers" the LMM's internal distribution, making its zero-shot token selection much more precise.
  • The Importance of Quality Variance: Standard RAG pipelines optimize purely for semantic similarity. For IQA, however, pure semantic similarity can backfire if all retrieved images happen to be of high quality. Forcing the retrieved context to span a wide quality spectrum (via the 5-bin sampling strategy) is what makes the visual anchor effective.
  • Native Encoders Win: When testing different vision backbones for the retrieval phase (e.g., ResNet, Swin-B, DINOv2, CLIP), the authors found that using the LMM's built-in vision encoder yielded the highest average performance, likely due to better feature alignment with the language model.

Key Results

The authors evaluated IQARAG across three prominent open-source LMMs: Qwen3-VL, InternVL3.5, and Kimi-VL, using standard consistency metrics (SRCC and PLCC).

  • Consistent Performance Boosts: Integrating IQARAG consistently improved performance across almost all datasets and dataset splitting ratios (1:9, 1:4, 3:7). For instance, on the SPAQ dataset using InternVL3.5, the SRCC jumped dramatically from 0.6479 (without IQARAG) to 0.7631 (with IQARAG).
  • Logit Realignment: Qualitative analysis of the output tokens showed that IQARAG successfully shifts the LMM's token probability distribution to closely mirror actual human ground-truth distributions.

Limitations and Future Work

  • Cross-Dataset Sensitivity: The authors observed a performance drop during cross-dataset evaluation when using real-world reference images (LIVEC) to evaluate a synthetic dataset (KADID-10k). This indicates that the effectiveness of IQARAG is bounded by the domain similarity between the reference database and the target images.
  • Inference Overhead: Including up to 5 high-resolution reference images in the prompt increases the context window size, which scales up the computational cost and latency during inference.

Future work could explore more compact visual representations or cross-domain retrieval techniques to mitigate these constraints.

Summary updated

BibTeX
@misc{fu2026enhancing,
  author = {Kang Fu and Huiyu Duan and Zicheng Zhang and Yucheng Zhu and Jun Zhao and Xiongkuo Min and Jia Wang and Guangtao Zhai},
  title = {{Enhancing Image Quality Assessment Ability of LMMs via Retrieval-Augmented Generation}},
  year = {2026},
  eprint = {2601.08311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.08311},
}
Figure