TL;DR
This paper introduces a novel metric for evaluating caption detailness, moving beyond simple word counts. By combining Image Coverage Rate (ICR) and Average Object Detailness (AOD), they demonstrate that training text-to-image models on a carefully selected subset of detailed captions (as little as 20% of the full dataset) can outperform training on the entire dataset or using length-based selection, leading to significantly improved image generation quality and alignment.
What Problem Does This Paper Address?
The quality of text-to-image (T2I) generation models is heavily influenced by the detail present in their training captions. However, existing methods often rely on caption length as a proxy for detailness, which is a flawed approach. Long captions can be verbose without adding visual information, or they might miss crucial details about certain image regions. This leads to T2I models that struggle with generating complex scenes or accurately reflecting nuanced textual prompts. The challenge is to find a more effective way to measure and leverage caption detailness for more data-efficient and higher-quality T2I generation.
Methods
The core contribution of this paper is a new metric for caption detailness, which is a combination of two key aspects:
- Image Coverage Rate (ICR): This metric quantifies how well a caption describes all the objects and regions within an image. It's calculated by segmenting mentioned objects and measuring the union of their areas relative to the total image area.
- Average Object Detailness (AOD): This metric assesses the granularity of object descriptions. It's derived from a scene graph representation of the caption, counting the number of attributes and relations associated with each object.
To implement these metrics, the authors first parse captions into scene graphs using a large language model (LLM). They then combine ICR and AOD into a unified "Caption Detailness" (CD) score, which also penalizes verbosity by incorporating caption length. This CD score is then used to filter training data.
Datasets
- MSCOCO 2017: Used for training and evaluating T2I models. Detailed captions from ShareGPT4V were utilized.
- ShareGPT4V: A dataset of detailed captions used for training and filtering.
- Dense Prompt Graph (DPG) benchmark: Used for evaluating out-of-domain generalization and consistency between generated images and long prompts.
- ImageInWords (IIW) dataset: A dataset of 400 human-curated hyper-detailed image descriptions used for out-of-domain evaluation.
Key Insights and Ideas
- Caption length is a poor proxy for detailness: The paper empirically shows that longer captions don't necessarily mean more informative captions, highlighting issues with redundancy and missed visual information.
- ICR and AOD are crucial for T2I quality: Experiments reveal a strong positive correlation between higher ICR and AOD values in training captions and improved T2I performance across various metrics like FID, CLIP Score, and DPG.
- Data efficiency is paramount: The most striking insight is that training on a carefully selected subset (as little as 20%) of detailed captions can outperform training on the entire, potentially noisy, dataset. This suggests that quality trumps quantity when it comes to caption detailness.
- Semantic correctness is still key: While detail is important, the paper also emphasizes the need for semantic correctness. They propose a two-stage filtering process: first, semantic pruning using Image-Text Matching (ITM) scores, and then detailness ranking.
- Different dimensions benefit from different metrics: ICR seems to have a stronger influence on entity and global generation performance, likely because it covers more of the image. AOD, on the other hand, more significantly impacts attribute description quality.
Key Results
- Improved Generation Quality: T2I models trained on data filtered by the proposed ICR and AOD metrics achieved superior performance on DPG and other benchmarks.
- Data Reduction: Training on just 20% of the full dataset, selected using the proposed metric, surpassed full-dataset training and length-based selection methods.
- Enhanced Alignment and Reconstruction: The filtered data led to improved image-text consistency (higher CLIP-S and DPG scores) and better image reconstruction ability (lower FID).
- Outperforming Baselines: The proposed method outperformed random selection, length-based selection, and ITM+Length baselines in several key metrics. For example, their method achieved a higher DPG average score, CLIP-IS, and CLIP-S while maintaining a lower FID compared to ITM-Len.
Limitations and Future Work
- Non-monotonicity of metrics: The paper notes that while ICR and AOD generally improve performance, excessively high values can sometimes lead to noise or perceptual inaccuracies, suggesting an "inverted-U" relationship for optimal performance. This indicates a need for careful tuning of the filtering thresholds.
- Synthetic vs. Real-world data: The experimental design primarily relied on synthetic captions generated by varying ICR and AOD. While they validated their approach on ShareGPT4V, future work could explore applying these metrics to even larger, more diverse, and potentially noisier real-world caption datasets.
- Annotation Guidelines: The authors suggest guidelines for future caption annotation, emphasizing the importance of comprehensive coverage and specific object details over simple length, and prioritizing accuracy to avoid introducing noise.
Summary updated