TL;DR
DiverseDiT accelerates the training and boosts the generation quality of Diffusion Transformers (DiTs) by explicitly promoting representation diversity across different network blocks. By introducing long-range residual connections and a specialized representation diversity loss, it eliminates the need for resource-heavy external guidance models while achieving state-of-the-art synthesis performance in significantly fewer training epochs.
What Problem Does This Paper Address?
Diffusion Transformers (DiTs) have become the backbone of modern visual synthesis due to their excellent scalability. Recent work shows that top-performing diffusion models implicitly learn highly discriminative internal representations. To exploit this, frameworks like REPA use external, pre-trained vision models (like DINOv2 or MAE) to guide and "align" the internal features of the DiT during training.
However, relying on massive external foundation models introduces heavy computational overhead. Furthermore, the underlying mechanics of why this representation alignment actually helps DiTs generate better images has remained a black box. This paper tackles two key questions: How do DiTs naturally learn representations, and can we replicate the benefits of external alignment purely through internal mechanisms?
Methods
The authors first conduct a systematic analysis using Centered Kernel Alignment (CKA) to measure feature similarity across different DiT blocks. They discover that the secret sauce behind effective representation learning is inter-block diversity—allowing different layers of the transformer to specialize and learn distinct, complementary features.
Based on this insight, they propose DiverseDiT, an internal framework consisting of two core components:
- Long Residual Connections: Conventional DiTs pass data sequentially, leading to homogeneous inputs across adjacent layers. DiverseDiT introduces skip connections that link early blocks directly to later blocks (e.g., connecting block $i$ to block $L-i$). This injects structural diversity into the inputs of later layers and encourages feature reuse.
- Representation Diversity Loss ($\mathcal{L}_{\text{div}}$): To force blocks to specialize without external targets, they introduce a three-part loss function optimized via an adaptive weighting mechanism:
- Orthogonality Loss ($\mathcal{L}_{\text{orth}}$): Penalizes high cosine similarity between the mean representations of different blocks.
- Proxy Mutual-Information Minimization Loss ($\mathcal{L}_{\text{MI}}$): Maximizes statistical independence between block features.
- Feature Dispersion Loss ($\mathcal{L}_{\text{disp}}$): Maximizes the variance of feature activations to ensure diverse channel usage.
Datasets
The framework was trained and evaluated on the standard competitive image synthesis benchmarks:
- ImageNet $256 \times 256$
- ImageNet $512 \times 512$
Key Insights and Ideas
- Natural Differentiation: As a standard DiT trains, its layers naturally become less similar to one another, developing a hierarchical representation structure.
- Why External Alignment Works: Aligning a single block with an external model forces that specific block to drastically alter its features, artificially widening its dissimilarity from the rest of the network and preventing representational collapse.
- The "Too Much Alignment" Trap: Counterintuitively, aligning too many blocks or using multiple external encoders degrades performance. It introduces conflicting constraints that suppress the network's internal diversity.
- Independence Over Guidance: You don't need an external teacher model to guide a DiT; you simply need to prevent the transformer layers from learning redundant information.
Key Results
DiverseDiT delivers consistent performance gains across various model scales (Base, Large, and XL) and training setups:
- Scaling and Efficiency: As shown in Table 1, adding DiverseDiT to the baseline Scalable Interpolant Transformer (SiT-B) drops the Frechet Inception Distance (FID) from 36.80 to 28.05 at 400k iterations. Quantitative results across different model scales without classifier-free guidance.
- State-of-the-Art Comparison: When using Classifier-Free Guidance (CFG) on ImageNet $256 \times 256$, DiverseDiT achieves an impressive FID of 1.52 in just 200 epochs. For context, the standard SiT-XL/2 requires 1400 epochs to reach an FID of 2.06. Comparison against state-of-the-art models on ImageNet 256x256.
- High-Resolution Synthesis: On ImageNet $512 \times 512$, DiverseDiT achieves a top FID score of 1.99 at 200 epochs, outperforming longer-trained baselines. Comparison against state-of-the-art models on ImageNet 512x512.
- Ablation Verification: Ablation studies confirm that both the long residual connections and the diversity loss components are essential; removing either noticeably degrades generation quality. Ablation study showing the impact of removing individual components.
Limitations and Future Work
The authors note a delicate balance when enforcing representation diversity: if the diversity loss forces the layers to become too separate, the model struggles to retain shared, meaningful data characteristics and can diverge during training. While their adaptive weighting mechanism successfully mitigates this, tuning the optimal boundaries of representation separation remains an intricate task.
For future work, extending this internal diversity paradigm to other generative modalities—such as text-to-video generation or large language models—presents a promising direction.
Summary updated