Abstract
Modern text-to-image (T2I) models often struggle with compositional misalignment, where generated images fail to accurately reflect the spatial, color, or textural details of a prompt. This study investigates whether training data should prioritize caption precision (accuracy) or recall (comprehensiveness). By systematically varying these factors in both human-annotated and synthetic datasets, we find that precision is significantly more critical than recall. Even a single accurate sentence is more effective for training than multiple detailed but potentially hallucinated descriptions. Our results suggest that high-precision synthetic captioning is the most effective strategy for improving compositional alignment in T2I generation.
Introduction
State-of-the-art T2I models like Stable Diffusion and DALL-E 3 exhibit impressive generative capabilities but frequently fail at complex compositional tasks. A primary cause is the quality of the image-caption pairs used during training. While researchers have begun using Large Vision Language Models (LVLMs) to generate more detailed "re-captions," the optimal balance between detail and accuracy remains unexplored. This paper provides a systematic analysis of the precision-recall trade-off in image captioning for T2I training.
Methodology
The researchers employed a two-phase experimental design:
- Controlled Analysis: Using the Dense Caption Dataset (DAC), precision was controlled by mixing human-verified "positive" captions with "negative" (incorrect) captions generated by LLAMA2-70B. Recall was controlled by varying the number of sub-masks from the Segment Anything Model (SAM), effectively adding more regional details.
- Synthetic Evaluation: Three LVLMs—LLaVA, BLIP2, and uform—were evaluated for their inherent precision and recall characteristics. A "Faithscore" was developed using GPT-3.5 and LLaVA-1.5-13B to quantify caption accuracy.
Models including Pixart-α, SDv2.1, and SDXL were fine-tuned on these datasets and evaluated using T2I-Compbench, focusing on attribute binding and object relationships.
Key Insights: The Primacy of Precision
The core finding of this study is that precision is the primary bottleneck in T2I training. A model trained on a single accurate sentence (high precision, low recall) consistently outperforms a model trained on multiple detailed sentences that include errors (low precision, high recall).
As shown in the analysis, increasing detail (recall) provides diminishing returns as precision improves. For perfectly accurate captions (100% precision), adding more detail yields only a ~2.8% performance boost. Conversely, in noisy datasets (0% precision), additional detail helps more (~6.3%), likely by providing more "correct" anchors by chance amidst the noise.
Synthetic Captioning and LVLM Profiles
When evaluating synthetic captioning tools, the researchers identified distinct profiles for popular LVLMs based on their entity count (recall) and Faithscore (precision):
- BLIP2: The "conservative" model, exhibiting high precision but very low recall.
- uform: The "talkative" model, showing high recall (most entities) but lower precision due to hallucinations.
- LLaVA: The "balanced" model, maintaining high precision while offering significantly better comprehensiveness than BLIP2.
The T2I models trained on LLaVA-generated captions achieved the highest scores on T2I-Compbench (e.g., 0.3838 for SD2.1), validating that a precision-heavy balance is the most effective strategy for synthetic data generation.
Conclusion
This research demonstrates that for T2I model training, "less is more" if the content is more accurate. High-precision captions are essential for teaching models correct attribute binding and spatial relationships. Future work will focus on scaling these insights using more advanced evaluation models like GPT-4 to further refine synthetic captioning pipelines and reduce potential evaluation bias.
Summary updated