FastComposer: Tuning-Free Multi-subject Image Generation with Localized Attention
Top Cited Papers
Open Access
- 19 September 2024
- journal article
- research article
- Published by Springer Nature in International Journal of Computer Vision
- Vol. 133 (3) , 1175-1194
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).
Keywords
All Related Versions
Funding Information
- Massachusetts Institute of Technology
- Nvidia
- MIT-IBM Watson AI Lab
- Amazon
- Microsoft
- Defence Science and Technology Agency - Singapore (DST00OECI20300823)
- Division of Computing and Communication Foundations (1943349)
- Division of Information and Intelligent Systems (2105819)
This publication has 34 references indexed in Scilit:
- SpaText: Spatio-Textual Representation for Controllable Image Generation2023
- Multi-Concept Customization of Text-to-Image Diffusion2023
- Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translation2023
- Scaling up GANs for Text-to-Image Synthesis2023
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- MaskGIT: Masked Generative Image Transformer2022
- Masked-attention Mask Transformer for Universal Image Segmentation2022
- A Style-Based Generator Architecture for Generative Adversarial Networks2019
- FaceNet: A unified embedding for face recognition and clustering2015
- Microsoft COCO: Common Objects in Context2014