<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linear_attention on Yuchen You</title>
    <link>https://www.whoami-wesleyyou.top/tags/linear_attention/</link>
    <description>Recent content in Linear_attention on Yuchen You</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 02 Sep 2026 23:43:10 +0800</lastBuildDate>
    <atom:link href="https://www.whoami-wesleyyou.top/tags/linear_attention/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Kimi Linear: An Expressive, Efficient Attention Architecture</title>
      <link>https://www.whoami-wesleyyou.top/2026/09/02/mlsys/LanguageModel/10.kimi-linear/</link>
      <pubDate>Wed, 02 Sep 2026 23:43:10 +0800</pubDate>
      <guid>https://www.whoami-wesleyyou.top/2026/09/02/mlsys/LanguageModel/10.kimi-linear/</guid>
      <description>&lt;h2 id=&#34;整体架构&#34;&gt;整体架构&lt;/h2&gt;
&lt;p&gt;Kimi Linear 将 KDA 和 MLA 放在 Transformer 的 token-mixing 位置, 并采用 &lt;code&gt;3 个 KDA layers + 1 个 MLA layer&lt;/code&gt; 的排列; KDA 用固定大小的 recurrent state 处理历史信息, MLA 则保留 full attention 与 latent KV cache; 每个 token-mixing layer 后仍然连接一个 MoE layer, 整体数据流保持 &lt;code&gt;Norm -&amp;gt; KDA 或 MLA -&amp;gt; residual -&amp;gt; Norm -&amp;gt; MoE -&amp;gt; residual&lt;/code&gt;;&lt;/p&gt;
&lt;h2 id=&#34;kda-layer-的输入-状态更新与输出&#34;&gt;KDA layer 的输入, 状态更新与输出&lt;/h2&gt;
&lt;p&gt;生成第 $t+1$ 个 token 时, KDA layer $l$ 接收两个输入: 当前 token 从上一层传来的 hidden vector $h_t^{(l)}$, 以及本层处理完上一个 token 后留下的 recurrent state $S_{t-1}^{(l)}$; 前者沿模型深度方向在 layers 之间传递, 后者沿 token 时间方向保留在同一个 KDA layer 内;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
