# MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction

AI.info

> A model can preserve the look of people or objects in reference images yet still put them in the wrong place, omit one, or fail to show an intended interaction.

**arXiv**: 2611.32462 · Preprint · not peer-reviewed

**Published**: 2026-11-24

**Authors**: Yifan Dai, Daili Hua, Bohan Zeng, Yuran Wang, Jialing Liu, Bozhou Li, Chengzhuo Tong, Yang Shi, Kai Zeng, Liu Yang, Xinyu Liu, Shujie Li, Yiyan Ji, Bingyin Mei, Yushuo Guan, Yuanxing Zhang, Fangcheng Fu, Wentao Zhang

## In plain words

A model can preserve the look of people or objects in reference images yet still put them in the wrong place, omit one, or fail to show an intended interaction. MAGPIE addresses this by first building a simplified 3D scene that makes the requested arrangement visible and editable, then using that scene to guide image generation while retaining appearance from the original references.

## AI summary

## Overview

- **Research area:** Multi-reference image generation and editing, with explicit scene planning.
- **Technical level:** Intermediate.
- **Scope:** MAGPIE uses an executable Blender scene as a checkable composition plan, then trains an image generator to follow that plan while taking each subject’s appearance from its reference image.

## What This Paper Is About

A model can preserve the look of people or objects in reference images yet still put them in the wrong place, omit one, or fail to show an intended interaction. MAGPIE addresses this by first building a simplified 3D scene that makes the requested arrangement visible and editable, then using that scene to guide image generation while retaining appearance from the original references.

## Key Contributions

1. **Executable scene planning for multi-reference generation.** MAGPIE represents selected subjects, their instances, poses, positions, and interactions in a Blender program, with explicit links between scene entities and reference images.
2. **A scene construction and revision harness.** The system checks whether entities are visible and correctly arranged, assesses specified contacts, and uses visual review to identify further errors. The agent can revise the program based on this feedback.
3. **MAGPIE-Instruct-3K.** The researchers created a dataset of 3,187 examples pairing references and instructions with Blender programs, proxy renderings, and target images.
4. **Proxy-guided generator adaptation.** The paper fine-tunes image generators with LoRA so they learn to use the proxy for structure and the references for subject appearance.

## Main Findings

- **Improved DreamOmni2 performance:** With FLUX.2-klein-base-9B, MAGPIE raises the overall success rate from 38.87% to 67.08%, a gain of 28.21 percentage points. With Qwen-Image-Edit-2511, it raises the overall score from 42.01% to 64.26%, a gain of 22.25 percentage points.
- **Improved SconeEval scores:** The FLUX-based MAGPIE system reaches an overall score of 9.05, compared with 8.07 for the FLUX backbone. The paper reports that this is the highest overall score among the evaluated models, ahead of GPT-4o at 8.94.
- **Adaptation matters:** Adding a proxy only at inference is inconsistent: it lowers Qwen’s DreamOmni2 overall score to 29.47%, though it raises FLUX’s to 46.08%. Training with proxies as well as using them at inference performs better; MAGPIE exceeds standard fine-tuning by 19.43 percentage points for Qwen and 18.18 for FLUX.
- **Rendered 3D scenes outperform simpler plans in the reported comparison:** On DreamOmni2 generation, the 3D Scene approach achieves an aggregate score of 67.54% for both backbones. This is higher than the best alternative scene-planning variant by 12.28 percentage points for Qwen and 8.77 for FLUX.
- **More refinement improves the reported FLUX result:** On DreamOmni2, the overall score rises from 53.61% with zero refinement rounds to 67.08% with six rounds. The harness can stop earlier when its verification criteria are satisfied.

## Methodology in Plain English

MAGPIE divides the task into planning the composition and rendering the final image.

First, a multimodal agent reads the references and instruction. It identifies which subjects to use, how many instances are needed, and how those instances should relate to one another. Each planned scene entity is linked to its source reference, so the system can distinguish, for example, two instances based on the same subject from unrelated subjects.

The agent then writes a Blender program to build a simplified 3D proxy scene. Reusable procedural models provide controllable shapes and poses; shared anchors help align parts involved in interactions such as grasping or sitting. The proxy is intended to show structure, not to reproduce the subjects’ detailed appearance.

Next, MAGPIE checks the executed scene. Geometric checks look for missing or hidden entities, incorrect camera-relative placement or depth order, and problems with specified contacts. A multimodal reviewer also compares the proxy rendering with the instruction and references. The agent uses both forms of feedback to revise the scene and render it again. At inference, it performs at most six refinement rounds, with early stopping when all verification criteria are met.

Finally, the proxy rendering guides the image generator’s composition, while the reference images supply subject appearance. The researchers train Qwen-Image-Edit-2511 and FLUX.2-klein-base-9B on MAGPIE-Instruct-3K using LoRA. During dataset construction, the agent can use the target image to make a proxy that matches the intended composition; at inference, it receives only the references and instruction.

## Why This Matters

**Research impact:** The work makes composition an inspectable intermediate step rather than leaving the image generator to infer all spatial and interaction details during synthesis. It also shows that a structural plan may not help reliably unless the generator has been trained to interpret it.

**Potential applications:**

- Creating advertising or product images that combine several supplied products, people, or settings in a requested arrangement.
- Producing storyboards or concept images where subjects need specified poses, positions, or interactions.
- Editing reference-based images by moving or repositioning a subject while preserving its recognizable appearance.
- Building customized visual content from user-provided references for design, illustration, or media workflows.

**Industry relevance:** The approach could be useful in creative tools where users need more control than a text prompt alone provides. Its explicit scene representation offers a potential point for review and revision before a final image is generated. The reported experiments, however, evaluate the method on DreamOmni2 and SconeEval rather than establishing performance in a production workflow.

## Future Directions

- **Broaden the kinds of edits it can represent.** The dataset selection process favors examples with meaningful geometric requirements; how to handle appearance-only changes or combine them reliably with scene planning remains an open question.
- **Improve proxy coverage and realism where needed.** The paper uses simplified geometry, so further work could explore which object types and interactions require more expressive scene representations.
- **Study efficiency and usability.** The harness may revise scenes repeatedly, but runtime and user-effort details are not reported in the supplied paper content. Measuring these costs would help assess practical deployment.
- **Test generality beyond the reported setup.** Further evaluation could examine additional generators, tasks, and user-facing measures, including whether people find the scene plans easy to inspect and correct.

## Target Audience

This paper will be most useful to researchers and practitioners working on multi-reference image generation, image editing, controllable generation, scene understanding, and multimodal agents. It is also relevant to teams building creative tools that need reliable subject selection, composition control, or a way to inspect a proposed arrangement before generating the final image.

## Authors’ abstract

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…

[The full abstract on arXiv](https://arxiv.org/abs/2611.32462)

[Read the original paper](https://arxiv.org/abs/2611.32462)

## Related papers

- [Behind Video Generation: Observations and Insights on Multimodal Understanding from Kling](https://ai.info/paper/behind-video-generation-observations-and-insights-on-multimodal-2611.04916) 2026-11-03 · cs.CV · Also by Bohan Zeng, Bozhou Li +7
- [Reviso: Not All Visual Evidence Deserves Equal Attention in Video Captioning](https://ai.info/paper/reviso-not-all-visual-evidence-deserves-equal-attention-in-video-2611.03602) 2026-11-02 · cs.CV · Also by Shujie Li, Xinyu Liu +2
- [Scone: Bridging Composition and Distinction in Subject-Driven Image Generation via Unified Understanding-Generation Modeling](https://ai.info/paper/scone-bridging-composition-and-distinction-in-subject-driven-image-2512.12675) 2025-12-14 · cs.CV · Also by Bohan Zeng, Chengzhuo Tong +2
- [Loupe: Reinforcing Knowledge-Intensive Video Generation Agents](https://ai.info/paper/loupe-reinforcing-knowledge-intensive-video-generation-agents-2611.31895) 2026-11-24 · cs.CV · Also by Bohan Zeng, Kai Zeng +1
- [EgoCaptioner: Towards Comprehensive and Fine-Grained Egocentric Video Captioning](https://ai.info/paper/egocaptioner-towards-comprehensive-and-fine-grained-egocentric-video-2611.26380) 2026-11-19 · cs.CV · Also by Shujie Li, Yang Shi +1

---

Canonical: https://ai.info/paper/magpie-agentic-multi-reference-image-generation-via-executable-scene-2611.32462
