GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generation

Baiqi Li, Zhiqiu Lin, Deepak Pathak, Jiayao Li, Yixin Fei, Kewen Wu, Tiffany Ling, Xide Xia, Pengchuan Zhang, Graham Neubig, Deva Ramanan · DOI

Abstract

Modern text-to-visual models often exhibit "logical illiteracy," failing to accurately compose scenes involving complex spatial relations, counting, and negation. We introduce GenAI-Bench, a rigorous evaluation framework featuring 1,600 designer-sourced prompts tagged with specific visio-linguistic skills. To improve evaluation, we propose VQAScore, a metric that leverages Visual Question Answering models to assess prompt-image alignment. Our experiments demonstrate that VQAScore significantly outperforms CLIPScore in correlating with human judgment. Furthermore, we show that using VQAScore to rank candidate outputs from "black-box" models like DALL-E 3 can substantially improve compositional accuracy without requiring model retraining.

Introduction

While state-of-the-art generative models produce high-fidelity images and videos, they frequently fail at compositionality—the ability to understand how individual attributes, relations, and logical constraints fit together. For instance, a prompt requesting "a red ball to the left of a blue square" might result in the colors or positions being swapped.

Existing evaluation metrics, most notably CLIPScore, exacerbate this issue. CLIP functions primarily as a "bag-of-words" model, identifying the presence of objects while often ignoring their arrangement or logical context. Additionally, many current benchmarks rely on synthetic prompts that do not reflect the complex requirements of professional designers. GenAI-Bench addresses these gaps by providing a more nuanced dataset and a superior automated metric.

Methodology

The researchers developed a multi-stage pipeline for benchmarking and improving compositional generation. The process begins by sourcing prompts from professional designers who use AI tools in their daily work, ensuring real-world relevance. These prompts are then tagged with visio-linguistic skills such as counting, spatial reasoning, and negation.

The three-step pipeline for GenAI-Bench: sourcing designer prompts, tagging visio-linguistic skills, and collecting human alignment ratings.

VQAScore and Black-Box Ranking

To move beyond the limitations of embedding-based metrics, the authors introduced VQAScore. This metric utilizes a VQA model (specifically CLIP-FlanT5) to answer a binary question: "Does this figure show {text}? Please answer yes or no." The probability of a "Yes" response serves as the alignment score. This approach leverages the inherent reasoning capabilities of large multimodal models.

This metric can be applied to improve existing models through Black-Box Ranking. By generating a small pool of candidates (e.g., 3 to 9 images) from a model like DALL-E 3 and using VQAScore to select the best one, the final output's alignment with the prompt is significantly enhanced.

The GenAI-Bench and GenAI-Rank Datasets

The study introduces two primary datasets:

  • GenAI-Bench: 1,600 challenging prompts covering "basic" skills (attributes, scenes) and "advanced" skills (negation, counting, comparison, universality).
  • GenAI-Rank: Over 40,000 human ratings collected to evaluate how effectively automated metrics can rank different images generated from the same prompt.

Validation was also performed on established benchmarks like TIFA160 and Winoground to ensure the generalizability of VQAScore.

Results and Insights

VQAScore achieved a 64.1% pairwise accuracy in correlating with human judgments on GenAI-Bench, far exceeding CLIPScore (50.8%) and specialized reward models like PickScore (57.1%).

The "Bag-of-Words" Trap and the Advanced Gap

The evaluation confirmed that CLIPScore is a poor proxy for logical accuracy; in some instances, ranking by CLIPScore actually decreased human alignment because the metric favored general "vibes" over specific constraints. Furthermore, even top-tier models like DALL-E 3 show a significant performance drop when moving from basic prompts (4.3/5 rating) to advanced reasoning tasks (3.4/5), with negation remaining a particularly difficult challenge.

Qualitative comparison of Human ratings, VQAScore, and CLIPScore across different compositional prompts. VQAScore shows significantly higher alignment with human judgment than the "bag-of-words" CLIPScore.

Using VQAScore for ranking improved DALL-E 3’s human alignment score by 0.22 points and SD-XL’s by 0.26 points on a 5-point scale. This method proved 2x to 3x more effective than other popular alignment techniques.

Discussion and Conclusion

While VQAScore represents a major step forward, it is not without limitations. It can struggle with very high-count objects (e.g., distinguishing 10 vs. 12 pencils) and may overlook fine-grained details that occupy a small portion of the frame. Additionally, linguistic ambiguity in prompts can lead to disagreements between the metric and human annotators. Future work will explore integrating even stronger base models like GPT-4o and developing "white-box" finetuning methods to embed compositional awareness directly into the generation process.

Summary updated

BibTeX
@misc{li2024genai,
  author = {Baiqi Li and Zhiqiu Lin and Deepak Pathak and Jiayao Li and Yixin Fei and Kewen Wu and Tiffany Ling and Xide Xia and Pengchuan Zhang and Graham Neubig and Deva Ramanan},
  title = {{GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generation}},
  year = {2024},
  eprint = {2406.13743},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13743},
}
Figure