Towards Stabilized and Efficient Diffusion Transformers through Long-Skip-Connections with Spectral Constraints

Guanjie Chen, Xinyu Zhao, Yucheng Zhou, Xiaoye Qu, Tianlong Chen, Yu Cheng · DOI

Diffusion Transformers (DiT) have emerged as a powerful architecture for high-fidelity image and video generation, powering state-of-the-art models like Sora. However, their massive computational requirements make them notoriously slow to train and expensive to deploy. While "caching"—reusing features across denoising timesteps—is a common strategy to accelerate inference, it often causes DiTs to produce low-quality results due to dynamic feature instability.

This paper introduces Skip-DiT, an architectural upgrade that incorporates Long-Skip-Connections (LSCs) and spectral constraints to stabilize internal feature dynamics, enabling significant speedups in both training and inference.

The Challenge: Dynamic Feature Instability

The core issue identified in standard DiT architectures is Dynamic Feature Instability (DFI). Features change rapidly and unpredictably across denoising timesteps, making the model highly sensitive to small perturbations. When features are cached to skip expensive computations, this instability leads to error amplification. Small errors in early steps snowball, resulting in visible artifacts or garbled outputs. Furthermore, this instability slows convergence during training, requiring millions of iterations to achieve high-quality generation.

Methods: Stabilizing the Transformer

The authors propose a two-pronged approach to stabilize DiT dynamics:

  1. Long-Skip-Connections (LSCs): Borrowing a key design element from U-Nets, Skip-DiT connects shallow transformer blocks directly to deep ones. These "shortcuts" help preserve long-range features and provide a more stable gradient flow.
  2. Spectral Constraints: The researchers provide theoretical proof that LSCs effectively control the spectral norm of the model's Jacobian matrix. By bounding this norm, they prevent the exponential amplification of perturbations, making the model mathematically more robust.
  3. Static Caching Mechanism: With stabilized features, a simple "static" caching strategy becomes viable. Deep features are reused across multiple timesteps while only shallow components are updated, significantly reducing the FLOPs required per step without compromising quality.
Overview of Skip-DiT: (a) stabilized feature similarity across timesteps, (b) architecture with long-skip-connections, and (c) improved efficiency-quality trade-off.

Key Insights and Results

Visualizing Stability

The authors utilized "feature similarity landscapes" to demonstrate how Skip-DiT remains stable under noise. While the vanilla DiT landscape is jagged and "spiky"—indicating high sensitivity to input changes—the Skip-DiT landscape is smooth and flat, confirming its robustness.

Feature similarity landscapes comparing Skip-DiT (left) and vanilla DiT (right), demonstrating the stabilizing effect of long-skip-connections.

Performance Benchmarks

Extensive experiments across image (ImageNet, MS-COCO) and video (FaceForensics, WebVid) generation tasks demonstrate the following:

  • Training Acceleration: Skip-DiT achieves a 4.4x training acceleration on ImageNet. It reaches a superior FID score at 1.6M steps compared to a vanilla DiT-XL at 7M steps.
  • Inference Efficiency: The model delivers 1.5–2x additional speedup over existing state-of-the-art caching methods (like FORA or TeaCache) while maintaining higher output fidelity (PSNR) and lower perceptual loss (LPIPS).
  • Convergence: Stability doesn't just help inference; by smoothing feature dynamics, Skip-DiT reaches high-quality generation much earlier in the training process.

Limitations and Conclusion

While highly effective, Skip-DiT introduces a minor parameter overhead (3.5% to 5.5%) and a marginal increase in GPU memory consumption (under 5%) due to the additional connections. However, these costs are heavily outweighed by the gains in training and inference speed.

By reintroducing the architectural wisdom of U-Nets into the transformer paradigm, Skip-DiT establishes Long-Skip-Connections as a critical component for building stable, efficient, and scalable diffusion models. Future work may explore combining Skip-DiT with quantization or distillation to further push the boundaries of real-time high-resolution generation.

Summary updated

BibTeX
@inproceedings{chen2024towards,
  author = {Guanjie Chen and Xinyu Zhao and Yucheng Zhou and Xiaoye Qu and Tianlong Chen and Yu Cheng},
  title = {{Towards Stabilized and Efficient Diffusion Transformers through Long-Skip-Connections with Spectral Constraints}},
  booktitle = {Open},
  year = {2024},
  doi = {10.48550/arxiv.2411.17616},
}
Figure