acceptodds
Published as a conference paper at NeurIPS 2026

Edit the Bits, Diff the Codes: Bitwise Residual Editing for Visual Autoregressive Models

Shengqiang Zhang, Ruotong Liao, Volker Tresp, Barbara Plank, Hinrich Schuetze

Abstract

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. Existing VAR editors mainly operate on token streams, features, or flat next-token logits, leaving two native structures of bitwise-residual VAR models underused: the per-bit Bernoulli prediction head and the additive multi-scale residual code field. We propose BitResEdit, a training-free editor for bitwise-residual VAR generators such as Infinity. BitEdit performs source-negative guidance by tilting the post-CFG per-bit log-odds along a source–target contrast computed on a shared edited prefix, then projects each update into a closed-form Bernoulli-KL trust region around the clean CFG sampler. ResEdit converts the resulting sampled bits into per-scale continuous-code residuals, gates them with a localization mask, and re-injects them through the generator's native sum-of-scales. The two components couple decision-time bit guidance with combination-time code composition, preserving masked-out latent features exactly while applying localized, scale-aware edits inside the target region. On PIE-Bench with Infinity-2B, BitResEdit achieves the strongest text alignment among same-backbone VAR editors and competitive background preservation, setting a new state of the art among training-free VAR editing methods. Ablations show that BitEdit and ResEdit play complementary roles in target alignment and background preservation. Detailed ablations show that both code-space residual editing and bitwise phrase-contrast guidance are necessary for robust autoregressive image editing.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_npwVOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper presents BitResEdit, a training-free text-guided image editing method for bitwise-residual visual autoregressive generators such as Infinity. It combines BitEdit, which modifies per-bit Bernoulli log-odds using source-target contrast under a KL trust region, with ResEdit, which injects mask-gated code residuals into the multi-scale latent sum. Experiments on PIE-Bench show stronger same-backbone text alignment than prior VAR editors, with competitive but not best background preservation.

Strengths and weaknesses

Strengths:

  • The paper targets a timely direction: training-free editing for bitwise VAR generators, a less explored setting than diffusion-based editing.
  • The decomposition into bit-level guidance before sampling and residual code composition after sampling is technically sensible and well matched to Infinity.
  • The PIE-Bench results and ablations clearly show the division of labor: BitEdit improves text alignment, while ResEdit improves preservation.
  • The mask-source ablation is useful and shows behavior under GT, box, and automatic masks.

Weaknesses:

  • Evaluation is limited to PIE-Bench and mainly Infinity-2B. Because the method is tied to bitwise Bernoulli codes and multi-scale residual sums, broader validation on another bitwise-residual VAR model or a second editing benchmark would better support generality.
  • The advantage over EditInfinity is mainly text alignment, while EditInfinity remains stronger on PSNR/LPIPS/MSE/SSIM. A more careful discussion, or a small ablation adding BitEdit/ResEdit to EditInfinity-style preservation, would clarify whether the method is complementary.
  • The relation to DiffEdit [1] and EditInfinity [2] needs sharper positioning: source-target contrast plus mask-guided local composition is conceptually related to DiffEdit, although the operating space is different.
  • Some implementation details are underspecified or inconsistent, including whether BitEdit is mask-gated by default, whether temperature is applied twice, and key values such as δKL\delta_{KL}, η0\eta_0, α\alpha, τ\tau, top-kk/top-pp, and mask dilation/blur.

[1]. DiffEdit: Diffusion-based semantic image editing with mask guidance. [2]. EditInfinity: Image editing with binary-quantized generative models.

Questions

Please see the weaknesses section above.

Limitations

yes

Paper formatting concerns

No major formatting concerns.

Final justification

My main concerns remain: (1) BitEdit’s isolated gain appears modest in the new controlled sweeps; (2) the practical setting is relatively restrictive, since BitResEdit requires both an accurate source prompt and an external localization mask, shifting part of the semantic understanding and localization burden outside the editor; and (3) the reported 41× speedup over EditInfinity largely comes from avoiding its per-image optimization/fine-tuning, rather than from a comparable training-free inference efficiency gain. So I maintain my original score.

Reviewer_9nUPOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes BitResEdit, a training-free text-guided image editing method for bitwise-residual visual autoregressive generators, instantiated on Infinity-2B. The method has two components: BitEdit performs source-negative guidance in per-bit Bernoulli log-odds space with a KL trust-region constraint, while ResEdit writes the sampled change back as a mask-gated residual in the model’s multi-scale code space. Experiments on PIE-Bench show improved text alignment among same-backbone VAR editors while maintaining competitive background preservation, with ablations supporting the complementary roles of the two components.

Strengths and weaknesses

Strengths

  1. The method is well aligned with the architecture of bitwise-residual VAR generators. Rather than treating the generator as a generic token model, it exploits the per-bit Bernoulli head and the additive residual-code field, which makes the contribution distinct from token-level or generic logit-level VAR editing methods.

  2. The decomposition into BitEdit and ResEdit is conceptually clean. BitEdit controls what is sampled, while ResEdit controls where the sampled change is written back. The component ablation provides clear evidence that BitEdit mainly improves text alignment and ResEdit mainly improves background preservation.

  3. The empirical results are meaningful within the proper comparison class. Compared with same-backbone or closely related VAR editing baselines, BitResEdit improves text alignment while keeping competitive preservation, making it a timely contribution to training-free VAR-based image editing.

Weaknesses

  1. The main comparison relies on ground-truth masks. Since the preservation guarantee is explicitly mask-relative, the headline result is somewhat favorable to the proposed method. Although the automatic-mask experiment is useful, it is only reported as a robustness ablation rather than emphasized in the main comparison. A more prominent automatic-mask comparison would make the practical preservation–alignment trade-off clearer.

  2. The paper does not report runtime or memory cost. This is an important omission for a training-free editing method, especially because BitResEdit uses a three-branch forward pass and per-bit KL bisection. Several closely related VAR editing papers report practical inference speed, so a wall-clock and memory comparison with vanilla Infinity, AREdit, MLN, and EditInfinity is important.

  3. The evaluation is somewhat narrow. The method is mainly validated on Infinity-2B and PIE-Bench. This is acceptable for an architecture-specific method, but it limits broader claims about bitwise-residual VAR generators. An additional compatible model size, resolution setting, or dataset would strengthen the evidence.

  4. The paper lacks statistical uncertainty for the final results. Although this is not uncommon in image editing papers, repeated sampling, bootstrap confidence intervals, or seed variability would help assess whether the reported metric differences are robust.

Questions
  1. Can the authors provide a main-table or near-main-table comparison under automatic masks rather than ground-truth masks? This would clarify how much of the reported preservation–alignment trade-off depends on oracle localization.

  2. Can the authors report runtime and memory overhead relative to vanilla Infinity sampling and closely related VAR editors such as AREdit, MLN, and EditInfinity? This is important because the method introduces a three-branch forward pass and per-bit KL bisection.

  3. Can the authors evaluate one additional compatible setting, such as another Infinity model size, resolution setting, or editing dataset? This would help support the claim that the method generalizes beyond the current Infinity-2B + PIE-Bench setting.

  4. Can the authors provide uncertainty estimates for the main PIE-Bench metrics, such as bootstrap confidence intervals or repeated-sampling results? This would help assess whether the reported metric differences are robust.

Limitations

Yes.

Paper formatting concerns

N/A

Final justification

After reviewing the authors' rebuttal, I appreciate the substantial additional experiments addressing my concerns. The authors have provided automatic-mask evaluations, runtime and memory comparisons, additional model/resolution settings, and statistical uncertainty analyses. These results strengthen the empirical validation and improve my confidence in the method. However, some limitations remain, including the dependence on external localization masks and performance on the new dataset is not very promising. Therefore, I maintain my original score.

Reviewer_FvffOpenReview ↗
Rating
5
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

The paper proposes a direct editable modular interface for bitwise residual VAR models, which allows for fine grained image editing with a training free approach. The method is based on RESEDIT, with the central addition being a quantized bit representation paradigm with binary editing capabilities in a BSQ (binary spherical quantization) space.

Strengths and weaknesses

Strengths

  1. The main results hold up to the claims, the results come across as solid evidence of the approach. A training-free editor on Infinity-2B gets excellent text-alignment scores between editor tasks using the same backbone, while remaining close to the best on background preservation, without fine-tuning and per-image optimization.
  2. The split into two parts is a nice way to approach the problem. One part decides which bits to sample while the other decides where to write the change back into the image. As this reviewer understands, both correspond to points in the final model, which is where intervention naturally occurs.

Weaknesses

  1. The component ablation is presented as a 2×2 factorial experimental design, where the two factors are BitEdit and RESEDIT, with neither (baseline), BitEdit only, RESEDIT only, or both. As this reviewer reads the argument, this really comes across as one trade-off curve sampled at its two ends. RESEDIT alone already beats EditInfinity on PSNR and SSIM and nearly ties it on CLIP. BitEdit alone collapses to 11.66 PSNR. So "BitEdit handles alignment, RESEDIT handles preservation" ends up describing the space between the two endpoints. However, RESEDIT alone is already competitive with state of the art. This somewhat undermines the central focus of the paper.
  2. A lot of the "we exploit the native structure" language seems to restate inherent properties of the architecture. CFG in INFINITY is already per-bit, because the prediction head is per-bit. Hence, saying the bits "factorize into per-bit Bernoullis with a closed-form KL" amounts to saying each bit is a two-class variable. The masked blending is the same idea as DiffEdit / AREdit, but situated in the BSQ space. As a result, it seems that the stated properties come from masking, as opposed to from bitwise-residual models. The limitations touch upon this, so it should be noted that this is not necessarily a pure "achilles heel" of the approach. Nevertheless, it should be mentioned, since it is very central to the narrative of the paper.
  3. In this reviewers opinion, the preliminaries in Sec 2.1 are presented in a confusing manner for new readers. The paper frames Eq. (1) as the construction of the latent code from the prompt yy, but yy never appears in it. Eq. (1) is actually the deterministic assembly of the latent from sampled codes ckc_k, while the prompt-dependent, bit-sampling part of the model is introduced only later and never tied back to (1). This is compounded by ckc_k being used in Eq. (1) before ck=BSQ(bk)c_k = \mathrm{BSQ}(b_k) is defined, and by the assertion C=DC=D (line 83) being contradicted one sentence later with a note that a learned projection is needed when the code and channel dimensions do not match. The intent is understandable from later clarifications, but this is an unfortunate way to present the core construction of the paper. This detracts from the results and needs more work.
Questions
  1. Can KL projection be isolated from guidance strength? A δKL\delta_\mathrm{KL} sweep would show whether the KL projection does anything that varying the guidance strength η alone does not. In particular, this would help to show the effect of the mask vs. projection.
  2. Are the CLIP gains over EditInfinity above seed variance? Can you report seed-to-seed standard deviation on the final numbers, even on a subset?
  3. Does off-manifold prefix reduce performance for the in-mask edit? Have you measured edit quality as a function of how many scales have been gated, or against a re-quantized-prefix alternative?
  4. Is it possible to interpolate / sweep between η0\eta_0 and α\alpha continuously? The 2×2 only shows four on/off points. A continuous ablation could possible demonstrate a clearer distinction between the proposed method and RESEDIT.
Limitations

The paper is relatively clear on the limitations on the challenges of mask dependence. One of the things that is undercommunicated is the KL trust region, which the narrative leans heavily in to. The off-manifold prefix is mentioned but is not flagged as a clear limitation for the approach, which should probably be emphasized to a greater extent.

Paper formatting concerns

Some parts of the weaknesses addresses unclear points in writing and narrative. An algorithm box, possibly in the appendix, with annotations on the specific edits from RESEDIT would be beneficial to understand the paper from an implementation perspective. One point, without Figure 2, it would (in this reviewers opinion) be very difficult to understand the method fully. While the illustration helps, the text should ideally carry more of the explanatory value. Checklist Q16 has a TODO that is unfinished, which needs correcting.

Final justification

The authors provided an extensive response, clarifying

  • the BitEdit–ResEdit sweeps and tuned ResEdit baseline,
  • the EditInfinity experiment supporting an independent BitEdit contribution,
  • the isolation and clarification of the KL projection,
  • the seed, bootstrap, and off-manifold analyses,
  • the narrowed claims around the "native" bitwise structure and planned revision of Section 2.1.

These additions resolve my main empirical concern and substantially strengthen the paper’s central contribution. The response is direct and the new evidence convincing. I therefore increase my rating to Accept (5).

Comments on the paper

1 comment
Meta-review

Before the rebuttal, the reviews were mixed 1 BA, 2 BR with a mixture of concerns including the fairness and thoroughness of the evaluation. After the rebuttal, scores were either improved or remained the same (1 A, 1 BA, 1 BR) with the positive reviewers noting that the rebuttal substantially strengthened the claims of the paper (as Reviewer 9nUP noted "automatic-mask evaluations, runtime and memory comparisons, additional model/resolution settings, and statistical uncertainty analyses"). The main concern remaining from Reviewer npwV concerns the magnitude of the gains and the overall task formulation as potentially "restrictive". I tend acceptance and agree with the positive reviewers that the combination of an interesting proposed method on a interesting task in combination with thorough evaluation / analysis makes this beneficial to the community.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.