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

Shaojin Wu, Fei Ding, Mengqi Huang, Wei Liu, Qian He
12/30/2024
cs.CV

No official code found. Best implementation: fenfenfenfan/VMix (191 stars, last commit 2024-12-31).

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

View on arXivView PDF

Code Implementations(1)

fenfenfenfan/VMixCommunity100%

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

1914Dec 30, 20241 years ago

Similar Papers

Cite this paper

@article{wu2024vmix,
  title  = {VMix: Improving Text-to-Image Diffusion Model with Cross-Attention Mixing Control},
  author = {Shaojin Wu and Fei Ding and Mengqi Huang and Wei Liu and Qian He},
  year   = {2024},
  eprint = {2412.20800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20800v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.20800.svg)](https://codeofpaper.com/paper/2412.20800)

Discussion