SpotEdit: Selective Region Editing in Diffusion Transformers
Zhibin Qin, Zhenxiong Tan, Zeqing Wang, Songhua Liu, Xinchao Wang
TL;DR
SpotEdit addresses the inefficiency of full-image regeneration in diffusion-transformer editing by introducing a training-free, region-aware approach. It combines SpotSelector, which uses a perceptual LPIPS-like score to identify non-edited regions, with SpotFusion, which temporally blends non-edited features into the edited region via a cosine-squared schedule and partial-attention, ensuring coherence across timesteps. Empirical results show substantial speedups (around 1.7–1.95×) on standard benchmarks while maintaining or improving editing fidelity and background consistency, and ablations validate the necessity of adaptive fusion, condition caching, and reset mechanisms. This framework enables efficient, high-fidelity, localized edits without requiring manual masks, making diffusion-based image editing more practical for real-world use-cases.
Abstract
Diffusion Transformer models have significantly advanced image editing by encoding conditional images and integrating them into transformer layers. However, most edits involve modifying only small regions, while current methods uniformly process and denoise all tokens at every timestep, causing redundant computation and potentially degrading unchanged areas. This raises a fundamental question: Is it truly necessary to regenerate every region during editing? To address this, we propose SpotEdit, a training-free diffusion editing framework that selectively updates only the modified regions. SpotEdit comprises two key components: SpotSelector identifies stable regions via perceptual similarity and skips their computation by reusing conditional image features; SpotFusion adaptively blends these features with edited tokens through a dynamic fusion mechanism, preserving contextual coherence and editing quality. By reducing unnecessary computation and maintaining high fidelity in unmodified areas, SpotEdit achieves efficient and precise image editing.
