Abstract
Text-to-image (T2I) models have achieved remarkable progress, yet they continue to struggle with complex prompts that require simultaneously handling multiple objects, relations, and attributes. Existing inference-time strategies, such as parallel sampling with verifiers or simply increasing denoising steps, can improve prompt alignment but remain inadequate for richly compositional settings where many constraints must be satisfied. Inspired by the success of chain-of-thought reasoning in large language models, we propose an iterative test-time strategy in which a T2I model progressively refines its generations across multiple steps, guided by feedback from a vision-language model as the critic in the loop. Our approach is simple, requires no external tools or priors, and can be flexibly applied to a wide range of image generators and vision-language models. Empirically, we demonstrate consistent gains on image generation across benchmarks: a 16.9% improvement in all-correct rate on ConceptMix (k=7), a 13.8% improvement on T2I-CompBench (3D-Spatial category) and a 12.5% improvement on Visual Jenga scene decomposition compared to compute-matched parallel sampling. Beyond quantitative gains, iterative refinement produces more faithful generations by decomposing complex prompts into sequential corrections, with human evaluators preferring our method 58.7% of the time over 41.3% for the parallel baseline. Together, these findings highlight iterative self-correction as a broadly applicable principle for compositional image generation.
Introduction
Current state-of-the-art text-to-image (T2I) models often struggle with complex, multi-layered prompts. For instance, a prompt requiring "four ducks, a tiny pink giraffe in front of them, and five novels behind them" presents a significant challenge for one-shot generation. A model might correctly render the ducks but omit the giraffe, or fail to count the objects accurately.
The standard industry solution is parallel sampling—generating multiple images and selecting the best one. However, for highly complex scenes, the probability of any single "roll of the dice" satisfying all constraints is near zero. This research proposes moving from one-shot generation to a multi-step, self-correcting process.
Methods: Iterative Self-Correction
Inspired by Chain-of-Thought (CoT) reasoning in Large Language Models, the proposed framework introduces an iterative loop that decomposes complex prompts into manageable corrections. Instead of trying to get everything right in one go, the framework follows a loop:
- Initial Generation: A base image is created from the prompt.
- VLM Critic & Verifier: A Vision-Language Model (VLM) acts as a critic, comparing the image to the prompt to identify errors and assign a score.
- Action Selection: The critic chooses to CONTINUE with a specific edit (e.g., "Add a pink giraffe"), BACKTRACK to a better previous version, RESTART, or STOP once the image is faithful.
- Image Editing: An image-to-image editor applies the suggested sub-prompt to refine the scene.
This training-free approach can be applied to any existing black-box T2I model and VLM, allowing the system to focus on fixing one mistake at a time.
Key Results
The method was evaluated on benchmarks like ConceptMix, T2I-CompBench, and Visual Jenga. Key findings include:
- Quantitative Performance: On ConceptMix (k=7), iterative refinement achieved a 16.9% improvement in the "all-correct" rate over compute-matched parallel sampling.
- Spatial and Numerical Reasoning: Significant gains were observed in 3D-Spatial relations (13.8%) and scene decomposition tasks like Visual Jenga (improving solve rates from 64.29% to 76.79%).
- Human Preference: In blind tests, human evaluators preferred iterative refinement 58.7% of the time, highlighting the qualitative superiority of sequential corrections.
Discussion and Conclusion
The core insight is that models excel at fixing individual mistakes more than satisfying multiple constraints simultaneously. While limited by potential critic hallucinations or editor dexterity, this work establishes iterative self-correction as a powerful principle for high-fidelity visual synthesis, bringing the reasoning capabilities of LLMs to the visual domain.
Summary updated