Break-A-Scene: Extracting Multiple Concepts from a Single Image
arXiv:2305.16311 · doi:10.1145/3610548.3618154
Abstract
Text-to-image model personalization aims to introduce a user-provided concept to the model, allowing its synthesis in diverse contexts. However, current methods primarily focus on the case of learning a single concept from multiple images with variations in backgrounds and poses, and struggle when adapted to a different scenario. In this work, we introduce the task of textual scene decomposition: given a single image of a scene that may contain several concepts, we aim to extract a distinct text token for each concept, enabling fine-grained control over the generated scenes. To this end, we propose augmenting the input image with masks that indicate the presence of target concepts. These masks can be provided by the user or generated automatically by a pre-trained segmentation model. We then present a novel two-phase customization process that optimizes a set of dedicated textual embeddings (handles), as well as the model weights, striking a delicate balance between accurately capturing the concepts and avoiding overfitting. We employ a masked diffusion loss to enable handles to generate their assigned concepts, complemented by a novel loss on cross-attention maps to prevent entanglement. We also introduce union-sampling, a training strategy aimed to improve the ability of combining multiple concepts in generated images. We use several automatic metrics to quantitatively compare our method against several baselines, and further affirm the results using a user study. Finally, we showcase several applications of our method. Project page is available at: https://omriavrahami.com/break-a-scene/
arXiv commentSIGGRAPH Asia 2023. Project page: at: https://omriavrahami.com/break-a-scene/ Video: https://www.youtube.com/watch?v=-9EA-BhizgM
References in corpus (11)
- LoRA: Low-Rank Adaptation of Large Language Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Blended Diffusion for Text-driven Editing of Natural Images
- Blended Latent Diffusion
- Make-A-Video: Text-to-Video Generation without Text-Video Data
- Semantic Photo Manipulation with a Generative Image Prior
- SpaText: Spatio-Textual Representation for Controllable Image Generation
- MultiDiffusion: Fusing Diffusion Paths for Controlled Image Generation
- Image Super-Resolution via Iterative Refinement
- KNN-Diffusion: Image Generation via Large-Scale Retrieval
- Dreamix: Video Diffusion Models are General Video Editors
Cited by in corpus (8)
- Controllable Generation with Text-to-Image Diffusion Models: A Survey
- DiffUHaul: A Training-Free Method for Object Dragging in Images
- A Survey on Personalized Content Synthesis with Diffusion Models
- PartEdit: Fine-Grained Image Editing using Pre-Trained Diffusion Models
- ASIA: Adaptive 3D Segmentation using Few Image Annotations
- RealCustom++: Representing Images as Real Textual Word for Real-Time Customization
- Instruction-based Image Editing: A Survey on Data, Models, Evaluation, and Applications
- Stencil: Subject-Driven Generation with Context Guidance