Rethinking Multi-Condition DiTs: Eliminating Redundant Attention via Position-Alignment and Keyword-Scoping

Chao Zhou, Tianyi Wei, Yiling Chen, Wenbo Zhou, Nenghai YuarXiv 2026 · OpenReview

TL;DR

This paper tackles the computational bottleneck in Diffusion Transformers (DiTs) for multi-condition image generation. They introduce a novel attention mechanism (PKA) that drastically reduces computational and memory costs by intelligently pruning redundant cross-modal interactions, achieving up to a 10x speedup and 5.1x VRAM saving.

What Problem Does This Paper Address?

Modern text-to-image models, while impressive, often struggle with fine-grained control over generated images. Users might want to specify not just the content but also the spatial layout, object placement, or even the appearance of specific subjects. Multi-condition control aims to address this by allowing multiple inputs (like text prompts, layout maps, or reference images) to guide generation. However, integrating these multiple conditions into Diffusion Transformers (DiTs) using the standard "concatenate-and-attend" approach leads to a quadratic increase in computational and memory requirements with each added condition. This makes it prohibitively expensive and slow for practical use, especially with complex multi-condition scenarios. The paper questions whether this massive computation is truly necessary for effective control.

Methods

The core contribution is the Position-aligned and Keyword-scoped Attention (PKA) mechanism, which decomposes the standard full attention into two specialized, efficient modules:

  • Position-Aligned Attention (PAA): For spatial conditions (like layout maps), PAA leverages the observation that relevant interactions are often localized to spatially aligned patches. Instead of attending to all tokens, PAA enforces a direct one-to-one correspondence between image tokens and their corresponding spatial condition tokens. This linearizes the computational complexity from quadratic to linear with respect to the number of spatial conditions.
  • Keyword-Scoped Attention (KSA): For subject-driven conditions (like reference images), KSA identifies the most relevant image regions based on semantic keywords. It generates a relevance mask that confines subsequent attention computations to these salient regions, effectively pruning irrelevant interactions. This mechanism is designed to be emergent from pre-trained attention maps, requiring no additional design.

Additionally, the authors propose Conditional Sensitivity-Aware Sampling (CSAS). They observed that multi-condition DiTs are most sensitive to conditional signals during the early, high-noise stages of the denoising process. CSAS strategically re-weights the training objective to prioritize these critical phases, leading to faster convergence and improved conditional fidelity.

Datasets

The paper uses a subset of the Subject200K dataset for training and evaluation. This subset is curated to ensure image captions contain descriptive keywords.

Key Insights and Ideas

  • Redundancy in Cross-Modal Attention: The "concatenate-and-attend" mechanism in DiTs for multi-condition generation is computationally wasteful. Much of the attention computation is spatially or semantically redundant.
  • Spatial Alignment is Local: For spatial conditions, attention is heavily concentrated along the diagonal of the attention matrix, indicating that long-range, non-aligned interactions are largely unnecessary.
  • Subject Control is Sparse: For subject-driven conditions, attention is focused on specific, keyword-relevant regions, leaving most of the image inactive.
  • Early Denoising Stages are Crucial: The model's reliance on conditional signals is strongest in the initial, high-noise phases of the denoising process.

Key Results

  • Efficiency: PKA achieves a significant speedup of up to 10.0x in inference and a 5.1x reduction in VRAM consumption for the attention module compared to state-of-the-art methods.
  • Scalability: The proposed methods exhibit nearly linear scaling with the number of conditions, unlike the quadratic scaling of existing approaches.
  • Quality and Controllability: Despite the efficiency gains, the method maintains or even improves generation quality and controllability. Qualitative comparisons show superior fidelity and adherence to both textual prompts and visual conditions.
  • Quantitative Metrics: The paper reports state-of-the-art performance in Generative Quality (lowest FID scores) and Subject Consistency (highest CLIP-I and DINOv2 scores) across various tasks.

Limitations and Future Work

  • Ethical Implications: The authors acknowledge that the ability to precisely control character identity and spatial layouts could be misused for generating misleading content or infringing on privacy and intellectual property. They advocate for ethical use and the integration of digital watermarking and content moderation.
  • Societal Biases: The underlying DiT models might inherit societal biases from their training data. The authors encourage de-biasing techniques and the use of diverse datasets.
  • Future Directions: The authors suggest extending the PKA framework to video generation, where its principles could enforce temporal consistency across frames efficiently. They also envision its application in more complex generative tasks.

Summary updated

Abstract

While modern text-to-image models excel at prompt-based generation, they often lack the fine-grained control necessary for specific user requirements like spatial layouts or subject appearances. Multi-condition control addresses this, yet its integration into Diffusion Transformers (DiTs) is bottlenecked by the conventional ``concatenate-and-attend'' strategy, which suffers from quadratic computational and memory overhead as the number of conditions scales. Our analysis reveals that much of this cross-modal interaction is spatially or semantically redundant. To this end, we propose Position-aligned and Keyword-scoped Attention (PKA), a highly efficient framework designed to eliminate these redundancies. Specifically, Position-Aligned Attention (PAA) linearizes spatial control by enforcing localized patch alignment, while Keyword-Scoped Attention (KSA) prunes irrelevant subject-driven interactions via semantic-aware masking. To facilitate efficient learning, we further introduce a Conditional Sensitivity-Aware Sampling (CSAS) strategy that reweights the training objective towards critical denoising phases, drastically accelerating convergence and enhancing conditional fidelity. Empirically, PKA delivers a 10.0$\times$ inference speedup and a 5.1$\times$ VRAM saving, providing a scalable and resource-friendly solution for high-fidelity multi-conditioned generation.
BibTeX
@misc{zhou2026rethinking,
  author = {Chao Zhou and Tianyi Wei and Yiling Chen and Wenbo Zhou and Nenghai Yu},
  title = {{Rethinking Multi-Condition DiTs: Eliminating Redundant Attention via Position-Alignment and Keyword-Scoping}},
  year = {2026},
  eprint = {2602.06850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06850},
}
Figure