Rethinking Where to Edit: Task-Aware Localization for Instruction-Based Image Editing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: He, Jingxuan, Wang, Xiyu, Zheng, Mengyu, Zeng, Xiangyu, Wang, Yunke, Xu, Chang
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915948697485312
author He, Jingxuan
Wang, Xiyu
Zheng, Mengyu
Zeng, Xiangyu
Wang, Yunke
Xu, Chang
author_facet He, Jingxuan
Wang, Xiyu
Zheng, Mengyu
Zeng, Xiangyu
Wang, Yunke
Xu, Chang
contents Instruction-based image editing (IIE) aims to modify images according to textual instructions while preserving irrelevant content. Despite recent advances in diffusion transformers, existing methods often suffer from over-editing, introducing unintended changes to regions unrelated to the desired edit. We identify that this limitation arises from the lack of an explicit mechanism for edit localization. In particular, different editing operations (e.g., addition, removal and replacement) induce distinct spatial patterns, yet current IIE models typically treat localization in a task-agnostic manner. To address this limitation, we propose a training-free, task-aware edit localization framework that exploits the intrinsic source and target image streams within IIE models. For each image stream, We first obtain attention-based edit cues, and then construct feature centroids based on these attentive cues to partition tokens into edit and non-edit regions. Based on the observation that optimal localization is inherently task-dependent, we further introduce a unified mask construction strategy that selectively leverages source and target image streams for different editing tasks. We provide a systematic analysis for our proposed insights and approaches. Extensive experiments on EdiVal-Bench demonstrate our framework consistently improves non-edit region consistency while maintaining strong instruction-following performance on top of powerful recent image editing backbones, including Step1X-Edit and Qwen-Image-Edit.
format Preprint
id arxiv_https___arxiv_org_abs_2604_20258
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Rethinking Where to Edit: Task-Aware Localization for Instruction-Based Image Editing
He, Jingxuan
Wang, Xiyu
Zheng, Mengyu
Zeng, Xiangyu
Wang, Yunke
Xu, Chang
Computer Vision and Pattern Recognition
Instruction-based image editing (IIE) aims to modify images according to textual instructions while preserving irrelevant content. Despite recent advances in diffusion transformers, existing methods often suffer from over-editing, introducing unintended changes to regions unrelated to the desired edit. We identify that this limitation arises from the lack of an explicit mechanism for edit localization. In particular, different editing operations (e.g., addition, removal and replacement) induce distinct spatial patterns, yet current IIE models typically treat localization in a task-agnostic manner. To address this limitation, we propose a training-free, task-aware edit localization framework that exploits the intrinsic source and target image streams within IIE models. For each image stream, We first obtain attention-based edit cues, and then construct feature centroids based on these attentive cues to partition tokens into edit and non-edit regions. Based on the observation that optimal localization is inherently task-dependent, we further introduce a unified mask construction strategy that selectively leverages source and target image streams for different editing tasks. We provide a systematic analysis for our proposed insights and approaches. Extensive experiments on EdiVal-Bench demonstrate our framework consistently improves non-edit region consistency while maintaining strong instruction-following performance on top of powerful recent image editing backbones, including Step1X-Edit and Qwen-Image-Edit.
title Rethinking Where to Edit: Task-Aware Localization for Instruction-Based Image Editing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.20258