TL;DR
Ask an AI editor to turn an orange cat black while keeping the exact same fence and snowy background, and you often hit a frustrating wall: the cat stubbornly stays orange. ProEdit diagnoses why existing training-free editing methods cling too tightly to the original image and introduces a plug-and-play fix that lets generative models cleanly change attributes like color, pose, and object count—without wrecking the background.
What Problem Does This Paper Address?
Modern visual generation is rapidly shifting toward flow-based models (like FLUX and HunyuanVideo), which map random noise to crisp visuals along straight, deterministic trajectories. Because these paths are reversible, we can edit real photos or videos without retraining a model. The standard recipe is inversion-based editing: run the generation backward to turn a source image into structured "inverted noise," swap in a new text prompt, and run the process forward again.
To ensure the background and overall layout don't drift during regeneration, standard methods continuously inject visual information (specifically, attention features) from the original image into the new generation.
Here is the catch: source-image tyranny. The authors show that relying on this inverted noise plus global feature injection creates an overwhelmingly strong prior. The model pays so much attention to reconstructing the original subject that it ignores your new prompt—failing at basic edits like changing a shirt's color, crossing a person's arms, or turning two teddy bears into one.
Methods
ProEdit breaks this source-image stranglehold without sacrificing background fidelity. First, during the initial inversion step, it compares how the model attends to the source prompt versus the target prompt to automatically extract a binary spatial mask ($M$) isolating the exact region to be edited. Then, it intervenes in two places:
- KV-mix (Fixing Attention): Instead of globally copying original visual features everywhere, ProEdit uses the spatial mask. Outside the mask (the background), it injects 100% of the source image's Key ($K$) and Value ($V$) attention features to keep things identical. Inside the edited region, it blends target and source $K$ and $V$ features—heavily favoring the target (90% target, 10% source). Crucially, it leaves Query ($Q$) features untouched, allowing the model's spatial "intent" to adapt freely to new poses or shapes.
- Latents-Shift (Fixing Initial Noise): Even before generation starts, inverted noise carries the statistical fingerprint of the original subject's color and texture. Inspired by AdaIN (Adaptive Instance Normalization, a classic style-transfer technique), ProEdit normalizes the inverted noise inside the masked region and shifts its mean and variance toward pure, random Gaussian noise (blending in 25% shifted noise). This scrubs away stubborn attribute priors—like "orangeness"—while keeping underlying spatial structure intact.
Because both modules operate only on latent noise and attention tensors during inference, ProEdit requires zero training and drops neatly into existing flow-inversion solvers like RF-Solver, FireFlow, and UniEdit.
Datasets
Since ProEdit is training-free, datasets are used strictly for evaluation:
- Image Editing: Evaluated on PIE-Bench, a standard benchmark of 700 images spanning 10 distinct editing categories, complete with region annotations to measure background preservation alongside edit accuracy.
- Video Editing: The authors curated a custom test set of 55 text-video editing pairs (40–120 frames each at resolutions like $540\times960$), sourced from the DAVIS dataset and online platforms, paired with editing prompts generated via GPT-4.1.
Key Insights and Ideas
- "Inverted noise" isn't a blank slate: By visualizing attention maps at step zero, the authors reveal that inverted noise already has original attributes baked into its distribution. Fixing attention mechanics during sampling isn't enough if your starting point is already biased against your prompt.
- Queries ($Q$) need freedom: Restricting feature mixing strictly to Keys and Values is a subtle masterstroke. Mixing $Q$ anchors the spatial layout too rigidly to the original image, preventing structural edits like changing a subject's posture or removing an object.
- A tiny anchor goes a long way: In the edited region, retaining just 10% of the source $K/V$ features ($\delta = 0.9$) is enough to preserve subject identity (making sure this specific cat turns black, rather than generating a totally different cat) without blocking the requested edit.
Key Results
Across both FLUX.1-[dev] (images) and HunyuanVideo-720p (videos), plugging in ProEdit consistently boosts existing baselines:
- PIE-Bench State-of-the-Art: Adding ProEdit improved every tested flow solver across structure preservation, background PSNR/SSIM, and CLIP semantic alignment. Paired with UniEdit ($\alpha=0.8$), ProEdit improved its average benchmark rank from 8.6 to 6.2 (and down to 2.4 when using ground-truth masks, beating all 16 baselines).
- Color Editing Breakthrough: On PIE-Bench's color-editing subset—where latent distribution bias hurts most—adding ProEdit to RF-Solver jumped background SSIM from 80.21 to 86.63 while boosting edited-region CLIP similarity from 20.86 to 22.88.
- Video Consistency: On the 55-video benchmark, RF-Solver + ProEdit outperformed dedicated video editors (FateZero, Flatten, TokenFlow, FlowDirector) across all VBench metrics, hitting 0.9712 in Subject Consistency and 0.9920 in Motion Smoothness.
Limitations and Future Work
Not discussed in the paper. (Note: Within the provided main text, the authors do not include a dedicated section discussing failure modes, mask-extraction edge cases, or future research directions, though Table 1 shows a noticeable performance jump when swapping ProEdit's automatic attention masks for human-annotated PIE-Bench masks, hinting that mask precision plays a key role).
Summary updated