Edit the Bits, Diff the Codes: Bitwise Residual Editing for Visual Autoregressive Models
Shengqiang Zhang, Ruotong Liao, Volker Tresp, Barbara Plank, Hinrich Schuetze
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Diffusion & Image Generation › Diffusion-Based Image Editing · Type: new method · Keywords: visual autoregressive editing, bitwise residual editing, text-guided image editing, training-free editor, VAR models
Areas: Multimodal › Multimodal Creation and Editing › Image Editing; Generative Models (Diffusion & Flows) › Visual Editing and Conditioning › Inversion-Free Editing
Summary
BitResEdit is a training-free editor for bitwise-residual visual autoregressive models that jointly performs bitwise guidance and code-space residual editing to achieve precise text-aligned image modifications.
Explained to a 5-year-old
A computer program can draw pictures by guessing one tiny piece at a time. When you want to change a picture, you need to tell the program what you want it to become. The program also needs to know where in the picture the change should happen. The new idea uses two special tricks that work with the tiny bits and the bigger pieces. It also makes sure the parts you didn't want to change stay exactly the same. This way the picture matches the words you wrote while keeping the background intact.
Explained to a 5-year-old, longer
A computer program can make new pictures by guessing one tiny piece at a time. When you want to change a picture, you need to tell the program what you want it to become. The program also needs to know where in the picture the change should happen. Existing programs only looked at the big pieces of the picture, not the tiny bits. The new idea uses two special tricks that work with the tiny bits and the bigger pieces. First, it compares the picture you have with the picture you want to make to decide what to change. Second, it turns the tiny changes into bigger adjustments that can be added back into the picture. It also makes sure the parts you didn't want to change stay exactly the same. This way the picture matches the words you wrote while keeping the background intact. The two tricks help each other, making the editing more accurate. Tests show this method works better than other similar methods on a special test set. Overall, it gives a new way to edit pictures without having to retrain the whole program.
For a technical reader
BitResEdit is a training-free editor for visual autoregressive models that leverages the native bitwise-residual structures of such models. It first applies source-negative guidance to the per-bit log-odds based on a source-target contrast, then projects the updates into a Bernoulli-KL trust region. The sampled bits are turned into per-scale continuous code residuals, masked with a localization mask, and added back through the generator’s sum-of-scales. This coupling of decision-time bit guidance with combination-time code composition preserves untouched latent features while editing only the target region. Experiments on PIE-Bench show that BitResEdit achieves the best text alignment and competitive background preservation, setting a new state of the art among training-free VAR editors.
Problem
Text-guided image editing with visual autoregressive (VAR) generators requires controlling both what the model samples and where the sampled change is written back into the image, which existing editors struggle to handle using the native bitwise-residual structures.
Method
The approach performs source-negative guidance by tilting per-bit log-odds along a source-target contrast computed on a shared edited prefix, then projects updates into a closed-form Bernoulli-KL trust region. It also converts sampled bits into per-scale continuous-code residuals, gates them with a localization mask, and re-injects them through the generator's sum-of-scales.
Results
The approach achieves the strongest text alignment among same-backbone VAR editors and competitive background preservation on PIE-Bench, establishing a new state of the art for training-free VAR editing methods.
Contributions
It introduces a training-free editor that leverages the per-bit Bernoulli head and multi-scale residual code field of bitwise-residual VAR models, combining bitwise phrase-contrast guidance with code-space residual editing to preserve masked-out features while applying localized edits. The work also provides ablations demonstrating the necessity of both components for robust autoregressive image editing.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction