TL;DR
Current text-to-image models often "forget" objects or scramble spatial relationships when given long, complex prompts. This paper introduces a progressive synthesis framework that uses a Large Language Model (LLM) to decompose complex descriptions into a sequence of simple "insertion, editing, and erasing" steps, resulting in significantly higher object recall and relational accuracy.
Introduction: The Challenge of Complexity
While models like Stable Diffusion and DALL-E 3 are impressive, they suffer from "semantic leakage" and "attribute coupling." If a user requests "a brown bear on the left and a white wolf on the right," the model might generate two brown wolves or forget the bear entirely. The authors identify two main culprits: Complexity Overload, where diffusion models struggle as entity counts increase, and a Lack of Control, as existing "one-shot" methods lack a unified way to precisely place or modify specific objects within a cohesive scene.
The Stimulus, Response, and Fusion (SRF) Framework
The proposed solution is a three-stage pipeline designed to mimic a painter adding layers to a canvas:
- Text Decomposition (The "Director"): A fine-tuned GPT model (Tune-A-GPT) acts as a director, breaking long prompts into a sequence of structured commands: Synthesis (add object), Editing (change object), or Erasing (remove object).
- Operational Layouts: For each new object, GPT-4 predicts bounding box coordinates based on spatial descriptions (e.g., "on the right side of the yard").
- Stimulus & Response (The "Nudge"): Instead of "hard-coding" pixels, the framework uses a soft latent direction. A "stimulus loss" compares the model's internal cross-attention maps to the target bounding box. By backpropagating this loss, the system "nudges" the latent noise to ensure the object appears exactly where it should.
- Latent Fusion (The "Blend"): To ensure the new object doesn't look like a sticker, a dynamic blending mask is used. It starts as a rigid box and gradually shifts to follow the object's actual shape, ensuring a seamless merge with the background.
Key Results and Insights
The proposed method significantly outperformed state-of-the-art single-stage models across several metrics:
- Object Recall: Achieved 64.4%, compared to 50.3% for Attend-and-Excite and 40.7% for standard Stable Diffusion.
- Relation Accuracy: Jumped to 50.8%, more than doubling the performance of Attend-and-Excite (23.4%) and Stable Diffusion (19.8%).
- Qualitative Superiority: In side-by-side comparisons, the progressive method successfully maintained distinct attributes (e.g., keeping a "black cat" and "white dog" separate) where other models caused colors to bleed between animals.
Discussion and Future Work
By using LLMs as reasoning engines to plan visual layouts, the paper demonstrates the power of iterative generation. However, the method faces a sequential bottleneck: if the LLM fails to correctly decompose a highly interdependent prompt, subsequent steps may fail. Additionally, generating images in multiple steps is naturally slower than single-shot generation. Future work will focus on improving the GPT model's ability to parse "nested" relationships and highly crowded scenes.
Summary updated