On-the-fly Repulsion in the Contextual Space for Rich Diversity in Diffusion Transformers
2026-03-30 • Computer Vision and Pattern Recognition
Computer Vision and Pattern RecognitionArtificial IntelligenceGraphicsMachine Learning
AI summaryⓘ
The authors find that current text-to-image models often create similar-looking images for the same prompt, limiting creativity. They identify problems with existing methods to increase diversity, which either need expensive tuning or cause visual glitches. Their solution is to introduce a 'repulsion' method inside the model’s attention process, guiding it to explore more varied image designs without breaking the image structure. This approach improves diversity efficiently, working well even on fast or simplified versions of these models.
Text-to-Image GenerationDiffusion ModelsTransformer ArchitectureSemantic AlignmentTypicality BiasMultimodal AttentionLatent SpaceGenerative DiversityModel OptimizationComputational Efficiency
Authors
Omer Dahary, Benaya Koren, Daniel Garibi, Daniel Cohen-Or
Abstract
Modern Text-to-Image (T2I) diffusion models have achieved remarkable semantic alignment, yet they often suffer from a significant lack of variety, converging on a narrow set of visual solutions for any given prompt. This typicality bias presents a challenge for creative applications that require a wide range of generative outcomes. We identify a fundamental trade-off in current approaches to diversity: modifying model inputs requires costly optimization to incorporate feedback from the generative path. In contrast, acting on spatially-committed intermediate latents tends to disrupt the forming visual structure, leading to artifacts. In this work, we propose to apply repulsion in the Contextual Space as a novel framework for achieving rich diversity in Diffusion Transformers. By intervening in the multimodal attention channels, we apply on-the-fly repulsion during the transformer's forward pass, injecting the intervention between blocks where text conditioning is enriched with emergent image structure. This allows for redirecting the guidance trajectory after it is structurally informed but before the composition is fixed. Our results demonstrate that repulsion in the Contextual Space produces significantly richer diversity without sacrificing visual fidelity or semantic adherence. Furthermore, our method is uniquely efficient, imposing a small computational overhead while remaining effective even in modern "Turbo" and distilled models where traditional trajectory-based interventions typically fail.