VMix: Improving Text-to-Image Diffusion Model with Cross-Attention Mixing Control
Shaojin Wu, Fei Ding, Mengqi Huang, Wei Liu, Qian He
TL;DR
VMix tackles the gap between text fidelity and fine-grained aesthetics in diffusion-based text-to-image generation by disentangling prompts into content and aesthetic descriptions and applying a value-mixed cross-attention mechanism. It introduces an AesEmb aesthetic embedding initialized from opposing label pairs, and a zero-initialized projection to inject aesthetics through a dual-branch cross-attention that preserves the original attention map. Trained with a frozen base model and LoRA, VMix remains plug-and-play and compatible with ControlNet and IP-Adapter, delivering stronger aesthetic quality without sacrificing text alignment. Empirical results on MJHQ-30K and LAION-HQ10K show superior AES scores and competitive FID/CLIP, validating its effectiveness and practical impact for high-quality, controllable diffusion generation.
Abstract
While diffusion models show extraordinary talents in text-to-image generation, they may still fail to generate highly aesthetic images. More specifically, there is still a gap between the generated images and the real-world aesthetic images in finer-grained dimensions including color, lighting, composition, etc. In this paper, we propose Cross-Attention Value Mixing Control (VMix) Adapter, a plug-and-play aesthetics adapter, to upgrade the quality of generated images while maintaining generality across visual concepts by (1) disentangling the input text prompt into the content description and aesthetic description by the initialization of aesthetic embedding, and (2) integrating aesthetic conditions into the denoising process through value-mixed cross-attention, with the network connected by zero-initialized linear layers. Our key insight is to enhance the aesthetic presentation of existing diffusion models by designing a superior condition control method, all while preserving the image-text alignment. Through our meticulous design, VMix is flexible enough to be applied to community models for better visual performance without retraining. To validate the effectiveness of our method, we conducted extensive experiments, showing that VMix outperforms other state-of-the-art methods and is compatible with other community modules (e.g., LoRA, ControlNet, and IPAdapter) for image generation. The project page is https://vmix-diffusion.github.io/VMix/.
