PaperarXiv:2611.32462 · cs.CV · Nov 24, 2026
MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction
Yifan Dai, Daili Hua, Bohan Zeng, Yuran Wang, Jialing Liu, Bozhou Li, Chengzhuo Tong, Yang Shi, Kai Zeng, Liu Yang, Xinyu Liu, Shujie Li, + 6 more
The gain over same-data SFT on DreamOmni2 is real and ablated, and the refinement-budget effect is clean. However, a text plan with the same training recovers most of the gain, the SconeEval lead is exposed to train-set proximity without a no-proxy control there, no variance is reported, and latency rises about 5-6x. For harness builders only the verifier loop design transfers.
Novelty
3 out of 5Rigor
2 out of 5Reproducibility
2 out of 5Relevance to harnesses
2 out of 5
TL;DR
An LLM coding agent writes and repairs a Blender program whose rendering serves as a layout plan. A LoRA-adapted image generator (Qwen-Image-Edit-2511 or FLUX.2-klein-base-9B) then follows that plan while taking subject appearance from the reference images. On DreamOmni2, FLUX overall success rises from 38.87% to 67.08%. The 3D proxy adds 8.77 to 12.28 points over a text-plan variant trained the same way. Per-example inference time rises from about 61-78 s to 357-444 s. Seedream-4.0 (68.97%) still scores higher on DreamOmni2.
Adversarial review by Harness Hub · Nov 27, 2026 · read full text (truncated) · Suggest a correction
Original abstract (authors’ text, select to expand)
Multi-reference image generation requires a model to preserve the appearance of selected subjects while arranging them according to an instruction. Despite recent progress in reference-based generation and compositional control, reliably organizing selected subjects into the intended scene remains challenging. Although existing methods provide various forms of compositional guidance, the planned relationships are not always explicitly instantiated for inspection and refinement before image synthesis. To address this limitation, we introduce MAGPIE, which represents the intended composition as a simplified 3D scene defined by an executable Blender program. A coding agent links each scene instance to its reference, checks the geometry and rendered view against the instruction, and revises the program to correct discrepancies. The final proxy rendering serves as a visual plan for the image generator. Using MAGPIE-Instruct-3K, we train the generator to follow this plan while drawing each subject's appearance from its reference. MAGPIE improves both Qwen and FLUX on DreamOmni2 and SconeEval. With FLUX, it improves overall success on DreamOmni2 by 28.21 percentage points over the original backbone and achieves the highest overall score among the models evaluated on SconeEval.
Authors’ note
20 pages, 11 figures
Filed undercoding-agentsagents
Summary
MAGPIE splits multi-reference image generation into composition planning followed by appearance synthesis. Planning stage: - A single agent produces an instance-level scene specification that binds each entity to a reference. Sec. 4.1 calls the agent model Qwen3.8-flash; Sec. 6 calls it Qwen3.8-Flash-Next. - The agent writes per-entity Blender builders. Library-covered entities must call functions from a growing library of parameterized procedural functions, checked by AST validation. - The program is executed and rendered to give an initial proxy. Refinement loop (at most six rounds) combines two feedback channels: - Programmatic geometric checks on the executed meshes: ray-grid visibility, camera-relative ordering, BVH surface-contact distance and framing, with thresholds in Table 5. - A multimodal review that labels each check pass, minor, fail or uncertain. - Candidates are retained by lexicographic failure counts. Acceptance requires zero geometric and zero visual failures; otherwise the best candidate is returned and marked needs_review. Synthesis stage: the final proxy rendering, the references and a role-assigning prompt condition a LoRA-adapted generator (rank 32, five epochs). Training data: MAGPIE-Instruct-3K has 3187 examples drawn mainly from Echo-4o and Scone-Train, plus Pico-Banana, MICo-150K, OmniRef, MacroData and UNO-1M. Examples were filtered by Qwen3.8-27B. The agent saw the target image while building each training proxy. Evaluation: DreamOmni2 (judge: Gemini-2.5-Flash) and SconeEval (judge: GPT-4.1), using the official scripts. Ablations: proxy-only inference, standard SFT on the same pairs, text and 2D planning variants (DreamOmni2 generation only), refinement budget, and a best-of-six baseline with manual selection (SconeEval only).
Key findings
- DreamOmni2 overall success (Table 1): FLUX.2-klein-base-9B goes from 38.87 to 67.08 (+28.21). Qwen-Image-Edit-2511 goes from 42.01 to 64.26 (+22.25).
- Seedream-4.0 scores 68.97 overall on DreamOmni2 (Table 1), above both MAGPIE variants. The text only discusses beating Gemini-2.5-Flash-Image (61.44) and DreamOmni2 (58.31).
- Standard SFT on the same pairs without proxies scores 44.83 (Qwen) and 48.90 (FLUX) overall (Table 3). MAGPIE is 19.43 and 18.18 points higher.
- Supplying the proxy at inference without adaptation drops Qwen to 29.47 but raises FLUX to 46.08 (Table 3).
- Planning representation, DreamOmni2 generation only (Table 4). FLUX scores 35.96 (base), 58.77 (Text Scene), 47.37 (2D Scene) and 67.54 (3D). Qwen scores 45.61 (base), 54.39 (Text), 55.26 (2D) and 67.54 (3D). For FLUX, a text plan with adaptation already recovers most of the gain.
- SconeEval overall (Table 2): FLUX+MAGPIE 9.05 and Qwen+MAGPIE 8.93, against GPT-4o 8.94 and Scone 8.50. For FLUX, distinction rises from 7.93 to 9.43 while composition rises from 8.20 to 8.68.
- Refinement budget with the adapted FLUX generator fixed (Table 8): overall success is 53.61, 61.13 and 67.08 at 0, 3 and 6 rounds. Proxy time is 76.97 s, 211.44 s and 272.17 s.
- Inference time on DreamOmni2 (Table 6): FLUX goes from 60.97 s to 356.72 s and Qwen from 77.20 s to 375.18 s, excluding untimed overhead.
- Best-of-six with manual selection on SconeEval (Table 7): 8.42 (FLUX) and 8.54 (Qwen), against MAGPIE's 9.05 and 8.93.
The paper at a glance
- References + instruction
- Agent: instance-level scene spec with reference bindings
- Agent: per-entity Blender builders from procedural library, AST validation
- Execute + render initial proxy
- Geometric verifier (visibility, ordering, contact, framing) + multimodal review
- Revise program, retain lexicographically best candidate (up to 6 rounds)
- LoRA-adapted generator: proxy for structure, references for appearance
Why it matters
This is an image-generation paper, not a harness or agent-infrastructure paper. The generator adaptation and the training dataset are irrelevant to people building coding agents or tool loops. The transferable part is the design of the agent loop. It pairs deterministic, thresholded checks on the executed artifact (ray-cast visibility, depth ordering, contact distance) with a VLM reviewer, and accepts a result only when both channels report zero failures. It keeps the best candidate by lexicographic failure count rather than the latest one, refuses to let failed renders or malformed reviews replace the retained candidate, and grows a reusable function library from novel components. The refinement-budget ablation (53.61, 61.13, 67.08 at 0, 3 and 6 rounds) is a single-run data point showing that execute-check-revise pays off when the checks are grounded in the executed output. The cost is real: Table 6 shows per-example time rising from 60.97 s to 356.72 s for FLUX on DreamOmni2. Builders of verifier-driven agents may find the Table 5 verification rules and the retention rule in Supp. 9 worth reading. The rest can be skipped.
Issues (8)
- High severityWhere in paper: Sec. 3.3, Supp. 7.1, Table 2, Table 3
Train/test proximity on SconeEval. MAGPIE-Instruct-3K draws heavily on Scone-Train, the training split of the same Scone paper that defines SconeEval. It also draws on Echo-4o, whose targets are GPT-4o-generated, and SconeEval is judged by GPT-4.1. No overlap or deduplication analysis is reported for either benchmark. The proxy-free SFT control appears only on DreamOmni2 (Table 3), not on SconeEval. Scone itself was trained on Scone-Train, but most other SconeEval baselines were not. The headline lead of 9.05 over GPT-4o's 8.94 therefore cannot be separated from in-distribution training.
- High severityWhere in paper: Table 1, Table 4, Sec. 4.3, Supp. 7.2
The 3D-specific contribution is smaller than the headline suggests. In Table 4, a text-only scene plan with the same LoRA training already lifts FLUX generation from 35.96 to 58.77, against 67.54 for 3D. Most of the gain over the backbone therefore comes from planning plus adaptation, not from Blender geometry. The largest gains in Table 1 are on abstract tasks (FLUX 26.67 to 66.67). Abstract attributes are the case a geometric proxy should help least, and the data selection explicitly excludes appearance-only edits. Table 4 covers generation only and DreamOmni2 only, so there is no representation ablation for editing or for SconeEval.
- Medium severityWhere in paper: Table 2
Most of the SconeEval gain is in distinction (subject selection): FLUX goes from 7.93 to 9.43, while composition goes from 8.20 to 8.68. Subject selection is a planner-level capability, not a geometric one. For Qwen, Single COM falls from 8.73 to 8.44.
- Medium severityWhere in paper: Abstract, Table 1, Sec. 4.2
The abstract claims the highest overall score among evaluated models only for SconeEval. That is accurate as worded, but on DreamOmni2 Seedream-4.0 (68.97) beats both MAGPIE variants (67.08, 64.26), and Sec. 4.2 does not mention it. Several open-weight baselines are older versions (Qwen-Image-Edit-2509, FLUX.1 Kontext). The paper does not state whether their numbers were rerun or copied from prior work.
- Medium severityWhere in paper: Tables 1, 3, 4, 8; Supp. 10.1
No seeds, variance or confidence intervals are reported. DreamOmni2 has 319 examples, and the per-cell values (for example 62.50 and 70.83 on concrete generation) imply small subsets. Single-run differences between ablation variants and refinement budgets may fall within noise.
- Medium severityWhere in paper: Table 6, Table 7, Supp. 10.1, Abstract
The cost-matched baseline is weak and partial. Best-of-six uses manual selection, whose selectors are not stated and which was not blinded. It runs only on SconeEval. It matches wall-clock time but ignores the LLM calls the harness makes for planning, revision and review. The abstract omits the latency increase entirely: 60.97 s to 356.72 s for FLUX on DreamOmni2 (Table 6).
- Low severityWhere in paper: Sec. 3.1, Supp. 7.3, Supp. 9
The harness was tuned offline by comparing proxies for more than 200 training examples against their targets, and training proxies were built with target access. Training proxies are likely better aligned than inference proxies. The provided text does not report the fraction of inference proxies that end as needs_review; Table 9 is truncated.
- Low severityWhere in paper: Sec. 4.1, Sec. 6
Reproducibility gaps. No code, dataset or procedural-library URL is printed. The agent model is named inconsistently (Qwen3.8-flash in Sec. 4.1, Qwen3.8-Flash-Next in Sec. 6). The DreamOmni2 judge is Gemini-2.5-Flash, from the same family as the Gemini-2.5-Flash-Image baseline.
Questions for the authors
- What is the near-duplicate overlap between MAGPIE-Instruct-3K (especially Scone-Train and Echo-4o) and the SconeEval and DreamOmni2 test sets?
- What does standard SFT without proxies, and the Text Scene variant, score on SconeEval?
- Why does a geometric proxy produce the largest gains on DreamOmni2 abstract-attribute tasks, and how do Text and 2D variants do on editing?
- What fraction of inference proxies end as needs_review, and how does success differ for those cases?
- What is the token or API cost per example for the agent?
- Who performed manual best-of-six selection, and was it blinded?
- What is the variance across generator seeds for the headline numbers?
Tools on the same problem
Products and open-source projects in the directory closest in meaning to this paper.
Open source · scenario-labs
Related papers
arXiv:2610.31080 · cs.LG · Oct 22, 2026
Interactive 3D segmentation models such as nnInteractive turn a few spatial prompts (points, scribbles, boxes) into accurate volumetric masks, but a human still does the annotation work: finding each structure, placing prompts, checking the result and correcting it. General-purpose AI agents can now interpret images, call tools and write code. We show that such agents can take over this work without additional training: the user makes a request in plain language, and the agent works out what has to be segmented, locates the targets, prompts nnInteractive, inspects the 3D result, corrects it and responds to feedback. Asked for 'the muscles used for chewing', an agent identifies and segments the masseters and pterygoids; asked to count liver lesions, it writes its own code to find candidates and splits a merged lesion on request. Our open-source nninteractive-agent provides nnInteractive as tools over the Model Context Protocol (MCP), together with a skill that encodes how experienced users prompt it. On a benchmark spanning CT, MRI, PET and micro-CT of humans, a mouse and an ant (14 images; 51 targets from organs and tumours to muscles, foot bones, vessel trees and an insect brain), Claude Code and Codex reach a mean Dice of 0.81 and 0.84 from the request alone; when told where each target is, both reach 0.85 and prompt nearly as effectively as an oracle that places prompts using the reference segmentation. A text-prompted 3D model (VoxTell) is more accurate on most standard radiological targets but less robust: it returns an empty mask for one of them and fails on the leg muscles, the foot bones, the mouse and the ant, where the agents remain accurate. Code: https://github.com/MIC-DKFZ/nninteractive-agent
Fabian Isensee, Constantin Ulrich Harsy +4
arXiv:2611.34813 · cs.CV · Nov 25, 2026
Video generation models are increasingly evaluated as visual reasoners: given a first frame and a natural-language prompt, can the model produce the video in which the specified task is carried out? The paradigm is considered advantageous because the reasoning is native to the visual medium, unfolding directly in the frames rather than through language or code. Whether this native route is in fact the more reliable path to visual reasoning has not been tested against a symbolic alternative under the same conditions. We therefore pose the same tasks, with identical inputs, output specification and evaluator, to both media: rather than denoising pixels, a coding agent writes a program that renders the answer video, which an unmodified rule-based evaluator scores. On VBVR-Pro-Bench (Xu et al., 2026), a 500-instance suite spanning five cognitive categories with symbolic ground truth, the agent receives the same first frame and prompt as the video model, with no access to ground truth, metadata or generation models, and one attempt per instance. Three closed-model agents (Codex with gpt-6-astra, Claude Code with Fable 5.1 and Gemini CLI with Gemini 3.1 Pro) score 0.923, 0.894 and 0.893, each more than 0.22 above the strongest video model. Among 23 runnable open-weight models, the best, GLM-5, reaches 0.572, above all video models except the RL-trained one. Together, we show that for tasks whose solutions can be computed from a first frame and a prompt, program synthesis is currently a substantially more reliable route to visual reasoning than video generation. We further distinguish depictive programs, which navigate the image to recover a transferable scheme, from propositional programs, which operate on hard-coded values, revealing how visual reasoning unfolds in agent-written programs and what it implies for its nature of reasoning in general.
Dezhi Luo, Fengyuan Yu +11
arXiv:2611.34237 · cs.CV · Nov 25, 2026
Code-driven video generation asks a coding agent to write and run rendering programs. This gives exact control over typography, data visualizations, synchronized audio, and multi-shot scenes, and it leaves an editable project behind. A program that exits cleanly can still render overlapping labels, a camera aimed away from its subject, broken object interactions, or narration that drifts out of sync, and none of these raise a runtime error. Feeding rendered frames and audio back into the coding session bloats its long-horizon context, while critiquing only the finished full-resolution render turns early design mistakes into costly rewrites. We introduce VibeVideoAgent, a training-free framework that lets coding agents inspect their drafts throughout production. Multimodal perception runs in short-lived contexts kept apart from the coder and returns compact, grounded Findings. Seven primitives operate on a unified multi-clock representation of assets and drafts: they explore media from coarse to fine, verify quoted requirements with evidence from every required modality, compare a draft with a reference or an earlier revision on separate clocks, and measure stream signals locally. A lightweight staged protocol has the agent test its riskiest decision on a minimal preview first. On all 239 VibeVideoBench tasks, with matched agent runtimes and a fixed perception model, VibeVideoAgent improves holistic audiovisual quality (L3) for Claude Opus 5.5 (4.03 -> 4.43, while L2 rubric compliance rises from 98.87% to 99.35%), GPT-6 Astra (4.03 -> 4.27), and Claude Sonnet 5.5 (3.97 -> 4.10), with the largest gains in audio-visual synchronization (up to +0.56). Controlled ablations show that each component contributes, and trajectory audits show that the granularity of code edits governs the trade-off between rubric adherence and perceptual quality.
Xuanyu Zheng, Luoyuan Zhang +7
arXiv:2610.31834 · cs.RO · Oct 22, 2026
Existing approaches for robot learning in simulation often require substantial manual effort to construct scenes and specify tasks, limiting training scalability and data diversity. Meanwhile, in-the-wild robot demonstrations naturally provide diverse and realistic observations of real-world interactions. Leveraging these demonstrations for simulation requires both high-fidelity visual reconstruction and physically consistent interactions. General-purpose agents offer flexible adaptation to diverse scenarios and strong reasoning about 3D spatial relationships, while specialized generative models provide high-fidelity reconstruction of scene appearance and geometry. We introduce WorldMirror, an agentic real-to-sim framework that constructs interactive digital twins from in-the-wild robot demonstrations. Our central idea is to formulate real-to-sim construction as the iterative refinement of an executable world program. A coding agent decomposes the observed scene, plans reconstruction steps, and orchestrates specialized image and 3D generation tools, refining the program through verification feedback. A camera-pose-anchored scene representation organizes the world into static visual context, support geometry, and editable interactive assets while preserving spatial relationships among the scene, objects, and robot. The agent uses this representation to diagnose and correct reconstruction errors, enabling physically consistent interaction and trajectory replay. Experiments on DROID demonstrate that WorldMirror can reconstruct visually faithful and geometrically consistent interactive worlds while preserving the physical validity of recorded robot trajectories.
Tianling Xu, Weijie Wan +10
arXiv:2611.32534 · cs.RO · Nov 24, 2026
Training and evaluating robots across diverse tasks requires a supply of simulation environments suited to those tasks. While recent scene and task generators offer a promising way to expand this supply, delivering a usable task environment still faces two practical gaps: generated scenes that look plausible in appearance often fail to support the intended task interactions or remain physically stable in simulation, and generated scoring programs frequently attempt task conditions without implementing them faithfully. We present EmbodiedStudio, a task-driven simulation generation platform that bridges these gaps by jointly authoring scene, task, robot-behavior, and rubric programs under closed-loop simulation feedback and independent review. Crucially, as the coding agent iteratively debugs scenes, behaviors, and stateful rubrics in simulation, this closed-loop process natively yields both forward construction experience for learning to build environments and physical execution experience for policy learning, all bound to frozen environment revisions for repeatable evaluation. Across scene generation, rubric evaluation, ablations, and learning studies, EmbodiedStudio substantially improves task readiness and rubric faithfulness while improving physical stability and retaining actionable supervision signals for layout authoring and policy adaptation.
Yang Zhao, Xubo Yang
arXiv:2611.34414 · cs.CV · Nov 25, 2026
Coding agents are increasingly capable of generating 3D models, yet enabling users to effectively control the modeling process remains challenging. Existing workflows rely primarily on text prompts and reference images, which often struggle to convey precise spatial intentions and require iterative corrections. We introduce SemProxy, a lightweight intermediate representation that bridges intuitive human interaction and agentic 3D modeling. Instantiated as labeled 3D bounding boxes, semantic 3D proxies allow users to directly specify object parts and spatial arrangements while leaving geometric details to coding agents. These proxies can be serialized into structured text and rendered as images, making them directly accessible to existing coding agents without additional training or modifications. We further develop ProxyStudio, a user interface that integrates text, image references, and interactive 3D proxy editing into agentic modeling workflows. We demonstrate the versatility of SemProxy across object- and scene-level modeling tasks with different coding agents, and evaluate its effectiveness in supporting controllable human-agent collaborative 3D modeling through a user study.
Shuyuan Zhang, Changjian Li