Every Edit Its Own Budget: Per-Instruction Token Freezing for Training-Free Acceleration of Multi-Edit Image Editing

Jyotirmoy Nath, Neeraj Kumar, Brejesh LallarXiv 2026

TL;DR

When you ask an AI image editor to make multiple changes at once—say, swapping out a sofa and recoloring a tiny coffee mug—standard acceleration tricks apply a single, image-wide cutoff to stop computing pixels that seem "finished," inadvertently erasing subtle edits before they even materialize. This paper introduces TIDE, a training-free method that gives every individual part of your prompt its own compute budget using the model’s internal attention maps. The result? Up to nearly 5× faster image generation that actually remembers to finish the small stuff.

What Problem Does This Paper Address?

Modern instruction-based image editors use flow-matching transformers—models that iteratively transform noise into an edited image along straight mathematical trajectories over 4 to 50 steps. Because large parts of an image (like an untouched background) settle into their final state early on, researchers speed things up by freezing image patches ("tokens") whose predicted final state stops changing much between steps (low "drift").

Here’s the catch: existing accelerators use one global threshold for the whole image. That works fine for a single edit. But if one prompt asks for eight different things, those edits happen at wildly different scales and speeds. Replacing a massive couch causes huge mathematical drift; subtly changing a small plant on a windowsill causes tiny drift. Tune a global threshold for high speed, and the subtle edit looks "settled" right next to the chaotic couch swap. The accelerator freezes it prematurely, and your requested edit vanishes into thin air.

A single global threshold prematurely freezes subtle edits (red boxes), whereas TIDE maps out regions per instruction part and preserves every edit at higher speeds (green boxes).

Methods

The authors propose TIDE (Training-free Instruction-aware Drift-based Editing), which requires zero retraining, user-supplied masks, or external vision models. It runs in three stages:

  1. Self-Grounded Regions: During the first few normal ("dense") steps, TIDE looks inside the editor's own cross-attention layers to see which image tokens are paying attention to which clauses in the text prompt, alongside how far tokens are moving from the source image. Because big, flashy words tend to hog attention away from subtle ones, TIDE uses an algorithm called unbalanced optimal transport (solving in ~4 milliseconds) to fairly partition the image into distinct regions—one for each requested edit, plus the background.
  2. Per-Instruction Freezing: Instead of judging a token against the whole image's average motion, TIDE freezes a token only when its drift drops below a fraction of its own region's initial drift. Slow edits are judged against slow motion; fast edits against fast motion. Frozen tokens aren't recomputed—they just coast along a straight line toward their last predicted endpoint. For models that take dozens of steps, TIDE periodically runs a full "check step" to wake up frozen tokens if they start drifting again.
  3. Sparse Execution: A custom PyTorch engine computes new queries, keys, and values only for active tokens, while letting them read cached values from frozen tokens so global context isn't lost.

Datasets

Because TIDE is training-free, datasets are used strictly for evaluation (with ground-truth masks used only for scoring or mask-dependent baselines):

  • MICE-Bench (averages ~8 edits per image), LoMOE-Bench (3 edits), and MIRA-Bench (5 edits) for multi-object editing.
  • InfoEdBench (InfoDet and Crello subsets) for multi-box text editing.
  • GEdit-Bench for single-edit evaluation. No new datasets were introduced.

Key Insights and Ideas

  • Drift alone is blind: The authors mathematically prove that no acceleration rule looking purely at token-level features (like drift) can tell the difference between a settled background pixel and a slowly developing subtle edit. You must know which part of the prompt a token serves.
  • Optimal transport saves the underdog: Standard argmax or softmax attention grouping lets salient objects swallow up nearby subtle edits. Unbalanced optimal transport enforces mass constraints, making region sizes roughly 9× less sensitive to attention competition—and actually outperforms human-drawn ground-truth masks in ablation tests because the model's attention naturally includes context like shadows and reflections.
  • Global budgets almost always break: Replaying real editing trajectories showed that at a 60% compute-saving target, a single global threshold blows past the error budget of at least one edit in 89% of MICE-Bench images.

Key Results

Tested across two distinct model families—FLUX.2 Klein (both 4-step distilled and 28-step Base) and Qwen-Image-Edit-2511 (50 steps)—TIDE consistently pushes the speed-quality frontier:

  • Saving small edits: At ~3.5× speedup (8 steps on Klein 4B), a global threshold drops 32.9% of tiny object edits (<1% image area). TIDE cuts that loss nearly in half (17.1%), dropping 48% fewer edits overall on MICE-Bench and up to 77% fewer on LoMOE-Bench. Blind human raters confirmed this gap.
  • Massive speedups on multi-step models: On 28-step Klein Base, TIDE is the fastest method across all six benchmarks (4.81–4.89× end-to-end speedup) and slashes transformer compute by 5.3× in TFLOPs.
  • Zero-tuning generalization: Reusing the exact same settings on the 50-step Qwen model, TIDE again takes first place in speed (3.46–3.52×) and drops the fewest edits on every benchmark—dropping fewer edits than the random variation you get just from changing the random seed in the unaccelerated model.

Limitations and Future Work

TIDE shines brightest when models have steps to spare, but has honest trade-offs on ultra-short schedules. On the 4-step distilled Klein editor, simply running 2 normal steps ("step skipping") is a better choice up to a 1.84× speedup, and pushing TIDE to 2.2× degrades no-reference image quality and fine text-rendering accuracy (largely due to caching text/reference keys and values rather than token freezing itself). Additionally, on many-step models like Klein Base, early token drifts haven't separated cleanly by step 4, meaning TIDE relies heavily on its periodic wake-up checks rather than nailing the optimal budget prices on the first try. Future directions are not explicitly discussed in the paper.

Summary updated

Abstract

Accelerating instruction-based image editing when one instruction requests several edits is challenging. Many training-free accelerators for flow-matching image editors skip tokens whose prediction has stopped changing, but decide this with a single threshold for the whole image. With several edits, such a threshold, tuned for speed, freezes small and slowly settling edits first, and requested edits disappear. We propose TIDE (Training-free Instruction-aware Drift-based Editing), which gives every instruction part its own compute budget. First, TIDE finds the region of each part in the editor's own attention by unbalanced optimal transport, without masks or external models. Second, it freezes a token once its drift is small relative to its own part and moves it along the straight path to its endpoint estimate. Third, a sparse engine computes only the remaining tokens. We prove that part-agnostic rules cannot guarantee per-part error budgets, characterize the optimal per-part threshold policy up to one tie class per part, and derive when our rule attains it. On FLUX.2 Klein, one global threshold breaks at least one edit's budget in 89% of MICE-Bench images, and TIDE drops up to 77% fewer edits at matched or higher speed (48% on MICE-Bench), a gap human raters confirm. On the many-step Klein Base, TIDE is the fastest compared method on six benchmarks (4.81-4.89x) and needs 5.3x fewer TFLOPs than vanilla, the largest saving we measure. With the same settings, it is also the fastest compared method on Qwen-Image-Edit-2511, a second model family (3.46-3.52x), and drops the fewest edits on all six benchmarks. Code will be made publicly available.
BibTeX
@misc{nath2026every,
  author = {Jyotirmoy Nath and Neeraj Kumar and Brejesh Lall},
  title = {{Every Edit Its Own Budget: Per-Instruction Token Freezing for Training-Free Acceleration of Multi-Edit Image Editing}},
  year = {2026},
  eprint = {2611.32407},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32407},
}
Figure