TL;DR
Self-Representation Alignment (SRA) eliminates the need for external foundation models or auxiliary tasks to guide Diffusion Transformers (DiTs). By aligning a model's own early, noisy layer representations with its later, cleaner layer representations via an EMA teacher, SRA significantly accelerates training convergence and boosts image generation quality.
What Problem Does This Paper Address?
While Diffusion Transformers (DiTs) have become the state-of-the-art backbone for generative modeling, training them from scratch is notoriously slow and computationally expensive. Recent breakthroughs have shown that adding "representation guidance"—forcing the network to learn meaningful semantic features alongside image generation—can drastically speed up training.
However, existing methods rely heavily on external components. They either require an auxiliary discriminative task (like a Masked Autoencoder) or a massive, frozen, pre-trained foundation model (like DINOv2 or CLIP) to act as a teacher. This introduces significant computational overhead, architectural complexity, and a strict dependency on the availability of high-quality external encoders, which may not exist for domains like video.
The authors ask a fundamental question: Can a diffusion transformer provide its own representation guidance without any external components?
Methods
The authors introduce Self-Representation Alignment (SRA), a simple yet highly effective training framework that leverages the internal mechanics of the diffusion model itself.
SRA operates on a student-teacher setup:
- The Student and Teacher: The student is the active trainable diffusion model. The teacher shares the exact same architecture but updates its weights via an Exponential Moving Average (EMA) of the student's weights.
- The Alignment Mechanism: SRA extracts a latent representation from an earlier layer of the student model conditioned on higher noise. It then minimizes the distance between this feature and a target representation taken from a later layer of the teacher model conditioned on lower noise.
- The Projection Head: To prevent the alignment loss from disrupting the primary generation task, the student's features are passed through a lightweight, two-layer MLP projection head before the smooth-$\ell_1$ alignment loss is calculated. A stop-gradient operator ensures gradients only flow through the student network.
Crucially, this projection head can be completely discarded after training, meaning SRA accelerates and improves the model without altering the final inference architecture.
Datasets
The authors validated SRA across multiple standard benchmarks:
- ImageNet ($256\times256$ and $512\times512$): Used for class-conditional image generation baseline comparisons using DiT and Scalable Interpolant Transformers (SiT).
- COCO2014: Used to evaluate text-to-image generation performance by applying SRA to the Multi-Modal Diffusion Transformer (MMDiT).
Key Insights and Ideas
- The "Bad-to-Good" Trajectory: Through PCA visualizations and linear probing, the authors discovered that diffusion models inherently undergo a discriminative process during standard generative training. As block layers increase and noise levels decrease, internal representations naturally evolve from coarse/noisy ("bad") to semantically rich and clean ("good"). SRA exploits this internal gradient of quality.
- Sustained Scaling vs. Saturation: External guidance methods like REPA (using DINOv2) often saturate after around 200 epochs because the external teacher is static. In contrast, SRA's teacher continuously improves alongside the student, providing progressively higher-quality guidance throughout the entire training lifecycle.
- Soft Alignment is Key: Directly forcing early layers to match later layers harms generation. The lightweight projection head acts as a buffer, allowing the model to learn effective hidden representations without breaking the specific generation responsibilities of individual layers.
Key Results
- Massive Training Speedups: On ImageNet $256\times256$, an SiT-XL/2 model trained with SRA for just 400 epochs achieved an FID of 1.85, easily outperforming the vanilla baseline trained for 1400 epochs (FID 2.06).
- State-of-the-Art Performance: At 800 epochs, SiT-XL/2 + SRA achieved an exceptional FID of 1.58 and an Inception Score (IS) of 311.4, performing on par with methods that depend heavily on external pre-trained foundation models.
- High-Resolution Efficiency: For ImageNet $512\times512$, SRA surpassed the baseline while requiring $3\times$ fewer training iterations.
- Cross-Task Extensibility: When applied to text-to-image generation (MMDiT on COCO2014) without any hyperparameter tuning, SRA improved the FID from 5.66 to 4.85, demonstrating its versatility.
Limitations and Future Work
- Video Pre-training Constraints: Due to limited computational resources, the authors could not test SRA on large-scale text-to-video (t2v) pre-training. However, they note that because strong open-domain video encoders are currently lacking, SRA is an incredibly promising candidate for video models.
- Lack of Theoretical Proof: SRA is highly experiment-driven. Uncovering the exact theoretical underpinnings of why internal representation alignment so drastically accelerates generative performance remains an open and exciting direction for future research.
Summary updated