CVPR 2026 Findings

coDrawAgents: A Multi-Agent Dialogue Framework for Compositional Image Generation

Chunhan Li, Qifeng Wu, Jia-Hui Pan, Ka-Hei Hui, Jingyu Hu, Yuming Jiang, Bin Sheng, Xihui Liu, Wenjuan Gong, Zhengzhe Liu

Lingnan University · Carnegie Mellon University · The Chinese University of Hong Kong · Alibaba DAMO Academy · Shanghai Jiao Tong University · The University of Hong Kong · China University of Petroleum (East China)

Overview of coDrawAgents multi-agent framework
coDrawAgents uses four specialized agents — Interpreter, Planner, Checker, and Painter — to perform closed-loop, visually grounded compositional generation.

Abstract

Text-to-image generation has advanced rapidly, but existing models still struggle with faithfully composing multiple objects and preserving their attributes in complex scenes. We propose coDrawAgents, an interactive multi-agent dialogue framework with four specialized agents: Interpreter, Planner, Checker, and Painter that collaborate to improve compositional generation. The Interpreter adaptively decides between a direct text-to-image pathway and a layout-aware multi-agent process. In the layout-aware mode, it parses the prompt into attribute-rich object descriptors, ranks them by semantic salience, and groups objects with the same semantic priority level for joint generation. Guided by the Interpreter, the Planner adopts a divide-and-conquer strategy, incrementally proposing layouts for objects with the same semantic priority level while grounding decisions in the evolving visual context of the canvas. The Checker introduces an explicit error-correction mechanism by validating spatial consistency and attribute alignment, and refining layouts before they are rendered. Finally, the Painter synthesizes the image step by step, incorporating newly planned objects into the canvas to provide richer context for subsequent iterations. Together, these agents address three key challenges: reducing layout complexity, grounding planning in visual context, and enabling explicit error correction. Extensive experiments on benchmarks GenEval and DPG-Bench demonstrate that coDrawAgents substantially improves text–image alignment, spatial accuracy, and attribute binding compared to existing methods.

Method

🤖 Multi-Agent Collaboration

To improve the generality of our approach, covering both general text-to-image cases without explicit layouts and more complex cases requiring layout planning, the Interpreter decides whether to enter the layout-free or the layout-aware mode.

1

Interpreter

Decides whether to use a layout-free or layout-aware pathway, decomposes prompts into attribute-rich object descriptions, ranks semantic salience, and schedules generation rounds.

2

Planner

Applies a Visual Spatial Chain-of-Thought to analyze the canvas state, reason about context, and enforce physical plausibility when proposing layouts.

3

Checker

Performs check-then-refine at both object and global levels, correcting overlaps, scale drift, and relation inconsistencies across iterations.

4

Painter

Supports both layout-free text-to-image generation and layout-aware rendering, building the scene incrementally so later steps benefit from richer visual context.

Prompt design for interpreter, planner and checker
Prompting design for the Interpreter, Planner, and Checker agents.
Representative generation examples from coDrawAgents
Representative generations across diverse scenes and prompt styles.

Results

GenEval

Model Single Obj. Two Obj. Counting Colors Position Color Attri. Overall↑
PixArt-Σ0.980.500.440.800.080.070.48
Emu3-Gen0.980.710.340.810.170.210.54
SDXL0.980.740.390.850.150.230.55
GoT0.990.690.670.850.340.270.64
DALL-E 30.960.870.470.830.430.450.67
FLUX.1-dev0.990.810.790.740.200.470.67
Janus-Pro-1B0.980.820.510.890.650.560.73
SD3-Medium0.990.940.720.890.330.600.74
TokenFlow-XL0.950.600.410.810.160.240.55
UniWorld-V10.990.930.790.890.490.700.80
GPT Image 1 [High]0.990.920.850.920.750.610.84
coDrawAgents (Ours)1.000.960.940.970.950.810.94

DPG-Bench

Model Global Entity Attribute Relation Other Overall↑
Hunyuan-DiT84.5980.5988.0174.3686.4178.87
PixArt-Σ86.8982.8988.9486.5987.6880.54
DALL-E 390.9789.6188.3990.5889.8383.50
SD3-Medium87.9091.0188.8380.7088.6884.08
FLUX.1-dev74.3590.0088.9690.8788.3383.84
GoT83.5882.1680.0787.8165.2573.53
T2I-Copilot87.5081.7481.0786.9448.2874.34
OmniGen288.8188.8390.1889.3790.2783.57
Emu3-Gen85.2186.6886.8490.2283.1580.60
UniWorld-V183.6488.3988.4489.2787.2281.38
BLIP3-o 8B-----81.60
coDrawAgents (Ours)84.7890.1587.5592.9284.3885.17

Ablation on DPG-Bench

Model Global Entity Attribute Relation Other Overall↑
Layout-free mode84.5084.4486.1590.8775.6077.60
+ Layout-aware mode79.9489.3287.2792.3780.6582.61
+ Visual context88.8988.7289.3295.9566.6784.51
+ Checker (coDrawAgents)84.7890.1587.5592.9284.3885.17
Ablation study on layout-aware mode, visual context and checker
Ablation results showing the benefits of layout-aware planning, visual context, and explicit checking.