Residual Stream Duality in Modern Transformer Architectures
Not on the map. Why?
Abstract (arXiv)
Recent work has made clear that the residual pathway is not mere optimization plumbing; it is part of the model's representational machinery. We agree, but argue that the cleanest way to organize this design space is through a two-axis view of the Transformer. A decoder evolves information along two ordered dimensions: sequence position and layer depth. Self-attention already provides adaptive mixing along the sequence axis, whereas the residual stream usually performs fixed addition along the depth axis. If we fix a token position and treat layer index as the ordered variable, then a causal depth-wise residual attention read is exactly the same local operator as causal short sliding-window attention (ShortSWA), except written over depth rather than over sequence. This is the core residual stream duality behind Transformer2. This perspective also clarifies the recent literature. ELC-BERT and DenseFormer already show that learned aggregation over depth can outperform uniform residual accumulation, while Vertical Attention, DeepCrossAttention (DCA), MUDDFormer, and Attention Residuals move further toward explicit attention-based routing over earlier layers. The key point, however, is that operator-level duality does not imply systems-level symmetry. For large-scale autoregressive models, sequence-axis ShortSWA is usually the more hardware-friendly placement because it reuses token-side sliding-window kernels, KV-cache layouts, and chunked execution. If the goal is instead to change the shortcut itself, Deep Delta Learning (DDL) is the cleaner intervention because it modifies the residual operator directly rather than adding a separate cross-layer retrieval path. Our recommendation is therefore simple: use DDL when the shortcut is the object of interest, and use sequence-axis ShortSWA when the goal is local adaptive mixing.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 8 of its 10 references that are in the map. First posted on arXiv 17 Mar 2026.
Builds on
8 of 10 references.
References · 8
- 2024Hyper-Connectionscited by 81
- 2026Attention Residualscited by 57
- 2024DenseFormer: Enhancing Information Flow in Transformers via Depth Weighted Averagingcited by 48
- 2025Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layerscited by 32
- 2025MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connectionscited by 27
- 2023Not all layers are equally as important: Every Layer Counts BERTcited by 21
- 2025DeepCrossAttention: Supercharging Transformer Residual Connectionscited by 7
- 2026Deep Delta Learningcited by 7
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Delta Attention Residualscited by 7
- 2026Multi-Head Attention Residualscited by 2
- 2026Multi-Head Attention Residuals22 Jul 2026
- 2026Delta Attention Residuals13 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Dual Attention Residuals
- 2026Geometric and Behavioral Stratification in Transformer Residual Streams
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference
- 2026Residual-Stream Burden Shapes Representation Learning in Diffusion Transformers
- 2026Where Pretraining writes and Alignment reads: the asymmetry of Transformer weight space
- 2026Rethinking Cross-Layer Information Routing in Diffusion Transformers
- 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers
- 2024ResiDual Transformer Alignment with Spectral Decomposition