The Kimi Team (including Guangyu Chen, Yu Zhang, Jianlin Su, Weixin Xu, Siyuan Pan, and 34 authors in total) released a new paper on March 16: Attention Residuals.
- arXiv link: https://arxiv.org/abs/2603.15031
- Hidden states to grow uncontrollably with depth
- Each layer's contribution to be uniformly diluted
- Uneven gradient distribution, with deep-layer information drowned out by shallow layers
- Instead of directly adding the previous layer, each layer performs attention over the outputs of all preceding layers.
- Weights become input-dependent and learnable, letting the model decide which layer's representation it needs at each moment.
- Thoroughly solves the dilution problem of PreNorm
- More uniform output magnitudes per layer and more balanced gradient distribution
- Significantly improved scalability with depth
- Divide layers into several blocks
- Perform attention only at the block level
- Combine cached pipeline communication + a two-stage computation strategy
- Scaling law experiments: consistent performance gains across model sizes
- Ablations: confirm that content-dependent depth selection is indeed the source of the gains
- Real-world deployment: integrated into the Kimi Linear architecture (48B total parameters, 3B activated), pretrained on 1.4 trillion tokens
- Successfully mitigates PreNorm dilution
- Improvements on all downstream tasks
The Core Problem
Modern LLMs universally use PreNorm + fixed-weight residual connections. Every layer's output is added with weight 1 to the next layer, which causes:
The Idea: Attention Residuals (AttnRes)
The authors propose replacing the fixed residual with softmax attention:
Effects:
Practical Optimization: Block AttnRes
Full attention over all preceding layers brings large memory and communication overhead (especially with MoE / pipeline parallelism). The authors propose Block AttnRes:
→ Overhead is nearly the same as ordinary residuals while retaining most of the benefits, making it practical for large-scale training.
Experimental Validation
TL;DR
The paper upgrades the residual connection from a rigid addition into an intelligent attention-based selection, offering an elegant and practical new approach to scaling Transformer depth. The Kimi Team validated it not just in theory but on a real 48B pretrained model — very high-quality work.