Rethinking Cross-Layer Information Routing in Diffusion Transformers

Chao Xu, Maohua Li, Qirui Li, Yixuan Xu, Yanke Zhou, Yunhe Li, Cuifeng Shen, Hanlin Tang, Kan Liu, Tao Lan, Lin Qu, Shao-Qun ZhangNeurIPS 2026

TL;DR

Visual generation models have evolved rapidly, yet the "residual stream"—the fundamental highway carrying information from layer to layer—was copied straight over from standard text Transformers without a second thought. By diagnosing how this rigid highway bottlenecks image generation, the authors design Diffusion-Adaptive Routing (DAR), a drop-in replacement that lets layers dynamically choose which past features to use based on the current noise level. The payoff? Up to 8.75× faster training, noticeably sharper images, and a clean architectural upgrade that stacks effortlessly with existing training tricks.

What Problem Does This Paper Address?

Diffusion Transformers (DiTs) generate images by iteratively sculpting pure noise into coherent pictures across a series of denoising "timesteps." Over the past few years, researchers have tweaked almost every part of the DiT architecture—except the residual connection, where each layer simply adds its output to a running sum ($h_{l+1} = h_l + f_l(h_l; t)$).

This uniform addition works decently for language, where every layer processes tokens at a single, static state. Image diffusion, however, is inherently time-varying: early, high-noise timesteps require broad structural strokes, while late, low-noise timesteps demand crisp, fine-grained textures.

When the authors peeked under the hood of standard DiTs, they found three glaring symptoms caused by default residual addition:

  1. Forward magnitude inflation: Hidden-state values balloon by roughly 100× from the first block to the last, forcing deeper layers to shout louder just to influence the running sum.
  2. Backward gradient decay: Optimization signals plummet after the first five blocks, starving deeper layers during training.
  3. Block-wise redundancy: Adjacent deep blocks end up producing nearly identical representations (over 0.9 cosine similarity).
Figure 2: Three diagnostic symptoms of standard residual routing in DiTs across depth: Forward magnitude inflation, backward gradient decay, and block-wise redundancy. Measured at t=1.0.

Methods

Inspired by recent "Attention Residuals" in LLMs, the authors introduce Diffusion-Adaptive Routing (DAR). Instead of blindly summing every past layer's output with an equal weight of 1, DAR lets each sublayer compute a softmax attention over preceding sublayer outputs. This preserves a clean, homogeneous Transformer stack—avoiding the rigid, hand-wired skip connections of U-Net hybrids.

What makes DAR uniquely suited for diffusion are two tailored design choices:

  • Timestep-Adaptive Queries: To decide which historical layers to pull from, the router needs to know where it is in the denoising schedule. The authors test explicit injection (adding DiT's existing timestep embedding to a learned static vector at zero extra parameter cost) and dynamic routing (projecting the previous sublayer's output, which implicitly carries the noise-level signal).
  • Chunked Aggregation: Keeping every single sublayer's output in memory scales poorly with depth. DAR groups sublayers into chunks of size $S$ (e.g., $S=4$). A layer only attends to the outputs within its current chunk plus single summary vectors from previous chunks, keeping the memory footprint lean.

Datasets

The authors train and evaluate their primary class-conditional image generation models on ImageNet-1K at $256 \times 256$ resolution, following standard preprocessing recipes. No new benchmarks are introduced. For post-training distillation experiments on large-scale text-to-image (T2I) models (using Qwen-Image), specific fine-tuning datasets are deferred to the appendix and not detailed in the main text.

Key Insights and Ideas

  • Standard DiTs want to route by timestep, even when they can't: By attaching dummy measurement gates to a standard DiT and checking their gradients, the authors discovered that the baseline model naturally craves different historical layers at high noise versus low noise. DAR doesn't force an unnatural inductive bias; it unlocks a latent need.
  • Why diffusion breaks LLM routing rules: In LLM studies, dynamic queries barely beat static ones. In DiTs, pure static queries flop compared to dynamic ones. Why? Because pure static queries are blind to the denoising timestep! Furthermore, a linear-probe test revealed that intermediate DiT features retain a crystal-clear, linearly decodable record of the timestep ($R^2 > 0.95$), explaining why dynamic queries work so well out of the box.
  • The Goldilocks zone of chunking: Sweeping chunk sizes revealed a U-shaped performance curve peaking at $S=4$. The authors mathematically model this as a rate-distortion tradeoff: make chunks too small ($S=1$), and softmax struggles to pick precisely from too many slots; make them too big ($S=8$), and compressing whole chunks into one summary loses vital information.
  • Routing and representation alignment are orthogonal: Popular methods like REPA speed up DiTs by aligning internal states with pretrained vision encoders via a loss function. Because DAR changes architecture rather than the objective, stacking them compounds the speedups rather than cannibalizing them.

Key Results

Tested on the SiT-XL/2 backbone on ImageNet $256 \times 256$ (where lower FID means better image quality):

  • Massive Speedup & Quality Boost: Without classifier-free guidance (CFG), DAR improves ODE FID by 2.11 points (7.56 vs. 9.67) and reaches a best SDE FID of 6.92 in 600K iterations (compared to 8.61 at 1.75M iterations for the baseline). DAR matches the baseline's converged quality in 8.75× fewer training iterations. With CFG, Dynamic DAR hits 2.05 FID.
  • Not Just Extra Parameters: A widened baseline matched to Dynamic DAR's parameter count (752M) and given 2× the training budget still trailed far behind (10.85 vs. 8.07 ODE FID).
  • Compounding with REPA: Adding DAR on top of REPA yields a 2× early-stage training acceleration, matching REPA's 200K-iteration FID in just 100K steps (7.09 vs. 6.89).
Training FID curves showing DAR's 8.75x speedup over SiT-XL/2.
  • Sharper Post-Training Distillation: When distilling the large-scale Qwen-Image T2I model into a fast few-step generator via Distribution Matching Distillation (DMD), DAR noticeably preserves high-frequency details—like individual blades of grass and dirt textures—that normally blur out.
Visual comparison during DMD showing sharper grass and dirt textures with DAR on the right compared to the baseline on the left.

Limitations and Future Work

In the main text, the authors note one concrete engineering tradeoff: storing all sublayer outputs increases activation memory linearly with depth (which their chunked variant mitigates), and the dynamic query projection adds a modest parameter increase (growing SiT-XL/2 from 675M to 751M parameters, though the explicit timestep-injected static variant adds zero parameters). Broader limitations and future directions are deferred to Appendix G, which is not included in the provided document.

Summary updated

Abstract

Diffusion Transformers (DiTs) have become a de facto backbone of modern visual generation, and nearly every major axis of their design — tokenization, attention, conditioning, objectives, and latent autoencoders — has been extensively revisited. The residual stream that governs how information accumulates across layers, however, has been directly inherited from the original Transformer. In this paper, we present a systematic empirical analysis of cross-layer information flow in DiTs, jointly along depth and denoising timestep, and identify three concrete symptoms of traditional residual addition, namely monotonic forward magnitude inflation, sharp backward gradient decay, and pronounced block-wise redundancy. Motivated by this diagnosis, we propose Diffusion-Adaptive Routing (DAR), a drop-in residual replacement that performs *learnable, timestep-adaptive, and non-incremental* aggregation over the history of sublayer outputs. Moreover, the proposed DAR is compatible with many modern Transformer enhancement methods, such as REPA. On ImageNet $256\times256$, DAR improves SiT-XL/2 by $2.11$ FID ($7.56$ vs. $9.67$) and matches the baseline's converged quality with $8.75\times$ fewer training iterations. Stacked on top of REPA, it yields a $2\times$ training acceleration in the early stage, suggesting cross-layer information routing as an underexplored design axis in diffusion modeling, one that operates orthogonally to existing representation-alignment objectives. Beyond pretraining, DAR can also be applied during the fine-tuning stage of large-scale T2I models and preserves high-frequency details during Distribution Matching Distillation. [Code is available here](https://github.com/cg233666/attention-residuals-on-dit).
BibTeX
@inproceedings{xu2026rethinking,
  author = {Chao Xu and Maohua Li and Qirui Li and Yixuan Xu and Yanke Zhou and Yunhe LI and Cuifeng Shen and Hanlin Tang and Kan Liu and Tao Lan and Lin Qu and Shao-Qun Zhang},
  title = {{Rethinking Cross-Layer Information Routing in Diffusion Transformers}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FV5fsUXnll},
}
Figure