Abstract: Evaluating the alignment between generated visual content and text prompts remains a significant challenge in generative AI. Traditional metrics like CLIPScore often fail to capture complex compositional relationships. We present VQAScore, a simple yet effective metric that leverages Visual Question Answering (VQA) models to estimate alignment. By calculating the probability of a "Yes" response to the question "Does this figure show {text}?", VQAScore achieves state-of-the-art performance across multiple benchmarks, outperforming CLIPScore and even proprietary models like GPT-4V.
Introduction
As generative AI models evolve from producing simple objects to complex, multi-entity scenes, existing evaluation tools are increasingly inadequate. The industry standard, CLIPScore, relies on the similarity between image and text embeddings. However, CLIP is fundamentally a "bag of words" model, often failing to distinguish between different spatial or relational arrangements of the same objects (e.g., "a horse eating grass" vs. "grass eating a horse").
While human evaluation remains the gold standard for assessing prompt alignment, it is prohibitively slow and expensive for large-scale model development. Current automated alternatives often involve complex "divide-and-conquer" strategies using Large Language Models (LLMs) to decompose prompts into sub-questions. These pipelines are computationally expensive and prone to errors. There is a critical need for a metric that understands compositionality—how objects, attributes, and relations interact—without the overhead of complex multi-stage pipelines.
The VQAScore Methodology
VQAScore addresses these challenges by reframing image-text alignment as a VQA task. The process is straightforward:
- Prompt Generation: For a given text prompt, a simple binary question is generated: "Does this figure show '{text}'? Please answer yes or no."
- Scoring: The image and question are fed into a VQA model, and the metric is defined as the generative likelihood of the token "Yes."
A key innovation in this work is the use of a bidirectional encoder, specifically the CLIP-FlanT5 model. Unlike standard "decoder-only" architectures (like LLaVA) where text cannot influence the initial visual processing, a bidirectional encoder allows the model to "attend" to the image differently based on the specific question. This mimics human visual processing, where our focus shifts based on what we are looking for.
Datasets and the GenAI-Bench
The researchers evaluated VQAScore across a comprehensive suite of benchmarks, including Winoground and EqBen for compositional matching, and alignment benchmarks like TIFA160, Pick-a-Pic, and DrawBench. To further push the boundaries of evaluation, they introduced GenAI-Bench.
GenAI-Bench consists of 1,600 prompts crafted by professional designers to test high-order reasoning. These include:
- Logic and Negation: e.g., "Every lamp is lit except for one."
- Comparison: e.g., "An animal with eyes bigger than its ears."
- Counting: e.g., "Three white and two brown eggs."
This dataset includes over 15,000 human ratings, providing a robust ground truth for validating automated metrics.
Key Results and Insights
VQAScore demonstrates superior performance across the board. Using the CLIP-FlanT5 model, it achieved state-of-the-art results on eight different alignment benchmarks. Notably, on the Winoground benchmark, VQAScore outperformed CLIPScore by 5x on basic skills and 10x on advanced compositional skills.
The results highlight several critical insights:
- Simplicity is Effective: A single "Yes/No" question can capture alignment more effectively than complex neuro-symbolic decomposition pipelines.
- Bidirectional Encoding is Essential: Top-down feedback from text to image tokens is crucial for fine-grained visio-linguistic reasoning.
- Zero-Shot Generalization: VQAScore generalizes to video and 3D content by averaging scores across multiple frames or views, despite being trained only on static images.
- The Compositional Gap: While modern models like DALL-E 3 and Midjourney excel at basic prompts, GenAI-Bench reveals a significant performance gap in "advanced" compositional tasks involving logic and comparison.
Conclusion
VQAScore provides a powerful, scalable, and open-source alternative to proprietary evaluation metrics. While it focuses strictly on alignment—leaving aesthetics, safety, and temporal consistency for future work—it represents a significant step forward in our ability to automatically and accurately evaluate the next generation of visual AI.
Summary updated