Abstract
Personalizing text-to-image (T2I) diffusion models often involves a delicate balance between subject fidelity and prompt adherence. While early fine-tuning stages maintain high prompt diversity but lack subject detail (under-fitting), later stages capture the subject perfectly but suffer from catastrophic attention collapse, where the model ignores the prompt (over-fitting). We introduce DreamBlend, an inference-time strategy that leverages cross-attention guidance to bridge this gap. By using an under-fitted checkpoint to establish a spatial "blueprint" and an over-fitted checkpoint to provide high-fidelity textures, DreamBlend achieves state-of-the-art performance on the DreamBooth benchmark, significantly improving both quantitative metrics and human preference.
The Personalization Trade-off
Personalizing models like Stable Diffusion typically requires fine-tuning on a small set of images representing a specific subject. However, this process is plagued by a fundamental trade-off. Early in training, the model retains its ability to follow complex text prompts and generate diverse backgrounds, but the subject remains generic. As training progresses, the model learns the subject's unique features but eventually "over-fits," leading to catastrophic attention collapse. In this state, the model's attention maps for all prompt tokens migrate to the subject, causing it to ignore environmental context and simply reproduce training images.
Methodology: Cross-Attention Guided Synthesis
DreamBlend addresses this via a two-stage inference process called Cross-Attention Guided Image Synthesis. This method allows users to capture the "best of both worlds" without needing to find a perfect, elusive "sweet spot" checkpoint during training.
- Guidance Phase: An under-fitted checkpoint (an early version of the model that still understands complex layouts) generates a reference image. The cross-attention maps from this run are saved to act as a spatial "blueprint," showing which pixels correspond to which words in the prompt.
- Editing Phase: An over-fitted checkpoint (a late-stage model that knows the subject's details perfectly) generates the final image. During this process, a regularization loss forces the overfit model’s attention maps to match the blueprint from the underfit model.
By anchoring the layout to the early model's maps, the overfit model is forced to distribute its attention according to the prompt, preventing it from collapsing into a simple reproduction of the training data. This approach works with various fine-tuning methods, including full DreamBooth fine-tuning and LoRA.
Experimental Results
The authors evaluated DreamBlend using the standard DreamBooth benchmark, covering 30 subject categories and 750 unique generation tasks.
Quantitative Performance
On the SDv1.5 backbone, DreamBlend consistently outperformed state-of-the-art methods like Custom Diffusion and standard DreamBooth. It achieved the highest DINO (0.675) and CLIP-I (0.808) scores for subject fidelity, while simultaneously maintaining the highest CLIP-T (0.308) score for prompt adherence. This demonstrates that DreamBlend effectively pushes the "Pareto front"—the boundary of what is possible in the trade-off between subject and prompt fidelity.
Human Preference
In head-to-head studies, users preferred DreamBlend images over standard DreamBooth 61.1% of the time and over Custom Diffusion 70.1% of the time. It was particularly favored for its superior diversity and ability to handle challenging prompts that over-fitted models typically ignore.
Conclusion and Future Work
DreamBlend provides a robust, inference-only solution to the attention collapse problem in personalized T2I models. While highly effective, the method is dependent on the guidance model; if the early checkpoint fails to understand a prompt, the final blended image will likely share that failure. Future research may explore applying this cross-attention regularization to other domains, such as balancing reconstructability and editability in image-to-image tasks.
Summary updated