Abstract
Recent text-to-image diffusion models excel at learning personalized concepts from a few examples but struggle with multi-concept composition. This paper identifies a data mismatch between complex scenes and simplistic captions in pre-training sets as a primary cause. We introduce Gen4Gen, a semi-automated pipeline that uses generative models to create complex compositions of personalized concepts with dense text descriptions. This pipeline produced MyCanvas, a benchmark dataset for multi-concept personalization. Our findings demonstrate that improving data quality and prompting strategies significantly boosts performance—up to 50%—without architectural modifications.
Introduction: The Multi-Concept Challenge
Personalizing a diffusion model to recognize a specific object, such as a user's pet, is a solved problem for single concepts. However, integrating multiple personalized concepts into one scene often leads to identity blending or missing objects.
The authors argue this is a failure of training data rather than model architecture. Large-scale datasets like LAION often pair complex images with overly simplistic captions, preventing models from learning the fine-grained mapping between text and multiple distinct objects. Gen4Gen addresses this by automating the creation of "perfect" training data: complex scenes where every object is precisely placed and described.
The Gen4Gen Pipeline
The Gen4Gen pipeline is a "human-in-the-loop" system that chains several foundation models to compose realistic multi-concept images:
- Object Association & Segmentation: Foreground objects are extracted from user images using a category-agnostic saliency detector (DIS).
- LLM-Guided Composition: ChatGPT provides realistic bounding box coordinates, ensuring logical object placement (e.g., a dog on the floor rather than floating).
- Background Repainting: Objects are placed on a background, and Stable Diffusion XL (SDXL) inpaints the scene using soft masks to blend them naturally.
- Detailed Recaptioning: A Multimodal Large Language Model (LLaVA) generates dense, descriptive captions for the final composite image.
The MyCanvas Dataset
A primary contribution is the MyCanvas dataset, designed to push the boundaries of multi-concept personalization.
- Scale: It features 150 unique objects across 41 natural "compositions."
- Complexity: Unlike previous benchmarks that capped at three concepts, MyCanvas includes scenes with five or more concepts, totaling over 2,600 high-quality images.
Key Insights and Results
The authors introduced two new metrics to evaluate performance: CP-CLIP (measuring concept presence and fidelity) and TI-CLIP (measuring overall text-image alignment).
The study highlights that data quality outweighs model tweaks. By training on MyCanvas with better layouts and denser captions, the baseline Custom Diffusion model achieved a 50% performance increase in composition accuracy.
Furthermore, seeing semantically similar objects (e.g., a cat and a lion) together in well-captioned data helps the model disentangle their identities in the latent space. The "cascading" of specialized models—LLMs for logic, Diffusion for texture, and MLLMs for description—proves highly effective at generating synthetic data that surpasses the quality of noisy, real-world web-scraped sets.
Limitations and Future Work
While powerful, the pipeline is not yet fully autonomous. Challenges include occasional LLM "hallucinations" regarding object placement and minor identity alterations during the diffusion inpainting process. Future work aims to leverage more advanced MLLMs like GPT-4V to automate layout verification and scale the pipeline further.
Summary updated