R4-CGQA: Retrieval-based Vision Language Models for Computer Graphics Image Quality Assessment

Zhuangzi Li, Jian Jin, Shilv Cai, Weisi Lin

TL;DR

This paper introduces R4-CGQA, a training-free, retrieval-augmented framework that significantly boosts Vision Language Models (VLMs) in assessing the visual quality of computer graphics (CG). By leveraging a newly introduced dataset of 3.5K detailed, multi-dimensional CG quality descriptions, the method uses a two-stream retrieval process (content + quality) to inject contextually relevant text examples that guide VLMs to more accurate and interpretable quality judgments.

What Problem Does This Paper Address?

Evaluating the quality of computer graphics (CG) is fundamentally different from evaluating natural images. CG images are entirely simulated—built from artificial textures, complex lighting equations, and virtual camera perspectives—meaning traditional Image Quality Assessment (IQA) metrics often fail.

While some CG quality datasets exist, they typically only offer scalar Mean Opinion Scores (MOS), providing zero explanation for why an image looks good or bad. Modern Vision Language Models (VLMs) could theoretically bridge this gap by providing text-based explanations, but they suffer from fine-grained blindness and hallucinations when dealing with specialized domains like rendering quality. Furthermore, fine-tuning these massive models is computationally prohibitive and makes it difficult to keep their knowledge up to date.

Figure 1. An example illustrating the capability of the proposed R4-CGQA. R4-CGQA not only makes the responses of large mod- els more concise and accurate, but also effectively unleashes their potential on the CGQA task.

Methods

The authors propose R4-CGQA, a training-free framework based on Retrieval-Augmented Generation (RAG). Instead of modifying the VLM's weights, it injects high-quality text descriptions of visually and qualitatively similar images directly into the prompt context.

The core innovation is a two-stream retrieval framework:

  1. Content Stream: Uses CLIP embeddings to perform an efficient global search and find library images with similar semantic content.
  2. Quality Stream: Refines the top candidates using a quality-aware ResNet backbone (REIQA) to ensure the retrieved examples match the degradation and rendering characteristics of the query image.

The similarities from both streams are fused, and the text description of the top-matching library image is formatted into a prompt template. This text acts as an "in-context" anchor, helping the VLM accurately evaluate the query image and generate structured explanations.

Datasets

The authors introduce a brand-new CGQA dataset consisting of 3.5K high-resolution CG images (1080p to 4K) spanning diverse styles, including medieval realism, modern realism, dark realism, fantasy, and cartoon styles.

Unlike previous datasets, each image is paired with a comprehensive text description (averaging over 1,000 characters) annotated by professionals. These descriptions cover six key perceptual dimensions: lighting quality, material quality, color quality, atmosphere, realism, and space.

Figure 3. CG Image Quality Perception Factors.

The dataset is split into:

  • Base set (3,190 images): Serves as the scalable retrieval library.
  • Validation set (90 images) & Testing set (220 images): Used for benchmarking.

Using GPT-4o, the authors constructed a benchmark of over 5,000 question-answer pairs (spanning multiple-choice, yes/no, and open-ended Q&A) based on these descriptions to evaluate VLM performance.

Key Insights and Ideas

  • Textual RAG beats Multi-Image Input: Standard VLMs perform poorly when fed multiple images simultaneously for comparative analysis. However, feeding a textual description of a similar image provides a powerful prior without overloading the model's visual processing pipeline.
  • Content Similarity Alone is Blind to Quality: CLIP embeddings are notoriously insensitive to image quality degradations. Relying solely on content retrieval might cause the system to feed the VLM a description of a pristine image to help it evaluate a heavily distorted one, leading to bad prompts. Fusing quality-aware embeddings is essential.
  • Unlocking Smaller Models: The RAG approach provides a massive performance boost to smaller, edge-deployable VLMs, narrowing the capability gap with massive closed-source models without any training overhead.

Key Results

The framework was validated across 10 state-of-the-art open-source VLMs (including LLaVA 1.6, Llama 3.2-V, MiniCPM, Pixtral, and Qwen 2.5-VL).

  • Consistent Performance Boosts: R4-CGQA improved every model across all metrics. On multiple-choice questions, the average absolute accuracy gain was 4.26% (with BakLLaVA jumping by 12.25%).
  • Yes/No & Q&A Gains: On yes/no questions, the average improvement was 6.94% (Llama 3.2-V saw a 10.39% surge). Open-ended Q&A scores improved by an average of 0.32 points on a 5-point scale.
  • Low Computational Overhead: The framework is highly lightweight. For LLaVA 1.6-13B, it introduced only a 4.5% runtime overhead and required less than 1.8 GB of additional GPU memory during inference.

Limitations and Future Work

  • Semantic Misalignment: If the retrieval stage fetches an image that matches the rendering quality but is completely misaligned with the specific user question, the injected text acts as noise and can steer the VLM toward an irrelevant narrative.
  • Fine-Grained Blindness: Because current vision backbones heavily downsample images, the framework still struggles to detect very minor, localized rendering artifacts. It is highly effective for coarse-to-moderate quality issues and global appearance anomalies, but pixel-level defect detection remains a challenge for future work.

Summary updated

BibTeX
@inproceedings{li2026r,
  author = {Zhuangzi Li and Jian Jin and Shilv Cai and Weisi Lin},
  title = {{R4-CGQA: Retrieval-based Vision Language Models for Computer Graphics Image Quality Assessment}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Ej4Lf5Mp3Y},
}
Figure