Separate-and-Enhance: Compositional Finetuning for Text2Image Diffusion Models
Zhipeng Bao, Yijun Li, Krishna Kumar Singh, Yu-Xiong Wang, Martial Hebert
TL;DR
The paper tackles compositional misalignment in diffusion-based text-to-image generation, caused by low attention activation and overlapping cross-attention masks when rendering multiple objects. It introduces Separate-and-Enhance (SepEn), a lightweight finetuning approach that applies two losses to cross-attention: Separate loss decouples object masks to reduce overlap, and Enhance loss boosts activation for each object; finetuning is confined to the cross-attention key mappings to ensure scalability. Across single-prompt and large-scale multi-concept experiments, SepEn improves text-image alignment and realism while preserving single-object quality, and demonstrates strong generalization to unseen concepts without requiring extra supervision. The method offers a practical path to more faithful compositional generation in T2I diffusion models, with implications for broader applicability and reliable multi-object synthesis. However, polysemy and language understanding remain challenges, suggesting future integration with larger language models for disambiguation.
Abstract
Despite recent significant strides achieved by diffusion-based Text-to-Image (T2I) models, current systems are still less capable of ensuring decent compositional generation aligned with text prompts, particularly for the multi-object generation. This work illuminates the fundamental reasons for such misalignment, pinpointing issues related to low attention activation scores and mask overlaps. While previous research efforts have individually tackled these issues, we assert that a holistic approach is paramount. Thus, we propose two novel objectives, the Separate loss and the Enhance loss, that reduce object mask overlaps and maximize attention scores, respectively. Our method diverges from conventional test-time-adaptation techniques, focusing on finetuning critical parameters, which enhances scalability and generalizability. Comprehensive evaluations demonstrate the superior performance of our model in terms of image realism, text-image alignment, and adaptability, notably outperforming prominent baselines. Ultimately, this research paves the way for T2I diffusion models with enhanced compositional capacities and broader applicability.
