无需训练的条件物体组合:扩散模型多物体图像生成框架
Training-free Conditional Object Composition for Multi-object Image Generation with Diffusion Models
研究者提出无需训练的条件物体组合框架,将N个物体的生成拆为两阶段:先生成N-1个物体子集,再以已生成内容为条件组合剩余物体。该方法采用基于inpainting的布局引导以保留已有区域并保持空间连贯,并用基于cross-attention图的注意力评分机制选择单独生成的物体,同时探索现成目标检测器。在MS COCO数据集上,物体数量增加时性能与现有方法相当或更优。
arXiv:2611.00804v2 Announce Type: replace Abstract: Multi-object image generation in text-to-image diffusion models remains challenging, as existing approaches struggle to reliably generate all objects specified in a prompt. Compositional approaches that generate objects independently often fail to capture the interactions among them, whereas joint generation methods tend to suffer from inter-object interference. In this work, we propose a training-free framework, termed conditional object composition, that relaxes joint generation methods by taking one step back toward compositional approaches. Our framework decomposes the generation of $N$ objects into two stages: it first generates a subset of $N-1$ objects and then composes the remaining object conditioned on the generated content. To enable effective composition, we adopt an inpainting-based formulation with layout guidance to preserve existing regions and encourage spatially coherent placement. To address the challenge of selecting which objects to generate separately, we introduce an attention-based scoring mechanism based on cross-attention maps and further explore the use of off-the-shelf object detectors. We evaluate our method on multi-object image generation using the widely adopted MS COCO dataset. Experimental results show that our approach achieves competitive or improved performance compared to existing methods, particularly as the number of objects increases. Further studies highlight the importance of the proposed design choices. The source code is available at https://github.com/ShampooWang/condComp_imageGen/tree/main
来源:arXiv (AI + Vision + Imaging) · arxiv.org