TensorX
返回文献探索

Paper · arXiv 2412.20800

VMix: Improving Text-to-Image Diffusion Model with Cross-Attention Mixing Control

Shaojin Wu, Fei Ding, Mengqi Huang, Wei Liu, Qian He

10 upvotesDecember 30, 2024arXiv 预印本
AI 摘要

A Cross-Attention Value Mixing Control (VMix) adapter enhances the aesthetic quality of images generated by diffusion models without retraining.

diffusion modelstext-to-image generationaesthetic embeddingvalue-mixed cross-attentionzero-initialized linear layerscommunity modelsLoRAControlNetIPAdapter

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/.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
VMix: Improving Text-to-Image Diffusion Model with Cross-Attention Mixing Control | TensorX