MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing

By Ming Cao, Xintao Wang, Zhongang Qi, Ying Shan, Xiaohu Qie, Yinqiang Zheng. IEEE International Conference on Computer Vision, 2023

846 citations recorded by the source corpus.

Despite the success in large-scale text-to-image generation and text-conditioned image editing, existing methods still struggle to produce consistent generation and editing results. For example, generation approaches usually fail to synthesize multiple images of the same objects/characters but with different views or poses. Meanwhile, existing editing methods either fail to achieve effective complex nonrigid editing while maintaining the overall textures and identity, or require time-consuming fine-tuning to capture the image-specific appearance. In this paper, we develop MasaCtrl, a tuning-free method to achieve consistent image generation and complex non-rigid image editing simultaneously. Specifically, MasaCtrl converts existing self-attention in diffusion models into mutual self-attention, so that it can query correlated local contents and textures from source images for consistency. To further alleviate the query confusion between foreground and background, we propose a mask-guided mutual self-attention strategy, where the mask can be easily extracted from the cross-attention maps. Extensive experiments show that the proposed MasaCtrl can produce impressive results in both consistent image generation and complex non-rigid real image editing.

Subfields: Computer Graphics and Computer-Aided Design, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/85963807c11abe38e9a2797d9860e012238607ef

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Graphics and Computer-Aided Design

  1. Omer Bar-Tal
  2. Tali Dekel
  3. Sangeek Hyun
  4. Tomer Michaeli
  5. Mike Zheng Shou
  6. Gang Yu
  7. Jiwoo Chung
  8. Jae-Pil Heo

In Computer Vision and Pattern Recognition

  1. Tali Dekel
  2. Luc Van Gool
  3. Ming-Hsuan Yang
  4. Tomer Michaeli
  5. Omer Bar-Tal
  6. Song Bai
  7. Chen Change Loy
  8. Dacheng Tao

Citations in the corpus