GMO-E²DIT: Grounded Multi-Operation Editing for E-Commerce Images

Zipeng Guo, Xiaoan Liu, Lichen Ma, Cheng Wang, Yu He, Xiaolong Fu, Jingling Fu, Xinyuan Shan, Shaojie Guo, Luohang Liu, Yan Li, Junshi HuangNeurIPS 2026

TL;DR

Editing e-commerce product posters isn’t about artsy, global restyling—it’s about surgical precision, like swapping two price tags, deleting a sticker, and changing font colors all at once without warping the product itself. One-shot image generators usually choke on these multi-part requests, executing half the prompt and hallucinating the rest. GMO-E²DIT solves this by decoupling thinking from rendering: a Vision-Language Model (VLM) plans a structured checklist of localized edits, feeds them step-by-step to a mask-guided image editor, and inspects the intermediate results—rolling back mistakes and retrying until every box is ticked.

What Problem Does This Paper Address?

If you ask a modern diffusion model to "turn a daytime street into a cyberpunk night," it will handily oblige. Ask it to "move the yellow discount badge to the left, swap the two bottom stickers, and change 'delight' to 'happy'" on an e-commerce poster, and things fall apart.

In commercial settings, "mostly right" is a failure. Price tags, logos, and product appearances carry strict business meaning; an editor cannot accidentally warp a bottle label while deleting a nearby badge. Current instruction-based image editors struggle here because they try to do everything in one giant leap: parsing fuzzy human intent, locating objects spatially, binding roles (what moves from where to where), and synthesizing pixels simultaneously. When given complex, multi-operation prompts, they frequently drop tasks, confuse source and target locations, or bleed changes into untouched background areas.

Figure 1: Qualitative demonstration. (a) Single-task editing operations. (b) Complex multi-task and multi-turn editing capabilities. (c) Method comparison demonstrating our approach outperforms strong baselines in executing compositional instructions while preserving unedited regions.

Methods

Instead of treating editing as a single-shot generation problem, the authors reframe it as grounded multi-operation task completion—essentially pairing an art director with a Photoshop technician.

The GMO-E²DIT framework splits the workload between two components:

  1. The VLM Agent (Planner & Judge): Takes a fuzzy user instruction and the source image, and outputs a structured edit agenda—an ordered list of typed operations (add, remove, move, exchange, replace) complete with source/target bounding boxes and text hints.
  2. The Mask-Conditioned Image Editor: A flow-matching generative editor that doesn't have to guess where or what to edit. A deterministic compiler translates a small batch of the VLM's agenda into operation-aware spatial masks and patch references, letting the editor focus purely on clean, localized pixel synthesis.
Figure 2: Overview of our framework. Training involves three stages: 1) SFT and rule-based GRPO for the VLM agent; 2) SFT for the mask-conditioned editor; and 3) multi-round joint RL guided by an external VLM judge. During inference, the agent and editor interact in a closed loop, iteratively executing masked visual prompts and refining results until the instruction is complete.

The Secret Sauce: Program-Level Reflection & Joint RL After each editing round, the VLM switches into reflection mode. Looking at the intermediate image, it outputs one of three states:

  • success: Everything requested is done; stop and output.
  • continue: Partial edits look great, no critical damage; lock in this image and run the remaining tasks.
  • rollback: Something broke (e.g., a misplaced badge or corrupted product); throw away this step, revert to the last safe image, and replan.

Training happens in three stages: (1) Supervised Fine-Tuning (SFT) plus rule-based Group Relative Policy Optimization (GRPO—a reinforcement learning method) to teach the VLM structured planning and reflection; (2) SFT for the mask-conditioned editor; and (3) Multi-round Joint RL, where the VLM interacts with the frozen editor in a closed loop, scored by an external VLM judge that heavily penalizes premature success calls.

Datasets

Because off-the-shelf datasets lack supervision for multi-turn planning and error rollback, the authors built a two-stage synthetic data pipeline:

  • Training Dataset: Starting from real e-commerce posters, Stage 1 mines editable layers using YOLOv10, SAM2 (for alpha-matting stickers/products), PP-OCR-v5, Flux2-klein-9B (for clean background inpainting), and Qwen3.5 (to extract layout logic as HTML). Stage 2 programmatically recomposes these assets—using HTML intermediates for style/text replacements—to create ground-truth pairs for single-task planning, multi-task execution, and reflection states (success/continue/rollback).
  • EComEditBench: A new held-out benchmark of 1,000 samples (500 single-operation, 500 multi-operation across 2–4 tasks) covering all five atomic operations. Uniquely, it tests models under two protocols: fuzzy (raw natural language only, testing end-to-end reasoning + rendering) and precise (explicit region descriptions/boxes provided, isolating pure rendering skill).
Figure 3: Overview of the data synthesis pipeline. Stage 1 extracts structured visual and textual assets, while Stage 2 recomposes them to synthesize grounded multi-task and multi-turn training pairs.

Key Insights and Ideas

  • Role-binding matters more than mere localization: Knowing where to edit isn't enough for move or exchange operations—models easily swap source and destination roles. Compiling structured agendas into operation-aware masks eliminates source–target confusion.
  • Ctrl+Z is a superpower for generative models: Standard reflection methods critique prompts globally and start over from scratch. Program-level state classification (continue vs. rollback) lets the system bank safe partial progress while isolating and retrying only the failed sub-tasks.
  • Decoupling unlocks massive gains in the generator: When spatial ambiguity is removed (moving from fuzzy to precise prompts, or introducing the VLM planner), the underlying image editor's accuracy skyrockets without changing its weights—proving that pixel generators are often bottlenecked by spatial reasoning rather than rendering capacity.

Key Results

Evaluated on EComEditBench using Gemini-3 Pro as a judge (1–10 scale) across Instruction Accuracy (IA), Edit Fidelity (EF), and Background Preservation (BP):

  • Fuzzy Instructions: GMO-E²DIT achieves the highest overall IA (8.66) and EF (8.25), and second-best BP (8.87). It dramatically beats open-source editors like FLUX2-klein-base-9B (5.16 / 4.53 / 6.65) and Qwen-Image-Edit-2511 (4.52 / 4.12 / 4.91), while edging out heavyweight closed-source models like Seedream 5.0 (8.49 IA) and Nano Banana 2 (8.48 IA).
  • Role-Sensitive Dominance: On tricky exchange tasks under fuzzy prompts, GMO-E²DIT scores 9.07 IA, whereas open-source baselines collapse (~2.0–2.4 IA) and closed-source models lag (7.30–8.07 IA).
  • Precise Instructions: With region ambiguity removed, GMO-E²DIT reaches near-ceiling scores of 9.82 IA / 9.62 EF / 9.85 BP, outperforming all closed- and open-source baselines across the board.
  • Human Evaluation: In 1,000 head-to-head fuzzy-instruction comparisons, human raters consistently preferred GMO-E²DIT over Nano Banana Pro, Seedream 5.0, and Wan2.7-Image-Pro on both instruction following (winning 36.3%–46.6% vs. 21.2%–28.5%, remainder ties) and visual consistency.

Limitations and Future Work

Not discussed in the paper. (Note: Within the provided 10-page main text, the authors do not include a dedicated limitations or future work section.)

Summary updated

BibTeX
@inproceedings{guo2026gmo,
  author = {Zipeng Guo and Xiaoan Liu and Lichen Ma and Cheng Wang and Yu He and Xiaolong Fu and Jingling Fu and Xinyuan Shan and Shaojie Guo and Luohang Liu and Yan Li and Junshi Huang},
  title = {{GMO-E²DIT: Grounded Multi-Operation Editing for E-Commerce Images}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VXvQ42upd6},
}
Figure