FastComposer: Tuning-Free Multi-subject Image Generation with Localized Attention
Name
11263_2024_Article_2227.pdf
Size
13.22 MB
Format
Adobe PDF
Checksum (MD5)
d2eff7216b99577dc8d3d9051ad8eec1
Author(s) • • • •
Xiao, Guangxuan
Yin, Tianwei
Freeman, William T.
Durand, Frédo
Han, Song
Date Issued
September 19, 2024
Journal
International Journal of Computer Vision
Publisher
Springer US
Citation
Xiao, G., Yin, T., Freeman, W.T. et al. FastComposer: Tuning-Free Multi-subject Image Generation with Localized Attention. Int J Comput Vis 133, 1175–1194 (2025).
Version
Final published version
Abstract
Diffusion models excel at text-to-image generation, especially in subject-driven generation for personalized images. However, existing methods are inefficient due to the subject-specific fine-tuning, which is computationally intensive and hampers efficient deployment. Moreover, existing methods struggle with multi-subject generation as they often blend identity among subjects. We present FastComposer which enables efficient, personalized, multi-subject text-to-image generation without fine-tuning. FastComposer uses subject embeddings extracted by an image encoder to augment the generic text conditioning in diffusion models, enabling personalized image generation based on subject images and textual instructions with only forward passes. To address the identity blending problem in the multi-subject generation, FastComposer proposes cross-attention localization supervision during training, enforcing the attention of reference subjects localized to the correct regions in the target images. Naively conditioning on subject embeddings results in subject overfitting. FastComposer proposes delayed subject conditioning in the denoising step to maintain both identity and editability in subject-driven image generation. FastComposer generates images of multiple unseen individuals with different styles, actions, and contexts. It achieves 300
$$\times $$
×
–2500
$$\times $$
×
speedup compared to fine-tuning-based methods and requires zero extra storage for new subjects. FastComposer paves the way for efficient, personalized, and high-quality multi-subject image creation. Code, model, and dataset are available here (
https://github.com/mit-han-lab/fastcomposer
).
Terms of Use
Creative Commons Attribution
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1007/s11263-024-02227-z