cs.CVSep 28, 2026

Attention-Scoped Guidance: Training-Free Spatial Control for Image Editing

Authors: Zeyan Li, Wei Zhou, Hadi Amirpour, Minghao Zou, Panqi Yang, Jianfeng Xu

Organizations: Shanghai Jiao Tong University · Cardiff University · University of Klagenfurt · Xi’an Jiaotong University

Abstract

Instruction-guided image editing should change what the instruction names and leave the rest of the image untouched. In dual classifier-free guidance (CFG), an editor combines two directions at every denoising step, one that pushes toward the instructed edit and one that pulls back toward the source image, using global weights. We introduce Attention-Scoped Guidance (ASG), a sampler wrapper that makes these weights spatial. It reads a soft support map from the instruction attention that the editor already computes, then weakens text guidance where support is low and strengthens image anchoring where support is high. The wrapper requires no training, no external mask, and no additional network evaluation. On the full MagicBrush and PIE-Bench++ splits, ASG improves preservation-oriented metrics, leading three of four MagicBrush metrics and PIE-Bench++ background PSNR. A dose-matched control that removes the spatial placement loses up to 0.73 CLIP on PIE-Bench++, confirming that the spatial allocation itself carries the gain.

Figures & tables

Explore similar work

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

    Apr 22, 2026Jingxuan He, Xiyu Wang, Mengyu Zheng +3Image EditingEdit

  2. Refinement Is Inherently Editable: Training-Free Prompt-to-Prompt Image Editing with Generative Refinement Network

    Sep 17, 2026Yulong Chen, Ziqian Zhang, Haoyu Zhang +4Diffusion-Based Image EditingImage Editing

  3. Edit Where You Mean: Region-Aware Adapter Injection for Mask-Free Local Image Editing

    Apr 26, 2026Honghao Cai, Xiangyuan Wang, Yunhao Bai +8Diffusion-Based Image EditingImage Editing