TL;DR
EditMod introduces a "source-centric" paradigm for text-guided image editing using Visual Autoregressive (VAR) models. Instead of regenerating an image from scratch under target constraints, it directly modifies the source image tokens by applying scale-wise residual updates derived from cross-conditional prediction differences. This training-free, inversion-free approach delivers state-of-the-art source image fidelity and strong text alignment, editing a 1K image in just 1.57 seconds on a single A100 GPU.
What Problem Does This Paper Address?
Most existing training-free image editing methods follow a generation-centric path. Whether based on diffusion models or autoregressive models, they typically start with the target text prompt and generate a new image from scratch, using the source image as an auxiliary constraint (via inversion trajectories, feature injection, attention control, or spatial masks).
The authors argue that this formulation is fundamentally flawed for image editing. Because the shared content between the source and target images still passes through a target-conditioned generation process, unedited regions are prone to unwanted drift. Furthermore, relying on complex workarounds like test-time optimization or manual masking introduces heavy computational overhead and user intervention.
Methods
EditMod shifts the perspective to a source-centric formulation. It treats the encoded source image tokens ($Z^s$) as the primary visual state and models only the requested semantic change ($\Delta_{s \to t}$) as a residual update: $Z^e = Z^s + \Delta_{s \to t}$.
Built on top of Infinity (a VAR model utilizing binary spherical quantization), EditMod executes a simple, three-stage cross-scale schedule across the model's multi-scale token hierarchy:
- Stage 1: Source Prefill (Coarse Scales): The model directly reuses the source image tokens for the earliest scales. Since coarse scales dictate global geometry and layout, this perfectly anchors the original composition.
- Stage 2: EditMod Update (Intermediate Scales): For scales where semantic changes occur, EditMod feeds the shared prefix context into the model twice—once conditioned on the source prompt and once on the target prompt. It computes the difference between these two conditional bit-probability distributions and applies it as a residual update to the source tokens.
- Stage 3: Target Refine (Fine Scales): At the finest scales, the model switches to standard target-conditioned autoregressive sampling to synthesize clean, high-frequency details and textures consistent with the edit.
Datasets
The authors evaluated EditMod on PIE-Bench, a standard benchmark containing 700 real source images. Each image is paired with a source prompt and a target prompt, covering nine distinct editing categories: object replacement, attribute modification, pose change, style transfer, background editing, and local semantic editing.
Key Insights and Ideas
- Shifting the Preservation Burden: In generation-centric editing, models must approximate high-dimensional shared content (layout, identity, textures). By switching to a source-centric approach, EditMod inherits the exact source state and only needs to estimate the difference caused by the text change, drastically reducing the preservation error.
- Shared-Context Suppression: Computing both source and target predictions under the exact same autoregressive prefix effectively cancels out the context-shared responses. The resulting displacement vector isolates and transfers only the condition-induced semantic change.
- Exploiting VAR Scale Dynamics: Coarse scales in VAR models naturally capture global layout, while fine scales capture textures. Hard-coding the edit to happen only at intermediate scales allows the model to alter semantics without destroying the background layout or introducing local artifacts.
Key Results
EditMod was evaluated under two configurations: EditMod-P (optimized for source preservation) and EditMod-T (optimized for text alignment).
- Inference Efficiency: EditMod requires no per-image optimization or inversion. It completes an end-to-end edit of a 1K image in 1.57 seconds on an NVIDIA A100 GPU, making it significantly faster than diffusion-based pipelines and prior VAR methods like ARedit (3.00s) and EditInfinity (212.31s).
- Fidelity vs. Alignment Trade-off: On PIE-Bench,
EditMod-Pachieved the highest source preservation scores across the board (lowest LPIPS of 0.2212, highest DINO score of 0.8641), outperforming methods that explicitly use ground-truth masks. Meanwhile,EditMod-Tmaintained highly competitive text alignment (CLIP-T) scores.
Limitations and Future Work
While EditMod demonstrates the power of source-centric autoregressive editing, the authors note a few limitations:
- Predefined Scale Boundaries: The three-stage schedule relies on fixed, hardcoded scale boundaries ($Kc$ and $Kf$). A more adaptive, semantics-aware mechanism that dynamically determines which scales to edit based on the prompt would be a valuable improvement.
- Exploration of Update Spaces: This work represents an initial instantiation of the paradigm, focusing on updates within the bit-wise probability space of binary spherical quantization. Alternative edit-direction formulations and token update spaces remain largely unexplored.
Summary updated