Attention Residuals
Summary
Replaces standard PreNorm residual accumulation (fixed unit weights over all layer outputs, which causes uncontrolled hidden-state growth with depth and dilutes each layer's contribution) with Attention Residuals (AttnRes): each layer selectively aggregates earlier representations via learned, input-dependent softmax attention over preceding layer outputs. Block AttnRes makes this practical at scale: partitions layers into blocks and attends over block-level representations, cutting memory from O(Ld) to O(Nd) while preserving most gains; cache-based pipeline communication and a two-phase computation strategy make it a drop-in replacement for standard residuals with minimal overhead. Scaling-law experiments show consistent improvement across sizes; ablations validate content-dependent depth-wise selection. Integrated into the Kimi Linear architecture (48B total / 3B activated) pre-trained on 1.4T tokens, AttnRes yields more uniform output magnitudes and gradient distribution across depth and improves downstream performance on all evaluated tasks (reasoning, math, coding).
- Venue
- arXiv 2603.15031 [cs.CL], submitted 16 Mar 2026, technical report
- Source
- x
- Access
- free
- Language
- en
- Added
- Oct 5, 2026
- Verified
- Oct 5, 2026
- Found via
- #random-papers
Tags
Topics
residual connections, PreNorm dilution, attention residuals, gradient flow, pipeline parallelism, Kimi Linear
Research notes
- Discovery: @hooshaaii (Hoosha) X thread 2026-10-04 11:07 PM ET (https://x.com/hooshaaii/status/2106944242949996973), 830 views; 3-part self-thread with paper figures (PreNorm vs AttnRes vs Block AttnRes diagrams, pipeline-communication block-summary figure)
- 36 authors, technical report format
- License: CC BY-NC-ND 4.0
Similar entries
- Paper DepthBench: Measuring How Residual Connections Enable More Computational Depth
- Paper MoBA: Mixture of Block Attention for Long-Context LLMs
- Paper Supercharging Olmo-core for Efficient and Scalable MoE Training
- Code MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts
- Paper Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps
- Paper Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling