Kimi Linear:一种富有表现力且高效的注意力架构
Kimi Linear: An Expressive, Efficient Attention Architecture

原始链接: https://arxiv.org/abs/2510.26692

Kimi 团队推出了 **Kimi Linear**,这是一种创新的混合注意力架构。该架构在短文本、长文本及强化学习场景中的表现均超越了传统的全注意力模型,标志着一个重要的里程碑。 该架构的核心是 **Kimi Delta Attention (KDA)**。这是一种具有高表现力的线性注意力模块,它通过细粒度的门控机制增强了 Gated DeltaNet,从而优化了 RNN 的记忆管理。通过采用专门的分块算法和对角加低秩(DPLR)转移矩阵,该模型在保持计算精简的同时,实现了极高的硬件效率。 团队使用 KDA 和多头潜在注意力(MLA)的混合结构,预训练了一个拥有 3B 激活参数(总参数 48B)的模型。实验结果证实,在相同的训练条件下,Kimi Linear 的表现始终优于全 MLA 架构。至关重要的是,它带来了显著的运行效率提升:在 1M 上下文长度下,KV Cache 的使用量降低了高达 75%,解码吞吐量提升了最高 6 倍。 Kimi Linear 可作为标准注意力架构的高性能直接替代方案。团队已开源其 KDA 内核、vLLM 实现及模型检查点,以促进进一步的研究与开发。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Kimi Linear:一种富有表现力且高效的注意力架构 (arxiv.org) 12 分,ronfriedhaber 发布于 2 小时前 | 隐藏 | 过往 | 收藏 | 讨论 帮助 考虑申请 YC 2026 年秋季批次!申请截止日期为 7 月 27 日。 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

View a PDF of the paper titled Kimi Linear: An Expressive, Efficient Attention Architecture, by Kimi Team: Yu Zhang and 58 other authors

View PDF
Abstract:We introduce Kimi Linear, a hybrid linear attention architecture that, for the first time, outperforms full attention under fair comparisons across various scenarios -- including short-context, long-context, and reinforcement learning (RL) scaling regimes. At its core lies Kimi Delta Attention (KDA), an expressive linear attention module that extends Gated DeltaNet with a finer-grained gating mechanism, enabling more effective use of limited finite-state RNN memory. Our bespoke chunkwise algorithm achieves high hardware efficiency through a specialized variant of the Diagonal-Plus-Low-Rank (DPLR) transition matrices, which substantially reduces computation compared to the general DPLR formulation while remaining more consistent with the classical delta rule.
We pretrain a Kimi Linear model with 3B activated parameters and 48B total parameters, based on a layerwise hybrid of KDA and Multi-Head Latent Attention (MLA). Our experiments show that with an identical training recipe, Kimi Linear outperforms full MLA with a sizeable margin across all evaluated tasks, while reducing KV cache usage by up to 75% and achieving up to 6 times decoding throughput for a 1M context. These results demonstrate that Kimi Linear can be a drop-in replacement for full attention architectures with superior performance and efficiency, including tasks with longer input and output lengths.
To support further research, we open-source the KDA kernel and vLLM implementations, and release the pre-trained and instruction-tuned model checkpoints.
From: Yulun Du [view email]
[v1] Thu, 30 Oct 2025 16:59:43 UTC (645 KB)
[v2] Sat, 1 Nov 2025 12:05:18 UTC (691 KB)
联系我们 contact @ memedata.com