AnyMS: Bottom-up Attention Decoupling for Layout-guided and Training-free Multi-subject Customization

Binhe Yu, Zhen Wang, Kexin Li, Yuqian Yuan, Wenqiao Zhang +4 more
12/29/2025
cs.CVcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Multi-subject customization aims to synthesize multiple user-specified subjects into a coherent image. To address issues such as subjects missing or conflicts, recent works incorporate layout guidance to provide explicit spatial constraints. However, existing methods still struggle to balance three critical objectives: text alignment, subject identity preservation, and layout control, while the reliance on additional training further limits their scalability and efficiency. In this paper, we present AnyMS, a novel training-free framework for layout-guided multi-subject customization. AnyMS leverages three input conditions: text prompt, subject images, and layout constraints, and introduces a bottom-up dual-level attention decoupling mechanism to harmonize their integration during generation. Specifically, global decoupling separates cross-attention between textual and visual conditions to ensure text alignment. Local decoupling confines each subject's attention to its designated area, which prevents subject conflicts and thus guarantees identity preservation and layout control. Moreover, AnyMS employs pre-trained image adapters to extract subject-specific features aligned with the diffusion model, removing the need for subject learning or adapter tuning. Extensive experiments demonstrate that AnyMS achieves state-of-the-art performance, supporting complex compositions and scaling to a larger number of subjects.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2025anyms,
  title  = {AnyMS: Bottom-up Attention Decoupling for Layout-guided and Training-free Multi-subject Customization},
  author = {Binhe Yu and Zhen Wang and Kexin Li and Yuqian Yuan and Wenqiao Zhang and Long Chen and Juncheng Li and Jun Xiao and Yueting Zhuang},
  year   = {2025},
  eprint = {2512.23537},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.23537v2}
}

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

Discussion