Prompt-Guided Image Editing with Masked Logit Nudging in Visual Autoregressive Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: El-Ghoussani, Amir, Hölle, Marc, Carneiro, Gustavo, Belagiannis, Vasileios
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911597485621248
author El-Ghoussani, Amir
Hölle, Marc
Carneiro, Gustavo
Belagiannis, Vasileios
author_facet El-Ghoussani, Amir
Hölle, Marc
Carneiro, Gustavo
Belagiannis, Vasileios
contents We address the problem of prompt-guided image editing in visual autoregressive models. Given a source image and a target text prompt, we aim to modify the source image according to the target prompt, while preserving all regions which are unrelated to the requested edit. To this end, we present Masked Logit Nudging, which uses the source image token maps to introduce a guidance step that aligns the model's predictions under the target prompt with these source token maps. Specifically, we convert the fixed source encodings into logits using the VAR encoding, nudging the model's predicted logits towards the targets along a semantic trajectory defined by the source-target prompts. Edits are applied only within spatial masks obtained through a dedicated masking scheme that leverages cross-attention differences between the source and edited prompts. Then, we introduce a refinement to correct quantization errors and improve reconstruction quality. Our approach achieves the best image editing performance on the PIE benchmark at 512px and 1024px resolutions. Beyond editing, our method delivers faithful reconstructions and outperforms previous methods on COCO at 512px and OpenImages at 1024px. Overall, our method outperforms VAR-related approaches and achieves comparable or even better performance than diffusion models, while being much faster. Code is available at 'https://github.com/AmirMaEl/MLN'.
format Preprint
id arxiv_https___arxiv_org_abs_2604_14591
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Prompt-Guided Image Editing with Masked Logit Nudging in Visual Autoregressive Models
El-Ghoussani, Amir
Hölle, Marc
Carneiro, Gustavo
Belagiannis, Vasileios
Computer Vision and Pattern Recognition
We address the problem of prompt-guided image editing in visual autoregressive models. Given a source image and a target text prompt, we aim to modify the source image according to the target prompt, while preserving all regions which are unrelated to the requested edit. To this end, we present Masked Logit Nudging, which uses the source image token maps to introduce a guidance step that aligns the model's predictions under the target prompt with these source token maps. Specifically, we convert the fixed source encodings into logits using the VAR encoding, nudging the model's predicted logits towards the targets along a semantic trajectory defined by the source-target prompts. Edits are applied only within spatial masks obtained through a dedicated masking scheme that leverages cross-attention differences between the source and edited prompts. Then, we introduce a refinement to correct quantization errors and improve reconstruction quality. Our approach achieves the best image editing performance on the PIE benchmark at 512px and 1024px resolutions. Beyond editing, our method delivers faithful reconstructions and outperforms previous methods on COCO at 512px and OpenImages at 1024px. Overall, our method outperforms VAR-related approaches and achieves comparable or even better performance than diffusion models, while being much faster. Code is available at 'https://github.com/AmirMaEl/MLN'.
title Prompt-Guided Image Editing with Masked Logit Nudging in Visual Autoregressive Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.14591