Tuning-Free Visual Customization via View Iterative Self-Attention Control
Xiaojie Li, Chenghao Gu, Shuzhao Xie, Yunpeng Bai, Weixiang Zhang, Zhi Wang
TL;DR
VisCtrl introduces a training-free approach for personalized visual editing by injecting a user-specified subject from a reference image into a target image using iterative self-attention within a latent diffusion model. The method uses DDIM inversion to obtain initial noises for both reference and target, and during denoising, replaces the target's self-attention keys/values with those from the reference to progressively fuse appearance and structure, controlled by start step $S$ and layer $L$. A Feature Gradually Sampling strategy extends the method to multi-view domains, enabling consistent editing in videos and 3D scenes by randomly sampling latent features from multiple references and weighting updates with $\alpha$. Extensive experiments across images, video, and 3D scenes show VisCtrl outperforms exemplar-based baselines in fidelity and layout preservation, while remaining training-free and plug-and-play.
Abstract
Fine-Tuning Diffusion Models enable a wide range of personalized generation and editing applications on diverse visual modalities. While Low-Rank Adaptation (LoRA) accelerates the fine-tuning process, it still requires multiple reference images and time-consuming training, which constrains its scalability for large-scale and real-time applications. In this paper, we propose \textit{View Iterative Self-Attention Control (VisCtrl)} to tackle this challenge. Specifically, VisCtrl is a training-free method that injects the appearance and structure of a user-specified subject into another subject in the target image, unlike previous approaches that require fine-tuning the model. Initially, we obtain the initial noise for both the reference and target images through DDIM inversion. Then, during the denoising phase, features from the reference image are injected into the target image via the self-attention mechanism. Notably, by iteratively performing this feature injection process, we ensure that the reference image features are gradually integrated into the target image. This approach results in consistent and harmonious editing with only one reference image in a few denoising steps. Moreover, benefiting from our plug-and-play architecture design and the proposed Feature Gradual Sampling strategy for multi-view editing, our method can be easily extended to edit in complex visual domains. Extensive experiments show the efficacy of VisCtrl across a spectrum of tasks, including personalized editing of images, videos, and 3D scenes.
