TL;DR
This paper introduces a novel method for customizing text-to-image models to generate specific objects in new scenes. They achieve this by creating a large-scale synthetic dataset of multi-view, multi-lighting, and multi-background images of objects and training an encoder-based model that leverages shared attention for fine-grained visual detail preservation.
What Problem Does This Paper Address?
Text-to-image models are powerful but often struggle to generate specific, user-defined objects in novel contexts. Existing customization methods either require expensive per-object fine-tuning (optimization-based) or rely on single-image training data, which limits the quality and diversity of generated images. The core challenge is the lack of a large-scale dataset that provides multiple views of the same object under diverse conditions, which is crucial for training robust encoder-based customization models that can capture fine-grained details and generalize well.
Methods
The authors propose a two-pronged approach:
- Synthetic Dataset Generation (SynCD):
- They leverage existing text-to-image models and 3D assets (Objaverse) to create a high-quality synthetic dataset.
- For deformable objects (e.g., cats), they use LLMs to generate descriptive captions and background scene descriptions, then combine these to generate multiple images.
- For rigid objects, they use depth maps from 3D assets and depth-conditioned text-to-image models.
- A key technique is Masked Shared Attention (MSA), which forces generated images to attend to each other's foreground object regions during the diffusion process, ensuring visual consistency.
- For rigid objects, they also employ feature warping to enforce multi-view consistency.
- The generated dataset is filtered for quality and object identity similarity using aesthetic scores and DINOv2 features.
- Encoder-Based Customization Model:
- They train an encoder-based model on their SynCD dataset.
- This model uses a shared attention mechanism to incorporate fine-grained visual details from reference images.
- They propose a novel inference technique that normalizes text and image guidance vectors to mitigate overexposure issues, allowing for better image alignment with text prompts and reference objects.
Datasets
- SynCD (Synthetic Customization Dataset): A newly introduced dataset created by the authors. It comprises approximately 95,000 objects with 2-3 images per object, covering both rigid and deformable categories. It's generated using a pipeline involving LLMs, 3D assets, and diffusion models.
- DreamBooth Dataset: Used for evaluation, consisting of 30 objects with 4-5 images each and 25 evaluation text prompts.
Key Insights and Ideas
- Synthetic data is a viable solution for data scarcity: The paper demonstrates that generating a large-scale, high-quality synthetic dataset can effectively overcome the bottleneck of collecting real-world multi-image data for object customization.
- Shared attention is crucial for identity preservation: By forcing generated images to attend to each other's object regions, the model learns to maintain consistent fine-grained details of the object across different scenes.
- 3D assets and depth guidance are powerful priors for rigid objects: Leveraging 3D models and depth information significantly improves the consistency and realism of generated rigid objects.
- Guidance normalization is key for stable inference: Directly combining text and image guidance can lead to artifacts. Normalizing these vectors allows for stronger guidance without sacrificing image quality.
Key Results
- Qualitative Improvements: The proposed method (Ours) shows superior qualitative results compared to leading encoder-based baselines (JeDi, OminiControl, Emu-2) in Figure 5 and 6, demonstrating better text prompt adherence while preserving object identity and image fidelity.
- Quantitative Performance: In Table 1, their method (Ours 12B) achieves the highest GeometricScore (0.780) among encoder-based methods, outperforming others in both image alignment (MDINOv2-I) and text alignment (TIFA).
- Human Evaluation: Table 2 shows that human participants preferred their method over baselines like Emu-2, JeDi, and OminiControl across all criteria (text alignment, image alignment, photorealism, and overall preference).
- Ablation Studies:
- Training on their SynCD dataset significantly improves performance over baselines fine-tuned on other datasets (Table 3).
- Shared attention (MSA) consistently improves intra-cluster DINOv2-I similarity (Table 4).
- Increasing dataset size leads to better performance, especially for larger models, reducing overfitting and increasing diversity (Table 5, Figure 9).
Limitations and Future Work
- Single-object focus: The current work focuses on customizing single objects. Future work could extend this to multi-object scenarios.
- Dataset expansion: The authors suggest incorporating advances in text-to-3D and video generative models, and scaling up dataset generation to include a wider range of objects to further enhance quality and diversity.
- Multi-view datasets: Extending the approach to multi-object, multi-view datasets is a promising direction.
Summary updated