Kimi K3 架构概述与说明
Kimi K3 Architecture Overview and Notes

原始链接: https://sebastianraschka.com/blog/2026/kimi-k3-architecture-notes.html

最近发布的 Kimi K3 是早期 Kimi Linear 模型的一次重大且可投入生产的演进,参数规模从 48B 扩展到了惊人的 2.8T。 在架构上,K3 高度聚焦于推理效率,采用了 LatentMoE 和多头潜在注意力(multi-head latent attention)等先进组件以简化处理流程。一项值得注意的创新是使用了“注意力残差”(attention residuals),它通过加权注意力分数连接各层间的残差,在计算成本仅有小幅增加的情况下显著提升了性能。 或许最重要的是,Kimi K3 是首个完全摒弃旋转位置编码(RoPE)的前沿模型,转而在整个架构中采用 NoPE(无位置编码)。此外,该模型现已具备原生多模态支持。通过优化现有组件并扩展至前所未有的规模,Kimi K3 代表了模型效率和架构设计方面的一次重大飞跃。

``` Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Kimi K3 架构概述与笔记 (sebastianraschka.com) 36 分,由 ModelForge 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 1 条评论 帮助 gokohl 5 分钟前 [–] 有趣的是他们到处都用了 NoPE——其他人都在局部层用 RoPE 来规避风险。感觉像是线性注意力机制(Kimi Delta)在悄悄处理位置信息,所以他们才能这样做。很好奇这种做法在尖端规模下是否依然有效。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索: ```
相关文章

原文

The Kimi K3 architecture figure for yesterday’s big open-weight model release, along with some observations and thoughts.

  1. Yes, it looks relatively complicated, but it’s essentially a scaled-up production version of their Kimi Linear model they released last year (scaled up from 48B -> 2.8T; K3 is by far the biggest open-weight model right now)

  2. The one new component compared to Kimi Linear is the LatentMoE. I omitted it in the figure below since it’s already very crowded, but that’s essentially the same LatentMoE as in Nemotron 3 Ultra (you can find it in my LLM Architecture Gallery if you are curious). The idea here is to compress (down-project) large linear layers similar to multi-head latent attention.

  3. Kimi K3’s overall trend (similar to Nemotron 3, DeepSeek V4, and others) is also towards better inference efficiency. That is, there are many components that replace existing components with efficiency-tweaked versions. I.e., MoE -> LatentMoE, regular attention -> multi-head latent attention and Kimi Delta Attention. (I also have short tutorials and write-ups in my gallery if you are curious about additional details).

  4. The one component change that is not an efficiency tweak is attention residuals. Like DeepSeek V4 improved the residual path with mHC (manifold-constrained Hyper-Connections), attention residuals are a way to improve the residual path, but it works a bit differently. I.e., mHC made the residual path wider. Attention residuals (also already part of Kimi Linear) connect the residuals across layers; the connection itself uses an attention score for an important/contribution weight. According to the report, it improves the validation loss and downstream performance (a bit) consistently and adds about 4% in training cost and 2% in inference cost.

  5. Interestingly, Kimi K3 got rid of all RoPE layers and uses NoPE (No Positional Embeddings) everywhere instead. (Again, this is inherited from Kimi Linear). In other architectures, the recent trend was towards RoPE in local attention layers (like sliding window attention) and NoPE in the global layers. There were a few architectures that only used NoPE everywhere, but this is the first frontier-level one as far as I know.

  6. Kimi K3 now also has native multimodal support, which is great!

There are several other interesting training tidbits in the technical report, but that’s it from the architecture front so far. A really great release overall.

Composite Kimi K3 architecture diagram with Kimi Delta Attention, gated multi-head latent attention, Attention Residuals, LatentMoE, and benchmark comparisons

Figure 1. Kimi K3 architecture and release-time benchmark comparisons. See K3 in the architecture gallery for more details.

Source: website version of my Substack note.

联系我们 contact @ memedata.com