MS-Diffusion: Multi-subject Zero-shot Image Personalization with Layout Guidance

X. Wang, Siming Fu, Qihan Huang, Wanggui He, Hao Jiang
2/12/2026

No official code found. Best implementation: MS-Diffusion/MS-Diffusion (311 stars, MIT, last commit 2025-07-30).

Abstract

Recent advancements in text-to-image generation models have dramatically enhanced the generation of photorealistic images from textual prompts, leading to an increased interest in personalized text-to-image applications, particularly in multi-subject scenarios. However, these advances are hindered by two main challenges: firstly, the need to accurately maintain the details of each referenced subject in accordance with the textual descriptions; and secondly, the difficulty in achieving a cohesive representation of multiple subjects in a single image without introducing inconsistencies. To address these concerns, our research introduces the MS-Diffusion framework for layout-guided zero-shot image personalization with multi-subjects. This innovative approach integrates grounding tokens with the feature resampler to maintain detail fidelity among subjects. With the layout guidance, MS-Diffusion further improves the cross-attention to adapt to the multi-subject inputs, ensuring that each subject condition acts on specific areas. The proposed multi-subject cross-attention orchestrates harmonious inter-subject compositions while preserving the control of texts. Comprehensive quantitative and qualitative experiments affirm that this method surpasses existing models in both image and text fidelity, promoting the development of personalized text-to-image generation. The project page is https://MS-Diffusion.github.io.

View on arXivView PDF

Code Implementations(1)

MIT

[ICLR 2025] Official implementation of MS-Diffusion: Multi-subject Zero-shot Image Personalization with Layout Guidance

31113Shell, PythonJun 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2026msdiffusion,
  title  = {MS-Diffusion: Multi-subject Zero-shot Image Personalization with Layout Guidance},
  author = {X. Wang and Siming Fu and Qihan Huang and Wanggui He and Hao Jiang},
  year   = {2026},
  eprint = {2406.07209},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.07209},
  journal = {ICLR 2024 2024}
}

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

Discussion