Improving Multi-Subject Consistency in Open-Domain Image Generation with Isolation and Reposition Attention
Huiguo He, Qiuyue Wang, Yuan Zhou, Yuxuan Cai, Hongyang Chao, Jian Yin, Huan Yang
TL;DR
This work tackles the challenge of multi-subject consistency in open-domain image generation with diffusion models. It identifies two key issues in existing training-free approaches: internal attraction among subjects in self-attention and misalignment between reference and target positions, which degrade consistency when handling multiple subjects. The authors propose IR-Diffusion, introducing Isolation Attention to block cross-subject attraction and Reposition Attention to align reference features with target subject positions. Extensive experiments demonstrate that IR-Diffusion substantially improves consistency metrics while remaining training-free, outperforming prior methods across open-domain benchmarks and backbones. The study provides insight into diffusion-attention mechanics and suggests broader applicability to related generative tasks.
Abstract
Training-free diffusion models have achieved remarkable progress in generating multi-subject consistent images within open-domain scenarios. The key idea of these methods is to incorporate reference subject information within the attention layer. However, existing methods still obtain suboptimal performance when handling numerous subjects. This paper reveals two primary issues contributing to this deficiency. Firstly, the undesired internal attraction between different subjects within the target image can lead to the convergence of multiple subjects into a single entity. Secondly, tokens tend to reference nearby tokens, which reduces the effectiveness of the attention mechanism when there is a significant positional difference between subjects in reference and target images. To address these issues, we propose a training-free diffusion model with Isolation and Reposition Attention, named IR-Diffusion. Specifically, Isolation Attention ensures that multiple subjects in the target image do not reference each other, effectively eliminating the subject convergence. On the other hand, Reposition Attention involves scaling and repositioning subjects in both reference and target images to the same position within the images. This ensures that subjects in the target image can better reference those in the reference image, thereby maintaining better consistency. Extensive experiments demonstrate that IR-Diffusion significantly enhances multi-subject consistency, outperforming all existing methods in open-domain scenarios.
