MICE

Editing Everything Everywhere All at Once

Multi-Instance Concurrent Editing

Fabio Quattrini*,1, Carmine Zaccagnino*,1, Enis Simsar2, Marta Tintoré Gazulla3, Rita Cucchiara1, Alessio Tonioni3, Silvia Cascianelli1
1University of Modena and Reggio Emilia   2ETH Zurich   3Google
ECCV 2026
*Equal contribution, order determined by a coin flip.
MICE concurrently edits multiple regions of an image in a single pass, guided by per-instance masks and instructions.

MICE modifies the joint attention maps of MMDiT-based flow matching models to concurrently edit multiple elements of an image at inference time, guided by per-instance segmentation masks and editing instructions — all in a single pass.

Abstract

Editing multiple elements of an image in a single forward pass is a practical alternative to multi-turn image manipulation, offering improved efficiency and potentially better harmonization. However, when several instructions target different regions, semantic interference often leads to attribute leakage and poor edit disentanglement, especially as the number of edits increases.

In this work, we propose MICE (Multi-Instance Concurrent Editing), a training-free strategy for scalable multi-instance image editing with Multimodal Diffusion Transformers. MICE modifies the additive bias of joint attention to regulate interactions between instance-specific edit instructions, latent, and context tokens identified via user-provided segmentation masks. Specifically, MICE allows intra-instance attention, penalizes interactions between neighboring region tokens, and suppresses unrelated cross-instance attention. As a result, our method enforces attribute binding while preserving global visual consistency.

We evaluate MICE on LoMOE-Bench and introduce MICE-Bench, a more challenging benchmark with an average of 8.5 concurrent edits per image. The experiments demonstrate that our approach outperforms strong baselines and recent competitors in terms of visual quality preservation and faithfulness to the editing instructions.

Highlights

 Training-Free & Architecture-Agnostic

No fine-tuning and no per-layer hyperparameter tuning. A single bias matrix is applied uniformly across all attention layers, making MICE portable across MMDiT backbones (FLUX.2 klein 4B/9B, FLUX.2-Dev, FLUX.1 Kontext).

 Smoothly-Disentangled Attention

A parametric, spatially-smoothed additive bias replaces hard binary masks — enabling a continuous transition between instance isolation and global harmonization, without harsh seams or attribute leakage.

 MICE-Bench

A new, harder benchmark: 260 samples from COCO and LVIS with 5–40 concurrent edits per image (averaging 8.5), far exceeding the editing density of prior benchmarks such as LoMOE-Bench.

 Single-Pass & Efficient

All edits are applied at once. Unlike multi-branch methods whose memory and runtime grow linearly with the number of edits, MICE scales like single-pass inference — enabling dozens of concurrent edits on one GPU.

Method

State-of-the-art flow-matching editors parameterize the velocity field with a Multimodal Diffusion Transformer (MMDiT) and apply joint attention over concatenated prompt, latent, and context tokens. Allowing every token to attend to every other token causes attribute leakage: concepts meant for one region bleed into others as the number of edits grows.

MICE operates directly on the additive bias B of the joint attention map. Each user-provided segmentation mask is smoothed with a parametric Gaussian kernel using an instance-aware strategy: smoothing is zeroed wherever it would spill into a neighboring instance. The smoothed masks are mapped into log-probability space and used as a spatial penalty, so that tokens of an instance attend freely within it, interact with decreasing strength to nearby regions (enabling smooth blending), and are blocked from attending to unrelated instances.

Instance-aware smoothing: each segmentation mask is smoothed independently and zeroed where it touches a neighboring mask.

Instance-aware smoothing. Each mask is smoothed independently; smoothed values are zeroed when touching a neighboring mask (red/yellow). Distant instances (blue) are smoothed without constraints.

MICE bias matrix construction regulating prompt, latent, and context token interactions per instance.

Biased joint attention. MICE defines a bias map (right) that regulates the interaction between background and instance-specific prompt, latent, and context tokens, using the smoothed masks.

MICE-Bench

Existing benchmarks for multi-instance concurrent editing on natural images lack settings with a high number of concurrent edits — prior work averages only around three edits per image, providing little room to verify a model's ability to perform an arbitrarily high number of concurrent edits. To bridge this gap, we introduce MICE-Bench, specifically annotated for high-density editing:

  • 260 samples selected from the COCO and LVIS validation sets, chosen for diverse object counts.
  • 5–40 concurrent edits per image, with an average of 8.5.
  • Creative-yet-realistic target replacements proposed by a multimodal LLM (Gemini 3 Flash) and manually verified.
  • Multiple annotation formats: per-instance instructions, referring expressions, and a single global prompt.
  • Usable with both ground-truth masks and masks from a promptable segmenter (SAM3).

🤗Get MICE-Bench on Hugging Face

Analysis

Editing-Area Definition

How instances are localized matters. Bounding boxes leak edits across overlapping regions; hard segmentation masks isolate edits but introduce visible seams; and naïvely Gaussian-smoothed masks blend neighboring instances together. Our instance-aware smoothing follows every editing prompt while preserving each instance's original shape when possible and harmonizing it with the rest of the image.

MICE with different instance-localization strategies: bounding boxes, original, Gaussian, and our instance-aware segmentation masks.

Qualitative results when localizing instances with bounding boxes, original, Gaussian, and our instance-aware segmentation masks.

Effect of k and τ

Two interpretable hyperparameters govern the spatial attention falloff: the kernel size k controls how wide a neighborhood an instance can blend into, and the temperature τ controls the strength of that blending. Larger values harmonize an edit more with its surroundings (helpful when an edit changes an object's shape), while smaller values keep edits tightly localized.

Qualitative effect of sweeping kernel size k (columns) and temperature tau (rows) for MICE on FLUX.2 klein 4B.

Sweeping k (left→right) and τ (top→bottom) for MICE on FLUX.2 [klein] 4B. The top row shows the source, edit masks, prompts, and the no-smoothing baseline.

Backbone Portability

Because MICE depends on no architecture-specific layer choices, it transfers across MMDiT backbones. Applied to FLUX.1 Kontext, FLUX.2 [klein] 4B / 9B, and FLUX.2-Dev, it consistently improves edit locality and background preservation over each base model.

MICE applied to different backbones (FLUX.1 Kontext, FLUX.2 klein 4B/9B, FLUX.2-Dev), base vs +MICE, on LoMOE-Bench and MICE-Bench.

Base model vs. +MICE across backbones, on a LoMOE-Bench (top) and a MICE-Bench (bottom) sample.

Results

Qualitative Results

Comparison with the State of the Art

MICE-9B (MICE on FLUX.2 klein 9B) achieves the best Localized CLIP score on both benchmarks — surpassing even the closed-source Gemini 3 Pro Image — and remains strong when fed automatic SAM3 masks instead of ground-truth ones.

Model LoMOE-Bench MICE-Bench
Tgt C↑Loc C↑MAEBAR%↑ Tgt C↑Loc C↑MAEBAR%↑
FLUX.2 [klein] 9B26.5729.458.6399.4825.6626.3427.12100.0
Gemini 3 Pro Image26.8229.677.2497.3725.6427.0913.0898.97
Qwen-Image-Edit26.3428.857.1388.0225.2625.3326.4798.83
IDAttn25.6729.266.4198.4424.6825.545.0673.01
LoMOE26.0029.406.6692.1924.9925.467.7699.07
LayerEdit25.6129.077.4397.9223.7724.389.3299.51
MICE (ours)26.4930.308.8898.4425.2427.7913.8998.97
MICE + SAM3 (ours)26.2230.418.9496.8825.2627.7313.3698.54

Tgt C: Target CLIP Score · Loc C: Localized CLIP Score · MAEB: background MAE · AR%: Attempt Rate.

LLM-as-Judge Evaluation (ELO)

From 900 binary comparisons judged by Gemini 3.1 Pro (prompt following, background preservation, overall quality), MICE ranks first on both benchmarks.

ModelLoMOE-Bench↑MICE-Bench↑
FLUX.2 [klein] 9B1299.781172.16
IDAttn1223.571412.73
LayerEdit887.98858.92
LoMOE1181.02995.05
Qwen-Image-Edit1265.121192.69
MICE (ours)1342.531568.46

BibTeX

@inproceedings{quattrini2026mice,
  title     = {{Editing Everything Everywhere All at Once}},
  author    = {Quattrini, Fabio and Zaccagnino, Carmine and Simsar, Enis and
               Tintor\'e Gazulla, Marta and Cucchiara, Rita and Tonioni, Alessio and
               Cascianelli, Silvia},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2026}
}