TL;DR
QualiRAG is a training-free, retrieval-augmented generation framework that shifts visual quality assessment (VQA) from simple scalar scores to interpretable quality understanding. By dynamically generating and retrieving multi-granularity auxiliary knowledge (like metadata and localized descriptions), it allows general-purpose Large Multimodal Models (LMMs) to outperform heavily fine-tuned models without any task-specific training.
What Problem Does This Paper Address?
Traditional Visual Quality Assessment (VQA) focuses on predicting a single scalar score to rate an image or video. While useful, this approach lacks interpretability—it can't explain why a video looks bad or identify specific distortion attributes (e.g., compression artifacts vs. motion blur).
To fix this, the field is shifting toward interpretable quality understanding using Large Multimodal Models (LMMs). However, current methods rely on Supervised Fine-Tuning (SFT) or Reinforcement Learning (RL) on curated datasets. These training-based paradigms suffer from several major drawbacks:
- High Annotation Costs: Creating detailed human-annotated thinking traces is expensive and hard to scale.
- Overfitting & Bias: Models easily overfit to dataset-specific domains or distortions.
- Reasoning Misalignment: RL-based methods often optimize only for the final score, leading to intermediate reasoning steps that contradict the final output.
Methods
The authors introduce QualiRAG, a training-free framework that treats quality understanding as an inference-time retrieval and reasoning problem. Instead of querying static text corpora like standard RAG, QualiRAG dynamically constructs a multi-source knowledge base for each input via four collaborative modules:
- Query Organizer: Takes a user's question and decouples it into a structured JSON request detailing the target subject, quality dimension (e.g., blur, noise), scope (spatial/temporal), and focus area.
- Source Augmenter: Generates four complementary knowledge databases on the fly:
- Metadata Database: Technical details (resolution, bitrate trends via
ffprobe). - Subject Localization Database: Bounding boxes for the queried subject using a prompt-driven detector (APE).
- Global Quality Summary: A holistic description of the asset's overall quality.
- Local Quality Description: Fine-grained, question-driven descriptions aggregated from multiple stochastic LMM queries.
- Source Selector: Embeds the question and generated knowledge using the Contriever framework, filtering out noisy or irrelevant context using a FAISS-indexed similarity threshold range search.
- Answer Generator: Feeds the original visual input, the question, and the retrieved question-relevant knowledge into the main LMM to produce evidence-grounded reasoning and the final answer.
Datasets
The framework was evaluated across two primary tasks:
- Visual Quality Understanding: Evaluated on the dev subsets of Q-Bench (image-level quality questions) and Q-Bench-Video (video-level questions covering technical, aesthetic, and AIGC distortions).
- Visual Quality Comparison: Evaluated using pairwise accuracy on image datasets (LIVE-C, AGIQA, PIPAL) and video datasets (KoNViD-1k, VDPVE, LIVE-HFR).
No new datasets were introduced; the focus was entirely on maximizing zero-shot performance on these established benchmarks.
Key Insights and Ideas
- Latent Knowledge Activation: LMMs already possess deep latent knowledge about visual distortions, but they struggle to ground it directly from raw pixels. Providing structured, text-based self-generated evidence bridges this gap.
- Backbone-Agnostic Convergence: One of the most striking findings is that QualiRAG acts as an equalizer. When applied to various open-source backbones (like LLaVA, InternVL, or Qwen), their baseline performances—which vary wildly—converge to a uniformly high standard (~61% on Q-Bench-Video). This proves the gains come from the framework's structured knowledge, not the intrinsic capabilities of a specific model.
- Local Descriptions Matter Most: Ablation studies revealed that while technical metadata and localization help, the local quality description database provides the single largest performance jump (+5.82%), proving that fine-grained, question-aligned evidence is crucial for accurate VQA.
Key Results
QualiRAG achieves state-of-the-art performance among training-free methods and beats many fine-tuned models:
- Q-Bench (Images): Achieved 81.74% overall accuracy, outperforming all open-source general LMMs, VQA-finetuned models (like Co-Instruct and Q-Insight), and even surpassing proprietary models like GPT-5 (80.27%).
- Q-Bench-Video (Videos): Achieved 61.66% overall accuracy, beating the previous best agentic framework, Q-Router (60.07%), and GPT-5 (57.22%).
- Robustness: In quality comparison tasks, QualiRAG maintained highly consistent performance across out-of-domain datasets (like AI-generated content in AGIQA), whereas fine-tuned models showed noticeable performance degradation.
Limitations and Future Work
While highly effective, the paper hints at a few areas for improvement:
- Inference Overhead: Generating local quality descriptions requires querying an auxiliary LMM multiple times ($n_l=4$ in implementation) to aggregate robust descriptions. This increases computational cost and inference latency.
- Dependency on Expert Modules: For maximum performance, replacing the general auxiliary LMM with task-specific expert models (like a dedicated VQA model or domain-specific artifact detectors) yields better results, slightly walking back the "pure general-purpose" appeal.
Future work includes dynamically extending the auxiliary databases to include specialized AIGC distortion detectors and optimizing the pipeline for real-world, low-latency deployment.
Summary updated