MM-Diff: High-Fidelity Image Personalization via Multi-Modal Condition Integration

Zhichao Wei, Qingkun Su, Long Qin, Weizhi Wang
3/22/2024
cs.CVcs.AI

No official code found. Best implementation: alibaba/mm-diff (28 stars, MIT, last commit 2024-05-30).

Abstract

Recent advances in tuning-free personalized image generation based on diffusion models are impressive. However, to improve subject fidelity, existing methods either retrain the diffusion model or infuse it with dense visual embeddings, both of which suffer from poor generalization and efficiency. Also, these methods falter in multi-subject image generation due to the unconstrained cross-attention mechanism. In this paper, we propose MM-Diff, a unified and tuning-free image personalization framework capable of generating high-fidelity images of both single and multiple subjects in seconds. Specifically, to simultaneously enhance text consistency and subject fidelity, MM-Diff employs a vision encoder to transform the input image into CLS and patch embeddings. CLS embeddings are used on the one hand to augment the text embeddings, and on the other hand together with patch embeddings to derive a small number of detail-rich subject embeddings, both of which are efficiently integrated into the diffusion model through the well-designed multimodal cross-attention mechanism. Additionally, MM-Diff introduces cross-attention map constraints during the training phase, ensuring flexible multi-subject image sampling during inference without any predefined inputs (e.g., layout). Extensive experiments demonstrate the superior performance of MM-Diff over other leading methods.

View on arXivView PDF

Code Implementations(1)

alibaba/mm-diffCommunity73%
MIT

MM-Diff: High-Fidelity Image Personalization via Multi-Modal Condition Integration

282Python, Jupyter NotebookMay 28, 20242 years agoMIT
image-generationimage-personalizationmulti-modal

Similar Papers

Cite this paper

@article{wei2024mmdiff,
  title  = {MM-Diff: High-Fidelity Image Personalization via Multi-Modal Condition Integration},
  author = {Zhichao Wei and Qingkun Su and Long Qin and Weizhi Wang},
  year   = {2024},
  eprint = {2403.15059},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15059v1}
}

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/2403.15059.svg)](https://codeofpaper.com/paper/2403.15059)

Discussion