X-IQE: eXplainable Image Quality Evaluation for Text-to-Image Generation with Visual Large Language Models

Yixiong Chen, Li Liu, Chris DingarXiv 2023

Abstract

This paper introduces a novel explainable image quality evaluation approach called X-IQE, which leverages visual large language models (LLMs) to evaluate text-to-image generation methods by generating textual explanations. X-IQE utilizes a hierarchical Chain of Thought (CoT) to enable MiniGPT-4 to produce self-consistent, unbiased texts that are highly correlated with human evaluation. It offers several advantages, including the ability to distinguish between real and generated images, evaluate text-image alignment, and assess image aesthetics without requiring model training or fine-tuning. X-IQE is more cost-effective and efficient compared to human evaluation, while significantly enhancing the transparency and explainability of deep image quality evaluation models. We validate the effectiveness of our method as a benchmark using images generated by prevalent diffusion models. X-IQE demonstrates similar performance to state-of-the-art (SOTA) evaluation methods on COCO Caption, while overcoming the limitations of previous evaluation models on DrawBench, particularly in handling ambiguous generation prompts and text recognition in generated images.

Introduction: The Need for Explainable Evaluation

The explosion of text-to-image (T2I) models like Stable Diffusion and Midjourney has created a massive bottleneck: how do we actually measure if these models are any good? Currently, researchers rely on two flawed methods. Human evaluation is the gold standard but is incredibly expensive, slow, and hard to reproduce. Automated metrics (like CLIPScore or FID) are fast but act as "black boxes"—they provide a single number without explaining why an image failed.

Comparison of the traditional numerical evaluation paradigm versus the proposed X-IQE explainable paradigm.

This paper introduces X-IQE (eXplainable Image Quality Evaluation) to bridge this gap using the reasoning power of Visual Large Language Models (VLLMs). By providing detailed textual explanations for an image's realism, text-alignment, and aesthetics, X-IQE offers a transparent alternative to traditional metrics.

Methodology: Hierarchical Chain of Thought

The researchers leveraged MiniGPT-4 as their foundational model. Instead of simply asking the model "Is this image good?", they implemented two layers of reasoning to ensure stability and human-like results:

  1. Hierarchical Chain of Thought (CoT): The evaluation is broken into three sequential steps: Fidelity (checking for AI artifacts), Alignment (matching the text prompt), and Aesthetics (visual appeal). Evaluating in this order allows the model to use its findings from the fidelity stage to better inform its aesthetic judgment.
  2. Internal Task CoT: For each of the three steps, the model follows a structured prompt: Image Description, Task-specific Analysis, and Scoring.
The X-IQE internal Chain of Thought process and an example of the generated explainable JSON output for a generated image.

This structured approach forces the model to "think" before it scores, leading to more stable results without requiring any training or fine-tuning.

Key Results and Insights

The authors validated X-IQE using the COCO Captions and DrawBench datasets to evaluate major T2I models like Stable Diffusion and DeepFloyd-IF.

  • Higher Correlation with Humans: On the COCO dataset, X-IQE’s scores for text-alignment (0.381) and aesthetics (0.418) showed a much higher correlation with human judgments than traditional SOTA models like CLIPScore (0.137).
  • Contextual Awareness: Unlike mathematical similarity metrics, X-IQE can identify why a prompt is difficult, such as when a model fails to follow complex spatial instructions or hallucinations objects.
  • Handling Complexity: X-IQE proved significantly more robust on DrawBench, successfully identifying when models failed to render specific text or misunderstood vague, descriptive prompts.

Limitations and Future Work

Despite its success, X-IQE faces resolution constraints. The visual encoder typically downsamples images to 224x224, which may cause the evaluator to miss fine-grained details in high-resolution 1024x1024 generations. Additionally, the model's performance is sensitive to parameter size and temperature settings. Future work will focus on integrating higher-resolution encoders and larger context windows to make X-IQE the standard for automated, transparent AI evaluation.

Summary updated

BibTeX
@misc{chen2023x,
  author = {Yixiong Chen and Li Liu and Chris Ding},
  title = {{X-IQE: eXplainable Image Quality Evaluation for Text-to-Image Generation with Visual Large Language Models}},
  year = {2023},
  eprint = {2305.10843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.10843},
}
Figure