GenDAG

Rivaling Proprietary Image Generators with Open Models and Agentic Planning

Chenxu Bai1,2,* Yixin Yang1,2 Beier Xiao2 Chengxuan Zhu1,2 Chun Chen1 Qibin Yang1,2 Rang Li1,2 Sinan Du1 Taoyu Yang1,2 Yuechen Zhang1 Yuzhe Weng1,3 Zhaojun Huang1,2 Boxin Shi2,† Shuhuai Ren1,†

1LLM Core, Xiaomi2Peking University3University of Science and Technology of China

*Contribution done during internship at Xiaomi MiMo Team   †Co-corresponding authors

Click a photo to enlarge it. Hover a checklist row to find it in the prompt, or a benchmark bar to see one method's scores.Tap a photo to enlarge it, a checklist row to find it in the prompt, or a benchmark bar to see one method's scores. As in the paper, the bar axis compresses 0–50; † GEMS covers Mind-Bench text-to-image only.

Abstract

Open text-to-image models struggle with requests that leave key content implicit or impose many explicit constraints. Multimodal agents can infer or retrieve this content and verify generated images, but for each request they must decide which operations to run and what information each one receives. We introduce GenDAG, an agentic framework that makes both decisions jointly by synthesizing a query-adaptive directed acyclic graph (DAG) whose edges carry typed intermediate results between operators. Before execution, a checker type-checks every edge and returns diagnostics for repair. After generation, visual checks against stated and inferred requirements guide regeneration. These mechanisms adapt each workflow reliably before execution and ground generation and verification in the same context to catch omissions and errors that detailed prompts miss. Using Qwen-Image-2.1 without fine-tuning, GenDAG scores 88.70 on WISE and 89.32 on T2I-CoReBench, exceeding direct generation with GPT-Image-2 and Nano Banana Pro, while trailing GPT-Image-2 by 1.51 points on GenEval2. Applied to GPT-Image-2, the same agent further improves the generation quality of this strong commercial model.

How GenDAG works

The agent writes a typed plan for the request, a checker validates it, and the executor runs it with visual feedback. Hover any panel of the figure.Tap any panel of the figure.

Typed operators

Twelve operators, mined from about 156K agent trajectories, cover 86.68% of recorded actions. Select a type to see which operators produce and consume it, or an operator to see its inputs and output.

Plan checking and repair

A real first plan wires an image into a prompt port. Compare a bare rejection with a typed diagnostic.

Explore plans

Ten selected plans, two per benchmark, executed with Qwen-Image-2.1. Select a node to see what it produced.

Results

All open methods use the same Qwen-Image-2.1 generator. Scores are on a 0–100 scale and come from each benchmark's judge.

PE is the generator's official prompt enhancement.

T2I-CoReBench by dimension

Across image generators

Analysis

Plans follow what each benchmark leaves unsaid, and one checked plan needs fewer LLM requests and tokens than step-by-step tool use.

Plans containing each operator

7,368 executions with Qwen-Image-2.1

GenDAG vs. ReAct with the same operators