Multi-Stream Attention Residuals
cs.CL, cs.CV
Submitted: 2026-10-09
Updated: 2026-10-09
Code: https://github.com/jianke0604/MSAR
License: http://creativecommons.org/licenses/by/4.0/
The gist: Attention Residuals (AttnRes) enables content-dependent retrieval over network depth, which can be viewed as single-stream softmax attention along the depth axis.
Abstract
Attention Residuals (AttnRes) enables content-dependent retrieval over network depth, which can be viewed as single-stream softmax attention along the depth axis. Inspired by the success of multi-head attention along the sequence axis, we introduce Multi-Stream Attention Residuals (MSAR), an extension of AttnRes that generalizes this mechanism to multi-head depth attention, yielding substantial performance gains with minimal additional overhead. MSAR draws stream diversity from sequence context through multi-scale causal convolutions, allowing different heads to retrieve historical representations through distinct contextual views while preserving the integrity of the hidden representation. The retrieved streams are combined through lightweight adaptive mixing to generate the single-stream layer input. By retaining single-stream sources and expanding them on demand, MSAR supports multi-stream computation without requiring persistent multi-stream storage or communication. Across all 12 downstream benchmarks at the 18B and 28B MoE scales, MSAR consistently outperforms prior residual variants, including standard residual connections, manifold-constrained Hyper-Connections (mHC), and AttnRes. Scaling-law experiments yield an iso-loss compute speedup of 1.58 times over the standard residual baseline, compared with 1.35 times for AttnRes and 1.30 times for mHC. These results make MSAR a promising residual architecture for large-scale pre-training.
Sources
- ReZero is All You Need: Fast Convergence at Large Depth
- Evaluating Large Language Models Trained on Code
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Training Verifiers to Solve Math Word Problems
- Do Language Models Use Their Depth Efficiently?
- DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence
- Cross-Layer Retrospective Retrieving via Layer Attention
- The Pile: An 800GB Dataset of Diverse Text for Language Modeling
- The Unreasonable Ineffectiveness of the Deeper Layers
- Measuring Massive Multitask Language Understanding
- Measuring Mathematical Problem Solving With the MATH Dataset
- Kimi K3: Open Frontier Intelligence
- SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Norm
- DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models
- Spectral-Sphere-Constrained Hyper-Connections
- LAuReL: Learned Augmented Residual Layer
- On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability
- GLU Variants Improve Transformer
- Highway Networks
- The Curse of Depth in Large Language Models
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering