Introduction
Text-to-image (T2I) generation has seen rapid advancement, yet standard models often struggle with precise spatial control, leading to issues like "catastrophic neglect" (omitting objects) or "attribute leakage" (misattributing colors or textures). Layout-guided models address these by incorporating bounding boxes to specify object placement. However, the lack of a unified evaluation framework has hindered progress. 7Bench introduces a comprehensive benchmark to evaluate how well these models follow both textual prompts and spatial instructions across seven challenging scenarios.
Methodology
The 7Bench framework evaluates models using two distinct "faithfulness" metrics to capture both semantic and spatial accuracy.
- Text Faithfulness ($s_{text}$): This metric utilizes the TIFA framework. A Large Language Model (LLM) generates descriptive questions based on the prompt (e.g., "Is there a red car?"), which are then answered by a Vision Question Answering (VQA) model inspecting the generated image.
- Layout Faithfulness ($s_{layout}$): This measures spatial precision using an open-vocabulary object detector (OWL-ViT). It calculates the Intersection over Union (IoU) between detected objects and the input bounding boxes, summarized as an Area Under the Curve (AUC) across multiple thresholds.
The benchmark evaluates both trained models (e.g., GLIGEN) and training-free methods that modify the generation process on the fly, such as Attention Refocusing, BoxDiff, and Cross Attention Guidance.
The 7Bench Dataset
The 7Bench dataset consists of 224 meticulously curated samples, balanced across seven specific categories: Object Binding, Small Bboxes, Overlapping Bboxes, Color Binding, Attribute Binding, Object Relationship, and Complex Composition.
As shown in the distribution of bounding box areas, the dataset includes a significant range of object sizes. The "Small Bboxes" category specifically targets objects occupying only 3% to 10% of the image area, which serves as a critical stress test for current generative architectures.
Key Insights and Results
Evaluation across these scenarios revealed several critical findings:
- The "Small Box" Bottleneck: Models struggle significantly with small bounding boxes. The denoising process often lacks sufficient signal in these tiny regions, leading to missing or misplaced objects.
- Training vs. Training-Free: Models specifically trained with grounding data, like GLIGEN, generally offer superior spatial control compared to training-free methods that only manipulate attention maps. However, "add-on" methods like BoxDiff can significantly boost a base model's conceptual knowledge.
- The Complexity Tax: Performance degrades progressively as the number of objects in a prompt increases. In the "Complex Composition" scenario, most models hit a performance ceiling, suggesting a collective limit in current technology.
- Alignment Gap: While models achieve relatively high text alignment scores (0.55 to 0.90), layout alignment scores are much lower (0.05 to 0.50). This indicates that while models "understand" the concepts, they struggle with precise placement.
Conclusion
7Bench provides a much-needed standardized testing ground for layout-guided T2I models. By highlighting the gap between conceptual understanding and spatial precision—especially in complex and small-scale scenarios—it sets a clear path for future research in controllable image generation. The benchmark is publicly available to encourage community-wide standardization.
Summary updated