ISAC: Training-Free Instance-to-Semantic Attention Control for Improving Multi-Instance Generation
Sanghyun Jo, Wooyeol Lee, Ziseok Lee, Kyungsu Kim
TL;DR
ISAC addresses the core challenge of reliable multi-object generation in diffusion models by enforcing an instance-first generation process. It is a training-free, model-agnostic framework that first forms disjoint instance layouts from self-attention and then binds semantics to these instances via a cross-attention–driven, repel-and-bind objective with a timestepped loss schedule. The two-phase approach yields substantial improvements in multi-object counting and intra-category composition across text-to-image and layout-to-image settings, outperforming prior training-free methods and matching or exceeding some count-supervised approaches without additional training. This instance-centric decoupling enhances robustness and controllability in complex scenes, with strong practical implications for applications requiring precise object counts and distinct object semantics.
Abstract
Text-to-image diffusion models have recently become highly capable, yet their behavior in multi-object scenes remains unreliable: models often produce an incorrect number of instances and exhibit semantics leaking across objects. We trace these failures to vague instance boundaries; self-attention already reveals instance layouts early in the denoising process, but existing approaches act only on semantic signals. We introduce $\textbf{ISAC}$ ($\textbf{I}$nstance-to-$\textbf{S}$emantic $\textbf{A}$ttention $\textbf{C}$ontrol), a training-free, model-agnostic objective that performs hierarchical attention control by first carving out instance layouts from self-attention and then binding semantics to these instances. In Phase 1, ISAC clusters self-attention into the number of instances and repels overlaps, establishing an instance-level structural hierarchy; in Phase 2, it injects these instance cues into cross-attention to obtain instance-aware semantic masks and decomposes mixing semantics by tying attributes within each instance. ISAC yields consistent gains on T2I-CompBench, HRS-Bench, and IntraCompBench, our new benchmark for intra-class compositions where failures are most frequent, with improvements of at least 50% in multi-class accuracy and 7% in multi-instance accuracy on IntraCompBench, without any fine-tuning or external models. Beyond text-to-image setups, ISAC also strengthens layout-to-image controllers under overlapping boxes by refining coarse box layouts into dense instance masks, indicating that hierarchical decoupling of instance formation and semantic assignment is a key principle for robust, controllable multi-object generation. Code will be released upon publication.
