Think, Plan, Paint: Layout-Aware Reasoning for Controllable Image Generation in Unified Models

Junhao Liu, Jian-Wei Zhang, Tao Huang, Miles Yang, Zhao Zhong, Liefeng Bo

TL;DR

ATLAS is a unified Multimodal Large Language Model (MLLM) framework that introduces a human-like "Think, Plan, and Paint" paradigm for highly controllable image generation. By treating bounding-box layouts as a shared, cross-modal vocabulary, ATLAS bridges the gap between abstract text prompts and precise pixel arrangements, achieving state-of-the-art spatial control and interactive editing capabilities.

What Problem Does This Paper Address?

While unified MLLMs have made massive strides in blending visual understanding and generation, they still stumble when faced with complex spatial instructions and logical constraints (e.g., "place three apples to the left of the basket, with only the middle one being green").

Current layout-driven generation methods suffer from two main flaws:

  1. Lack of Explicit Reasoning: They typically map a text prompt directly to spatial coordinates. Without an intermediate step to decompose objects, counts, and relative positions, the resulting images often suffer from missing objects or chaotic arrangements.
  2. One-Way Control Signals: Layouts are usually treated as auxiliary inputs rather than a shared, bidirectional representation that can consistently support planning, generation, editing, and understanding.

ATLAS addresses these gaps by transforming the image generation pipeline into an interpretable, three-stage reasoning process.

Figure 1: Our ATLAS framework generates images following a human-like Think, Plan, and Paint paradigm, and supports interleaved image generating and editing. Additionally, the Think and Plan phases provide the user with fine-grained control over the generation process.

Methods

The core of ATLAS is its "Think, Plan, Paint" paradigm, which operationalizes layout as a cross-modal bridge:

  1. Think (Layout-Aware Chain-of-Thought): Before generating coordinates, the model explicitly reasons in text. It decomposes the prompt into distinct entities, calculates relative sizes, and deduces spatial relationships.
  2. Plan (Grounded Layout Generation): The model outputs a structured layout using Shared Positional Tokens ($V_{pos}$). These tokens discretize normalized coordinates into 1,000 position indices, allowing the text transformer to natively "write" bounding boxes.
  3. Paint (Conditioned Image Synthesis): Using a Transfusion-style architecture (combining an auto-regressive transformer with a diffusion model), the model denoises the final image, strictly conditioned on the text prompt, the reasoning chain, and the planned layout.
Figure 2: Overview of the ATLAS framework. Given a text prompt, ATLAS Thinks through object semantics and spatial relations, Plans a layout with Shared Positional Tokens that align text and vision and allow precise user edits, then Paints a final image that faithfully follows the planned composition. Shared Positional Tokens represent object layouts in both Think and Plan phases.

To ensure the "Paint" stage faithfully obeys the "Plan" stage, the authors introduce Flow-GRPO, a reinforcement learning alignment strategy. The model is optimized using a weighted sum of five rewards: layout position accuracy (IoU-based F1 score), semantic alignment, region counting, negative-region suppression, and overall image quality.

Datasets

The authors curated a high-quality dataset of 5 million samples containing quadruples of (Prompt, Reasoning, Layout, Target Image). They leveraged a strong vision-language model (Qwen3-VL-235B-A22B) to synthesize the logic-driven layouts and Chain-of-Thought reasoning, followed by rigorous human verification to ensure data quality.

For evaluation, the paper utilizes standard benchmarks:

  • T2I-CompBench (compositional text-to-image)
  • GenEval and DPG-Bench (object-level composition and prompt following)
  • RefCOCO, MMMU, POPE (multimodal understanding)
  • ImgEdit-Bench (instruction-guided editing)

New Benchmark: The authors introduce ATLAS-Reasoning, a challenging dataset of 500 complex prompts featuring entangled spatial relations and intricate attribute bindings specifically designed to test reasoning-aware layout planning.

Key Insights and Ideas

  • Layout as a Transparent Window: Instead of treating image generation as a "black-box," the intermediate layout acts as an interpretable interface. Users can inspect, add, delete, or shift bounding boxes before the model ever starts "painting."
  • Reasoning Compensates for Scale: Explicitly adding the "Think" phase yields massive performance boosts for smaller models. On spatial layout planning, the "Think" phase improved the 7B model's score by 17.6 points, compared to a 5.62-point boost for the 80B model, demonstrating that structured text reasoning can offset smaller parameter sizes.
  • Defeating "Positional Inertia": When users edit an image by moving a bounding box, standard models often cling to the original layout due to internal priors. Thanks to RL-based layout alignment, ATLAS cleanly erases objects from their old locations and renders them precisely in the new regions.

Key Results

ATLAS was evaluated at 7B and 80B scales, outperforming existing layout-based unified MLLMs by an average of 65.31%.

  • Compositional Excellence: On T2I-CompBench, ATLAS-80B achieved a spatial score of 99.17, significantly outperforming FLUX.2-Dev (97.56) and the layout-based baseline PlanGen (46.67).
  • Complex Spatial Reasoning: On the new ATLAS-Reasoning benchmark, ATLAS-80B scored 91.21, while PlanGen only managed 25.43.
  • Precise Control: In Layout Shift Tests (measuring responsiveness to manual bounding box adjustments), ATLAS-7B achieved a 90.17% hit rate, proving it strictly adheres to user-guided modifications without falling back on positional inertia.
Figure 4: Qualitative comparison of text-to-image generation. ATLAS better follows complex prompts involving object counts, attributes, and spatial relations.

Limitations and Future Work

The primary limitation is the reliance on bounding boxes as the sole layout interface. While bounding boxes are simple, highly interpretable, and well-supported by current datasets, they are coarse. They struggle to capture highly intricate visual structures, complex non-rectangular shapes, or fine-grained pixel-level boundaries. The authors note that exploring alternative layout interfaces—such as segmentation masks or keypoints—is a critical direction for future work.

Summary updated

BibTeX
@inproceedings{liu2026think,
  author = {Junhao Liu and Jian-Wei Zhang and Tao Huang and Miles Yang and Zhao Zhong and Liefeng Bo},
  title = {{Think, Plan, Paint: Layout-Aware Reasoning for Controllable Image Generation in Unified Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lpI5QYN2jv},
}
Figure