# Attention Residuals

- **ID:** 1254
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2603.15031
- **Authors:** Kimi Team (Guangyu Chen, Yu Zhang, Jianlin Su, Weixin Xu, Siyuan Pan, Yaoyu Wang, Yucheng Wang, Guanduo Chen, Bohong Yin, Yutian Chen, Junjie Yan, Ming Wei, Y. Zhang, Fanqing Meng, Chao Hong, Xiaotong Xie, Shaowei Liu, Enzhe Lu, Yunpeng Tai, Yanru Chen, Xin Men, Haiqing Guo, Y. Charles, Haoyu Lu, Lin Sui, Jinguo Zhu, Zaida Zhou, Weiran He, Weixiao Huang, Xinran Xu, Yuzhi Wang, Guokun Lai, Yulun Du, Yuxin Wu, Zhilin Yang, Xinyu Zhou)
- **Venue:** arXiv 2603.15031 [cs.CL], submitted 16 Mar 2026, technical report
- **Published:** 2026
- **Source:** x
- **Language:** en
- **Access:** free
- **Tags:** residual-connections, prenorm, attention-residuals, gradient-flow, kimi, block-attention, pipeline-parallelism
- **Topics:** residual connections, PreNorm dilution, attention residuals, gradient flow, pipeline parallelism, Kimi Linear
- **Added:** 2026-10-05
- **Verified:** 2026-10-05
- **Page:** https://papers.projxon.ai/entries/1254

## 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).

## 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

- [DepthBench: Measuring How Residual Connections Enable More Computational Depth](https://papers.projxon.ai/entries/789) (paper, #789)
- [MoBA: Mixture of Block Attention for Long-Context LLMs](https://papers.projxon.ai/entries/707) (paper, #707)
- [Supercharging Olmo-core for Efficient and Scalable MoE Training](https://papers.projxon.ai/entries/838) (paper, #838)
- [MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts](https://papers.projxon.ai/entries/649) (code, #649)
- [Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps](https://papers.projxon.ai/entries/1200) (paper, #1200)
- [Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling](https://papers.projxon.ai/entries/1244) (paper, #1244)
