Multi-party Collaborative Attention Control for Image Customization

Han Yang, Chuanguang Yang, Qiuli Wang, Zhulin An, Weilun Feng, Libo Huang, Yongjun Xu · DOI

TL;DR

This paper introduces MCA-Ctrl, a novel tuning-free framework for image customization that leverages multi-party attention control to seamlessly integrate both text and image conditions. It addresses limitations in existing methods by improving subject consistency, reducing confusion in complex scenes, and maintaining background coherence, all without requiring fine-tuning for each new subject.

What Problem Does This Paper Address?

The explosion of text-to-image diffusion models has created a strong desire for personalized image generation. However, current methods for customizing these models often fall short. They typically struggle with one of the following: accepting only text or image conditions, failing to accurately isolate and maintain subjects in complex scenes (leading to "leakage" or confusion), producing inconsistent backgrounds when guided by images, or requiring computationally expensive fine-tuning for every new subject. This paper aims to bridge this gap by offering a unified, efficient, and high-quality solution for image customization that works with both text and image inputs, even in challenging scenarios.

Methods

MCA-Ctrl is built upon the Stable Diffusion architecture and introduces a "tuning-free" approach, meaning it doesn't require re-training for new subjects. The core innovation lies in coordinating three parallel diffusion processes: one for the subject image, one for the condition (text or image), and one for the target image generation. This coordination is achieved through two novel attention control strategies within the self-attention layers:

  • Self-Attention Local Query (SALQ): This mechanism allows the target image generation process to query specific foreground content from the subject image and background/semantic layout from the condition. It uses masks derived from the subject and condition to ensure that queries are focused on the relevant parts of each input.
  • Self-Attention Global Injection (SAGI): This strategy injects global attention maps from both the subject and condition into the target image generation. It aims to enhance the authenticity and consistency of both foreground and background details, mitigating potential feature confusion that can arise from local querying alone.

To further tackle the issue of subject leakage and confusion in complex scenes, MCA-Ctrl incorporates a Subject Localization Module (SLM). This module uses object detection (DINO) and segmentation (SAM) models to precisely identify and extract subject and editable regions, refining the model's focus and improving output quality.

Datasets

The paper utilizes existing datasets for evaluation:

  • DreamBench: Used as the subject dataset, containing 30 diverse subjects.
  • DreamEditBench: Used as the condition image dataset, providing multiple editable images for each subject in DreamBench.

The authors also mention using 25 prompt templates from DreamBench for subject generation tasks.

Key Insights and Ideas

  • Coordinated Attention is Key: The paper demonstrates that by carefully coordinating attention across multiple parallel diffusion processes (subject, condition, target), it's possible to achieve high-fidelity image customization without fine-tuning.
  • SALQ and SAGI Complement Each Other: SALQ excels at extracting specific subject and background information, while SAGI injects global context to ensure detail authenticity. Their combination is crucial for robust customization.
  • SLM for Complex Scenes: The Subject Localization Module is a critical component for handling challenging scenarios with occlusions, similar objects, or multiple subjects, significantly reducing artifacts and improving subject isolation.
  • Tuning-Free Advantage: The ability to perform customization without fine-tuning is a major practical advantage, making the method more accessible and efficient.

Key Results

MCA-Ctrl demonstrates strong performance across various customization tasks:

  • Quantitative Comparisons: In subject swapping tasks on DreamEditBench, MCA-Ctrl achieves comparable or superior performance to methods like BLIP-Diffusion and DreamBooth across metrics like DINO, CLIP-I, and ImageReward. When parameters are fine-tuned for specific classes, MCA-Ctrl further surpasses existing methods.
  • Subject Generation: For subject generation, MCA-Ctrl shows competitive results, performing slightly better than Text Inversion and IP-Adapter, and on par with DreamBooth and BLIP-Diffusion in automatic evaluations. Human evaluations also indicate superior subject and text alignment.
  • Qualitative Results: The paper presents numerous qualitative examples showcasing MCA-Ctrl's ability to perform subject swapping, addition, and generation with high realism and consistency, even in complex visual conditions involving physical interactions, similar backgrounds, occlusions, and multiple objects. It effectively preserves subject identity while adapting to new contexts.

Limitations and Future Work

The authors acknowledge a few limitations:

  • Fine-Grained Features: MCA-Ctrl struggles with subjects containing very fine-grained features, such as text.
  • Color Changes: Applying color changes can sometimes lead to issues where the color modification only affects localized regions of the subject.

Future work will focus on addressing these limitations, particularly in handling text-based subjects and improving the consistency of color transformations.

Summary updated

BibTeX
@inproceedings{yang2025multi,
  author = {Han Yang and Chuanguang Yang and Qiuli Wang and Zhulin An and Weilun Feng and Libo Huang and Yongjun Xu},
  title = {{Multi-party Collaborative Attention Control for Image Customization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00744},
}
Figure