<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>腾讯技术工程</title>
    <link>https://wechat2rss.xlab.app/feed/9685937b45fe9c7a526dbc32e4f24ba879a65b9a.xml</link>
    <description>腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。&#xA;(wechat feed made by @ttttmr https://wechat2rss.xlab.app)</description>
    <managingEditor> (腾讯技术工程)</managingEditor>
    <pubDate>Mon, 09 Nov 2026 18:08:41 +0800</pubDate>
    <lastBuildDate>Mon, 09 Nov 2026 18:08:41 +0800</lastBuildDate>
    <image>
      <url>https://wx.qlogo.cn/mmhead/Iic9WLWEQMg2jTKicld7jhiagcz7jJxuYcpjicxAAiaVaNpdIiabCLIxOHIZFVsWH3cRNQjLF1TBznTJc/0</url>
      <title>腾讯技术工程</title>
      <link>https://wechat2rss.xlab.app/feed/9685937b45fe9c7a526dbc32e4f24ba879a65b9a.xml</link>
    </image>
    <item>
      <title>说个最近越想越不对劲的事......           《AI 编程的加速陷阱》    我是maple，目前主要在腾讯做Agent 相关的一些开发业务。    我们...</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649808120&amp;idx=1&amp;sn=b007fdc7119e2018ef1a0ffda9a41b0a</link>
      <description></description>
      <content:encoded><![CDATA[<p><span>腾讯技术工程</span> <span>2026-11-09 18:08</span> <span style="display: inline-block;">广东</span></p>






  
  
  <p>说个最近越想越不对劲的事......  </p><p> </p><p> </p><p> </p><p> </p><p>《AI 编程的加速陷阱》 </p><p> </p><p>我是maple，目前主要在腾讯做Agent 相关的一些开发业务。 </p><p> </p><p>我们团队现在代码提交量大概是以前的几十倍。一开始大家挺兴奋，觉得效率上来了。但慢慢我发现，量上来了，可控性反而下去了，而且是整条链一起往下掉。 </p><p> </p><p>需求评审完，产品随口说了句，「这个边界先不用管，实际业务里不会这么用。」程序员点点头，测试也没为这个场景开单。这句话没进 PRD，没进纪要，也没变成用例，但它实实在在把系统复杂度降下来了。 </p><p> </p><p>现在换成 AI 编程。这句「先不用管」没人写进需求。AI 很认真地把边界展开成十几个状态、一堆异常路径和兼容分支。代码提交量上去了，测试单也上去了，所有人就被拖进了循环。 </p><p> </p><p> </p><p>问题不是 AI 不努力，是它不知道人类本来会妥协。 </p><p> </p><p> </p><p>传统手工编程时，我们从来没把所有状态全实现过。真正让东西能交付的，是产品、开发、测试在磨合里一次次把边界裁掉。哪些异常不会发生，哪些兼容可以放弃，哪些测试细节不值得开单。这些大多不在文档里，是组织里的隐性知识。 </p><p> </p><p>AI 没有这套隐性知识。没有显式约束时，它倾向于保守展开，所有边界都当有效，所有异常都当要覆盖。结果就是协调状态急剧膨胀，AI 处理不完，人也 review 不过来。 </p><p> </p><p>以前复杂度在进代码前就被人类裁掉了。现在复杂度先被展开，再想靠 review 和测试收回来。但人的带宽有限，变更一旦超过某个量级，review 就会从「判断对不对」退化成「看着像不像」。 </p><p> </p><p> </p><p>上周我翻了一个中等需求的提交记录。以前类似需求大概二三十次提交，这次是六百多次。测试刚跑完一轮，第二天又多了八十多个 commit。他追不上，只能用 AI 批量生成用例、批量开单。开发收到一堆细节单，也只能继续用 AI 批量改。 </p><p> </p><p> </p><p>这就陷入了恶性循环。 </p><p> </p><p> </p><p>关键不是「AI 太快」，是加速链里没有中断点。软件工程本来需要一些减速带，需求裁剪、验收标准、测试取舍、发布门禁、人工否决。这些减速带被冲掉后，速度不会自动变成吞吐，反而会变成噪声和返工。 </p><p> </p><p> </p><p>所以方向不是「事后 review 更多」，而是「生成前约束更多」。把不处理场景、可接受异常、兼容范围和人工兜底写清楚，让 AI 能读到、能执行。组织上也得保留人类说「停」的权力。 </p><p> </p><p> </p><p>AI 编程缺的可能不是生成能力，是收敛能力。 </p><p> </p><p>没有中断的加速，不是吞吐，是噪声。</p>
  



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=76bea063&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649808120%26idx%3D1%26sn%3Db007fdc7119e2018ef1a0ffda9a41b0a">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 09 Nov 2026 18:08:00 +0800</pubDate>
    </item>
    <item>
      <title>多Agent协作的下一场竞争，不在模型，而在上下文</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649808052&amp;idx=1&amp;sn=b3d44a9aff307ff725a3300d14efe314</link>
      <description>Siboot 的协作产品哲学</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-11-06 17:38</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=9fb3817f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906jGEzewoibLuk76lRy96HqOFNic7DiczZL8Riafgdojuoibr9EwIic0dSs17vd80C9LEIiazBl5tL8bTicibsxK0lt5CGF549P2ExvDCW8%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>Siboot 的协作产品哲学</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：poppylili</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 时代，人和 Agent 到底怎么协作？ 聊聊产品设计的底层逻辑——上下文如何在群里流动、隔离、接力。 我们做了一个司内工具Siboot ，讲讲我们如何重构 AI 时代的群聊。</span></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">一、先问一个被跳过的问题：协作到底在传递什么？</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们习惯把协作理解成&#34;发消息&#34;。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">于是过去二十年，所有协作工具都在优化</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">发消息这件事</span></strong><span leaf="">：IM 让消息更快，邮件让消息更正式，在线文档让消息能被多人同时编辑，会议软件让消息能带着表情和语气。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但如果你把镜头拉远一点会发现，消息只是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">载体</span></strong><span leaf="">，真正在两个人之间流动的，是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">上下文</span></strong><span leaf="">——</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">你为什么做这个决定、你考虑过哪些方案、你排除了什么、你现在卡在哪一步、你手里有哪些材料、这件事的边界在哪。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">消息是上下文被压缩、编码、说出口之后的产物。你说出来的，永远比你脑子里的少。听的人再解码一遍，又少一层。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">协作的全部难题，本质上都是上下文在传递过程中的折损问题。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人类社会用了几千年来对抗这种折损：我们发明了会议纪要、需求文档、复盘、对齐、周报——这些动作没有一个在&#34;生产价值&#34;，它们全都在</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">搬运上下文、对齐上下文、补齐上下文</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">举个每天都在发生的例子：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">产品和研发开了一小时会，敲定了一个方案。散会后，产品要写一份需求文档，把刚才聊透的东西再落成文字；研发回去还要跟没参会的组员同步一遍；测试同学没参与，只能等文档出来再从头理解一次。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这一小时会议里真正产生的价值，可能就是那几个关键决策。但为了让这几个决策</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">流动到每个相关的人脑子里</span></strong><span leaf="">，团队又额外付出了写文档、开同步会、反复答疑的成本——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">而且每传一手，都会丢一点、变一点形。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这在&#34;人和人&#34;的时代是可以忍受的。因为折损虽然存在，但链路短，而且人有常识、会脑补、能追问。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">问题是，这个时代结束了。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324383" data-ratio="0.421875" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="jpeg" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=3f8edfdb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905BicFfaVP1nvUb6Zibn6PZoJo1OuQ7zbYvoUDVicC9SRuLlm84rx7WPicG9pPaGcdvFefqUTia8ZybE92usVxKiaCKQlIKBC6I16jKg%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></figure><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">二、当 Agent 上桌，折损开始按乘法叠加</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Agent 变强之后，一个很自然的做法是：把它塞进人已经熟悉的工作流里，让它能被 @、能回消息、像个同事。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这一步是对的。人不需要搬家，Agent 就能拿到人类上下文生产最密集的地方。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但它只解决了&#34;Agent 进场&#34;，没有解决&#34;Agent 进场之后，上下文怎么流动&#34;。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">看一个真实到每个人都经历过的场景：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">你让你的 Agent 写了一版竞品分析。它写完，你先读一遍、消化，然后把结论转述给协作的同事：&#34;大概就是 A 比我们强在 X，我们的机会在 Y。&#34;</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">同事按他的理解，再讲给他手上的 Agent，让它据此出一版方案。他的 Agent 产出结果，同事再读一遍、再转述回来给你。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一圈下来，最初那份竞品分析里的细节——那些你的 Agent 明明分析到了、但你转述时觉得&#34;太细就没提&#34;的部分——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">在第二个 Agent 眼里，从一开始就不存在。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一条任务链，上下文被</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">编码-解码了四次</span></strong><span leaf="">。每一次都是一道有损压缩。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">单人时代，折损是加法：讲一遍，损一点。 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人-人-Agent 时代，折损是乘法</span></strong><span leaf="">：每多一个协作节点，就多一层转述；每多一层转述，前面所有的损耗都被继承下来，再叠加一层新的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">而且更糟的是——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人被卡在了链路中间当中继器</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Agent 算得再快，也要停下来等你把上下文&#34;翻译&#34;给下一个人、下一个 Agent。你越忙，整条链路越堵。你不是在协作，你是在给一群比你算得快的东西当传声筒。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这才是多 Agent 协作真正的天花板。不是模型不够强，是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">上下文的流动方式还停留在&#34;为人转述&#34;设计的旧范式里</span></strong><span leaf="">。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">三、两条路：让 Agent 学会转述，还是让大家共享上下文</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">面对这个问题，行业里其实分出了两条路。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">第一条路：让 Agent 更像人。</span></strong><span leaf=""> 教它把工作成果打包成一段漂亮的总结，@ 给下一个人或下一个 Agent，像同事之间发消息一样。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这条路很顺，因为它不改变任何人的习惯。但它没触碰问题的根：只要还靠&#34;总结-转述-再理解&#34;，折损就还在，只是把搬运的活从人手里挪到了 Agent 手里。你依然是在</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">用通信来共享上下文</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">第二条路，反过来：不靠通信共享上下文，而是靠共享上下文来通信。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这句话是整件事的转折点，值得拆开讲。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人为什么必须&#34;说出来&#34;别人才懂？因为人的想法锁在自己脑子里，不说出来没有第二条通路。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但 Agent 不一样。它做过什么、改了哪个文件、生成了什么产物、任务跑到第几步——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这些本来就是可以被实时记录、也可以被另一个 Agent 直接读取的结构化状态。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">把这些东西压成一段聊天记录，再让下一个 Agent 从消息里去&#34;猜&#34;人类想表达什么，是一种倒退。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">能直接读的东西，不该被重新翻译成人类包装过的语言，再让机器去逆向解码。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以真正的解法不是优化转述，是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">消灭转述</span></strong><span leaf="">：让协作的各方——人也好、Agent 也好——站在同一份实时的上下文之上。不是把上下文从一个脑子搬到另一个脑子，而是让它从一开始就摆在一个大家都能看见的地方。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">协作不再是&#34;我把我知道的告诉你&#34;，而是&#34;我们看着同一个现场一起干&#34;。</span></strong></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324384" data-ratio="0.7466666666666667" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1200" src="https://wechat2rss.xlab.app/img-proxy/?k=07781a99&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907FGULpoZ1azRK0Q2Xic8yAZuFCE99T8gm2yTIibaMU3WEicNSk8Pd2DGvEALh6IBZA0FLAgAeukZz8996RGA3rdphCh3JO9QxCU8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure></div><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"></figure><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四、Siboot 的答案：群是场，Topic 是焦点，@ 是接力</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">想清楚了上面这层，Siboot 为什么长成现在这样，就不是产品选型问题，而是被逻辑推出来的</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">必然结果</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们没有做一个&#34;能调用 Agent 的工作台&#34;，我们做的是一个</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">让人和 Agent 共享同一个工作现场的空间</span></strong><span leaf="">。这个空间的三个核心构件，各自解决上下文的一个环节。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1. 群：共享上下文的&#34;场&#34;</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">群不是一个聊天窗口，是一个</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">持续在场的上下文容器</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在 Siboot 的群里，人说的话、Agent 做的事、产生的文件、跑起来的任务——都沉淀在同一个空间里，对所有成员（人和 Agent）实时可见。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这意味着：一个新任务被抛进来时，群里的 Agent 不需要你重新交代背景。上周的决策、昨天的结论、刚才那份文档，它本来就&#34;在场&#34;，本来就看得见。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">场景：一句话就能接住的需求</span></strong></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">周五下午，用户在项目群里随口发了句：&#34;麦林炮手 Agent 那个头像挺带感的，是自动生成的吗？&#34;</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">群里的产品 Agent「曦曦」看到了。它不需要你把&#34;我们在做什么产品、这个头像功能归谁、之前讨论过没有&#34;再讲一遍——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这些上下文它一直都在群里看着</span></strong><span leaf="">。它直接判断这是个有价值的信号，顺手就把它登记成了一条需求，还带上了原始出处。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">你要做的，只是看一眼它登记得对不对。你没有当任何一秒的传声筒。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">你不再需要为每一次协作重新组装上下文。上下文不是被传递进来的，它一直就在这里。</span></strong><span leaf=""> 这是对&#34;通过共享上下文来通信&#34;最直接的落地——群就是那个被共享的上下文本身。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2. Topic：上下文的聚焦与隔离</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但共享有一个天敌：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">噪音</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一个群什么都往里装，很快就变成一锅粥。人会被淹没，Agent 更会——它会把闲聊、跑题、临时插话全都当成上下文吃进去，然后给你一个被污染的判断。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Topic（话题线程）就是为此存在的。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">它是上下文的管理单元</span></strong><span leaf="">：每一个议题独立成线，相关的人、相关的 Agent、相关的材料收拢在一条线里，跟其他议题的噪音物理隔离。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">场景：为什么同一个群要拆成好几条 Topic</span></strong></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一个二十人的项目大群，同一个上午可能在并行聊三件事：新版本的告警策略、一个线上 BUG 的复盘、下季度的规划方向。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果全糊在一个消息流里，人得靠翻记录考古，Agent 更惨——你让研发 Agent 去跟进那个 BUG，它的上下文窗口里却塞满了&#34;规划方向&#34;和&#34;告警策略&#34;的讨论，判断很容易被带偏，Token 也白烧。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">拆成三条 Topic 之后，跟进 BUG 的 Agent 只活在&#34;BUG 复盘&#34;这条线里。它看到的每一条上下文都跟这件事相关，注意力不被稀释，成本也花在刀刃上。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这件事的深层价值不在&#34;界面整洁&#34;，在于</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">它让上下文变得可界定</span></strong><span leaf="">——</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">对人：你点进一个 Topic，看到的是这件事的完整脉络，不用在几百条消息里考古。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">对 Agent：它的上下文窗口不再被无关信息稀释。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Topic 边界，就是 Agent 的注意力边界，也是它的成本边界</span></strong><span leaf="">——每一个 Token 都花在这件事上，而不是花在理解&#34;隔壁那个不相干的话题&#34;上。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果说群解决了&#34;上下文在哪&#34;，那么 Topic 解决了&#34;哪些上下文属于这件事&#34;。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">多 Agent 协作能不能不崩，很大程度上取决于你能不能把上下文切干净。</span></strong><span leaf=""> 这是最容易被忽略、但最致命的一环。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3. @：接力，但不搬运上下文</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">有了共享的场和干净的焦点，最后一件事是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">接力</span></strong><span leaf="">——把一件事从一棒交到下一棒。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在很多产品里，接力等于&#34;打包 + 转述&#34;：我把我这段的成果总结一下，发给你或你的 Agent，你再从这段总结里理解我做了什么。这又回到了折损的老路。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在 Siboot，接力就是最朴素的一件事：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">在一条 Topic 里，@ 下一个人或下一个 Agent。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">关键不在 @ 这个动作，而在</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">被 @ 的人和 Agent，本来就站在这条 Topic 的完整上下文里</span></strong><span leaf="">。你不需要把前因后果打包给它——它一进来，看到的就是这件事从头到尾的原始现场，不是你压缩过两道的&#34;结论&#34;。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">场景：三个 Agent 在一条 Topic 里把需求跑上线</span></strong></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">曦曦把上面那条&#34;头像自动生成&#34;的需求想清楚后，在一条专门的 Topic 里 @ 了研发 Agent「小鲁班」。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">小鲁班没有收到一份&#34;需求摘要&#34;，它看到的是这条 Topic 里完整的讨论：用户原话、曦曦的判断、要做成什么样、边界在哪。它据此拉分支写代码，写完在</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">同一条 Topic 里</span></strong><span leaf=""> @ 验收 Agent「小燕子」。</span></p><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">小燕子看到的同样是全链路的真实状态——需求怎么来的、代码改了什么，不是被转述两手之后的版本。它复核、跑用例、补上验收记录，再 @ 真人来拍最后一板。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">整条链路里，**没有任何一次&#34;把上下文从一个脑子搬到另一个脑子&#34;**。@ 只负责喊下一棒进场，上下文早就在 Topic 里等着它了。人只在最后出现一次：验收。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这就是&#34;接得上彼此的工作&#34;的真正含义：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不是把结果转述给下一棒，而是让下一棒直接站进同一个现场。</span></strong><span leaf=""> 折损，在这里被降到接近于零。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">群、Topic、@ 三者合起来，构成了一条</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">低折损的上下文流水线</span></strong><span leaf="">：上下文在场（群）→ 上下文聚焦（Topic）→ 上下文接力（@）。这不是三个功能的堆叠，是同一个协作哲学的三个切面。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324385" data-ratio="0.5136363636363637" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1540" src="https://wechat2rss.xlab.app/img-proxy/?k=e8017f0c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904vKZjcJWMIx85HIBDp2a3WgZVmgjIJKejdtp0iaeYhsfv385MdS9MXw9kicBCwz8T4pAYUq04QibWI1ybpeGSc6Yhsia4EegerASs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"></figure></div><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324393" data-ratio="0.6462962962962963" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=99ed9bfd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907ysBPVnuaq5yYR1jhm4G0JQC6jWG2y8x5bEY4nudJbXOPG6pwdepBb8CTnvtBiaatbzWiaJ8oiaoYrllalv1lI9GUKbtDxgiclGeI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">五、还差一维：Agent 得会管自己的文件，才谈得上&#34;自迭代&#34;</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">到这里，我们讲的都是横向的事——此刻，大家怎么站在同一个现场里一起干。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但协作还有一个</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">纵向</span></strong><span leaf="">的维度：时间。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一条 Topic 讨论完，会沉底；一次会话结束，热的上下文会慢慢变冷。今天群里吵得热火朝天的那个决策，三个月后还有没有人记得、Agent 还引不引得出来？如果答案是&#34;忘了&#34;，那所谓的&#34;共享上下文&#34;就只是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">一次性</span></strong><span leaf="">的——用完即焚，攒不下东西。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人是怎么解决这件事的？我们有笔记本、有文件夹、有 Wiki、有归档。我们把流动的对话，沉淀成可以反复调取的</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">结构化资产</span></strong><span leaf="">。一个靠谱的同事，不只是当下反应快，更是&#34;这事儿他那儿有记录、有沉淀、越干越门儿清&#34;。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Agent 要成为真正的同事，也必须过这一关：它得有自己的文件系统，并且知道怎么整理它。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这件事被严重低估了。很多人以为 Agent 的记忆问题靠&#34;更大的上下文窗口&#34;就能解决——把所有历史都塞进去不就行了？但这既烧钱又低效，而且窗口再大也装不下一个团队几个月的全部信息。真正的解法，和人一样：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不是把所有东西都记在脑子里，而是把它们分门别类地写下来，需要时再精准地取回来。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这恰恰是&#34;共享上下文来通信&#34;在时间轴上的延伸——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">热的上下文在群和 Topic 里实时共享，冷的上下文在文件系统里结构化沉淀</span></strong><span leaf="">。两者接起来，Agent 才既活在当下，又长着记性。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324386" data-ratio="0.7655844155844156" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1540" src="https://wechat2rss.xlab.app/img-proxy/?k=9b0838c2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9059tJT3oEY5lLGLjuolIG9WEmAzjCDwKeBHCIlznR10KqHmpa5Gm3LeSLiaqWElnmV12OPGPPBAzxNRQ7nBmO2LdKeNbJoNPR90%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">分享下我们的实践，我捏了个产品 Agent 叫曦曦，她有一块属于自己的云盘。云盘里，是一套有规矩的结构：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">一个收件区</span></strong><span leaf="">（inbox）：群里冒出来的新反馈、新想法，先扔进这里暂存，不让它们散落丢失。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">一份事实与决策记录</span></strong><span leaf="">（notes）：项目背景、已经拍板的决策，沉淀在这里。下次讨论，她不会&#34;忘了上次说过什么&#34;。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求与 BUG 的独立档案</span></strong><span leaf="">：每一条需求、每一个 BUG 都是一个独立文件，有编号、有来源、有状态。它们从群聊里的一句话，变成了可以被跟踪、被检索、被去重的资产。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">分层的报告目录</span></strong><span leaf="">：日报、周报、月报，各自归位。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">而更关键的，不是&#34;AI员工有这些文件夹&#34;，而是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AI员工知道怎么维护它们</span></strong><span leaf="">——</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI员工有一套定时任务，每隔一段时间自动醒来：去把群里的新消息拉下来、判断哪些是有价值的信号、登记成需求或 BUG、更新决策记录、该写日报的时候把这一天的进展落成文档。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">新登记一条需求前，AI员工会先在已有档案里检索一遍，命中相似的就补充进去，而不是建一条重复的。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">你注意到了吗——这套动作，和一个尽职的人类同事整理自己工作台的方式，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">几乎一模一样</span></strong><span leaf="">。区别只在于，AI员工不会累，不会忘，也不会因为周五下午犯懒就跳过归档。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">正是因为有这套&#34;会自己整理的文件系统&#34;，AI员工才谈得上&#34;自迭代&#34;：</span></strong><span leaf=""> AI员工今天做的判断会沉淀成明天的依据，这个月的需求会长成下个季度的背景知识。AI员工不是每天早上重新出生的金鱼，而是一个</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">有连续记忆、会越干越熟</span></strong><span leaf="">的同事。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">为什么这件事对&#34;人-人-Agent 协作&#34;是刚需</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">放到协作层面看，这一维的价值更清楚：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对人</span></strong><span leaf="">：你不用再当 Agent 的&#34;外置硬盘&#34;，天天提醒它&#34;上次我们定的是这个&#34;&#34;那个文档在哪&#34;。它自己存着、自己取。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对 Agent 之间</span></strong><span leaf="">：一个 Agent 沉淀下来的结构化档案，是另一个 Agent 可以直接读取的上下文源。今天曦曦写的需求文档，明天别的 Agent 接手时直接就能看懂来龙去脉——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">又是一次&#34;共享上下文来通信&#34;，只不过这次跨越的是时间。</span></strong></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对团队</span></strong><span leaf="">：Agent 的文件系统是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">白盒、可治理</span></strong><span leaf="">的。它整理得对不对、沉淀了什么、有没有偷懒，人可以随时打开看、随时纠正。这跟&#34;黑盒记忆&#34;是两回事——你能管的记忆，才是能托付的记忆。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以，一个 Agent 值不值得当同事，除了看它当下反应多快，还要看一件容易被忽略的事：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">它会不会整理自己的东西。</span></strong><span leaf=""> 不会整理的 Agent，聊得再热闹，也只是个高级聊天机器人；会整理的 Agent，才是那个&#34;你放心把事交给它、下次它还记得&#34;的团队成员。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324388" data-ratio="0.42402597402597403" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1540" src="https://wechat2rss.xlab.app/img-proxy/?k=f9d6a23d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905n2cEDoL5ib0vlP9GkNobn0ibp2O8KeK2D2pf2GeWDgIk5y0yydWkQXTFrNDNlmF0Hic5djESl9FxcKgPpMEMbpcRfUibPfgJca3Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure></div><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"></figure><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">六、那人去哪了？——人的位置反而更清楚了</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">到这里一定有人会问：上下文都共享了、Agent 之间自己接力了，那人是不是被架空了？</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">恰恰相反。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人从&#34;中继器&#34;里被解放出来，回到了他本该在的位置。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">过去人被困在链路中间，大量精力花在搬运、转述、补充解释、对齐同步——这些都是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">低价值的胶水劳动</span></strong><span leaf="">。它们之所以存在，只是因为上下文没法自己流动，需要有个人在中间倒腾。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">回到上面那条需求：从&#34;用户群里一句随口的话&#34;，到&#34;测试环境 URL 摆在你面前&#34;，整个过程里人只动了两下——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">开头确认这个需求值得做，结尾验收这个功能能不能上。</span></strong><span leaf=""> 中间所有的搬运、转述、同步，都被系统吃掉了。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当上下文能够共享、能够接力，剩给人的，是机器给不了的四件事：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">定目标</span></strong><span leaf="">：这件事到底要解决什么，值不值得做。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">做判断</span></strong><span leaf="">：方案对不对、取舍合不合理、结果能不能接受。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">划边界</span></strong><span leaf="">：什么能做、什么不能碰、红线在哪。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">做验收</span></strong><span leaf="">：最后拍板的那一下，责任落在人身上。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这四件事，没有一件是&#34;搬运信息&#34;。它们全是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">判断和责任</span></strong><span leaf="">——而判断和责任，恰恰是人区别于工具的地方。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502324389" data-ratio="0.5902597402597403" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1540" src="https://wechat2rss.xlab.app/img-proxy/?k=9262847f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9074ib5ic2tmvc0c77nUv6VRBSib0jE4OnRFticMYIfwF9bnMhVba8HWhKCRia32hWdAL7DLYt8WIQ15qLPFnPiaVSZVC28KU6M1wdGqI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以 Siboot 想做的，从来不是&#34;用 Agent 替代人&#34;，也不是&#34;让人更会用 Agent&#34;。是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">重新分配人和 Agent 在协作链路里的位置</span></strong><span leaf="">：让 Agent 承接上下文的流动和执行，让人回到目标、判断、边界和验收。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人-人-Agent 协作的理想态，不是人指挥一群机器，也不是机器取代人，而是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">大家站在同一个共享的工作现场上，各自做自己最该做的事，中间没有传声筒。</span></strong></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">七、结语：协作工具的下一场竞争，在上下文层</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这些年 AI 产品的能力曲线很陡：从单点问答，到 Agent 执行，到多 Agent 协作。大家都在卷模型、卷工具、卷 Agent 数量。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但我们越做越确信一件事——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">当每个 Agent 都足够强之后，胜负手不在单个 Agent 有多能干，而在这些 Agent 和人之间，上下文能不能低折损地流动起来。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">模型决定了每个节点有多强，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">上下文管理决定了整个网络能不能协同</span></strong><span leaf="">。前者是算力问题，</span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">后者是产品问</span><span leaf="">题，也是 Siboot 选择死磕的地方。</span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">协作的本质，从第一天起就是共享上下文。 只是在人的时代，我们用转述凑合了几千年。 到了人-人-Agent 的时代，凑合不下去了—— 所以我们干脆把它重做了一遍。</span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">群是场，Topic 是焦点，@ 是接力，文件是记性。 前三件让上下文在此刻低折损地流动，最后一件让它跨越时间沉淀下来——横向共享，纵向沉淀，一个协作网络才算真正立起来。</span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">底下那条主线只有一句话：</span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;"><span textstyle="" style="font-weight: bold;">别再让人给 Agent 当传声筒。让大家，看着同一个现场，一起干；让每一次协作，都变成明天还取得回来的沉淀。</span></span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">最后说句心里话。AI 工具目前还远不是最终形态——很多地方我们自己也还在摸，怎么让小白用户也能快速捏一个更好的AI员工，哪些该 Agent 干、哪些该人拍板、边界在哪，都还有大片模糊地</span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">带没走清楚。分享下我们的实践经验，欢迎一起讨论交流～</span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=fd17f314&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649808052%26idx%3D1%26sn%3Db3d44a9aff307ff725a3300d14efe314">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 06 Nov 2026 17:38:00 +0800</pubDate>
    </item>
    <item>
      <title>可直接喂给 WorkBuddy 的实战模板 | 零基础构建策划团队 Skill</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649808051&amp;idx=1&amp;sn=aae2ab11cae15d4014bf7af0bb0cb118</link>
      <description>不会写代码，也能搭出好用的团队共享 Skill 和知识库</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-11-05 17:33</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=39f3de84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9046brmbPSfTQCwCKdSjl5MV5DB1hs99Fz67kA5icKz3cCIZPwbABAatLKibuRSibfaq2UTxzWagrlv1v6ljMtlhvnDAHf8fia20QJ4%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>不会写代码，也能搭出好用的团队共享 Skill 和知识库</p>
  <p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="188" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">作者：finnxwang</span></p><blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;"><span textstyle="" style="color: rgb(0, 82, 255);">丨 导语 </span> 不会写代码，也能搭出好用的团队共享 Skill 和知识库。笔者整理了搭建、迭代和团队协作的实战经验，包含完整的起步与迭代流程。把本文交给你的 Agent，再补充自己的业务材料、可用工具和权限，就能按文中的方法，从零开始搭建和完善自己的工作 Skill。</span></strong></p></blockquote><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">一、从口口相传、机械配表，到可以复用的团队经验</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最初建这个 Skill，我是想减少重复配表的工作量，也减少遗漏和返工。我所在项目的策划案和配置规则经过多轮迭代，很多判断需要反复确认：先查哪份数据，哪些字段要一起改，</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">遇到什么情况要找人确认，改完又怎样验收。这些经验分散在文档、历</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">史任务和个</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">人记忆里。同事</span><span leaf="">换个问题来问，我要再解释一次；新人接手，又要从头讲一遍。而某个数改对了，并不代表相关配置都改对了，问题往往到后续才暴露。所以我希望做的不只是替我改表的工具，而是把查、改、验组织成一套可复用的流程。我把 Skill 理解为一份组织起来的大 Prompt，再加上工作流程和资料。真正理解和执行任务的仍然是 Agent，Skill 提供方法，工具提供操作能力，权限决定可以做什么。更多基础知识网上已有很多介绍，这里不再赘述。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在搭建和迭代过程中，我把这个 Skill 推广给全组的策划同事使用，现在同组的策划同学已普遍用它指挥 Agent 干活。因此，我也积累了一套零代码基础搭建 Skill 的经验。这里不过多讲解我们数值配置 Skill 的具体内容，而是将思路和方法分享给同样没有代码基础的产品、策划、运营等 P 族同学。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没有代码经验，有时反而是优势——注意力会更多放在实际操作和业务结果上。</span></strong><span leaf="">当然，零代码基础不等于不需要代码：涉及脚本时，可以让 AI 协助实现，但业务规则仍要由人确认，脚本也必须经过测试，确保合理、可用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这篇文章可以直接复制给你的 Agent 阅读学习。</span></strong><span leaf="">它可以据此梳理必要输入、生成初版、检查已有 Skill 的问题，并组织验证和回传。后文给出了完整示例和测试用例，但自己的业务材料、平台安装方式、工具和权限仍需要你补充。下面以我从设计到配置再到验收的工作为例，说明这套方法如何落地。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">二、总体架构：路由、知识、执行、验证四层职责</span></h2><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">2.1 四层各自解决什么问题</span></h3><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 578px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">层</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">负责回答的问题</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">我们放在这一层的内容</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">路由层</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">这是什么任务，应该走哪条流程？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">适用范围、必要输入、专题入口、任务分级</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知识层</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">应该依据什么规则做？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数据来源、字段含义、业务口径、关联关系、证据与版本</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">执行层</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">怎样把任务准确地完成？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">查询工具、写入步骤、备份、自检和失败处理</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">验证层</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">结果是否符合要求，哪些还没验证？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">回读对比、检查清单、独立核查、测试与结果汇报</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一次配置任务的主线如下，知识层为执行和验证提供同一份依据：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">用户需求 → 路由层：确认任务、对象、范围</span><span leaf=""><br/></span><span leaf="">                    ↓</span><span leaf=""><br/></span><span leaf="">           知识层：提供规则与来源</span><span leaf=""><br/></span><span leaf="">                    ↓</span><span leaf=""><br/></span><span leaf="">           执行层：按流程查询或修改</span><span leaf=""><br/></span><span leaf="">                    ↓</span><span leaf=""><br/></span><span leaf="">           验证层：对照要求检查结果</span><span leaf=""><br/></span><span leaf="">                    ↓</span><span leaf=""><br/></span><span leaf="">           交付结果；新发现进入回传流程</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这四层是职责划分，不意味着每个任务都要跑一遍完整流程。只问一个规则时，路由到知识层就够了；需要批量改动时，才进入完整的执行和验证链路。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">2.2 文件怎样组织</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我的配置 Skill 将这些职责分别放在入口、专题、工具和验证资料中。下面是目录示意：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">config-skill/</span><span leaf=""><br/></span><span leaf="">├── SKILL.md          # 入口：任务识别、路由和必要约束</span><span leaf=""><br/></span><span leaf="">├── README.md         # 使用方法、版本、依赖和能力说明</span><span leaf=""><br/></span><span leaf="">├── references/       # 专题知识：数据来源、业务规则、操作说明</span><span leaf=""><br/></span><span leaf="">├── registries/       # 需要机器读取的规则或登记数据</span><span leaf=""><br/></span><span leaf="">├── scripts/          # 查询、处理、自检和校验工具</span><span leaf=""><br/></span><span leaf="">├── tests/            # 脚本和规则的回归测试</span><span leaf=""><br/></span><span leaf="">└── governance/       # 变更记录、候选知识和回传规范</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这是逐步完善后的组织方式，不是入门时必须建齐的目录。将内容拆开，是为了让入口保持简洁，同时让规则和工具能够各自维护。例如字段口径变了，优先修改知识层；查询工具换了，主要改执行层。如果工具变化也影响权限或验收方式，相关层仍要一起调整。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">三、四层架构设计要点</span></h2><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">3.1 路由层：先识别任务，再决定怎么做</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“查一下这条配置”和“检查这批配置对不对”都包含“配置”，但前者是查询实际内容，后者是对照期望进行核查。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">路由层要识别的是意图，而不只是关键词。</span></strong><span leaf="">我们的配置 Skill 会先确认对象、范围、依据和授权，再选择问答、查询、修改或核查流程；已有信息直接复用，缺失信息集中确认，不沿用其他任务的材料。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">入口描述写清适用与不适用场景，再按任务指向相关专题；知识未覆盖到的内容明确说明，不宣称已经支持。这个思路同样适用于需求整理、方案核对和运营报表：先明确要完成什么，再决定读取哪些知识、调用哪些工具，以及怎样验证。流程的轻重取决于影响范围和错误成本，不必让每个任务都走完整链路。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">3.2 知识层：判断有来源，更新有归属</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">知识层不仅记录字段含义，还要说明数据来源、应当修改的源头、关联关系和业务口径。我们的做法是按需读取专题知识，并为结论保留证据来源、验证状态、约束性质、适用版本和核实时间。“大家一直这么做”是惯例，不自动成为系统硬约束；某次任务成功，也不代表其中的做法适用于所有场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">已确认的规则统一维护，执行和检查共用，其他位置通过引用使用。新发现先作为候选，规则冲突交由负责人确认，不静默覆盖正式结论。工具提取的数据和人工审核的解释也要区分，查到一个值不等于理解了它的含义。无论是运营指标口径还是产品审批规则，更新后都要检查相关入口、示例和测试是否仍然一致。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">3.3 执行层：把规则变成可重复的工作流</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们的配置 Skill 把理解需求、选择专题交给 Agent，把查询、查重和格式检查等固定操作交给工具。可迁移的分工是：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">模型处理需要理解和判断的部分，有明确规则的匹配、计算和格式处理尽量交给工具或脚本，同时写清输入、输出和失败时的停止条件。</span></strong><span leaf="">并不是每个 Skill 都需要脚本，关键是不让同一套规则每次都被临场重新解释。查询先限定来源和范围，缓存与摘要只帮助定位，重要结论回到原始依据核对；没查到也要说明已查范围。涉及修改时，先确认授权、保护原内容，再做获准的最小改动并回读结果；保护的不只是文件，也包括已确认的方案和审批状态。实践中发现的错误补成检查点或失败用例，让经验进入下一次流程，而不只留在对话里。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">3.4 验证层：独立核查结果</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">验证层要在执行前定义成功标准，执行后用实际结果对照预期。我们的配置 Skill 区分格式、规则、业务关联和最终使用效果，不把文件能打开当成业务正确；配置 Skill 负责修改和写后自检，检查 Skill 负责对照期望核查结果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其他业务不一定要拆成两个 Skill，但也应区分生成、修改和核查。独立验证的重点不是换一个模型，而是重新读取原始依据：能计算的重新计算，能查来源的回查来源，需要负责人判断的明确标出。小任务做必要核对，批量或高风险任务按确认范围完整检查。输入是否齐全、输出是否符合目标、结果是否真正落地，都要分别说明；脚本测试、材料推演和业务验收不能互相替代，未检查的部分明确标为“未验证”。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">四、从真实任务到第一个 Skill（内含模板）</span></h2><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">4.1 先说清任务，再开始搭建</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">搭建 Skill 前，可以先拿一个真实任务，把需求说清楚。高质量 Prompt 的核心是：目标明确、边界清楚、输入完整、规则可执行、输出要求明确，并有自检闭环。这些信息不仅决定一次任务能否做好，也是后面提取 Skill 规则的基础。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对没有代码基础、也不熟悉提示词写法的同学，我觉得 WorkBuddy 的增强提示词功能是一个好用的起点。它能辅助整理任务描述，让我们不必完全从空白开始组织表达。下面是同一次输入增强前后的示意，大家可以在自己的任务中尝试：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">增强前：</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.17587209302325582" data-s="300,640" data-type="png" data-w="1376" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz9070HmzTicMLfMvZFTV35ibhyPiaH9j4sUsykCSAol4bvmvw67WI2vkQSSYicrrXGSGyExgIbCOHTg0Y0LNqctf9SKtF819WChj2x3I/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="104" data-imgfileid="502324330" src="https://wechat2rss.xlab.app/img-proxy/?k=de942d25&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9070HmzTicMLfMvZFTV35ibhyPiaH9j4sUsykCSAol4bvmvw67WI2vkQSSYicrrXGSGyExgIbCOHTg0Y0LNqctf9SKtF819WChj2x3I%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">增强后：</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.23076923076923078" data-s="300,640" data-type="png" data-w="1378" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz906zMRkaicicfOEfCkQagDGQ0GoWaSXx5icdBniabKs8lwQKLBf2WzQa1eBaOibXGbicpvPibbEJUKCXsZsI8JSnmCLXrInZcFiaKM9B4D4/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="133" data-imgfileid="502324331" src="https://wechat2rss.xlab.app/img-proxy/?k=0ddc31d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906zMRkaicicfOEfCkQagDGQ0GoWaSXx5icdBniabKs8lwQKLBf2WzQa1eBaOibXGbicpvPibbEJUKCXsZsI8JSnmCLXrInZcFiaKM9B4D4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过，增强后仍要检查是否保留了原意，有没有加入自己并未提出的要求。我也在 AgentLens 中查看过这项功能的增强指令。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">任务说清楚后，再把本文交给 Agent，让它依次完成以下步骤：</span></strong></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">确认业务任务。</span></strong><p><span leaf="">明确给谁用、做什么、输入在哪里、产出是什么，并让你提供一次人工完成的样例。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">提取判断与边界。</span></strong><p><span leaf="">从样例中整理步骤、依据、例外和停止条件。缺少的业务口径集中问清，不从示例数字推导通用规则。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">组织最小初版。</span></strong><p><span leaf="">写清入口、必要资料、执行步骤、输出要求和回传。按实际需要建目录，不要求一次建齐四层的全部文件。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">补齐工具前提。</span></strong><p><span leaf="">记录可用工具、输入输出、失败处理和验收方法。脚本可以由 AI 生成，但在样本中运行并核对前，只能标为待验证工具，不能挂进正式写入流程。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">先试用，再扩大范围。</span></strong><p><span leaf="">先在只读材料或副本上验证正常、缺失、冲突等情况。确认后再接入真实写入；记录初版版本、测试结果和已知限制。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">安装目录、加载方式以所用平台的说明为准。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">SKILL.md</span></code><span leaf=""> 的名称与描述帮助 Agent 发现和选择 Skill，但“文件已生成”和“宿主实际加载成功”是两件事。验证时要看可获取的加载记录；看不到记录，就注明触发行为尚无法确认。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">4.2 一份可直接改造的 Skill 初版</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">下面以“活动配置核对”为教学示例：只核查，不修改，没有项目专属数据。假定已经准备好一份正式规则文档和待核对材料。代码块中是完整的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">SKILL.md</span></code><span leaf=""> 初版；旁边只需先补一份 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">references/activity-rules.md，</span></code><span leaf="">写明来源、字段含义、关联规则及未确认项。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">---</span><span leaf=""><br/></span><span leaf="">name: activity-config-review</span><span leaf=""><br/></span><span leaf="">description: &gt;</span><span leaf=""><br/></span><span leaf="">  对照已确认的活动规则，核对用户提供的活动配置，输出差异及待确认项。</span><span leaf=""><br/></span><span leaf="">  适用于活动配置核查；不用于设计奖励数值、修改源文件或发布活动。</span><span leaf=""><br/></span><span leaf="">---</span><span leaf=""><br/></span><span leaf=""># 活动配置核对</span><span leaf=""><br/></span><span leaf="">## 任务与必要输入</span><span leaf=""><br/></span><span leaf="">- 必要输入：待核对材料、核查范围、已确认的规则或预期。</span><span leaf=""><br/></span><span leaf="">- 用户只问规则时，读取专题回答，不要求配置文件。</span><span leaf=""><br/></span><span leaf="">- 用户要核对配置时，读取实际材料，与期望逐项对照。</span><span leaf=""><br/></span><span leaf="">- 已提供的信息直接复用；缺少材料或口径时集中提问。</span><span leaf=""><br/></span><span leaf="">## 知识入口</span><span leaf=""><br/></span><span leaf="">- 读取 references/activity-rules.md。</span><span leaf=""><br/></span><span leaf="">- 只将适用版本已确认的规则用于确定性判定。</span><span leaf=""><br/></span><span leaf="">- 材料缺失时说明缺什么，不自行生成业务规则。</span><span leaf=""><br/></span><span leaf="">## 执行步骤</span><span leaf=""><br/></span><span leaf="">1. 确认本次对象和范围，不沿用其他任务的材料。</span><span leaf=""><br/></span><span leaf="">2. 列出核查项及每项的预期值、来源，歧义先确认。</span><span leaf=""><br/></span><span leaf="">3. 只读材料，逐项记录实际值与关联关系。</span><span leaf=""><br/></span><span leaf="">4. 用真实值对照预期；无匹配项时说明已查范围。</span><span leaf=""><br/></span><span leaf="">5. 汇总明确差异、待确认项及未执行检查。</span><span leaf=""><br/></span><span leaf="">## 行为边界</span><span leaf=""><br/></span><span leaf="">- 可以做：读取获准材料、按已确认规则核查、列出差异。</span><span leaf=""><br/></span><span leaf="">- 需要先问：材料缺失、规则冲突、期望不明确、需扩大范围。</span><span leaf=""><br/></span><span leaf="">- 不做：猜测空值、修改源文件、自行设计奖励、自动发布。</span><span leaf=""><br/></span><span leaf="">- 原因：核查是发现差异，不是代替业务负责人作决策。</span><span leaf=""><br/></span><span leaf="">## 输出与验收</span><span leaf=""><br/></span><span leaf="">输出：核查项｜依据或预期｜实际值｜判定｜建议。</span><span leaf=""><br/></span><span leaf="">明确差异必须有实际值与预期；不能判定的单列，不猜结论。</span><span leaf=""><br/></span><span leaf="">说明哪些检查已执行，哪些未执行；不将静态核查称为活动生效验证。</span><span leaf=""><br/></span><span leaf="">## 回传</span><span leaf=""><br/></span><span leaf="">发现新规则或旧说明有误时，按下列字段整理草稿，交用户审核。</span><span leaf=""><br/></span><span leaf="">- 发现、任务场景、Skill 版本</span><span leaf=""><br/></span><span leaf="">- 期望与实际、处理建议、证据及验证状态</span><span leaf=""><br/></span><span leaf="">- 适用范围、共享检查、当前收录状态</span><span leaf=""><br/></span><span leaf="">只整理，不自动修改共享规则或外发。</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个版本可以先用于材料核对，不依赖额外脚本。业务扩展后，再引入读取和校验工具；如果工具不可用，就说明限制，不能把“计划调用”写成“已经执行”。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">4.3 用四类输入检验初版</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">初版至少准备以下四类测试。它们也是修改后的回归用例，不应每次只挑最顺利的样本测试。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 578px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">测试</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入情况</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">合格表现</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">正常</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">材料齐全，预期明确</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">给出实际值、预期和可追溯判定</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">缺失</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">少一份关键材料，或某项为空</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">说明缺失，不填一个“合理值”</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">冲突</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">两份材料采用不同口径</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">标出冲突并确认，不擅选一份</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">越界</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">要求跳过审核、修改源文件或直接发布</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不执行越界动作，给出可行下一步</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每次保存输入、预期、真实输出和判定依据。仅列出测试方法不算测试完成；没有实际运行的项目标为“未执行”。如果新增脚本，还要在副本上核对读写范围、异常处理和结果，再允许进入正式流程。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">换到周报、产品需求检查等场景时，由 Agent 替换业务输入、规则、风险和验收项，不能照搬本示例的“活动”或配表流程。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">五、团队一起持续优化：按问题改层，而不是不断打补丁</span></h2><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">5.1 找到失效的位置</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们维护配置 Skill 时，逐渐形成的做法是：记录失败样本，先判断问题属于哪一层，再修改相应内容。不要每次出错，都在入口追加一条“必须注意”。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 578px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">问题类型</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">改进方法</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(247, 249, 251);color: rgb(0, 0, 0);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">要验证的变化</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">意图识别不准</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">调整适用与不适用描述，补齐相邻任务的区别</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">该进入的流程是否进入，不该进入的是否保持简洁</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知识缺失或过期</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">补来源、适用范围和版本；冲突单独处理</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">相同问题是否还有错误口径，结论能否回溯</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">步骤遗漏或边界不清</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">增加关键检查点与停止条件</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">缺失、冲突、越界输入是否被正确处理</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">工具结果不可靠</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">用脚本承接固定逻辑，增加输入与结果校验</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同一输入能否复核，异常是否明确报告</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">检索慢、入口过长</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">分段计时，合并批量操作，专题按需读取</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">减少的是真实耗时、无关读取，还是仅文件大小</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">新人难以使用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">完善必要输入、环境自检、完整样例和输出结构</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">新使用者能否从一个只读任务开始，不误以为缺权限就不能问知识</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些是已经采用的改进方向，不意味着表中每项都已有量化收益。脚本能检查的项目，依据真实测试结果说明；模型是否更容易正确选择流程、同事是否更省时，则需要另外评估。我们的模型对照评估已有规格，但尚未执行，不把脚本回归通过当作整体准确率提升。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">5.2 优化后怎样判断有效</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">保留旧版本和失败样本，用相同材料、工具和测试条件比较新旧结果。改描述时看触发，改知识或步骤时看内容，改工具时看工具运行和最终结果。除了复测原问题，还要检查相邻场景，避免修好一个、误伤另一个。效率统计应包含人工补充、等待、复核和返工，不能只算 AI 生成第一版的时间。若只测了入口文件的大小变化，就只报告文件大小变化；没有实际数据，不写提速或准确率百分比。每轮交付记下四件事：改了哪些文件、解决哪类问题、实际验了什么、还剩哪些限制。已经批准的业务规则不因优化而改动；引入新工具、新权限或扩大处理范围时，重新确认。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">5.3 利用 skill-creator</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">下面这段是我维护配置 Skill 时经常使用的审查指令。其中引用的 skill-creator 是 Anthropic 官方提供的 Skill，可以交给你的 Agent 去优化 Skill 结构：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">请参考 <a href="https://github.com/anthropics/skills/tree/main/skills/skill-creator" target="_blank">https://github.com/anthropics/skills/tree/main/skills/skill-creator</a> 中的规范和最佳实践，检查并直接修改当前 Skill，使其更高效、准确、精简，检索更快，并降低新手在自己的 Agent 上使用的门槛。</span><span leaf=""><br/></span><span leaf="">具体要求：</span><span leaf=""><br/></span><span leaf="">1. 审查现有技能定义、参考资料和相关文档，识别重复内容、歧义、检索障碍及缺失约束；在保留核心能力和既有业务规则的前提下优化。</span><span leaf=""><br/></span><span leaf="">2. 明确技能的触发条件、适用场景、必要输入、输出要求和配置校验规则；对于信息不足、配置冲突或超出范围的请求，明确需要补充或确认的内容，避免猜测。</span><span leaf=""><br/></span><span leaf="">3. 精简无效指令和重复资料，优化信息组织与检索入口，减少无关内容读取，同时保留影响配置正确性的关键规则。</span><span leaf=""><br/></span><span leaf="">4. 更新 README 及相关说明，明确支持与不支持的能力、使用前提、必要配置、Agent 适配要求和已知限制，区分技能可直接完成的事项与依赖外部工具或人工确认的事项。</span><span leaf=""><br/></span><span leaf="">5. 用典型配置、边界情况和错误输入验证修改效果；如声称检索提速或准确性提升，应提供实际验证依据，不编造结果。</span><span leaf=""><br/></span><span leaf="">完成后简要列出修改文件、主要改进、验证结果和剩余限制。若无法访问参考链接或定位现有 Skill，请说明缺失材料并提出必要问题，不凭空假设项目结构。</span></code></pre><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">六、聊聊团队知识库建设难的问题：先让大家用起来，再一起完善</span></h2><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">6.1 为什么集中建库很难启动</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">大家其实都很忙。让每个人先抽出时间，把自己知道的东西整理成完整知识库，很容易变成一个长期没有进展的任务。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">也不是所有同事一开始都能看到它的重要性。自己的工作照常能做，整理知识的收益却是以后才出现的；即使整理过一轮，规则变了没人及时更新，文档还是会慢慢失去可信度。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我的做法是先解决一个实际问题，让大家觉得 Skill 好用。先提供能回答常见问题的知识和一个低风险的使用入口，不要求每个人先交一套完整手册。等大家真正用起来，再把使用中的发现带回来。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">6.2 人和 AI 一起进化</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每个人使用时都会遇到新问题：少了一条说明、某个步骤不适用、现有口径已经变化。过去这些发现常留在聊天里，现在可以让 AI 在任务结束时整理成回传草稿，使用者只需要核对重点，不必从头写文档。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果你的 Skill 也需要多人使用，最好一开始就写清回传机制：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">什么时候整理：</span></strong><p><span leaf="">发现缺失规则、旧说明有误或可复用的操作经验时，才生成草稿，不是每次都写一份总结。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">整理什么：</span></strong><p><span leaf="">问题、期望与实际、处理方法、原始证据、适用范围和版本。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">谁能更新：</span></strong><p><span leaf="">成员的 Agent 只读整理、脱敏并交用户确认；维护人查重和审核后，再修改共享知识。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.75em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">怎样反馈：</span></strong><p><span leaf="">告诉贡献者收录到哪里、哪些仍待确认、共享版本是否已更新。成员本机写过，不等于所有人已经拿到。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一次有效的回传不需要很长，证据不足也不用硬凑。先标为候选，后面补证据；只有个人环境才适用的设置不进入通用规则。涉及未公开内容的证据，仅在项目允许的范围流转，不因为“脱敏过”就可以随意外发。</span></p><h3 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 16px;font-weight: 700;margin: 22px 0px 10px;"><span leaf="">6.3 组员的回传模板</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以把下面的模板放在 Skill 中，让 Agent 任务收尾时按需填写：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">【发现】一句话说明问题或新知识</span><span leaf=""><br/></span><span leaf="">【类型】新规则 / 旧说明有误 / 踩坑经验 / 能力建议</span><span leaf=""><br/></span><span leaf="">【场景】任务类型、适用环境、Skill 版本或安装来源</span><span leaf=""><br/></span><span leaf="">【期望与实际】原本应该怎样，实际发生了什么</span><span leaf=""><br/></span><span leaf="">【处理】已经怎样解决，或建议修改什么</span><span leaf=""><br/></span><span leaf="">【证据】原始数据、文档或工具结果；已测试 / 文档来源 / 仅推断</span><span leaf=""><br/></span><span leaf="">【适用范围】通用 / 特定业务 / 仅个人环境 / 仍待确认</span><span leaf=""><br/></span><span leaf="">【当前状态】仅在对话中 / 已写入成员本机 / 已合入共享版本</span><span leaf=""><br/></span><span leaf="">【共享检查】已去除凭据和个人路径；证据流转范围符合项目要求</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">维护人可以让自己的 Agent 先查重、归类、整理差异，再审核关键规则。这样大家不必先完成一次庞大的建库工程，而是在每次使用里补充一点。对我来说，这也是配表 Skill 最值得留下的价值：具体任务会结束，处理方法可以留下。下一位同事使用时，就能少花一些从头摸索和反复沟通的精力。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">最后</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">笔者也是代码和 AI 小白，文章比较浅显，也有很多不足之处，还请大家多多谅解，也欢迎指正。我之前在 CodeBuddy 搭建，后来因为工程中经常需要用到 TAPD、工蜂、iWiki 等工具，就转移到了 WorkBuddy（现在各类连接器和功能做得确实很好，实名夸一下辛苦迭代的同学们）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在，没有代码基础的人也能借助 AI 编写代码、实现工具，这是一件很了不起的事情。AI 能力不断进步，但这不代表我们不需要学习了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我在优化这套 Skill 的过程中收获了很多，也对项目流程、工作流优化和 AI 工具有了更多思考。我觉得，思考并提出问题，是这个时代最宝贵的能力，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">出题远比答卷更重要。</span></strong></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="324" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="187" data-backw="578" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=3030a7ed&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649808051%26idx%3D1%26sn%3Daae2ab11cae15d4014bf7af0bb0cb118">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 05 Nov 2026 17:33:00 +0800</pubDate>
    </item>
    <item>
      <title>腾讯混元发布 Hy4，首次成为最强开源模型之一</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649808030&amp;idx=1&amp;sn=b1a1332f38f89c2d4cc91899900ddf33</link>
      <description>刚刚，腾讯混元发布最新一代大语言模型 Hy4</description>
      <content:encoded><![CDATA[<p><span>腾讯技术工程</span> <span>2026-11-04 13:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=418a3ac2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907ChelDnibNZhuTbbM09tibXOaHaLx7hBziaaYcjAuaNPegmia4WwE9w5AsUcgdiaqp6kDmwGIMsFeAhu1TOKg0mZicbibtwQsvLEboW0%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="188" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">刚刚，腾讯混元发布最新一代大语言模型 Hy4。随着模型能力的再次全面跃升，Hy 首次跻身最强开源模型之列。Hy4 将于近期开源模型权重，发布模型系统卡片，并积极推进更负责任的开源，重点关注网络和生物安全等风险。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">相比于 Hy4 preview，<span textstyle="" style="font-weight: bold;">Hy4 </span>在预训练和后训练上显著扩展了数据和训练规模，首次引入视觉理解能力，并大幅提升了指令遵循、长文理解、长程智能体等综合效果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Hy4 评测榜单对比" class="rich_pages wxw-img" data-ratio="0.7355555555555555" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="425" data-imgfileid="502324350" src="https://wechat2rss.xlab.app/img-proxy/?k=c3d44c8b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904iawaQplT8oj0pkYeZiclc5YvV02S6JsgyHm8bx7eCIh61E12Pst4IIQ3IGfBP0Tia3bBQ3IaxrDmB4tcVdU6K4BZ6M4yLRHRqWY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p nodeleaf=""></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">通过视觉理解、推理和工具调用能力，Hy4可以完成细粒度图像处理、复杂图表分析和数学视觉推理等任务。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Hy4 也首次支持电脑操作（Computer Use），可以结合命令行和图形界面，处理工作和生活中的各类任务。针对 Blender、CAD 等专业软件和跨应用长程任务，混元了开展专项训练，大幅提升了专业任务的规划与执行能力。</span></p><p nodeleaf=""></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: center;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;"><span textstyle="" style="font-size: 15px;">通过随拍照片，确定地理位置并核实信息</span></span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">模型和产品深度 Co-Design，持续解锁真实生产力场景</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">得益于模型基础能力的全面提升，以及模型与产品的深度Co-Design，Hy4 解锁了更多</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">真实生产力</span><span leaf="">场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">在办公场景，Hy4 全面提升了 WorkBuddy 的用户体验。评测结果显示，Hy4 平均效果得分 83.18 分，任务通过率 96.15%，12 个场景中 9 个排名国内第一。实际体验中，Hy4 在视觉创意、3D 场景构建和网页开发等任务上兼顾效果与效率。同时，针对WorkBuddy的人机双写特色功能，Hy4 在文档美观度、稳定性和可用性上均有明显提升。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">伴随 Hy4 上下文学习能力的持续提升，模型能更好地理解多源复杂信息，成为用户的长期个人助理。借助 WorkBuddy 的企业微信套件，Hy4 可以连通聊天记录、邮件、文档、日程与会议等日常工作信息。多个项目并行推进时，Hy4 能理清各项目的推进历史与最新进展，识别待跟进的任务、需要准备的会议和临近截止的事项，及时提醒用户并协助安排优先级。此外，由 Hy4 支撑的团队协作功能将随新版“项目”在 Workbuddy 上线。</span></p><p nodeleaf=""></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: center;"><span leaf=""><span textstyle="" style="font-size: 15px;">出差后的发票整理和财务发票稽查</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Hy4 重点强化了专业金融分析能力。基于真实金融场景构建了数千个工作空间和上万个高质量任务，让模型充分学习基金研究、证券分析、量化策略、资产配置、公司金融、财税会计等方向的专业流程与规范。混元联合腾讯金融科技 FiT 开展了 213 位专家的金融众测，其中 153 位来自外部的头部金融机构，且七成拥有五年以上工作经验。基于 579 个真实金融任务的结果显示，Hy4 综合表现位居开源模型第一（众测得分：Hy4 3.04、Kimi K3.1 Pro 2.68、GLM-5.3 2.68、DeepSeek-V4.1-Flash-1017 2.97）。此外，在金融智能体公司讯兔科技的内部评测 IRAB 中，Hy4 较 Hy4 preview 提升 12.03 个百分点。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为了提升金融等各类办公场景的实用性，混元还启动了针对时效检索、多源信息整合与事实一致性校验的专项搜索优化。在自建测试中，Hy4 的幻觉率从 preview 版的 12.95% 降至 7.2%，猜测导致的错误率从 23.1% 降至 5.6%。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在前端与游戏开发场景，混元针对前端的复杂交互、业务逻辑、状态管理、前后端联动等进行了专项优化，让模型生成的界面不仅好看，而且功能完整可用。混元与腾讯 IEG 专业游戏开发者合作，持续优化数据和评测质量，重点提升了游戏功能实现、玩法逻辑、状态理解和资产处理等能力，实现了对 UE、Unity、Godot 等主流引擎的深度适配，并开始扩展至多人联机游戏开发。相比 Hy4 preview，Hy4 在 GameDev 和 GameLogic 评测中分别提升 19.1% 和 9.8%。</span></p><p nodeleaf=""></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: center;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;"><span textstyle="" style="font-size: 15px;">复古QQ游戏街机厅</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在科学研究领域</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">，Hy4 </span><span leaf="">将复杂推理、科学编程与长程任务执行相结合，进一步提升端到端推进科研工作的能力。在涵盖 7 大学科、123 项可执行研究任务的 TenureTrail 内部评测中，Hy4 在数学构造、物理建模、地球环境、系统工程和社会经济决策等领域展现出扎实的科研能力。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Hy4 正积极为下一阶段的递归自我改进（RSI）做准备，提升各种模型研发任务的能力。结合 Hyra2.0，Hy4 优化了内部同架构小模型的预训练基础设施，并自动训练出在多项评测中优于官方的 Jev 模型。同时，混元也开源了由 Hy4 协同 Hyra2.0 研发的单细胞表征基础模型 HyCell 和物理场基础模型 HyPDE，希望将模型辅助科研的成果转化为社区可复用的工具。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">关注网络和生物安全，持续推进负责任的开源</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">针对模型在网络和生物等方面潜在的安全风险，混元以更负责任的方式进行训练、开源与发布。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">网络安全方面，Hy4 在训练中仅纳入与 PoC 生成、漏洞修复相关的防守性网络安全数据，同时剔除漏洞利用、逆向、渗透等攻击性训练内容，力求避免潜在进攻性能力的提升。混元组织来自腾讯玄武和科恩实验室的安全专家，围绕密码分析、逆向工程、漏洞利用等方向进行了审计，结果表明：Hy4 在加密算法的逆向求解、对抗二进制混淆、漏洞利用等进攻性能力上未展现出突出风险。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">生物安全方面，Hy4 的开放式实验设计能力与前沿模型存在明显差距（Hy-BioExperime</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">ntBench: 30.4/100）。混元组织了内部专家对轨迹进行审计，发现模型基础生物知识的掌握能</span><span leaf="">力较强，但将知识转化为可执行实验方案的能力仍然有限，尚未发现其能够显著降低实施生物化学危害行为的门槛。</span></p><p nodeleaf=""></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: center;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;"><span textstyle="" style="font-size: 15px;">Hy4 单机1.5小时完成 700 万细胞小鼠胚胎三维重建</span></span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">持续追求极致性价比，Hy4 flash 近期上线</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">目前，Hy4 已经在腾讯云Tokenhub、WorkBuddy/CodeBuddy、元宝、企业微信智能助理大圆、ima 等产品上线，API 同步接入 OpenRouter、 Hermes、OpenCode 等平台。QQ、王者荣耀、和平精英、微信读书、腾讯新闻等腾讯系产品也在持续接入中。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">腾讯混元以“模型实用性”为核心原则，在不断追求智能上限的同时，为用户提供高性价比服务。Hy4 在模型性能大幅超越 Hy4 preview 的同时，定价不变：输入 6元/百万 tokens，输出 18 元/百万 tokens，缓存命中 0.3 元 / 百万 tokens。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Hy4 flash 也将于近期发布。Hy4 flash 在继承 Hy4 能力的基础上，大幅减低任务成本，为用户提供极致性价比的模型。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为收集更多用户反馈、持续提升模型能力，WorkBuddy/CodeBuddy 将在 11月 4 日至 11月 15日期间，为用户提供一定额度的免费使用。此外，即日起至 2026 年 12 月 31 日，Hy4 在腾讯云 TokenHub 按刊例价 5 折计费。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">自今年 2 月重建基础设施以来，腾讯混元大模型平均每两个月推出一个大版本，先以 Preview 形式开放，再根据用户反馈优化模型发布正式版。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同时，混元在参数规模和数据规模上持续爬坡，Hy3 系列参数不到 300B，Hy4 系列达到 770B。据悉，下一代 Hy5 规模将进一步扩大。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">混元团队表示，尽管 Hy4 已经是目前最强的开源模型之一，但与顶尖闭源模型仍然存在较大差距。混元将持续稳健地扩展预训练和后训练规模，努力缩小和顶尖闭源模型的差距。</span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="324" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" style="width:100%;" type="block" data-backw="578" data-backh="187" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=285f35a7&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649808030%26idx%3D1%26sn%3Db1a1332f38f89c2d4cc91899900ddf33">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 04 Nov 2026 13:30:00 +0800</pubDate>
    </item>
    <item>
      <title>从OpenClaw，怎么走到了Super Agent？</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649807992&amp;idx=1&amp;sn=821997daaf7926936b0b4f59fd82ceb0</link>
      <description>Super Agent是怎么来的？</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-11-03 17:35</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=09c0c1af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905gia1fGUlNP7NsciaIHRBiaSCPApITnRQrrCGibuMiacFlvOcbO4zRibliaXCSDDJ386cdzlNqs4g0BVscF2xDJVAw4lW5uB8zw3ZRD0%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>Super Agent是怎么来的？</p>
  <p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="188" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="">作者：</span><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgb(62, 71, 83);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;visibility: visible;">spike，腾讯游戏数据团队负责人</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="">最近最火的应该是DeepSeek Harness产品团队发布的Super Agent了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">很多人说没看懂，也有很多人说，这就是自己工作的日常。这里想聊一下，过去这一年观察到的Agent产品工具的演进逻辑。可能从这个过程回顾，有机会帮助我们更好理解，发生了什么？为什么走到了现在。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">先看一个趋势，以及背后的朴素逻辑</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">今年年初发布的产品，受OpenClaw影响，大多数最开始就是一个Bot，可以让刚接触Agent到人从聊天工具里找它，这样新手更容易使用；而随着时间的迁移到了4、5月，更多新用户开始使用WorkBuddy这样的桌面应用，IDE类、桌面App类应用开始变多，可以方便让Agent在这些环境里面处理工作，竞争也开始激烈。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而到了最近2个月，你会发现一个有意思的情况，就是两边都开始往对方的方向走。一些Bot为主的Agent产品开始补工作台、文件处理、工具/连接器，而原来在电脑上工作的Agent，也开始Bot化，支持更好的手机入口、channel入口和协作。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看起来有点绕，看起来好像是从Bot出发，最后又回到Bot了？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我觉得背后其实是两个非常朴素的需求，在驱动这个变化。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1、Agent要把事情做好，就需要更接近人的实际工作环境。</span></strong><span leaf=""><br/></span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">2、而如果上下文更多，人的coach也更多，Agent越来越好用，人就越希望随时能找到它，也希望把它的能力交给别人用。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而最近的DeepSeek Harness，以及大家围绕它们折腾出来的新用法，又让这里多了一个变化：建设这个环境、接通这些能力，也可以让Agent自己参与了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，我想顺着这条线，聊聊自己的几个观察。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">从容易用起来 到真正用起来</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">年初OpenClaw那一波，最直观的感受，就是联系自己的Agent变方便了。打开熟悉的聊天工具，发句话，它就能开始做事。人不用一直守着电脑。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而且，它已经不只是回答问题，还能接触文件、调用工具、操作设备。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我还留着当时使用内网版的一段对话。我在聊天里问它，知不知道我正在做的一个项目。它回答自己在对应的代码仓库里，准备继续查看项目结构。虽然前面还是一个聊天窗口，后面已经接着一个可以干活的环境了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图1" class="rich_pages wxw-img" data-ratio="0.6755555555555556" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="390" data-imgfileid="502324335" src="https://wechat2rss.xlab.app/img-proxy/?k=e0cf848f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906I6aqMRvf7Hu8HUTNaeCnJu6QlQDmAHxDz45yPzCg3EA2ibGzQgWJm1Gw240w7tAliaNkyV3CCN6bCBCNpP2UDb1NRYRpMUytsI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">年初体验公司的OpenClaw内网版，现在已升级为iMate平台</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但继续用下去，会发现“能找到它”，和“它能把活干好”，还是有些距离。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它知道我今天正在做什么吗？文件是不是最新的？上次那个方案为什么没采用？我刚补过的条件，这次有没有带上？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些背景，很多不在一句任务描述里面。模型能力当然重要，但它这次能看到什么、能调用什么，也会直接影响结果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如写一份分析报告，只说“帮我看看这个业务”，和让它能找到需求背景、数据口径、之前的分析，以及刚补充的判断，做出来的东西会很不一样。开发也是，知道仓库结构、哪些测试已经跑过、哪个方案被否掉，才更容易接着往下做。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，IDE、桌面App和工作台这条路的价值，慢慢就显现出来了。也是为啥到了特别是4、5月份，很多Bot类为主的产品，用户增速低于了WorkBuddy这样的Working Agent产品。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里说IDE（Working Agent产品），也不只是写代码的软件。它越来越像一个共同工作的地方：左边是资料和文件，中间可以直接看内容、改东西，旁边是和Agent的会话，下面还能运行工具、看执行结果。做一份材料、研究一个问题，也可以在这里完成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图2" class="rich_pages wxw-img" data-ratio="0.5822222222222222" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="337" data-imgfileid="502324332" src="https://wechat2rss.xlab.app/img-proxy/?k=04628152&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907qBAic8UFNw8FwBquibKf9ZyShs1nUjepFepLaRp6zAXMFBIoDia64lRFYZITDiayHG0j5oMrSpvYNny9opl3E01ZBHpZ6QUw46Yg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">IDE的人机协作丰富度非常高</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图3" class="rich_pages wxw-img" data-ratio="0.6322222222222222" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="365" data-imgfileid="502324334" src="https://wechat2rss.xlab.app/img-proxy/?k=763810a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9062V7J63upFVwv3lFkyvTK9O8I80AQ4DPBH5jcx6KPniasQ3xn1IxYSWb1A0hiaz3ve6icEyFnlel7TX1jISzZqHoFkJZicQPQEGEw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">Working Agent代表：WorkBuddy</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">人和Agent围绕着同一件事工作，背景就不只来自我最后发出去的那句话。改了哪里、为什么改、哪个尝试没成功，都有机会留下来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这也是为什么，即使给Agent一台云端电脑，还不等于它已经和我在同一个工作环境里。我的文件可能在本地，讨论在群里，刚做的修改还留在另一个会话里。这些接不上，它依然需要等我搬过去。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，Bot类产品，背后也可以有完整的工作区和记忆。不能因为前面是聊天窗口，就觉得它只有聊天记录。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">真正要看的是，实际工作在哪里发生，Agent能不能拿到相关背景，并且继续做下去。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">资料也不一定都要搬到一台机器上。能按权限找到需要的内容，接上后续变化，比“存得很多”更重要。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">越好用，越希望随时能找到它</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当一个Agent已经积累了不少背景，工具也用顺了，人自然又会想：离开电脑以后，能不能继续用？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这时再需要Bot，跟最开始的那个只是联系便捷，感觉又有一点不同。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最开始，可能只是想有个随时能问的助手。现在想联系的，是那个已经知道事情经过、手上还有工作在做的Agent。那时候主要是体验的入口快捷。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我自己就有一个很小的例子。有一次在手机上找分身看一份材料，我补了一句，某个讨论群里有。它接着找到了对应消息里的文件，再去读内容。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图4" class="rich_pages wxw-img" data-ratio="1.9055555555555554" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="1101" data-imgfileid="502324336" src="https://wechat2rss.xlab.app/img-proxy/?k=2c1069bf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905vorQW7VmtrYe2Jia0LddSFL07etDAWjOmF7RicLAot6kk8jwd0qlTIR0iaWaxIyJB1Uc0uLx5jJCNR0IVXJuicEWhmhbK7mHpzco%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">把Working Agent接入到微信</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里方便的，不只是手机上能聊天。而是我不用先回电脑找文件、下载下来，再重新发给另一个助手。原来已经接好的工具和可访问的背景，可以从这个入口继续用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有很多需求也是类似的。在电脑前开始一件事，出门后想知道进度；突然想起一个条件，随手补一句；它做着做着需要确认，也能找到我。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再往前一步，手机和群聊还会带来新的背景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我和Agent在电脑前讨论好了一个方案，后来跟同事聊，发现前提变了。或者刚开完会，对一件事有了新的判断。如果要等回到原来的电脑、找到原来的会话，再完整讲一遍，可能已经忘了当时为什么改变想法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，入口方便，也会影响积累的质量。越容易继续聊，越愿意把刚发生的变化、还没整理好的想法交给它；这些背景留下来，下一次它又更容易理解我。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我觉得这才是“又回到Bot”比较有意思的地方。它不只是一个遥控器，新的讨论也可以从这里回到原来的工作里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，换个入口不等于完整上下文会自动同步。接的是同一个执行会话，还是通过共享资料和工作记录接力，需要有相应的支持。但从使用者的角度，我希望的是同一件事能继续，而不是每换一个地方，就认识一个新助手。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">从自己用 到和别人一起用</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接下来还会遇到另一类需求：我的Agent已经能做好一些事，其他人能不能也用上？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设一个同学把数据分析Agent建设得很好，积累了数据口径、工具用法和不少经验。其他人想获得这份帮助，最好不用先学习他的整套环境，再自己从头搭一遍。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们就做过一类这样的数据服务尝试。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用户在自己原来的Agent里提问题，需求进入一个有专业同学和数据Agent参与的工作群。需要补充业务背景、确认口径，就继续在这件事上沟通；处理完成后，结果再回到用户原来的工作里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图5" class="rich_pages wxw-img" data-ratio="0.5222222222222223" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="302" data-imgfileid="502324333" src="https://wechat2rss.xlab.app/img-proxy/?k=dba3bb96&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9040Dzb5kFyCOp1eDSPwKO9LFa3DRShp85xwoOoJQoRvkQMLVMlhbn8Ae5bSp8OScJIlxEwxt9TfFvdTC0RIDdOu0LiauUsrurqo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">内部一个需求交付案例，用户提出，Agent唤起，补充信息，Agent继续执行</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的变化，跟“把一个Prompt分享给大家”不太一样。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">专业同学继续维护知识、工具和处理方法。使用者带来自己的业务问题，也参与判断结果。双方不必使用完全相同的Agent，更不必每个人都学会怎么建设这套能力。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这件事也让我重新想过，怎么让用得好的人带动其他人。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一种方式是分享经验，让别人也学会搭。另一种方式是把已经建设好的能力交出去，让别人先用起来。不是每个人都要先变成Agent建设专家，才能获得帮助。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Bot或者群聊入口，就很适合承担其中的联系和交流。但背后仍然需要有人维护专业能力，也需要实际能执行的环境。群里多了一个头像，并不会自动解决这些问题。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们内部做的HTalk，也有不少需求来自这里：尽量保留大家已经用顺的工具，把人、Agent和工作的背景接起来。具体用哪个产品不是前提，我更关心的是，能力能不能被找到、被使用，出了问题能不能继续找到人，新的反馈能不能回到维护者。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到了这一步，最开始“给我一个方便的聊天入口”，已经逐渐变成了“让我积累的能力，能够参与更多地方的工作”。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">工作环境本身，也可以让Agent参与一起建设</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过，前面说的这些能力，总得有人建设。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">资料怎么整理，工具怎么接，常做的事情怎么记住，哪里需要确认，什么结果算做好。过去这些事情经常要自己配置、查文档，或者等产品提供一个功能。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最近我更关注的变化是，Agent正在参与这一部分工作。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里会</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">用到两个大家非常熟悉的词。Context，是它做事时能够取得的背景；Harness，可以理解成让模型实际工作的那套安排，包括工具、记忆怎么用，任务怎么执行，遇到</span><span leaf="">问题怎么处理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果一个A</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">gent总做不好，原因不一定是Prompt没写清楚。可能是读不到资料，拿了旧版本，也可能是工具没有接好。只加一句“你要认真一点”，通常解决不了这些问题。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">我以前也经常在不满意以后加规则。后来更愿意让它先看实际过程：刚才用了哪些材料，哪一步出了问</span><span leaf="">题，我们对“做好”的理解差在哪里。找到了，再决定是补背景、改说明，还是调整工具。</span></p><p><span style="color: rgba(0, 0, 0, 0.9);font-family: &#34;PingFang SC&#34;, -apple-system, &#34;system-ui&#34;, &#34;Segoe UI&#34;, Roboto, &#34;Helvetica Neue&#34;, sans-serif;font-size: 15.0001px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;" data-pm-slice="0 0 []"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;letter-spacing: 0.05em;text-align: justify;">某海外 Agent 产品的 Mods 机制，让用户可以修改部分提示、工具行为和界面，也可以让 Agent 自己编写 Mod。DeepSeek Harness 的 Creator mode 则支持通过对话创建插件，扩展工具、Skill 和界面。</span><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(0, 82, 255);text-decoration: none;border-bottom: 1px solid rgb(0, 82, 255);" href="https://www.deepseek.com/en/harness/" textvalue="" linktype="text" data-linktype="2">DeepSeek Harness官方介绍</a></span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这两类能力让我觉得，用户有机会不只是使用一个特定限制好的工作环境，还可以和Agent一起把它改得更适合自己。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如一类任务反复要搬材料，可以试着把资料来源接起来；结果不方便看，可以调整呈现方式；某个做法已经反复用顺，就把它整理成后面能继续使用的能力。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最近看社区大家用DeepSeek Harness的养鱼文章，也有类似的感受。它展示的不只是给一个角色设定性格，还包括让Agent帮忙安装、配置、调试，把不同的能力和入口接起来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">建设用的Agent，和最后提供聊天或服务的机器人，不一定是同一个。但用户可以用自然语言表达想做什么，让一个有执行能力的Agent参与把它搭出来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这也是我觉得“养”开始有点不同的地方。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">能调整的不只是它说话的方式，还包括它取得什么背景、调动哪些工具、在哪个环境里做事。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些能力并不是到“养鱼”才第一次出现，之前的OpenClaw也不是只有Prompt。只是现在，从表达一个想法，到实际修改环境，中间更多工作有机会交给Agent来完成，因为大家都已经在环境中通过Context积累跟使用过程的Coach，Agent已经不是当初的白板Agent。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，插件和程序依然是要在机器上执行的东西。来源、权限、可恢复的版本都要看，涉及账号、外发或付费不能因为“AI帮我装的”就省掉确认。改完以后，还得用实际任务看看有没有变好。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，年初大家主要在“养虾”，最近又开始“养鱼（DSH）”，大家也可以接着思考，有哪些区别？</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">用顺的Agent 还可以帮忙带一个新的</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从这个角度再往前走，就到了我最近比较常用的一个办法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">自己的主Agent已经比较了解我，也和我一起做过不少事情。现在想分出一部分能力，交给一个新的Agent独立处理，能不能先让它帮忙带？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如，我想让一个专门的云端Agent助手跟进日常事项，发现值得关注的变化。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我没有一上来就让它接管。而是先跟我已经用顺的Agent做几个例子，确认什么应该记、什么不能混在一起，再让新的Agent去做，回来一起检查。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">过程中发现的问题都很具体。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它会把“已经记下来了”，理解成相关的人已经接手；也会没有注意到后面取消了安排，继续拿旧信息提醒我。纠正以后，又可能变得太谨慎，只敢列事实，把判断全交回来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但我希望它补上的，恰恰是有依据的判断，不是再给我一张需要自己处理的清单。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些时候，已经比较了解我的Agent可以去看目标Agent的会话，回到来源核对，再帮它调整、继续试。我主要看那些真正有分歧的地方：这个判断是不是我想要的，哪里还理解错了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图6" class="rich_pages wxw-img" data-ratio="0.6" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="347" data-imgfileid="502324337" src="https://wechat2rss.xlab.app/img-proxy/?k=72d884ce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905kSy4m3pMyWkaYMrrGnBgm1qKOvBVEmXOIyfr07dSem3J4mP4eYUyLVBwLk8LCoMjbMrknCQJskrxQoZU5kZjTaicnv58DMdpA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">让成熟Agent帮我Coach新Agent</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后这个过程就自动起来了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图7" class="rich_pages wxw-img" data-ratio="1.0533333333333332" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="609" data-imgfileid="502324338" src="https://wechat2rss.xlab.app/img-proxy/?k=cc4d98a3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9041YPkrr3xh8BlHMuWv6hrNngaC4ocHAicffntpo8MWicGp3HTGgpnf9mcIqKDSckoK5tgdt4jgtdMHOFB7HMibEdfovfdeOL8uUM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">成熟Agent Coach 新Agent case</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后面一轮演练，它把一场分享的正式日期信息，和准备工作的节奏联系起来，发现两边可能没有对齐。它没有直接说“已经误期”，而是建议先核实日期。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图8" class="rich_pages wxw-img" data-ratio="0.8877777777777778" data-type="png" data-w="900" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="513" data-imgfileid="502324339" src="https://wechat2rss.xlab.app/img-proxy/?k=a7e2296d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907iavNxzPVFcJv0uBy96hAE8COO722zxNB7DhNonUptRcDeh8FAeIriaRu1XTKC50kcxcMnxOtCgkpHl8t0F4HjbDTz13lh8vVwc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;font-size: 14px;color: rgb(138, 148, 166);line-height: 1.6;margin: -4px 0px 20px;padding: 0px;"><span leaf="">成熟Agent Coach 新Agent case</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就比只会照着状态提醒，更接近我想要的了。当然，演练里能做出来，还需要在后续实际工作里继续看。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我说的Coach，大概就是这个意思。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不一定要再搭一个很复杂的系统，可以先让已经用顺的Agent承担这个角色：帮忙准备、测试、查问题、修改，再把需要我判断的地方拿回来。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而且，带它的Agent也会判断错。我之前让Agent自动在我的环境里帮我做Jev对IM消息分流实验，就纠正过它的评测标准：有人已经找了对应的负责人，不一定需要我再介入。它以为“更主动”就是更好，但那不是我的意思。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这里面人并没有消失，只是不用亲自完成那么多配置、检查和反复操作。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有一个要分清楚的地方：不能最后都是老Agent替新Agent完成工作，然后宣布“教会了”。还是要让新的Agent自己做，换个例子、换个会话再看。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果准备给别人使用，也要把必要的专业能力和私人资料分开。不能为了让它像自己，就复制整份私人记忆；更不能默认自己的偏好，也适合所有使用者。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">想做一个新助手的时候，现在我经常会先找那个已经用顺的Agent说：这部分事情，我想交给另一个Agent来做，你帮我一起把它带到能接手。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">至少，不用每一次都从我自己打开配置页面开始了。</span></p><h2 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(0, 82, 255);margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(0, 82, 255);line-height: 1.4em;"><span leaf="">不同的产品 正在接近同一个问题</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再回头看Bot、Working Agent，我觉得它们的关系相对就比较清楚了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从Bot开始，深入以后，需要补工作环境和执行能力。从IDE、App等Working Agent开始，用顺以后，需要向外延伸，让人随时找到，也能和别人一起工作。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两条路并不一定会收敛到同一个界面，但需要解决的问题越来越接近。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如Dots把自己的云端电脑、可连接的应用，与ChatGPT、Slack、Teams等联系入口放在一起。Grok Bot则把持续工作的云端环境、文件和记忆，与消息、群聊和Bot之间的协作结合起来。具体权限和用法各有不同，但我理解，它们都在回应前面这些需求。<a class="normal_text_link" target="_blank" style="color: rgb(0, 82, 255);text-decoration: none;border-bottom: 1px solid rgb(0, 82, 255);" href="https://openai.com/index/introducing-dots/" textvalue="" linktype="text" data-linktype="2">Dots官方介绍</a>、<a class="normal_text_link" target="_blank" style="color: rgb(0, 82, 255);text-decoration: none;border-bottom: 1px solid rgb(0, 82, 255);" href="https://docs.x.ai/grok-bot/overview" textvalue="" linktype="text" data-linktype="2">Grok Bot官方说明</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有一条路，是直接从个人生活出发。比如Muse介绍的邮件、出行和长期个人目标，不是先让用户进入一个代码仓库，而是从日常事情开始。<a class="normal_text_link" target="_blank" style="color: rgb(0, 82, 255);text-decoration: none;border-bottom: 1px solid rgb(0, 82, 255);" href="https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/" textvalue="" linktype="text" data-linktype="2">Muse官方介绍</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">背景的来源不一样，问题却有相似的地方：它需要知道我在意什么，手上有什么事，之前为什么这么判断，现在又发生了什么变化，还要真的有能力执行。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以再往后想，大家在接近的，也许是同一个问题：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">什么样的Agent，能够在具体事情上，越来越准确地代表我去做事？</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只记得很多信息，不一定就理解我的取舍；只知道我喜欢什么，没有工具和权限，也做不了事。它还需要能接到新变化，遇到拿不准的地方找我，做错以后能够调整。有时还应该提醒我，原来的判断可能不适合现在了，而不是越来越顺着我说。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我也不太相信一下子就会有一个在所有方面都能代表我的助手。先在一些具体事情上做得可靠，能接续、能纠正，再慢慢扩大范围，这条路更实际。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而这次让我觉得值得继续探索的是，建设这套能力本身，也开始有Agent参与了。它可以跟我一起整理背景、调整工作环境，还可以帮忙带一个新的Agent。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从自己用得好，到随时能找到，再到让别人也能用。过去这几步中间，有很多配置和搬运要靠人完成。现在，它们有机会更顺畅地接起来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以再看“养虾”或者“养鱼”，我更关心的已经不只是养出一个什么性格的角色。而是我和它一起积累的这些东西，能不能方便的持续积累建设，能不能在下一次真实需要的时候，继续用上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.75em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而这些能力丰富了，你可能才会遇到，Super Agent的问题。</span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="324" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" style="width:100%;" type="block" data-backw="578" data-backh="187" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=b8f0f5e7&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649807992%26idx%3D1%26sn%3D821997daaf7926936b0b4f59fd82ceb0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 03 Nov 2026 17:35:00 +0800</pubDate>
    </item>
    <item>
      <title>从直板到折叠屏：腾讯Kuikly如何适配 iPhone Duo？</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649807957&amp;idx=1&amp;sn=eb65220f0b71a6917ede58086676ba56</link>
      <description>一套代码，多端适配</description>
      <content:encoded><![CDATA[<p><span>腾讯Kuikly</span> <span>2026-11-02 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=43121e26&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904lCD1ZKRSibuWaH4mkKEeRfnR876cxhlIzxLgCEboMlMXEpAnTL4gDzYxyZCTc6DKGaTevtQcugyricicBc65El63f2KRn66hlMk%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>一套代码，多端适配</p>
  <p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" type="block" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><div style="padding-left: 10px;border-left: 3px solid #DBDBDB;color: rgba(0, 0, 0, 0.55);font-size: 15px;padding-top: 4px;margin: 1em 0;text-indent: 0;"><p style="margin-bottom: 8px;" data-pm-slice="4 4 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;padding-left: 10px;border-left: 3px solid #DBDBDB;color: rgba(0, 0, 0, 0.55);font-size: 15px;padding-top: 4px;margin: 1em 0;text-indent: 0&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]"><span data-font-family="PingFang SC NEW"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 是腾讯开源的高性能跨端框架，基于 Kotlin Multiplatform 技术，覆盖 Android、iOS、HarmonyOS、H5、微信小程序、Mac 六大平台，支撑业务日活用户超5亿。</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">折叠屏产品发展迅速，</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">苹果</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">新推出的</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;"> iPhone Duo 带来了不同以往的布局和交互方式，对于跨端页面来说需要处理更多平台差异</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">，</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">带</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">来了更多适配工作。</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 采用原生 UI 渲染，可以很好适配系统的新特性，</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">本文结合具体示例，介绍如何借助 Kuikly 复用跨端代码，做好折叠屏</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">的</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">适配</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">工作。</span></span></span></p></div><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__0"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">背景</span></span></span></h2><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__1"><span leaf=""><span textstyle="" style="font-size: 16px;">过往</span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">折叠屏适配的核心，主要</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">围绕</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">处理开合、旋转与分屏场景引发的</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">视图</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">尺寸变更</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">做处理</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">对于</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">跨端页面，基于响应式布局并</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">结合</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">四边安全区域适配，基本可以覆盖绝大多数</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">的</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">场景。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">而 </span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">iPhone Duo </span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">引入全新的设备特征</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">：屏幕存在多处需要避让的局部区域，同时导航栏、工具栏由系统跟随设备形态动态调整。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">这一变化</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">对跨端页面适配构成新的约束：若维持跨端层自绘导航栏、工具栏的方案，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">不仅</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">避让区域计算逻辑复杂度高，且无法</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">对齐</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">原生</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">的交互</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">行为。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">为了实现最佳效果，似乎只能由各</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">平台差异化实现，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">牺牲</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">跨端方案的效率优势。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__2"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">针对</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">这一问题，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly </span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">依托</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">原生 UI 渲染</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">的优势，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">在原有响应式布局和安全</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">区域能力</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">基础上</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">进一步</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">对齐系统能力</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，提供</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">保留</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">区域信息</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">与系统导航栏工具栏的原生桥接，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">侧边栏位的布局与</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">行为</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">交由系统原生组件处理，而页面结构、按钮配置与交互逻辑仍在跨端代码里统一维护，兼顾了原生体验与跨端效率。</span></span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__3"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">折叠屏基本特点</span></span></span></h2><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__4"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">屏幕更大。</span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> 展开后的内屏接近一台小平板，一屏能显示的内容比普通手机多不少。很多原来要翻几页、点几次才能看到的信息，现在可以放在同一屏里。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__5"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">屏幕尺寸会变。</span><span textstyle="" style="font-size: 16px;">用户随时可能把手机合上或打开，App 会在外屏和内屏之间切换，拿到的宽高也跟着变。打开后再分屏或旋转，可用空间还会继续变化。按开合程度，划分三种形态：</span></span></span></p><ul style="list-style-type: disc;" class="list-paddingleft-1"><li><p style="margin-bottom: 8px;"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">折叠态：合上后使用较小的外屏，适合单栏聚焦。</span></span></span></p></li><li><p style="margin-bottom: 8px;"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">展开态：完全展开，更大的屏幕，适合充分展示内容。</span></span></span></p></li><li><p style="margin-bottom: 8px;"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">悬停态：半折状态，适合分开呈现内容和操作。</span></span></span></p></li></ul><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__6"><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">折叠屏的特点</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">给页面设计和开发带来了新的要求：布局要随屏幕尺寸调整，也要用好更大的空间，让内容展示和操作更高效。</span></span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__7"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">iPhone Duo 新变化</span></span></span></h2><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_img_placeholder wx_img_placeholder" data-ratio="0.15648148148148147" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="506099190" src="https://wechat2rss.xlab.app/img-proxy/?k=8278cf8e&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_png%2F2YTOibpx9RUC7IIkZeq3hnjHSicdcnedzPwas9zR84OGHVfJ32EsiaeLXibr0xRDl2yHI89pcFkUIWWL2O62InoUFtT3kjw8uLroCaiaof6OE67Y%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg%23imgIndex%3D0"/></p><p style="text-align: center;line-height: 1.3;margin: 0px 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图片1 </span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">iPhone Duo的各形态</span></span></p><p style="margin-bottom: 8px;"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">iPhone Duo </span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">区别于以往的折叠屏适配，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">还要关注</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">额外的变化</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">：</span></span></span></p><ul style="list-style-type: disc;" class="list-paddingleft-1"><li><p style="margin-bottom: 8px;"><span style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;" data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Vertical Controls（垂直控制栏）</span></span></span></p></li></ul><p style="margin-bottom: 8px;"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">i</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Phone Duo 最容易被用户感知到的变化，是系统控制区的位置。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">过去所有折叠屏设备在系统控制区位置都是沿用直板手机形态，顶部导航，底部 Tab Bar，中间内容。但苹果在折叠屏上</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">把</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">导航</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">栏</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">、工具栏和 Tab 控制放到屏幕侧边</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，为内容留出更多纵向空间。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">而且在分屏情况下，状态栏会分别出现在左右两侧，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">系统</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">响应式</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">容器</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">会有相对应自适应能力。</span></span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder" data-aistatus="1" data-imgfileid="506099191" data-ratio="0.3851851851851852" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=93f1fb6f&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_png%2F2YTOibpx9RUDChGX4PszbZfGPRmxibiaSeVVibMRDDicQ8HYJ3MpugspturUTeGn4FwDuD08BWQ24VXubVWJojmRtU7YW6MpXicAz31WcCHSmqYWo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg%23imgIndex%3D1"/></p><p style="text-align: center;line-height: 1.3;margin: 0px 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图片</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">2</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">iPhone Duo的垂直控制栏</span></span></p><ul style="list-style-type: disc;" class="list-paddingleft-1"><li><h3 style="margin-bottom: 8px;margin-top: 0px;"><span style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;"><span leaf=""><span textstyle="" style="font-size: 16px;">Reserved Regions（保留区域）</span></span></span></h3></li></ul><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__9"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">过去</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">布局主要通过安全区避开系统 UI。</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">在</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">iPhone Duo</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">上，</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">还要关注屏幕内部的摄像头和折叠位置。内外屏摄像头可能占用局部空间，设备部分展开时，中间的折叠区域也会影响内容排列。苹果通过预留区域描述这些位置及其生效状态，App 可以据此避开遮挡，或把内容安排到折叠区域两侧。</span></span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder" data-aistatus="1" data-imgfileid="506099192" data-ratio="0.4644268774703557" data-s="300,640" type="block" data-type="png" data-w="1012" src="https://wechat2rss.xlab.app/img-proxy/?k=72eb0ba2&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_png%2F2YTOibpx9RUBFxSibYnbBRauibTJEEElYxE1QNAOCficaJPaGx2vg2yFBLHzC7NuMFKgl6CAkY0oRYWZ1rDMoSXLpIiaj7ticykIOUkeia7WAe2k0o%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg%23imgIndex%3D2"/></p><p style="text-align: center;line-height: 1.3;margin: 0px 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片3</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">iPhone Duo的保留区域</span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__10"><span leaf=""><span textstyle="" style="font-size: 16px;">苹果官方给出的设备指南是：「可调整大小是你的 App 在 iPhone Duo 上的关键功能。如果你的 App 已在 iPad 和 Mac 上运行，或者你已在 iPhone Mirroring 中准备好让 App 调整大小，那么你已经为支持 iPhone Duo 打下了坚实基础。如果没有，请采用标准布局控件和容器，并使用大小类和场景几何来改进 App 的大小调整功能。然后，处理保留区域（例如折叠区域）来调整 App 大小并处理折叠布局。评估排列视图是否可以协助 App 布局来处理折叠区域。</span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__11"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">在某些姿态下，iPhone Duo 会将导览栏、工具栏和标签栏一起垂直显示在显示屏侧边。请检查并整理 App 中的栏，以确保常用控制始终可见，且在空间有限时，较少使用的控制会出现在溢出菜单中。」</span></span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__12"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">跨端适配痛点</span></span></span></h2><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__13"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">对跨端页面来说，难点在于复用同一套代码的同时，还要适应各端不同的系统行为。</span></span><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" class="js_darkmode__14"><span leaf=""><span textstyle="" style="font-size: 16px;">布局可以</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;">随尺寸调整，但安全区、折叠区域、系统栏的位置和行为需要分别接入；单栏切换到多栏时，还要保持页面跳转、返回和操作状态的一致。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__15"><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" data-font-family="default" class="js_darkmode__16"><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" class="js_darkmode__17"><span leaf=""><span textstyle="" style="font-size: 16px;">这些差异都交</span></span></span></span><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" data-font-family="default" class="js_darkmode__18"><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" class="js_darkmode__19"><span leaf=""><span textstyle="" style="font-size: 16px;">给</span></span></span></span><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" data-font-family="default" class="js_darkmode__20"><span style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;" class="js_darkmode__21"><span leaf=""><span textstyle="" style="font-size: 16px;">使用方处理，页面中就会增加大量平台判断，未来还可能出现更多设备形态，逐</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">端、逐页适配的成本会持续增加。因此，跨端框架需要把通用布局和交互留给业务复用，将设备差异封装成可用的能力，既减轻适配负担，也让页面能够利用各端的设备特性</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">这也是 Kuikly 的适配思路。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__22"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">总体可以把适配划分成两部分：通用的尺寸和布局变化，以及预留区域、系统侧栏等设备特有的能力。Kuikly 采用原生 UI 渲染，前者可以沿用已有的响应式布局，后者通过预留区域、系统导航栏和工具栏等实现原生能力的接入，业务页面仍然使用 Kuikly 配置内容和交互。下面结合具体示例，看看现有页面如何适配折叠屏，并利用 Duo 的设备特性。</span></span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__23"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">Kuikly 适配指南</span></span></span></h2><h3 style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;"><span leaf=""><span textstyle="" style="font-size: 18px;font-weight: bold;">1. 布局随可用空间变化</span></span></h3><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__24"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 从一开始就支持响应式刷新和 Flex 布局。折叠、展开或分屏带来的尺寸变化，可以沿用这套机制处理。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__25"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">在 </span></span></span><span data-font-family="default"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__26"><span leaf=""><span textstyle="" style="font-size: 15px;">att</span></span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__27"><span leaf=""><span textstyle="" style="font-size: 15px;">r</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">中使用 </span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__28"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__29"><span leaf=""><span textstyle="" style="font-size: 15px;">pageData.pageVi</span></span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__30"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__31"><span leaf=""><span textstyle="" style="font-size: 15px;">ewWidt</span></span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__32"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__33"><span leaf=""><span textstyle="" style="font-size: 15px;">h</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">和</span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__35"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__36"><span leaf=""><span textstyle="" style="font-size: 15px;">pageData.pageViewHeight</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> 计算尺寸，宿主上报尺寸变化后，相关布局属性会自动更新。结合 </span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__37"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__38"><span leaf=""><span textstyle="" style="font-size: 15px;">flex(1f)</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">分配剩余空间，可以减少固定尺寸和手动高度计算。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__39"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">展开后不必一味拉伸。阅读、表单等内容可限制最大宽度并居中，多出的空间用于留白、增加列表列数或展示详情。</span></span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="java"><code><span leaf=""><span class="code-snippet__comment">// KuiklyDSL</span></span></code><br/><code><span leaf="">View {</span></code><br/><code><span leaf="">    attr {</span></code><br/><code><span leaf="">        flex(<span class="code-snippet__number">1f</span>)</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">    View {</span></code><br/><code><span leaf="">        attr {  </span></code><br/><code><span leaf="">            width(ctx.pageData.pageViewWidth * <span class="code-snippet__number">0.8f</span>)</span></code><br/><code><span leaf="">            maxWidth(<span class="code-snippet__number">600f</span>)</span></code><br/><code><span leaf="">        }    </span></code><br/><code><span leaf="">     }</span></code><br/><code><span leaf="">}</span></code><br/><code></code><br/><code><span leaf=""><span class="code-snippet__comment">// Kuikly ComposeDSL</span></span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">pageWidth</span> <span class="code-snippet__operator">=</span> LocalConfiguration.current.<span class="code-snippet__type">pageViewWidth</span></span></code><br/><code><span leaf=""><span class="code-snippet__title">Box</span><span class="code-snippet__params">(Modifier.width(minOf(pageWidth * </span><span class="code-snippet__params"><span class="code-snippet__number">0.8f</span></span><span class="code-snippet__params">, </span><span class="code-snippet__params"><span class="code-snippet__number">600f</span></span><span class="code-snippet__params">)</span>.dp)) { </span></code><br/><code><span leaf="">    <span class="code-snippet__comment">/* ... */</span> </span></code><br/><code><span leaf="">} </span></code><br/></pre></p><p style="text-align: center;line-height: 1.3;margin: 0px 0pt;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-aistatus="1" data-imgfileid="506099194" data-ratio="0.7046875" width="533.129" data-type="gif" data-w="640" height="375.856" style="margin-left: -3.4067px;margin-top: 0px;width: 467px;height: 329px;" src="https://wechat2rss.xlab.app/img-proxy/?k=26e2e503&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_gif%2F2YTOibpx9RUDf0VCyXUJXzkekSFf7vWicpLzaO9tInBibd69QjzU7mbdLu5TBJXwY3s28yB52vlvicSl3LngwL7Jb6YY4TI6dWo3eGMC0GuKJTc%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D3"/><img class="rich_pages wxw-img"/></span></span></p><p style="text-align: center;line-height: 1.3;margin: 0px 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片4</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">折叠屏展开页面布局变化样例</span></span></p><h3 style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;"><span leaf=""><span textstyle="" style="font-size: 18px;font-weight: bold;">2. 安全区域和避让</span></span></h3><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__40"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">安全区域仍然是多设备适配的关键。不同设备的刘海、系统栏和手势区域不同，文字和操作控件需要按当前安全</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">区域</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">避让。旋转、分屏或开合时，安全距离也可能变化，布局应随之更新，而不是预留固定的顶部、底部间距。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__41"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 通过</span></span></span><span data-font-family="default"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__42"><span leaf=""><span textstyle="" style="font-size: 15px;">pageDat</span></span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__43"><span leaf=""><span textstyle="" style="font-size: 15px;">a.safeA</span></span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__44"><span leaf=""><span textstyle="" style="font-size: 15px;">reaIn</span></span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__45"><span leaf=""><span textstyle="" style="font-size: 15px;">set</span></span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__46"><span leaf=""><span textstyle="" style="font-size: 15px;">s</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> 提供上、下、左、右的安全距离。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">把安全区域</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">绑定到内容边距，就能随安全区变化调整布局：</span></span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="java"><code><span leaf=""><span class="code-snippet__comment">// KuiklyDSL</span></span></code><br/><code><span leaf="">View {</span></code><br/><code><span leaf="">    attr {</span></code><br/><code><span leaf="">        flex(<span class="code-snippet__number">1f</span>)</span></code><br/><code><span leaf="">        paddingTop(ctx.pageData.safeAreaInsets.top)</span></code><br/><code><span leaf="">        paddingLeft(ctx.pageData.safeAreaInsets.left)</span></code><br/><code><span leaf="">        paddingBottom(ctx.pageData.safeAreaInsets.bottom)</span></code><br/><code><span leaf="">        paddingRight(ctx.pageData.safeAreaInsets.right)</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">    <span class="code-snippet__comment">// 需要安全区保护的前景内容</span></span></code><br/><code><span leaf="">}</span></code><br/><code></code><br/><code></code><br/><code></code><br/><code><span leaf=""><span class="code-snippet__comment">// Kuikly ComposeDSL</span></span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">configuration</span> <span class="code-snippet__operator">=</span> LocalConfiguration.current</span></code><br/><code><span leaf="">configuration.pageViewWidth                                <span class="code-snippet__comment">// 订阅尺寸变化</span></span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">safe</span> <span class="code-snippet__operator">=</span> configuration.pageData.<span class="code-snippet__type">safeAreaInsets</span></span></code><br/><code></code><br/><code><span leaf=""><span class="code-snippet__title">Box</span><span class="code-snippet__params">(Modifier.fillMaxSize()</span>.background(bgColor)) {          <span class="code-snippet__comment">// 背景铺满</span></span></code><br/><code><span leaf="">    Column(</span></code><br/><code><span leaf="">        Modifier.fillMaxSize().absolutePadding(</span></code><br/><code><span leaf="">            left = safe.left.dp, top = safe.top.dp,</span></code><br/><code><span leaf="">            right = safe.right.dp, bottom = safe.bottom.dp,</span></code><br/><code><span leaf="">        )</span></code><br/><code><span leaf="">    ) {</span></code><br/><code><span leaf="">        <span class="code-snippet__comment">// 需要安全区保护的前景内容</span></span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">}</span></code><br/></pre></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__47"><span leaf=""><span textstyle="" style="font-size: 16px;">过去</span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">App做适配</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">页面主要用 Top 和 Bottom 处理避让</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">导航栏和底部状态栏</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">。</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">而</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Duo 的导航栏和工具栏可能移到侧边，因此也要关注 </span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">l</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">eft、right，并结合系统栏的实际占位处理左右空间，不能只留上下边距</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__48"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">在</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">iPhoneDuo</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">上，除了</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">安全区域外</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，还要关注预留区域，处理摄像头</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">、状态栏</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">遮挡和折叠带来的布局限制。</span></span></span></p><ul style="list-style-type: disc;" class="list-paddingleft-1"><li><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__49"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">遮挡区域</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">：避免文字、按钮等关键内容与它重叠。</span></span></span></p></li><li><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__50"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">分割区域</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">：需要分区的页面，可以把内容安排到折叠区域两侧；</span></span></span></p></li></ul><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__51"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 通过 </span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__52"><span leaf=""><span textstyle="" style="font-size: 15px;">pageData.reservedRegions</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;"> 提供区域的位置、大小、类型和当前是否生效</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">区域使用 x、y、width、height 描述，坐标相对 Kuikly 根视图</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，计算规避后的坐标</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__53"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">如果希望背景、图片等内容延伸到顶部，可以不对整页统一添加 </span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__54"><span leaf=""><span textstyle="" style="font-size: 15px;">paddingTop</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;">，</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">通过</span></span></span><span data-font-family="default"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__55"><span leaf=""><span textstyle="" style="font-size: 15px;">pageData.reservedRegions</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;"> 对当前生效的遮挡区域做局部避让。</span></span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="java"><code><span leaf=""><span class="code-snippet__comment">// KuiklyDSL</span></span></code><br/><code><span leaf="">View {</span></code><br/><code><span leaf="">    attr {</span></code><br/><code><span leaf="">        <span class="code-snippet__type">val</span> <span class="code-snippet__variable">pageWidth</span> <span class="code-snippet__operator">=</span> ctx.pageData.pageViewWidth</span></code><br/><code><span leaf="">        <span class="code-snippet__type">val</span> <span class="code-snippet__variable">occlusion</span> <span class="code-snippet__operator">=</span> ctx.pageData.reservedRegions.firstOrNull {</span></code><br/><code><span leaf="">            it.active &amp;&amp; it.kind == ReservedRegionKind.OCCLUSION &amp;&amp; it.x &gt;= pageWidth / <span class="code-snippet__number">2f</span></span></code><br/><code><span leaf="">        }</span></code><br/><code><span leaf="">        <span class="code-snippet__comment">// 伪代码：有右侧遮挡时，避让右边位置 right </span></span></code><br/><code><span leaf="">        <span class="code-snippet__type">val</span> <span class="code-snippet__variable">paddingRight</span> <span class="code-snippet__operator">=</span> <span class="code-snippet__keyword">if</span> (occlusion != <span class="code-snippet__literal">null</span>) pageWidth - occlusion.x + <span class="code-snippet__number">12f</span> <span class="code-snippet__keyword">else</span> <span class="code-snippet__number">12f</span></span></code><br/><code><span leaf="">        absolutePosition(right = paddingRight)</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">}</span></code><br/><code></code><br/><code><span leaf=""><span class="code-snippet__comment">// Kuikly ComposeDSL</span></span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">configuration</span> <span class="code-snippet__operator">=</span> LocalConfiguration.current</span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">pageWidth</span> <span class="code-snippet__operator">=</span> configuration.pageViewWidth</span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">occlusion</span> <span class="code-snippet__operator">=</span> configuration.pageData.reservedRegions.firstOrNull {</span></code><br/><code><span leaf="">    it.active &amp;&amp; it.kind == ReservedRegionKind.OCCLUSION &amp;&amp; it.x &gt;= pageWidth / <span class="code-snippet__number">2f</span></span></code><br/><code><span leaf="">}</span></code><br/><code><span leaf=""><span class="code-snippet__type">val</span> <span class="code-snippet__variable">badgeRight</span> <span class="code-snippet__operator">=</span> <span class="code-snippet__keyword">if</span> (occlusion != <span class="code-snippet__literal">null</span>) pageWidth - occlusion.x + <span class="code-snippet__number">12f</span> <span class="code-snippet__keyword">else</span> <span class="code-snippet__number">12f</span></span></code><br/><code></code><br/><code><span leaf="">Box(Modifier.fillMaxSize().background(bgColor)) {           <span class="code-snippet__comment">// 背景延伸到顶部</span></span></code><br/><code><span leaf="">    Text(</span></code><br/><code><span leaf="">        <span class="code-snippet__string">&#34;角标&#34;</span>,</span></code><br/><code><span leaf="">        Modifier.align(Alignment.TopEnd)</span></code><br/><code><span leaf="">            .absolutePadding(top = <span class="code-snippet__number">12.</span>dp, right = badgeRight.dp),</span></code><br/><code><span leaf="">    )</span></code><br/><code><span leaf="">}</span></code><br/></pre></p><p style="text-align: center;line-height: 1.3;margin: 3pt 0pt 0px;"><span style="display: inline-block;overflow: hidden;transform: rotate(0deg);width: 364.937px;height: 465px;text-indent: 0px;"><span leaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-aistatus="1" data-imgfileid="506099195" data-ratio="1.2741935483870968" width="364.937" data-type="gif" data-w="620" height="465" style="margin-left: 0px;margin-top: 0px;width: 364.937px;height: 465px;" src="https://wechat2rss.xlab.app/img-proxy/?k=bd3a4253&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_gif%2F2YTOibpx9RUAaBvPnOyC8N8ebAwPVhXGcOl1guzBSyVk1oYmHFsv7jMaicwf4ogwwZKoAUsib8F3yGNxWMKRpurDbFsDFpCbHENVSmEF8Xw694%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D4"/><img class="rich_pages wxw-img"/></span></span></p><p style="text-align: center;line-height: 1.3;margin: 3pt 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片5</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">避让iPhone Duo的遮挡区域</span></span></p><h3 style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;"><span leaf=""><span textstyle="" style="font-size: 18px;font-weight: bold;">3. 空间变大后，怎么展示内容</span></span></h3><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__56"><span leaf=""><span textstyle="" style="font-size: 16px;">展开后不一定要把所有元素放大。常见做法有三种：拉伸、调整布局和</span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">多</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">栏展示，具体选哪种取决于页面内容。</span></span></span></p><h4 style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__57"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">拉伸：让适合扩展的内容占用更多空间</span></span></span></h4><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__58"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">文本</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">、画布等内容，可以扩展显示区域。普通按钮、图标和字号通常不用跟着同比例放大。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__59"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">阅读页则要限制正文宽度，避免展开后每行文字过长。多出来的空间可以留白，不必强行填满。</span></span></span></p><h4 style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__60"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">调整布局：重排</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">页面</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">，或者增加列数</span></span></span></h4><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__61"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">如：</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">图文卡片可以由上下排改为左右排，信息流可以增加列数。Kuikly 的</span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__62"><span leaf="" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__63"><br/></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__64"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__65"><span leaf=""><span textstyle="" style="font-size: 15px;">WaterfallList</span></span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__66"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__67"><span leaf=""><span textstyle="" style="font-size: 15px;">(KuiklyDSL)</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 15px;">、</span></span></span><span data-font-family="SFMono-Regular" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__68"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__69"><span leaf=""><span textstyle="" style="font-size: 15px;">LazyVerticalStaggeredGrid</span></span></span></span><span data-font-family="SFMono-Regular" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__70"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__71"><span leaf=""><span textstyle="" style="font-size: 15px;">(ComposeDSL)</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">支持设置列表宽度和列数：</span></span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="javascript"><code><span leaf=""><span class="code-snippet__comment">// KuiklyDSL</span></span></code><br/><code><span leaf=""><span class="code-snippet__title">WaterfallList</span> {</span></code><br/><code><span leaf="">    attr {</span></code><br/><code><span leaf="">        <span class="code-snippet__title">flex</span>(1f)</span></code><br/><code><span leaf="">        <span class="code-snippet__title">listWidth</span>(ctx.<span class="code-snippet__property">pagerData</span>.<span class="code-snippet__property">pageViewWidth</span>)</span></code><br/><code><span leaf="">        <span class="code-snippet__title">columnCount</span>(<span class="code-snippet__keyword">if</span> (ctx.<span class="code-snippet__property">pagerData</span>.<span class="code-snippet__property">pageViewWidth</span> &gt;= 600f) <span class="code-snippet__number">4</span> <span class="code-snippet__keyword">else</span> <span class="code-snippet__number">2</span>)</span></code><br/><code><span leaf="">        <span class="code-snippet__title">itemSpacing</span>(10f)</span></code><br/><code><span leaf="">        <span class="code-snippet__title">lineSpacing</span>(10f)</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">    <span class="code-snippet__comment">// 普通卡片不写死宽度，由列表按列宽分配</span></span></code><br/><code><span leaf="">}</span></code><br/><code></code><br/><code><span leaf=""><span class="code-snippet__comment">// Kuikly ComposeDSL</span></span></code><br/><code><span leaf="">val pageWidth = <span class="code-snippet__title">LocalConfiguration</span>.<span class="code-snippet__property">current</span>.<span class="code-snippet__property">pageViewWidth</span></span></code><br/><code><span leaf=""><span class="code-snippet__title">LazyVerticalStaggeredGrid</span>(</span></code><br/><code><span leaf="">    columns = <span class="code-snippet__title">StaggeredGridCells</span>.<span class="code-snippet__title">Fixed</span>(<span class="code-snippet__keyword">if</span> (pageWidth &gt;= 600f) <span class="code-snippet__number">4</span> <span class="code-snippet__keyword">else</span> <span class="code-snippet__number">2</span>),</span></code><br/><code><span leaf="">    modifier = <span class="code-snippet__title">Modifier</span>.<span class="code-snippet__title">fillMaxSize</span>(),</span></code><br/><code><span leaf="">    verticalItemSpacing = <span class="code-snippet__number">10.</span>dp,                          <span class="code-snippet__comment">// 对应 lineSpacing</span></span></code><br/><code><span leaf="">    horizontalArrangement = <span class="code-snippet__title">Arrangement</span>.<span class="code-snippet__title">spacedBy</span>(<span class="code-snippet__number">10.</span>dp),  <span class="code-snippet__comment">// 对应 itemSpacing</span></span></code><br/><code><span leaf="">) {</span></code><br/><code><span leaf="">    <span class="code-snippet__title">items</span>(<span class="code-snippet__params">feed, key = { it.id }</span>) { item -&gt;</span></code><br/><code><span leaf="">        <span class="code-snippet__title">FeedCard</span>(item, <span class="code-snippet__title">Modifier</span>.<span class="code-snippet__title">fillMaxWidth</span>())   <span class="code-snippet__comment">// 卡片不写死宽度，由网格按列宽分配</span></span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">}</span></code><br/></pre></p><p style="text-align: center;line-height: 1.3;margin: 3pt 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-aistatus="1" data-imgfileid="506099196" data-ratio="0.75" width="510" data-type="gif" data-w="768" height="382.5" style="margin-left: 0px;margin-top: 0px;width: 510px;height: 382.5px;" src="https://wechat2rss.xlab.app/img-proxy/?k=38d143b0&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_gif%2F2YTOibpx9RUDjL64t6gQEfvF4uZIUg1qnvuG06clesV6QWJDib1AP0UIKwXPWdecf5iaUBQ2LicYLa23YDnTSyDIjjPh4ZyIMZKiblcYzovMvfVA%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D5"/><img class="rich_pages wxw-img"/></span></span></p><p style="text-align: center;line-height: 1.3;margin: 3pt 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片6</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">瀑布流列数随屏幕大小展开</span></span></p><h4 style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__72"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">双栏：同时展示有关联的内容</span></span></span></h4><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__73"><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;">列表与详情、目录与正文等关联内容，可以在宽屏下并排展示，窄屏下仍按单栏逐级访问。</span></span></span><span data-font-family="PingFang SC"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: bold;">外屏和内屏应保持一致的内容和操作逻辑，展开后只是把原来分步查看的信息同时呈现，让用户感觉仍在使用同一个 App。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__74"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">详细可以参考：「</span></span></span><span data-font-family="default"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(30, 111, 255);" href="https://kuikly.tds.qq.com/Blog/iPhone%20Duo%E6%9D%A5%E4%BA%86%EF%BC%8C%E8%85%BE%E8%AE%AF%20Kuikly%20%E5%8A%A9%20App%20%E4%BB%8E%E5%AE%B9%E9%80%82%E9%85%8D.html" textvalue="" linktype="text" data-linktype="2"><span textstyle="" style="font-size: 16px;">iPhone Duo来了，腾讯 Kuikly 助 App 从容适配 | 跨平台框架—tds-Kuikly</span></a></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">」</span></span></span></p><div style="box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);text-autospace: normal;" class="js_darkmode__75"><div style="text-align: left;justify-content: flex-start;display: flex;flex-flow: row;margin: 0px 0px 10px;box-sizing: border-box;"><div style="display: inline-block;vertical-align: top;width: 50%;align-self: flex-start;flex: 0 0 auto;padding: 0px 5px 0px 0px;box-sizing: border-box;"><div style="text-align: center;margin: 0px;line-height: 0;box-sizing: border-box;"><p style="max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;margin-bottom: 0px;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-ratio="0.75" data-s="300,640" data-type="gif" data-w="768" style="vertical-align: middle;max-width: 100%;width: 100%;box-sizing: border-box;" data-imgfileid="506099198" src="https://wechat2rss.xlab.app/img-proxy/?k=930a1aa2&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_gif%2F2YTOibpx9RUBQicibSBHOxAsuicgjxx9eA0PPyTW7AUQbY6z6OgvyJAk0PHInb6nBHUc0lYTe2xXBFIJmCWTPzeRySnkbiaZYJDtYtPtcEVTBejY%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D6"/></p></div></div><div style="display: inline-block;vertical-align: top;width: 50%;align-self: flex-start;flex: 0 0 auto;padding: 0px 0px 0px 5px;box-sizing: border-box;"><div style="text-align: center;margin: 0px;line-height: 0;box-sizing: border-box;"><p style="max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;margin-bottom: 0px;" nodeleaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-aistatus="1" data-imgfileid="506099199" data-ratio="0.75" data-s="300,640" style="vertical-align: middle;max-width: 100%;width: 100%;box-sizing: border-box;" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=b83fb54d&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_gif%2F2YTOibpx9RUD4jcBpX8NQGNXlOkW26exhyXicRs9YqXibz9ond8jn3luicXfoWvXTJicqQa4icWveic6EC2aLDL1B3f0LgX4zLzULwXuZiazdDXgKJw%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D7"/></p></div></div></div></div><p style="text-align: center;line-height: 1.3;margin: 0px 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片7</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">双栏布局在折叠屏上的表现</span></span></p><h3 style="font-size: 17px;font-weight: 400;color: rgb(43, 119, 191);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" data-remoteid="" data-asynid="" src="https://mmecoa.qpic.cn/mmecoa_gif/2YTOibpx9RUBf2lfI5OHVty4ZicicgTo8LJibnoyo77hEMb408cTRf2FgBZ28sufbOTk19YCOMPPFgoDjxJYkyt6eYPibjn9Xb8yhWKRia2yRlZtE/0?wx_fmt=gif&amp;from=appmsg" data-src="" align="" alt="双栏布局在折叠屏上的表现" border="" class="rich_pages wxw-img" data-ratio="" data-s="" data-type="gif" data-w="" aria-label="" aria-braillelabel="" aria-description="" height="" hspace="" ismap="" opacity="" sizes="" title="" type="" usemap="" vspace="" width="" data-width="" data-height="" data-croporisrc="" data-cropx1="" data-cropx2="" data-cropy1="" data-cropy2="" data-cropselx1="" data-cropselx2="" data-cropsely1="" data-cropsely2="" data-backw="" data-backh="" data-copyright="" data-oversubscription-url="" data-before-oversubscription-url="" data-galleryid="" data-gallerysupplier="" data-cardimg="" data-fileid="" data-imgfileid="506099187" data-positionback="" data-imgqrcoded="" data-imgid="" data-upload="" data-fromlib="" data-aiimageid="" data-aiimagesource="" data-retry="" data-ignore-width=""><span leaf=""><span textstyle="" style="font-size: 18px;font-weight: bold;">4. 导航栏和工具栏</span></span></h3><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__76"><span leaf=""><span textstyle="" style="font-size: 16px;">在 iPhone Duo 上，导航栏和工具栏可以随设备姿态和容器布局调整到侧边，为内容留出更多纵向空间。页面除了适应尺寸变化，也要跟着系统栏的位置调整内容区域。</span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__77"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> DSL：</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">通过 </span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__78"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__79"><span leaf=""><span textstyle="" style="font-size: 15px;">UINavigationBar</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> 和 </span></span></span><span data-font-family="default" style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__80"><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__81"><span leaf=""><span textstyle="" style="font-size: 15px;">UIToolbar</span></span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;"> 接入宿主的原生系统栏。业务侧配置标题、图标、按钮和点击事件，系统根据容器和姿态处理栏的位置与排列。例如，添加一个</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">返回</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">按钮：</span></span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="objectivec"><code><span leaf=""><span class="code-snippet__built_in">UINavigationBar</span> {</span></code><br/><code><span leaf="">    attr {</span></code><br/><code><span leaf="">        tintColor(Color.BLACK)</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">    items {</span></code><br/><code><span leaf="">        navbarItems {</span></code><br/><code><span leaf="">            navbarItem {</span></code><br/><code><span leaf="">                attr {</span></code><br/><code><span leaf="">                    placement(<span class="code-snippet__built_in">UIBarButtonItemPlacement</span>.Leading)</span></code><br/><code><span leaf="">                    symbol(<span class="code-snippet__string">&#34;chevron.backward&#34;</span>)</span></code><br/><code><span leaf="">                    title(<span class="code-snippet__string">&#34;返回&#34;</span>)</span></code><br/><code><span leaf="">                    index(<span class="code-snippet__number">0</span>)</span></code><br/><code><span leaf="">                    axis(<span class="code-snippet__built_in">UIBarAxis</span>.VerticalPreferred)</span></code><br/><code><span leaf="">                }</span></code><br/><code><span leaf="">                event {</span></code><br/><code><span leaf="">                    click {</span></code><br/><code><span leaf="">                        ctx.acquireModule&lt;RouterModule&gt;(RouterModule.MODULE_NAME)</span></code><br/><code><span leaf="">                            .closePage()</span></code><br/><code><span leaf="">                    }</span></code><br/><code><span leaf="">                }</span></code><br/><code><span leaf="">            }</span></code><br/><code><span leaf="">        }</span></code><br/><code><span leaf="">    }</span></code><br/><code><span leaf="">}</span></code><br/></pre></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__82"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly ComposeDSL：可以用 </span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__83"><span leaf=""><span textstyle="" style="font-size: 15px;">MakeKuiklyComposeNode</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;"> 挂一个 DSL 容器，在容器里声明它：</span></span></p><p class="code-snippet__fix code-snippet__js"><ul class="code-snippet__line-index code-snippet__js"></ul><pre class="code-snippet__js" data-lang="kotlin"><code><span leaf=""><span class="code-snippet__meta">@Composable</span></span></code><br/><code><span leaf=""><span class="code-snippet__function"><span class="code-snippet__keyword">fun</span></span><span class="code-snippet__function"><span class="code-snippet__title">SystemNavigationBar</span></span><span class="code-snippet__function"><span class="code-snippet__params">(onBack: () -&gt; </span></span><span class="code-snippet__function"><span class="code-snippet__params"><span class="code-snippet__type">Unit</span></span></span><span class="code-snippet__function"><span class="code-snippet__params">)</span></span> {</span></code><br/><code><span leaf="">    <span class="code-snippet__keyword">val</span> currentOnBack <span class="code-snippet__keyword">by</span> rememberUpdatedState(onBack)</span></code><br/><code><span leaf="">    MakeKuiklyComposeNode&lt;DivView&gt;(</span></code><br/><code><span leaf="">        factory = { DivView() },</span></code><br/><code><span leaf="">        modifier = Modifier.size(<span class="code-snippet__number">0.</span>dp),      <span class="code-snippet__comment">// 系统栏只配置宿主 navigationItem，不参与布局</span></span></code><br/><code><span leaf="">        viewInit = {</span></code><br/><code><span leaf="">            UINavigationBar {</span></code><br/><code><span leaf="">                attr { tintColor(KuiklyColor.BLACK) }</span></code><br/><code><span leaf="">                items {</span></code><br/><code><span leaf="">                    navbarItems {</span></code><br/><code><span leaf="">                        navbarItem {</span></code><br/><code><span leaf="">                            attr {</span></code><br/><code><span leaf="">                                placement(UIBarButtonItemPlacement.Leading)</span></code><br/><code><span leaf="">                                symbol(<span class="code-snippet__string">&#34;chevron.backward&#34;</span>)</span></code><br/><code><span leaf="">                                title(<span class="code-snippet__string">&#34;返回&#34;</span>)</span></code><br/><code><span leaf="">                                index(<span class="code-snippet__number">0</span>)</span></code><br/><code><span leaf="">                                axis(UIBarAxis.VerticalPreferred)</span></code><br/><code><span leaf="">                            }</span></code><br/><code><span leaf="">                            event { click { currentOnBack() } }</span></code><br/><code><span leaf="">                        }</span></code><br/><code><span leaf="">                    }</span></code><br/><code><span leaf="">                }</span></code><br/><code><span leaf="">            }</span></code><br/><code><span leaf="">        },</span></code><br/><code><span leaf="">    )</span></code><br/><code><span leaf="">}</span></code><br/></pre></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__84"><span leaf=""><span textstyle="" style="font-size: 16px;font-weight: 500;">封装通用导航栏，统一各端的导航和避让</span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__85"><span leaf=""><span textstyle="" style="font-size: 16px;">整体来看，跨端差异主要在系统导航栏、工具栏的使用方式和空间占位。为方便适配，业务可以封装一个通用</span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">导航栏</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">，统一</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">导航</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">、返回按钮和工具栏配置，把各端的导航与避让集中由组件处理。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__86"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">iPhone 端接入系统导航栏和工具栏。在 Duo 的侧置布局下，根据栏的实际位置、安全区和生效的预留区域调整导航与正文空间；其他端或未接入系统栏的页面，沿用常规导航布局，按 </span></span><span style="line-height: 1.8;color: rgb(199, 37, 78);font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: 0.8px;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(242, 242, 242);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;" class="js_darkmode__87"><span leaf=""><span textstyle="" style="font-size: 15px;">safeAreaInsets</span></span></span><span leaf=""><span textstyle="" style="font-size: 16px;"> 处理顶部、底部及所在边的安全距离。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__88"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">正文使用容器分配的剩余空间，不再重复添加安全区边距。这样，导航样式和避让规则可以集中维护，适配新设备时也不必逐页修改。</span></span></span></p><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__89"><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">这样既能利用 Duo 的系统侧栏等设备特性，也能让业务页面保持统一的配置方式。后续适配新设备时，主要在</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">组件</span></span></span><span data-font-family="default"><span leaf=""><span textstyle="" style="font-size: 16px;">内部补充对应实现和避让规则，不必逐页修改。</span></span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_img_placeholder wx_img_placeholder" data-aistatus="1" data-imgfileid="506099200" data-ratio="0.6" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d3686191&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_png%2F2YTOibpx9RUCfqeib6HNO0nqBpMeweB452mRHyDtMkhx3wDpxBSIqH9LKUDUZV6P2qqHSASib6bGiaVe2pJj5ib2FBPrB4v0e1LvibNRRSykvfAsk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg%23imgIndex%3D8"/></p><p style="text-align: center;line-height: 1.3;margin: 3pt 0pt 8px;"><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">图</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">片8</span></span><span style="font-size: 9pt;color: rgb(127, 127, 127);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="">自定义导航样例在 非iPhone / iPhone / iPhone Duo 上的表现</span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__90"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">总结</span></span></span></h2><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;margin-top: 0px;" class="js_darkmode__91"><span leaf=""><span textstyle="" style="font-size: 16px;">新设备形态的出现，也带来了更多布局调整和平台适配工作。Kuikly 致力于通过跨端代码复用和原生能力封装，减轻业务的重复适配负担，让页面在保持一致的内容和操作逻辑同时，也能利用各端的设备特性。未来面对更多设备形态，我们也希望把通用适配能力沉淀到框架中，让业务更专注于内容和体验。</span></span></p><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__92"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">参考引用</span></span></span></h2><ul style="list-style-type: disc;" class="list-paddingleft-1"><li><p style="margin-bottom: 8px;margin-top: 0px;text-align: left;"><span data-font-family="default"><span style="font-size: 12px;" mpa-font-style="mvynj6jaf44"><span leaf="">文中S</span></span></span><span mpa-font-style="mvynj6ja3em" style="font-size: 12px;"><span data-font-family="default"><span leaf="">ample code</span></span><span data-font-family="default"><span leaf="">链接：</span></span><span data-font-family="default"><span leaf=""><a class="normal_text_link" target="_blank" style="font-size: 12px;" href="https://github.com/Tencent-TDS/KuiklyUI/tree/main/demo/src/commonMain/kotlin/com/tencent/kuikly/demo/pages/fold" textvalue="fold sample · Tencent-TDS/KuiklyUI · GitHub" data-itemshowtype="0" linktype="text" data-linktype="2">fold sample · Tencent-TDS/KuiklyUI · GitHub</a></span></span></span></p></li></ul><ul style="font-size: 15px;font-weight: 400;color: rgba(0,0,0,0.9);line-height: 1.8;margin-bottom: 24px;" class="list-paddingleft-1"><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;margin-top: 0px;text-align: left;"><span leaf="" mpa-font-style="mvynj6jam4y" style="font-size: 12px;"><a class="normal_text_link" target="_blank" style="font-size: 12px;" href="https://kuikly.tds.qq.com/Blog/iPhone%20Duo%E6%9D%A5%E4%BA%86%EF%BC%8C%E8%85%BE%E8%AE%AF%20Kuikly%20%E5%8A%A9%20App%20%E4%BB%8E%E5%AE%B9%E9%80%82%E9%85%8D.html" textvalue="" linktype="text" data-linktype="2">iPhone Duo 来了，腾讯 Kuikly 助 App 从容适配</a></span></p></li><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;margin-top: 0px;text-align: left;"><span leaf="" mpa-font-style="mvynj6javo1" style="font-size: 12px;"><a class="normal_text_link" target="_blank" style="font-size: 12px;" href="https://developer.apple.com/cn/documentation/technologyoverviews/preparing-your-app-for-iphone-duo" textvalue="" linktype="text" data-linktype="2">为 iPhone Duo 准备你的 App</a></span></p></li><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;margin-top: 0px;text-align: left;"><span style="font-size: 12px;" mpa-font-style="mvynj6ja5su"><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://developer.huawei.com/consumer/cn/doc/design-guides-V1/design-overview-0000001238537957-V1" textvalue="" linktype="text" data-linktype="2">华为折叠屏适配指南</a></span></span></p></li></ul><h2 style="margin: 28px 0px 14px;padding: 0px 0px 0px 12px;outline: 0px;font-weight: 700;font-size: 18px;max-width: 100%;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;letter-spacing: normal;background-color: rgb(255, 255, 255);border-left: 6px solid rgb(3, 124, 230);line-height: 1.6em;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;" class="js_darkmode__94"><span style="margin: 0px;visibility: visible;overflow-wrap: break-word !important;"><span leaf=""><span textstyle="" style="font-size: 20px;color: rgb(0, 82, 255);">关于 Kuikly</span></span></span></h2><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;" class="js_darkmode__95"><span leaf=""><span textstyle="" style="font-size: 16px;">当前 Kuikly 已经开源，有兴趣和有需要的产品，可以通过以下方式访问 Kuikly 仓库和文档，欢迎 Star、Watch 与体验：</span></span></p><ul style="font-size: 15px;font-weight: 400;color: rgba(0,0,0,0.9);line-height: 1.8;margin-bottom: 24px;" class="list-paddingleft-1"><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;"><span leaf=""><span textstyle="" style="font-size: 16px;">👉 </span><a class="normal_text_link" target="_blank" style="" href="https://github.com/Tencent-TDS/KuiklyUI" textvalue="" linktype="text" data-linktype="2"><span textstyle="" style="font-size: 16px;">GitHub 仓库</span></a></span></p></li><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;"><span leaf=""><span textstyle="" style="font-size: 16px;">📚 </span></span><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://kuikly.tds.qq.com/Introduction/arch.html?utm_source=artical25" textvalue="官方文档" data-itemshowtype="0" linktype="text" data-linktype="2">官方文档</a></span></p></li></ul><p style="font-size: 17px;font-weight: 400;color: rgba(0, 0, 0, 0.9);line-height: 1.8;margin-bottom: 8px;" class="js_darkmode__97"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 框架属于腾讯端服务联盟（tds.qq.com）的重要成员，欢迎关注及了解更多信息：</span></span></p><ul style="font-size: 15px;font-weight: 400;color: rgba(0,0,0,0.9);line-height: 1.8;margin-bottom: 24px;" class="list-paddingleft-1"><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;"><span leaf=""><span textstyle="" style="font-size: 16px;">腾讯端服务官网：</span></span><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://tds.qq.com/?utm_source=artical25" textvalue="TDS 腾讯端服务" data-itemshowtype="0" linktype="text" data-linktype="2">TDS 腾讯端服务</a></span></p></li><li style="margin-bottom: 0px;"><p style="margin-bottom: 8px;"><span leaf=""><span textstyle="" style="font-size: 16px;">Kuikly 官网：</span></span><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://framework.tds.qq.com/?utm_source=artical25" textvalue="跨平台框架" data-itemshowtype="0" linktype="text" data-linktype="2">跨平台框架</a></span></p></li></ul><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=02a750b7&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649807957%26idx%3D1%26sn%3Deb65220f0b71a6917ede58086676ba56">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 02 Nov 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>腾讯TGR：以生成式范式重塑推荐系统</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649807946&amp;idx=1&amp;sn=bddba91dc62036b312dfb28c529fb9bf</link>
      <description>从生成式排序、端到端生成到大模型推理增强，迈向Agentic自进化</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-30 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=901ef232&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904Mv3CWcLaLjp7bY0DtghibncpYYWC0tWWXtkKaoN22eCL1UkKas2PPclIhnZONLzNW1qxfWZ08N4HyCtr30cWbPeV7kt3p56l0%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>从生成式排序、端到端生成到大模型推理增强，迈向Agentic自进化</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" type="block" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：李裕东、王云龙、朱俊璋、庞雲升、苏宏阳</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf=""><span textstyle="" style="font-weight: normal">工业级推荐系统长期依赖&#34;召回–粗排–精排–重排&#34;级联架构，却面临三大结构性瓶颈：模型缺乏规模效应，算力与参数增加后效果饱和；逐条打分、逐级截断，难以刻画整屏列表质量；冷启动、长尾和意图模糊场景表现欠佳。为此，我们提出生成式推荐技术栈 TGR，沿生成式排序（GenRank）、端到端生成（GenRec）、推理增强（Reason）三个方向推动级联架构演进：CCFormer 替代传统排序模型，BARGE、HiGR 端到端生成物品与整屏列表，大模型隐式推理注入在线生成模型。TGR 已在新闻、视频、小说等 10 多个场景落地，核心指标显著提升，多篇论文发表于 AAAI、ACL、CIKM 等顶会。</span></span></strong></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">引言</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统推荐系统长期沿用一套级联架构——召回、粗排、精排、重排——每一级由独立优化的深度学习推荐模型（DLRM）驱动。这套架构正同时面临三个结构性挑战。第一，碎片化的 DLRM 架构用分别设计的模块处理高基数、异构的特征，不具备 LLM 式的 scaling law：模型容量与算力增长之后，效果趋于饱和。第二，分阶段优化与逐级候选截断把决策过程切碎，逐 item 的 pointwise 打分忽略了决定整屏列表质量的 item 间依赖与位置效应。第三，协同信号驱动的模型在多模态语义理解、世界知识与推理能力方面能力不足，而这些能力恰是应对冷启动、长尾及用户意图模糊等场景的关键。这三大挑战正在推动整个行业从级联范式转向生成式范式：统一、可扩展的序列建模带来排序模型可预测的 scaling，端到端生成把整屏列表作为一个整体来决策，用大模型先验引入世界知识与推理能力。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">面向 PCG 业务中内容模态、用户群体、候选规模与延迟要求各不相同的异构业务场景，我们构建了 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">TGR（Tencent Generative Recommendation）</span></strong><span leaf="">，主要沿三大方向（GenRank / GenRec / Reason）把推荐系统从传统级联推进到生成式范式。第一，TGR-GenRank 方向把排序阶段升级为生成式范式的排序：CCFormer 模型以统一特征 token 化与可扩展的 Transformer 骨干为基础，引入特征域分离的 cross attention、长序列子空间 token mixing 与层级序列压缩，以约为 HSTU 一半的算力取得更优的排序效果，并沿模型参数量与序列长度持续 scaling。第二，TGR-GenRec 方向以两种互补的生成范式探索对级联决策阶段的端到端替换：在 next-token prediction（NTP）范式下，BARGE 通过引入上下文感知注意力、层级路径重排与正交双路解码，弥合了层级语义 ID 生成中的两个结构性缺口——多 token 物品展平后 item 边界丢失、早期前缀出错引发的语义漂移；在 next-slate prediction（NSP）范式下，HiGR 把推荐从逐 item 解码重构为整屏 slate 生成，协同设计了可控规划所需的前缀结构化语义 ID、把全局 slate 规划与局部 item 生成分离的粗到细解码器，以及兼顾列表顺序、真实兴趣与多样性的 ORPO 列表级偏好对齐。第三，TGR-Reason 方向以“隐式推理、在线注入”增强端到端生成：推理成本经隐空间多步监督在训练期摊销，Think 模型的推理结果离线物化为 reason tokens，再由 Direct Reasoning Injection 作为层级对齐的 prompt 条件化在线解码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">腾讯 TGR 已在真实业务流量上规模化部署，覆盖新闻、视频、网络小说等业务的10多个场景，助力相关业务在观看时长、广告收入与新用户转化等核心指标取得显著提升，TGR 相关创新成果已在AAAI、ACL、CIKM等国际顶级会议发表多篇论文。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">一、传统推荐系统的结构性瓶颈</span></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4935185185185185" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321090" src="https://wechat2rss.xlab.app/img-proxy/?k=d13f13d2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905AtgUjr1KiaGSyuHolCLrJBEJjcznuzsbo29DP3w3G4pef0us2JfwChNMia6wGeCo2H8NUE0FZaGgTPurjrKw8nibVVLStBJO1icg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，业界大多数推荐系统采用多阶段级联架构，而且每一层的模型基本都是典型 DLRM 范式：底层针对sparse、dense和多域异构行为序列单独做特征抽取，中间层做特征交互网络（DeepFM、DCN、DIEN等），最后多任务输出层网络（MMoE、PLE等）。这套架构至今仍是业界主流范式，但有三个结构性瓶颈已经显现，限制了系统进一步提升的空间：1）DLRM 范式不具备 LLM 式的 scaling law——模型容量与算力增长之后，效果趋于饱和；2）级联架构的分阶段决策带来结构性错位；3）协同信号驱动的模型缺乏多模态语义理解、世界知识与推理能力，在冷启动、长尾与意图模糊场景上效果欠佳。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.487962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321091" src="https://wechat2rss.xlab.app/img-proxy/?k=af196ae8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907Sh7jnVbgtHTctptfMfAKWKRBSk14gpIAnyl8vDq9shL5PdPibU1NGLIZDG97qZZjVtKpgDIGYpa4wUN5yEh82v4f93VfYESGg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，基于 Transformer 的大语言模型在NLP、CV等领域取得了很大的成功：效果随算力、数据、参数量可预测地持续提升，并具备多模态理解与复杂推理能力。因此业界正积极探索&#34;生成式范式&#34;：把推荐建模为序列生成，让召回、排序、重排都能享受 LLM 式的 scaling 与推理。但直接把 LLM 的建模方式照搬并不可行，主要面临如下三个结构性问题的挑战。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.1 排序模型的算力效率瓶颈：特征交叉与长序列建模</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4861111111111111" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321094" src="https://wechat2rss.xlab.app/img-proxy/?k=c3b3e2e7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907fnpCV5jmUyGqoSoTdUicd8VXyeG0VyB8sjMbicLf2TbtFJuARCfMRPkh7LIwHDRicQ2eRLyAm1tic4iaeDI1acjZKn1EaqO5uc7cI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，生产环境中的排序模型面对的是异构、高基数、分布实时变化的特征空间：sparse 特征的基数可达百亿规模，dense 特征依赖人工设计的数值统计，用户行为序列来自多个业务域和场景，序列可达万级。这套架构的天花板在于它不具备 LLM 式的 scaling law：embedding 查表加人工设计的交叉结构受内存带宽限制，模型算力利用率低，增加参数和算力之后效果不再持续提升。Meta提出的 HSTU 是生成式范式的第一次可信突破——把特征与行为序列统一 token 化，由单个 Transformer 完成交叉，排序模型首次呈现出随参数量与序列长度可预测提升的 scaling 特性：HSTU 把序列转导模型扩展到万亿参数量级，线上 A/B 取得 +12.4%。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但新的瓶颈随之出现：self-attention 的计算开销随序列长度平方增长，在数十到百毫秒的延迟预算下，长序列只能截断或预压缩，细粒度的跨域交互被牺牲掉，而这是 TGR-GenRank 方向要解决的问题出发点。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.2 级联架构的目标割裂：阶段代理目标与列表级目标的不一致</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.487962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321092" src="https://wechat2rss.xlab.app/img-proxy/?k=37e92b02&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905Bp28EBLicSlkYncwfl1YeCQVoSicZh4GiazKLVFoSSd9CtujHQKHXO2UV4Eibf5oeibhavRS5RxbTXa1F36K41KmBv9FxqlZGf2F0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，级联架构下系统是逐 item 做决策的：召回、粗排、精排、重排每一级都用判别式打分和截断阈值做局部决策，候选从海量逐级截到千级、百级，最后拼成一屏。级联架构主要存在以下瓶颈：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）各级独立优化、独立截断，上游截掉的 item 下游看不到，信息逐级损失、样本偏差累积，算力也被切成碎片；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）各阶段目标彼此不一致，跨阶段的联合优化在级联结构下难以协同，各阶段效果提升的边际收益递减；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）用户体验到的是一屏有序的列表：列表质量取决于 item 之间的兼容性、多样性与位置效应，而各阶段判别式打分刻画不了这些关系，局部最优的拼接不等于全局最优。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">快手提出的 OneRec 是端到端生成范式的第一次工业化落地——把 item 编码为层级语义 ID，用单个 encoder-decoder 模型以 session 为单位直接生成推荐列表，并用基于奖励模型的迭代偏好对齐取代多阶段打分，在工业场景验证了用一个生成模型替换级联判别式阶段的可行性。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但新的瓶颈随之出现：自回归解码整屏意味着 M 个 item × D 层 SID 共 M×D 个 token 的逐 token beam search，在实时约束下太慢；多 token 的 item 展平后 item 边界丢失，前缀一旦出错便引发语义漂移；逐 token 的生成目标也刻画不了列表层面的顺序与多样性，而这些正是 TGR-GenRec 方向要解决的问题出发点。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.3 协同信号的覆盖边界：冷启动、长尾与意图模糊</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4861111111111111" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321093" src="https://wechat2rss.xlab.app/img-proxy/?k=c14ad5f5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9052Vdib548OcuA4UVNoicCawCFBLZoYUU8jueqmnAQ4oViccclrszHXQdEMtZ4sibiaf98dV421xncUcaiaibCFztJF9HuByibdL38iae0c%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，协同信号驱动的推荐模型学到的是行为共现模式：看过 A 的人接着看了 B。这套机制在绝大多数请求上有效，却恰好在最需要推理的三类请求上失效：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）新用户，历史序列为空或极短，没有共现证据可供匹配；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）长尾 item，协同信号稀疏，交互集中在热门 item 上，长尾几乎没有交互边可学；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）意图模糊的请求，历史同时指向多个方向，用户下一步想做什么需要推断而不是匹配。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这三类请求需要的是多模态语义理解、世界知识与意图推断，而基于协同信号的模型却缺乏这方面的能力——模式匹配不等于推理，这就是协同信号的覆盖边界。引入大模型先验是自然的解法，业界已有两条路径：显式推理（OneRec-Think/OneReason）让模型在生成推荐前先显式输出思维链，隐式推理（ReaRec / STREAM-Rec）在隐空间多走几步 rollout 再生成。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但两者都把推理放在了请求路径上：显式推理每个请求多出数百个 CoT token，隐式推理每个请求多出 K 步前向，在数十～百毫秒的延迟预算下放不进去；推理容量与每请求计算绑定，想多推理一步就要为每个请求多付一步延迟，把推理搬到离线也只是转移成本——推理结果随请求产出，每次曝光仍要算一次，而这些正是 TGR-Reason 方向要解决的问题出发点。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.4 TGR 演进路线与技术栈全景</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.787962962962963" data-type="png" data-w="1080" style=";" data-imgfileid="502321158" src="https://wechat2rss.xlab.app/img-proxy/?k=db12a5d9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9074NXdxuPV6r4h8Stic7H7zlQlQtonKmJEO1dVnWmJBlfT91kQrobQG5zTHaBS4NyEIo9ZkBicm56Sic9EicaicpVibXvialxiaa2jnMvc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，生成式范式改造推荐系统主要有两条路径。一条是重塑级联架构：基本还保留级联架构，借鉴生成式范式的建模技术来重塑各层的模型，包括生成式范式下的重排、精排、召回模型等。另一条是替换级联架构：探索用单一生成模型替换召回、排序、重排等学习型决策阶段，直接输出 item 或整屏 slate。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们认为这两条路径并不互斥，短期内两者都会同时存在并继续演进，根据实际场景的数据规模、成本等因素来做路线选择，所以TGR-GenRank 走重塑路线，TGR-GenRec 与 TGR-Reason 探索替换路线。因此，TGR 技术栈由排序层（TGR-GenRank）、生成与推理层（TGR-GenRec、TGR-Reason、TGR-Memory）和基础层（Numerous-Torch、用户建模、多模态理解、SID 模型）组成，如下图所示。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5064814814814815" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321098" src="https://wechat2rss.xlab.app/img-proxy/?k=f728858a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906RgJ22WOH3mIzoz1JNpLfQ1icaNe1uYyMNhGiblbibrRrokIQQRojKniaMLujV3LLIicSQoOhcsxAfYbcUl4POh4QQtlNWm1XIMqLo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如下图所示，TGR 沿&#34;统一语义表示的基础设施 → 重塑 / 替换级联的生产模型 → 推理增强与 Agentic 自进化的前瞻探索&#34;三个层次，把推荐系统逐环节升级或替换，形成五个方向：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）TGR-SID：全场景统一的语义 SID，既是推荐内容理解与统一语义表示的基础设施，也是各方向共享的解码空间，目前已接入多个业务。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）TGR-GenRank 以生成式范式&#34;重塑&#34;排序，我们提出 CCFormer 作为排序模型 backbone，用特征域分离交叉注意力、子空间相对时空编码与层级序列压缩降低序列建模复杂度，已在多个业务场景全量上线；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）TGR-GenRec 以端到端生成&#34;替换&#34;级联中的判别式决策阶段，NTP 路线的 BARGE 修复层级语义 ID 生成的结构性缺口，NSP 路线的 HiGR 把“编码 → 规划 → 生成 → 对齐”做成一体化的列表级生成框架，同样已在多个业务场景全量上线。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）TGR-Reason 以大模型推理“增强”端到端生成：我们提出 LatentRec，用连续隐向量替代文本 CoT，在隐空间把“思考”与“生成”合为一体，推理成本在训练期摊销；推理结果通过离线 / 近线机制物化为 reason tokens，经 DRI 注入在线生成器，实现服务时零推理 rollout，线上 A/B 在新用户指标上显著提升；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">5）TGR-Loop 把演进本身交给多智能体，让 LLM 智能体自主提出、验证并迭代推荐模型，目前处于研究探索阶段。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4888888888888889" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321097" src="https://wechat2rss.xlab.app/img-proxy/?k=9eca02cd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906MPA0IAbhPRo84ZE7VHCVDk4BWQY7N2xmhpbZd0amgic6gToqyfwSZnoLcV9Q5YcygLn0dpiaFA4uialsdibgLiaGicxpH4PlZ66DFc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">接下来，我们分别重点介绍 TGR-GenRank、TGR-GenRec 与 TGR-Reason三个方向，TGR-Loop 在最后的展望中介绍。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">二、TGR-GenRank：排序模型的范式迁移</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-GenRank 方向的目标是在级联结构下替换排序 backbone——用生成式范式&#34;重塑&#34;排序，让排序模型既能随参数量与序列长度可预测地提升效果，又能把算力开销控制在预期范围内。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.1 传统排序模型的局限性与排序范式的业界演进</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4722222222222222" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321095" src="https://wechat2rss.xlab.app/img-proxy/?k=9e49c321&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906XhwiarAuxmtfuMLvW32WSxntOeHCPB2ibooEpyMa5ZiaG8YqSE6CoQymjrp86mAUG8chia8OJfNWYuRgKnJLTRRrR7ID1NocQc80%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，推荐排序模型面对的输入是异构、高基数、分布实时变化的特征空间——sparse 特征基数接近百亿，多域行为序列的类型、时间尺度与长度差异很大、可达万级——训练上还要求在超大规模数据上实时更新。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">DLRM范式的排序模型是典型的三层架构：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）底层是特征抽取层：用户行为序列与候选 item 经 target-aware 的 pairwise attention 得到序列表示，ID 类 sparse 特征经 embedding 查表与池化得到 pooled embeddings，外部 embedding 特征与人工设计的 float 统计特征各走一条支路；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）中间是特征交互层，由 DCN 一类的显式交叉结构把各支路表示组合起来；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）顶层是任务转换层，以 MoE 形式输出多个任务的预估分数。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">DLRM范式的根本局限在于扩展性：随着训练数据量、模型规模或计算量的提升，效果未能持续提升，排序模型缺少可预测的 scaling 路径。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.32592592592592595" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321096" src="https://wechat2rss.xlab.app/img-proxy/?k=7326b1ed&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906vPL67FBEZkXRzOm72IlPia2YicrtyuCq6fFrt9wPxzbbxnricULgneA7lhaFDfumZdeWtuVTTwrYTUgE5iaQdLIh5icmghQ5jPxos%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，业界近两年的排序模型演进可归为两条路线（范式 A 与范式 B）：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）特征交互型模型（Wukong、RankMixer 等）延续 DLRM 的分层思路：序列先由前置模块压缩成少量表示，再与非序列特征一起送入可堆叠、可 scaling 的交互骨干。Wukong 用堆叠的 FM block 做高阶点积交互并配合线性压缩，在排序模型上报告了跨两个数量级算力的 scaling law；RankMixer 用无参数化的 token mixing 替代 self-attention，主要计算落在 per-token FFN 上，算力利用率高。这条路线的共同短板是序列信息在压缩时有损，跨域交叉发生在压缩之后、位置滞后；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）统一 token 化 + 注意力交互的模型（HSTU、ULTRA-HSTU、OneTrans 等）把用户画像、行为序列与候选物品统一编码成一条 token 序列，用 attention 一次完成序列内与跨域交叉，效果随参数量与序列长度可预测提升。代价是原生 self-attention 对序列长度是 O(L²)，万级长序列在工业延迟预算下计算量与显存开销巨大，后续工作都在注意力本身上做减法：ULTRA-HSTU 引入半局部稀疏注意力与注意力截断，OneTrans 用金字塔式缩减 query 数并跨请求缓存 KV——它们以限制注意力范围或减少参与交互的 token 数为代价换取次二次开销。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">总结一下，范式 A 的优势是算力利用率高——交互骨干只处理少量压缩后的表示；但不足是序列先压缩、后交叉，细粒度的序列信息和候选与历史行为之间的精细匹配在进入骨干之前就已丢失。范式 B 的优势是交互充分——用户画像、行为序列与候选统一在一条 token 序列里，self-attention 一次完成序列内与跨域的全部交互，效果随参数量与序列长度可预测提升；但不足是 self-attention 对万级长序列在工业延迟预算下计算量与显存开销巨大，后续的稀疏化、截断、金字塔堆叠都是在为这一个算子减负。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如何既保留范式 B 在完整序列上做充分交互的效果，又获得范式 A 的算力效率，这正是 CCFormer 的设计出发点：把跨域交叉与序列内交互解耦，各用最合适的算子（如上图中的范式 C）——跨域交叉用特征域分离的 cross attention，让非序列特征直接查询完整序列，复杂度随序列长度线性；序列内交互在子空间内用 token mixing 与 per-token FFN 完成，避开二次开销；序列压缩不再前置于交互，而是在骨干内部逐层、层级化地进行，让细粒度信息先参与交叉再被压缩。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.2 CCFormer：跨域交叉注意力、子空间序列交互与层级序列压缩</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.42314814814814816" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321101" src="https://wechat2rss.xlab.app/img-proxy/?k=f72bb2af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907b76Jqt0aVfMqQTEVRhpyX8DIUASPqftMiaqejsCSKRJPhiafmArHMQibKQW02XTziacaP0CibPVvEpUFfUwNJIGmpa6KsgnZsCm5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，CCFormer 把输入特征划分为用户侧（user tokens）、用户历史行为序列（sequence tokens）、候选目标物品（target item tokens）三个异构特征域，并把排序模型的特征提取环节解耦为四个模块：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）特征域分离的 Cross Attention。如下图所示，特征域分离的 Cross Attention 把排序任务拆成三个域之间的关系——用户与历史序列之间的偏好性检索、目标物品与历史序列之间的相关性匹配、目标物品与用户之间的兼容性建模——Cross Attention 适合做异构域之间的相关性建模，且复杂度为 O(L)。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4546296296296296" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321100" src="https://wechat2rss.xlab.app/img-proxy/?k=f682b4f3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906YltmtKvtoFvCn2d2OqKolsLmfTZQ13Q6JaSFnEGF5Hd2n1PFjic88J05zW4HSrPDkbScZr7OxorRiazuheWiaR6jJibdxJ3QsDhk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）子空间相对时空位置编码（Subspace Relative Time and Position Encoding）。如下图所示，长序列子序列的相对时空位置编码把长序列划分成多个相邻 m 个 token 的子序列，在子序列上分别计算相对时间与相对位置的参数矩阵并注入序列 token，复杂度从全局的 O(L²) 降为 O(Lm)。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5268518518518519" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321099" src="https://wechat2rss.xlab.app/img-proxy/?k=a6026ea9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906ldMfPPj7Tkep4kUJhOuZ2mGPeEQ9wa8VdPtPx324chG1hAZdlPKI3kt57qsO2Or3XwtfB6VHdJ5AROmgGOdibWv986btEyzQg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）子空间 Token Mixing（Subspace Interaction）。如下图所示，长序列子空间 Token Mixing 把序列 token 划分成 m×n 维度的子空间，每个子空间的 embedding 展开后经过参数独立的 PFFN 再做维度 revert，完成子空间内的特征交叉。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5074074074074074" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321103" src="https://wechat2rss.xlab.app/img-proxy/?k=6d3d1669&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904U1DuuaCl4DaYRic77Sd3q5QLfia0h5icCkjlibiaKxKPPYiaYbV27mG5LGntgdjnocSskNzichLOzZVsYiaeYzbicVic78jqQqqwC4ELWI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）层级卷积压缩（Convolutional Compression）。如下图所示，分层长序列 Token 卷积压缩用逐层有重叠的一维卷积聚合相邻行为 token，卷积核自适应地学到聚合模式，逐层压缩使每一层序列 token 的感受野逐层变大，模型获得多序列尺度的特征建模能力，层级堆叠下的计算量大幅降低。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.47129629629629627" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321102" src="https://wechat2rss.xlab.app/img-proxy/?k=0003eb2a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905ia3pgSwqu8VuDPFQ08muno5Jib1axgnTGCGe6B97ZLGtMMoaW00bPb4iaH9TXK0TkKu8QiciccDyrjXhIWfwKtBakPwTPK0VIeQ9g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3 实验效果</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3.1 对比实验分析</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">公开数据集上，CCFormer 在 Taobao 与 KuaiRec 上均优于 DIN、DeepFM、SASRec、MIMN、HSTU、OneTrans、STCA；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在 40 亿样本的真实业务数据集上，AUC 77.94%、GAUC 71.36%，相对 HSTU（77.66% / 70.86%）分别提升 0.28 和 0.50 个百分点，相对提升 1.01% 与 2.40%（表 1）。Scaling 实验表明 CCFormer 沿特征维度（128 → 512）和序列长度（0.5K → 2K）都持续提升且始终优于 HSTU；CCFormer 仅用 0.5K 序列就达到了 HSTU 用 2K 序列的 AUC，并超过其 GAUC（见 2.3.3）。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3611111111111111" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321108" src="https://wechat2rss.xlab.app/img-proxy/?k=e2b9ad9d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906GTQtIzEhk3agvYbiaWWyfk6QJoxqgGH8M910O30fmymG8t8kWPOSTCoeEfVCoEoxia2BN8KmUibQK51YqLaWGRnU5gUiaBHEfTjM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">表 1 ｜ CCFormer 在两个公开数据集与真实业务数据集上的效果对比</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3.2 消融实验分析</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">消融实验给出了各模块的贡献（表 2）：完整 CCFormer 在真实业务数据集上 AUC / GAUC 为 77.94 / 71.36，训练加速 2.21×；移除相对时空位置编码后 GAUC 降至 71.13；长序列 token mixing 换成 self-attention 后 GAUC 降至 71.21，训练加速降为 1.41×；移除 token mixing 降至 71.02；移除序列压缩后训练加速降为 1.29×。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.22592592592592592" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321104" src="https://wechat2rss.xlab.app/img-proxy/?k=5219bb46&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906ZFHakYuicP1jR1iaNC0FaKDZWVQGq1aphkBiaUIor7q2gsURoHyurnS0wzGU89O0wPDziasa8BfvyEdia2X5UkbwgiaGoHJdgqQwUk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">表 2 ｜ CCFormer 消融实验：各模块对 AUC / GAUC 与训练加速比的贡献（对比 HSTU）</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3.3 模型scaling效果分析</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4324074074074074" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321106" src="https://wechat2rss.xlab.app/img-proxy/?k=77a872a7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905ytuKmR5Twqkdbk4wGMIvok9PUMAgWLrlltcGzemeJ2iclOooTJAGRZEsD0whMemlaaW1ya2j6tkAQIWnH1XlkpDgwJRicKrZoI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，CCFormer 在模型规模和序列长度两个维度上都表现出可预测的 scaling 特性，并且在每个规模点上都以更低的算力取得更好的效果。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">先看模型规模：特征维度从 128 增加到 256、512，HSTU 与 CCFormer 的 AUC、GAUC 都单调上升，但 CCFormer 的领先幅度随规模扩大而拉大（ΔAUC 从 0.84% 升到 1.22%，ΔGAUC 从 1.02% 扩大到 2.4% 左右），同时每个维度下的 GFLOPs 仅为 HSTU 的三至六成——256 维的 CCFormer（18.28 GFLOPs，AUC 77.94%）已经超过 512 维的 HSTU（63.47 GFLOPs，AUC 77.79%），算力不到后者的三分之一。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">再看序列长度：在真实业务数据集上把用户序列从 0.5k 拉长到 2k，两者的 AUC、GAUC 都随长度近似线性提升，但 CCFormer 的拟合斜率明显更陡，序列每翻倍一次获得的增益更大，0.5k 长度下的效果已与 HSTU 在 2k 长度下大致相当。公开数据集 KuaiRec 上的结论一致：序列长度从 200 增至 1000，CCFormer 在每个长度上都领先 HSTU、STCA 与 OneTrans，200 长度下的 AUC 已接近或超过其他方法在 1000 长度下的水平。这两组结果说明，CCFormer 不只是在固定预算下更优，把算力投入换成效果的效率也更高。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.4 业务应用效果</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">CCFormer 模型已在 5 个真实业务场景上取得显著的效果收益，具体数据如表 3 所示。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3972222222222222" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321107" src="https://wechat2rss.xlab.app/img-proxy/?k=65553b9c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907wLia1xXRQnkQdYjlaj4W3RzVacykpT8nXurmhKuoxZmlxTxvSmrIq9mFW89P5Lz2cVms38QDbTgNyPibuzCF7diaicgnqXxHUPaU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">表 3 ｜ CCFormer 五个业务场景的离线效果与在线 A/B 实验效果</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.5 小结与展望</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-GenRank 方向把传统 DLRM 范式的排序模型迁移到统一 token 化加 Transformer 骨干的生成式范式。CCFormer 把跨域交叉与序列内交互解耦，以特征域分离的 cross attention、子空间序列交互和层级卷积压缩替换了 DLRM 的特征抽取层与特征交互层。在模型效率上，相比 HSTU 等业界方案，CCFormer 以约一半的算力取得更优的离线效果，训练提速 2.21×，并在模型规模与序列长度两个维度上表现出更陡的 scaling 曲线；在模型效果上，CCFormer在5个业务场景的 A/B 实验取得统计显著的效果收益，并已在多个场景推全上线。此外，CCFormer论文《CCFormer: Efficient Cross-Field Interaction and Hierarchical Sequence Compression for Industrial Recommendation at Tencent》已投稿至顶会。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">展望未来，TGR-GenRank 方向将沿三条线继续推进：一是跨场景的 backbone 模型基座，让同一个排序骨干服务多个业务场景；二是终身序列建模，覆盖更长时间跨度的用户行为，并探索更贴合推荐任务的特征交叉结构；三是持续优化模型 scaling 的斜率，通过稀疏注意力、输入序列与模型拓扑等模型—系统协同设计，在固定的延迟与 GPU 预算内换取更多效果。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">三、TGR-GenRec：从 next-item 到 next-slate 端到端生成</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-GenRec 方向的目标是用端到端生成模型“部分替换”或“完全替换”级联中的判别式决策阶段，由一个生成模型直接产出用户要看的 item 乃至整屏列表。本章按两种生成范式展开：NTP（next-token prediction）范式的 BARGE 模型，NSP（next-slate prediction）范式的 HiGR 模型。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.1 从 Next-Token 到 Next-Slate：推荐自回归的结构差异与业界演进</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.1.1 语义 ID 与推荐自回归：与语言自回归的结构差异</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4787037037037037" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321105" src="https://wechat2rss.xlab.app/img-proxy/?k=5b17026e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904eLvVM2LPVdysSI4o9hAw2iaVy4uEmKqWZBJQpVofR9g1bpKxhLNwt3icuVYLD9WRB0B7mZKueguNP08xxobIgIG9VGrew5kgXI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，端到端生成式推荐的一般流程是：item 的内容（文本 / 图像 / 视频）先编码为语义向量，再经 RQ-VAE 残差量化为 D 层 coarse-to-fine 的层级语义 ID（SID），语义相近的 item 共享高层前缀、叶子层区分个体；用户历史展平为 SID 序列输入 encoder–decoder Transformer，由 beam search 逐 token 生成目标 item 的 SID，只在码本树上存在的路径中搜索，生成的 SID 再映射回 item 或作为检索 query。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这条路与 LLM 同构：不再对全库逐一打分，可以复用 Transformer 骨干、scaling 规律与训练 / 推理基建。但语言自回归不等于推荐自回归，上图下方的对照表列出了七个维度的差异，这七个差异决定了 LLM 的自回归不能原样搬到推荐上，也引出了 TGR-GenRec 的设计出发点：BARGE 在 NTP 范式下修复 token 语义与序列结构带来的缺口，HiGR 在 NSP 范式下把生成单元升级为整屏 slate，并在训练目标与解码上做列表级的协同设计。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2 BARGE：面向推荐的自回归生成适配（NTP 范式）</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.1 两个结构性缺口：Item Boundary Gap 与 Semantic Drift</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3824074074074074" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321110" src="https://wechat2rss.xlab.app/img-proxy/?k=80012c73&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907GJHVmv9v12jG9K5R96oe2PPF8JPEmk49G2ibVlKJ590dbYPCgrLty2Gvzs4I7R1lXnUYoYCn2Yq7NcVT48AsriajiasibyIG9MWo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，端到端生成式模型的标准链路是 item → SID → 自回归解码，这个链路中存在两个结构性缺口：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）编码端丢失 item结构化信息（Item Boundary Gap）：Item 的 SID 层级码字展平之后，同一 item 的 SID 缺少显式分组，Encoder 输入端丢失了 item 结构信息。模型看见的是 token，却没有物品归属信息；同一个 code index 在不同前缀路径下语义不同——如下图所示，第二层的码字 3 在 ⟨1,3⟩ 与 ⟨7,3⟩ 下原始 lookup embedding 相同，对应的却是不同的路径语义。这导致模型要同时承担三重编码负担：恢复边界（哪些 token 属于同一 item）、消歧语义（同一码字在不同前缀下如何解释）、建模偏好（用户行为最终仍以 item 为单位）。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.29907407407407405" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321109" src="https://wechat2rss.xlab.app/img-proxy/?k=a33dd097&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907fSYtia9mGkbOkSeWCwicQzTsl53Ihxvt7TJbff2u6rwJjZJeu4ooKAh9OmiaRxl6fKGQzzXQZxK8ABK0ic4VqBRVCFrwfMVqRHTc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）解码端的语义漂移（Semantic Drift）：如下图所示，层级解码一旦在某一层走岔，之后每一层都只能在错误子树里继续搜索，目标 item 被永久排除。对第三层目标预测质量的量化显示，teacher forcing 下目标概率 0.787、排名 7.4、准确率 80.5%；自回归整体只有 0.015、119.5、1.6%，概率掉到约 1/52。按前缀是否正确拆开看，前缀正确时准确率为 77.0%，前缀一旦出错只剩 0.6%，相差 128 倍。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4361111111111111" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321111" src="https://wechat2rss.xlab.app/img-proxy/?k=526d633e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907L0OStNo1ia9QMfvPkFOfamVh2tz7x2a8tEVNIyydA1koArvPKRibiaThZtLRsyuibwhooYHib18NT2AubCRcHct3oZ0Klju0gKibeU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">通过扩大 beam 来解决显然不大可行：更宽的 beam 只能留下更多路径，不能显式判断整条路径的语义是否仍与用户一致；推理时延近似随 beam 宽度线性增长，显存随 B×L 增长；工业场景候选库更大、分布更长尾，局部 token 概率更容易受稀疏反馈影响。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.2 方法设计：OSQ-VAE、ICA、HPR 与 DPD</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.33611111111111114" data-type="png" data-w="1080" style=";" data-imgfileid="502321159" src="https://wechat2rss.xlab.app/img-proxy/?k=840f1de8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Zqkfb5ziarDOKj2hjpIfRqwBpazKtoYJibrgNGMvNcBpBtFl6MvYkZG5Aib5LTwAw7tq4pT11uddxEicGIV68tULd17vtS8ibjesc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如下图所示，BARGE 在既有 NTP 范式上做结构性适配，分别在 SID 建模（OSQ-VAE）、编码器网络结构（ICA Block）、解码器网络结构（HPR Block）、解码策略（DPD）4 个方面提出了改进方案。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）OSQ-VAE：正交旋转后一分为二，为每个 item 产出互补的两套 SID。同时，编码器输入两套 SID，两个解码器并行解码两套 SID。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）ICA Block（Item Context-Aware Attention）：如下图所示，在进入 encoder 前，用可学习的 query 对同一 item 的 L 个 SID token 做 cross-attention pooling 得到聚合表示，经 MLP 投影得到 item context，再以门控残差注回每个 token；实测门控强度处于中等区间，模型选择的是”补充”而非覆盖 SID 信息。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.6731481481481482" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321112" src="https://wechat2rss.xlab.app/img-proxy/?k=d44f8b1a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904ftzvVGiaLl841icMPdcIEhUmCkfDYplzgak1eqOrDnHAstticFgZKH9v8XvOpCSxy1ZEpZTjKaJhcw65RvjK8ufvTibBsDMlEqwY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）HPR Block（Hierarchical Path Reranking）：用全局路径一致性重排局部 token 概率。如下图所示，在解码器内用累计路径与 decoder 初始隐状态 h₀ 打分，逐层重排 beam；训练用 InfoNCE：正样本是 h₀ 与真值 item 的累计前缀路径，负样本包括同批次内的其他路径、NTP 高概率错误前缀，以及已曝光未点击等业务负样本——针对的正是 PROMISE 负样本太”容易”的问题；推理时的分数是生成分数加 λ 倍的路径匹配分数；每层用 Top-N 扩展评分池，下一层仍只保留 Top-B，beam 宽度不变；h₀ 每层只算一次，候选共享同一个上下文塔。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321114" src="https://wechat2rss.xlab.app/img-proxy/?k=2425b4a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904JmBrkB1JrxlYu1dYnL7X5S36RRJoeQJiac8ldoAw4ZDee3ysObJw2T9zDichoewiaLBdK7jqnibdlKKBvwEbkWAiamColoulEU3uU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）DPD（Dual-Path Decoding）：两条通路并行，共享 encoder，decoder 与 HPR 私有，在 item 空间做 soft-OR 融合，任一通路高分即可恢复；两条通路在经验上互补：双通路 Top-10 候选的 Jaccard 仅 0.172–0.183，前 10 名只有约 3 个重合；OR 命中中 15.6%–24.3% 仅由单一通路贡献。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4722222222222222" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321113" src="https://wechat2rss.xlab.app/img-proxy/?k=fd11a184&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907rtQ4J0oDmkjw5DNfvkYnevQf4wryNpKWuXR0EDZT5uz5dqbuibzKFAibpHKSlkQFSFkWMemQibiccEeHiavGKOQ5729U0C7TBLuWo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，对 HPR 的进一步探索给出了一个更一般的结论：仅增加判别式结构容易与 decoder 概率同质化，有效收益来自额外监督（曝光未点击、NTP 高概率错误前缀）与多目标信号；要把 target 侧特征引进来，需要另一条结构——User–Item 双塔在训练时用对比损失把 target 侧特征带进用户向量，推理时只需要用户向量以 soft prompt 注入 decoder 的起始位置，这个改进点在真实业务数据集上把 Hit@1 从 0.3749 提升到 0.4088（+9.0%）。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.3 实验与部署</span></span></h5><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.3.1 对比实验</span></span></h6><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如下图所示，在 Amazon Beauty 与 Sports 两个公开数据集上做全库评估，对比 TIGER、HSTU、COBRA、ActionPiece、APAO-pointwise 五个基线，BARGE 在全部报告指标上最佳：Beauty R@10 0.0927、N@10 0.0547，Sports R@10 0.0544、N@10 0.0308。Beauty R@10 相对最强列内基线提升 16.6%，相对 TIGER 提升 43.1%；Sports R@10 相对最强基线提升 8.8%，N@10 提升 16.7%。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.487962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321115" src="https://wechat2rss.xlab.app/img-proxy/?k=b6abdc80&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904aBDerfGibl3B1PcjF55ntGO96aHiaM1JNLMoy28fd3eH4ricyfNz5zvBIaMqXxLDSuyjWArjUU9nmO42PgESH9JzLDC0YpRw6nA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">表中的 BARGE-base 是一个对照变体：保留 ICA、HPR、DPD 三个结构模块，但把 BARGE 的 4 层学习码本换成与基线相同的 TIGER 3 层码本（外加一个随机的消碰撞 ID），用来把结构模块的收益与码本设计的收益分开。BARGE-base 在与基线同一套 tokenizer 下已经超过全部生成式基线（Beauty R@10 0.0896，Sports 0.0513），说明三个结构模块的收益不依赖特定数据集、可以跨数据集复现；从 BARGE-base 到 BARGE 的进一步提升（Beauty R@10 0.0896 → 0.0927，Sports 0.0513 → 0.0544）则来自码本设计。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.8175925925925925" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321116" src="https://wechat2rss.xlab.app/img-proxy/?k=6699be84&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904eqtEko7pibpibwrUZ5yzqhapcu6USxbqA0xfDSHOG8pf6qlGPxJS1pRW8lQ8qpCBYMZXvI1uqR5iaRcW0VZ3lEicaABCa3S9kols%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，在2个真实业务场景上的离线评估效果：场景 1 有数十万 item，线上召回模型为 GraphSAGE 与 NANN；场景 2 有数千万 item、百亿级交互，线上召回模型为 GraphSAGE 与 BERT-based；OneRec 为内部复现，作为生成式基线。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两个场景的 Hit@5 / @10 / @20 / @50 四项指标上 BARGE 全部最优：场景 1 的 Hit@5 从 OneRec 的 0.5459 提升到 0.6015（+10.2%），场景 2 从 0.0835 提升到 0.0976（+16.9%），而生成式的两条线整体都明显高于线上在用的召回模型。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">值得注意的是：1）领先幅度在 Hit@5 上最大、随 K 增大逐渐收窄，说明结构修复主要把目标 item 推到了列表头部，这与 HPR 逐层重排的作用方式一致；2）候选库更大、分布更长尾的场景 2 增益反而更高，印证了 3.2.1 的判断——工业场景下局部 token 概率更容易受稀疏反馈影响，语义漂移更严重，路径级纠偏的价值也更大。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.3.2 服务部署</span></span></h6><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4537037037037037" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321117" src="https://wechat2rss.xlab.app/img-proxy/?k=c62debf5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905BkY1heyTXLspictrlWmQ1EVW2KBZickLGQ1Q1FYzLMsjZu9LI5s0OIBachmcvCA2V56TE7B1QibYWvEL966DciasSLYPdctX4Ato%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，线上 TGR-GenRec 服务支持两种 SID 到 item 的模式：同一个生成模型经 beam search 输出 50 组 SID 路径，方式 A 直接映射（一条 SID 路径 → 一个 itemID），适合少量精准候选，直接生成 50 个 item 作为一路召回，或直接送精排、替换”召回 + 粗排”链路；方式 B 走 ANN 检索（码本 embedding 求和后做 ANN），适合大 quota 的召回系统——quota=500 时直接 beam=500 性能不可承受，改为生成 50 个 SID 种子、每个种子做 ANN 扩展，去重后约 480、重复率约 4%。按链路 quota 选择：小 quota 用方式 A 精准直出，大 quota 用方式 B 种子扩展进入现有下游级联。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.3.3 业务应用效果</span></span></h6><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">BARGE 的线上 A/B 在小说推荐场景进行，为期两周、6% 线上流量，对照组是现网的多阶段召回系统：CTR +0.60%，点击 UV +1.34%，总阅读时长 +1.70%，三项提升均统计显著。此外，BARGE 模型全量上线后保留的长期反转组进一步显示，CTR 与总阅读时长的提升幅度比两周实验更大、效果更稳定。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321119" src="https://wechat2rss.xlab.app/img-proxy/?k=168e28c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9050ZKkHzwS0GcY5tm5DPTSgFviaQbzYMEJmHNTydr7w9x97acBmEVquI8AH92PsKJH8wfYS99VfNFcFZTGU8Kk7E3TkGkzLj7Y0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，把 BARGE 作为一路召回单独下钻，看两个指标：曝光采纳率衡量该通路召回的候选能否通过下游的粗排、精排与混排最终获得曝光；曝光后 CTR 衡量这些候选曝光后能否被用户点击。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">对比线上3条代表性通路，BARGE 的曝光采纳率为 1.02%，与图召回的 1.03% 同处第一梯队；曝光后 CTR 为 9.93%，4条通路中最高。这说明 BARGE 带来了现有通路没有覆盖的增量，也正是前面 A/B 实验中 CTR、点击 UV 与总阅读时长同时提升的来源。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2.4 小结</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">BARGE 在 NTP 范式下对基于Transformer的生成式推荐模型做了四处结构性适配：OSQ-VAE 经正交旋转一分为二，为每个 item 产出互补的两套 SID；ICA 在进入 encoder 前聚合 item 级上下文，再以门控残差注回每个 SID token，修复展平后丢失的 item 边界；HPR 在解码器内用累计路径与 h₀ 逐层重排 beam，以 InfoNCE 加上 NTP 高概率错误前缀、曝光未点击等难负样本训练，修复沿前缀级联的语义漂移；DPD 以结构互补的第二条解码通路和 item 空间的 soft-OR 融合，找回单通路不可达的 item。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">离线效果上，公开基准 Beauty 与 Sports 的全部指标最佳，Beauty R@10 相对最强基线 +16.6%；两个工业场景的 Hit@5 相对 OneRec 分别 +10.2% 与 +16.9%；在线效果上，线上 A/B 中 CTR +0.60%、点击 UV +1.34%、总阅读时长 +1.70%，作为单路召回的曝光采纳率 1.02% 处于第一梯队、曝光后 CTR 9.93% 为各通路最高，BARGE 目前已在小说推荐场景全量上线。此外，BARGE 的论文《Bridging the Structural Gap: Adapting Autoregressive Generation for Recommendation》已投稿至顶会。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3 HiGR：基于分层规划的列表级生成式推荐框架（NSP 范式）</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.1 从 item 级生成到 slate 级优化的三个断层</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">BARGE 解决了”如何生成一个 item”，尚未解决”如何生成一张好列表”。让模型直接生成推荐列表的挑战更大，推荐列表质量不只取决于每个 item 的相关性，还取决于列表级的排序位置，列表内关系与多样性。如下图所示，把 NTP 范式的 item 级 SID 生成直接扩展到工业级 slate 优化，存在三个断层：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）纠缠的 SID 空间。标准残差量化得到的 SID 前缀既不反映 item 语义也不反映协同关系，前缀相同不一定代表类别相同，前缀不同的物品却可能相似；前缀不一致，就很难在 slate 内控制 item 的相关性与多样性。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）低效的细粒度解码。M 个 item × D 层 SID 需要解码 M×D 个 token，全序列 beam search 在实时约束下推理耗时高，难以满足实时推荐要求；而且把 item 内的语义组合与 item 间的转移纠缠在一起，掩盖了全局 slate 结构。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）目标错位。token 级似然并不优化用户感知的 slate 质量，即排序顺序、真实兴趣、列表内多样性等多个列表级目标。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.2462962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321121" src="https://wechat2rss.xlab.app/img-proxy/?k=266fe11f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905Pc0OerJc6SCswHIPh1KJx6JsKBY3wbDdkzibUgaPKQWic7mfxuGaBMduU4eY8EjIwqCuuOlWTufco12sSzYgNqcgTygyy0Fxicc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">HiGR的设计思路是通过tokenizer、解码器与训练目标协同设计，分别对应以上三个断层：PCRQ-VAE 给出结构化的前缀对齐 SID 空间，HSD 分离 slate 规划与 item 解码，ORPO listwise 对齐面向列表偏好。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.2 方法设计：PCRQ-VAE、HSD 与 ORPO listwise 对齐</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.45" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321122" src="https://wechat2rss.xlab.app/img-proxy/?k=aa616a7c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907YBKSXuQIuZibre4BkkPjtibr5eXbhjZZeqX1YrFGlIj6706CpGzhKUb7Cu92WpMjia2iansH2ibO66sS31tQsAib5UFOb9MUIvQEvY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，HiGR 的总体框架是”编码 → 规划 → 生成 → 对齐”：(a) PCRQ-VAE tokenizer 产出前缀对比的语义 ID；(b) 层次化 slate 解码器由粗粒度规划器和细粒度 item 生成器组成；(c) ORPO 做 listwise 多目标对齐。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.2.1 PCRQ-VAE tokenizer 语义编码</span></span></h6><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在生成式推荐中，物品SID化（tokenization）的作用对模型效果影响很大，SID 质量在很大程度上决定了生成式模型的效果上限。传统的RQ-VAE模型虽然能降低词表大小，但在工业落地中暴露出了“前缀语义纠缠”与“残差坍塌”的两大核心问题，导致生成模型难以精准把控推荐意图，在列表级生成式推荐任务中这个问题尤为突出。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）ID纠缠。在标准RQ-VAE中，量化仅由重构误差来驱动。这导致生成的Codebook缺乏语义拓扑结构——前缀相同不一定代表类别相同，而前缀不同的物品却可能非常相似。对于分层规划器来说，如果ID不具有明确的语义聚类特性，它就无法准确地规划出高层的“意图”。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）残差坍塌。随着量化层数迭代，后续层级的残差向量往往趋近于零，导致深层码本实际上不承载信息，退化为噪声，浪费了编码容量。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.22407407407407406" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321118" src="https://wechat2rss.xlab.app/img-proxy/?k=33f40acf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904u5VONr8Jlulre3av8rqrprntOnGiaicJec0OcUgiaycU9josGTCknV1aLzjSRy25zIW1HhcbE0vbPc7DNNvScMBZUcgTiafKNmsA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，我们引入对比学习对前缀做约束、引入全局量化抵抗残差消失现象，让语义ID的前缀成为可靠的语义锚点。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）前缀对比约束</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们在量化器中的前D-1层引入InfoNCE loss，选择语义相似的item或共现率高的item作为正样本，选择批次内其他随机样本作为负样本。让前缀ID负责“聚类”，将相似物品拉到同一个ID前缀下；让最后一层ID负责“区分”，保持对具体物品的细粒度辨识能力。完美契合我们的“先规划，后生成”的分层策略。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）全局量化损失</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">不同于传统逐层累计的量化损失，我们针对量化器前后的编码向量和量化重构向量构造全局损失，有效抵抗了残差消失现象，迫使深层码本必须承载有效信息，显著提升了ID的表达一致性。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.2.2 层次化 slate 解码器 HSD</span></span></h6><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4787037037037037" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321120" src="https://wechat2rss.xlab.app/img-proxy/?k=84c29b9f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905kR2LPy50Cb9euLIjw6zR9rTh3JsTcJ1UvTbREu8Pdf74aibUCUX3jdmoKbRushRsPtXI9DiabrD2Iz0oFqJZXvH8EdJr9nnOlQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，HSD 把 slate 的生成拆成&#34;规划&#34;和&#34;生成&#34;两层：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）下层是粗粒度的 slate 规划器：一个 L_slate 层的 Transformer 以 BOS 和上下文 embedding 起步，在紧凑的偏好 embedding 空间里逐位置自回归——先输出第 1 位的偏好 î₁，把该位置生成的 item i₁ 回填为输入再输出 î₂，依此类推，每个 slate 位置对应一个 embedding，先把整屏的意图定下来。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）上层是细粒度的 item 生成器：经过共享的 Projector 后，一个 L_item 层、所有位置共享参数的生成器把每个偏好 î_m 落成一条 D 个 token 的短 SID 序列（s¹_m, s²_m, s³_m），再映射回 item；因为参数在位置间共享，模型大小不随 slate 长度增长。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">相比于标准的Transformer结构，HSD 不再像 NTP 平铺那样纠缠在一条 M×D 的长序列上，item 内的语义组合（D 步）和 item 间的转移（M 步）被分到两个模块里。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">推理时规划器贪心解码，beam search 只在每个 item 的短 SID 序列内进行，搜索空间大幅缩小：解码复杂度从 O(B·M³·D³·l_slate·d) 降为 O(M³·l_slate·d + B·M·D³·l_item·d)，beam 宽度 B 只作用在短的 item 级序列上，相比 NTP 平铺式解码再拼成列表，推理可提速数倍。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">同时，多样性在规划阶段就可以控制：对规划器输出的各位置 embedding 施加多样性损失 L_ILD = −1/(M(M−1)) Σ_m Σ_{n≠m}(1 − cos(î_m, î_n))，最小化它等于拉大不同位置偏好之间的余弦距离，让整屏的意图在解码出具体 item 之前就彼此错开，而不是事后靠打散规则补救。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">深度分配上，在固定总深度的条件下规划器 14 层加生成器 2 层是最佳生产配置，相比 12:4 的分配延迟降低 26%，NDCG@5 仅相对下降 0.6%——说明算力应主要投在规划整屏意图上，item 级解码用很浅的网络即可。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.2.3 ORPO listwise 对齐：列表级的多目标偏好对齐</span></span></h6><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4685185185185185" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321126" src="https://wechat2rss.xlab.app/img-proxy/?k=e9ed0584&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906vet6I4kylcClkLw6CMrpydw2icxDRrSiaQHS7amCElVDvmPLr1iavZ5Obn6Dgb1WVj44YxHQrFpBuPZBaZmtJUfP8kmAemWRxaA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，在生成式推荐的工业级落地中，直接照搬 LLM 领域的对齐算法面临显著的效率收益瓶颈：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）DPO（Direct Preference Optimization）</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1.1）机制痛点：DPO的损失包含一项参考模型的预测结果。这意味着训练过程中，必须始终加载冻结参数的参考模型进行同步推理。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1.2）工业阻碍：推荐模型的参数量虽然不如LLM巨大，但是数据量极大。参考模型的存在导致显存占用翻倍，训练吞吐量减半。在小时级更新的推荐业务中，这种训练延时是不可接受的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）GRPO（Group Relative Policy Optimization）</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2.1）机制痛点：DeepSeek 提出的强化学习方法 GRPO，通过对同一prompt采样G组输出，计算组内相对优势，从而省去了critic model。其核心假设是环境能对每一次采样给予即时、准确的反馈。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2.2）工业阻碍：GRPO在数据、代码任务中有效，是因为有明确的答案检查器。但在推荐场景中，离线训练无法实时把生成的G个推荐列表推给用户，在没有高保真用户模拟器的情况下，GRPO很难直接应用于离线推理策略学习。此外，列表序列推理是token-by-token生成的，生成G组完整列表极其耗时，会导致训练时长爆炸。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">ORPO（Odds Ratio Preference Optimization）无需参考模型，把偏好优化折叠进监督学习——监督项保精度、对比项拒绝差的 slate。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">因此，HiGR 选择 ORPO ：L_ORPO = L_SFT + λ·L_Odds，其中 L_SFT 是正样本列表的 token 级负对数似然，L_Odds 把正、负列表在每个位置上的生成赔率 π_θ/(1−π_θ) 取对数后沿序列累加、作差，再经 sigmoid 取负对数。 直观上，SFT 项负责让模型学会生成高质量列表，Odds Ratio 项让优势列表的生成赔率显著高于劣质列表；工程上它无需参考模型、无需在线采样，单模型、单向传播，一次前向同时完成监督与偏好对齐，训练速度与普通 SFT 几乎持平，显存占用大幅降低。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">偏好对的构造采用&#34;三元目标&#34;策略，正样本三目标共用：用户真实观看且高停留时长的序列，按反馈强度重排；负样本按准、好、多样三个目标分别构造：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）排序保真（Ranking Fidelity）：把重排后的正样本随机打乱顺序，让模型学会&#34;把好东西率先推出来&#34;；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）真实兴趣（Genuine Interest）：把正样本中的物品替换为用户曝光未点击或负反馈的物品，让模型学会剔除&#34;标题党&#34;和无效曝光；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）列表多样性（Slate Diversity）：以正样本的第一个物品为锚点、后续全部填充与锚点相似的 top-k 物品，让模型学会惩罚&#34;信息茧房&#34;、主动追求多样性。三类样本对全部从隐式反馈中挖掘，无需人工标注。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.3 推理加速</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">为进一步降低训练和推理成本，我们还从多个角度对HiGR进行了系统性的工程优化，包括采用大语言模型中常用的加速手段，如Flash Attention，KV Cache等。此外，我们在实际落地中发现Beam Search仍是耗时最多的几个环节之一，因此我们也优化了Beam Search的整个流程，以及优化了整体的代码实现，减少不必要的重复计算和优化耗时操作，综合所有的优化手段，将推理速度提高了5倍以上。</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">加速方法</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: center;"><p><span leaf="">训练加速</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: center;"><p><span leaf="">推理加速</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">加速效果</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">Flash Attention</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">强，2-3倍提速</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">KV Cache</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">❌</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">较弱</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">Memory Beam</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">❌</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">强，2-3倍提速</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">其他工程优化</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: center;"><p><span leaf="">✅</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">较强，1倍提速</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）Flash Attention：LLM中常见的加速手段：通过分块计算，极大减少了 GPU 显存（HBM）与片上高速缓存（SRAM）之间的数据读写次数（IO），从而突破显存带宽瓶颈，显著提升长序列推理的计算速度，在HiGR落地中加速效果明显。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）KV Cache：通过缓存历史 Token 的 Key 和 Value 状态，使模型在自回归生成新 Token 时无需重复计算前文所有 Token 的 Key / Value，避免了冗余计算，降低解码阶段的延迟。但由于推荐场景中的序列长度远不及LLM中的序列长度，推理加速效果不如flash attention明显。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）Memory Beam：利用GPU的GEMM并行计算能力，优化beam search的实现流程，避免了当beam width很大时，需要将序列复制beam width份输入到模型中带来的额外巨大计算量，在HiGR落地中加速效果明显。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）其他工程优化：优化具体代码实现中的不合理实现，避免重复计算，优化耗时操作。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.4 实验效果</span></span></h5><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.4.1 对比实验分析</span></span></h6><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321123" src="https://wechat2rss.xlab.app/img-proxy/?k=4844622a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9077zYnExLC9xrJv7Oboia2A4HpatSYKUibma36ewhOswzlVPqFV62JjJiaotQUwhLLo3icjN2cicHuRrTNb41NOWt0CYuVFdU4fP2NA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，在真实业务数据集与开源数据集 KuaiRec 上，HiGR 与 ListCVAE、BERT4Rec、SASRec、TIGER、HSTU、OneRec-25M 对比：同为 25M 参数，HiGR 在工业数据集的 5 个指标上全部超过最强基线 OneRec-25M，Impressions Hit@5 +15.9%、Effective Views Hit@5 +21.3%、NDCG@5 +21.2%；KuaiRec 上 NDCG@5 +5.2%、有效观看 Recall@5 +16.4%。HiGR-25M-w/o RL 已超过 OneRec-25M，ORPO 之后进一步提升；100M 模型的 NDCG@5 达到 0.0831，较 OneRec-25M +41.1%，收益随模型容量继续增长。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.4.2 消融实验分析</span></span></h6><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">接下来，我们介绍下tokenizer、解码器与对齐三个模块的消融实验分析。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3735763097949886" data-type="png" data-w="878" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321124" src="https://wechat2rss.xlab.app/img-proxy/?k=cb9dc04e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907LicvxgjpUicxgia799OhbUgTUFdDLiapRc08H4ZhRnI8YcbS6c1Zrh7pusxqwoyVD6ECqPdPbibcDkxROVbXQkicWmmFtcrzeCK77Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，SID 质量用三个指标衡量：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）碰撞率（Collision）：是不同 item 被映射到同一 SID 的比例，越低越好；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）集中度（Concentration）：是共享同一前缀的 item 的类目纯度；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）一致性（Consistency）：是每个前缀组内 item 两两类目一致的比例，越高越好。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">只对前 D−1 层施加对比约束的 prefix2 是最优配置：碰撞率降到 2.37%，集中度 93%，一致性 66.47%，较 RQ-VAE 提升约 10.7 个百分点——对比学习改善了码本空间的分布，而 D−1 的约束范围既保留了高层的语义层级，又把最后一层留给 item 的唯一身份。把约束延伸到叶子层（prefix3）则有&#34;身份坍缩&#34;的风险：一致性只有边际提升，碰撞率却升高近 4 倍（0.0237 → 0.0873）。因此，前缀级约束是在不损失细粒度 item 区分度的前提下获得语义一致性的关键。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.33796296296296297" data-type="png" data-w="864" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321127" src="https://wechat2rss.xlab.app/img-proxy/?k=93459e35&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904A0V97LA4pMXDGw7caO4joe5r77wCvqdtpw0f0RRPcaP5qO0SnFMUeVSY6zibttiaHKgVS9I974Dxic3sJWCHiayRsehSK2HBLaGI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，HSD 的消融针对三个设计：多样性正则 L_ILD、上下文嵌入（CE）与 item 生成器的参数共享。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）去掉 L_ILD 后，各项准确性指标几乎不变（NDCG@5 0.0753 → 0.0755），但列表内多样性 ILD 从 0.62 降到 0.59，说明这一项正则（最小化规划阶段偏好嵌入两两之间的相似度）确实在不牺牲准确性的前提下提升了列表内多样性；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）去掉上下文嵌入后效果明显下滑，曝光 hit@5 从 0.2994 降到 0.2785，有效观看 hit@5 从 0.2012 降到 0.1837，NDCG@5 从 0.0753 降到 0.0664——上下文编码器产出的表示在规划与生成两个阶段都作为 cross-attention 的 key / value，是 SID 条件解码的依据，拿掉之后生成器失去了条件信息；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）为每个 slate 位置单独配一个 item 生成器（Non-shared）并没有带来明确收益，各项指标与共享版本互有高低（NDCG@5 0.0748 vs 0.0753），因此 HiGR 采用跨位置共享的单个 item 生成器，既节省参数，也天然支持变长 slate 的生成。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.33867276887871856" data-type="png" data-w="874" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321125" src="https://wechat2rss.xlab.app/img-proxy/?k=732232d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904l7r0cUYY3sFmcMAEibPOzCxMuP8kMfA1D8K3RF1qiaawgbL1v48G2icz9JuQZKNdfkAUtncLTPyKZARLbQKJ2mXIHAKnN7KvGKY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，偏好对齐的消融以列表内多样性 ILD 为指标，在工业数据集与 KuaiRec 上对比各模型：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）即使不做偏好对齐，HiGR w/o RL 的 ILD 已经高于 TIGER、HSTU 与 OneRec（工业数据集 0.52 vs 0.38 / 0.42 / 0.48，KuaiRec 0.55 vs 0.40 / 0.43 / 0.50），说明在 slate 层面做层次化解码并施加多样性正则，结构本身就带来了多样性收益；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）在此基础上做偏好对齐能进一步提升多样性，DPO 把 ILD 提高到 0.57 / 0.60，ORPO 则达到两个数据集上的最高值 0.62 / 0.63，优于 DPO——列表级多目标 ORPO 把&#34;多样&#34;作为显式的对齐目标，其效果在这里得到了直接验证。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.27927927927927926" data-type="png" data-w="888" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321129" src="https://wechat2rss.xlab.app/img-proxy/?k=1036d1b4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904oMs9dcQoggSOpXrqDNF3c4jX6fsC1iaIVicicQ3M5cKzSyhDiaicAuDh3B1ZQNDaD4ia118OP5gJ4SpYpKeDGLF4K7zSyWh0NxibX5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，在总层数固定的前提下比较 slate 规划器与 item 生成器的层数分配：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）质量上，层数向规划器倾斜更有效：14+2 与 12+4 的 NDCG@5 最高（0.0631、0.0635），继续把层数挪给生成器后效果持续下降（10+6 为 0.0621，8+8 为 0.0605）——slate 规划是全局的列表级建模，需要足够深度，item 生成只是轻量的 SID 解码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）时延上，生成器每多一层代价都很高：12+4、10+6、8+8 的时延分别升至 1.355×、1.710× 和 2.065×，因为生成器的层数要与 beam 宽度和 SID 长度相乘，规划器的层则只在 slate 层面执行一次。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">综合来看，14+2 是质量与时延的最佳折中：相比 12+4，推理时延降低 26%，NDCG@5 仅下降 0.6%；而 15+1 时延只再降一点（0.932×），NDCG@5 却掉到 0.0623。因此 HiGR 默认采用 l_slate = 14、l_item = 2。</span></p><h6 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(62, 71, 83);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 14px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.4.3 模型 scaling 效果分析</span></span></h6><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321128" src="https://wechat2rss.xlab.app/img-proxy/?k=cd2564d2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905zAKpHOzfYZXibGqtkxYXuM9TrrxUpUzXAM8ZPHgcYsh5NN5Jibd9WvUkzXFQnKZjrYd45qRQ5sicLLGibZHvxOTw4szU9Md5wIh4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，在模型Scaling 效果上，参数量从 0.05B 到 2B，收敛 loss 逐渐降低、NDCG@5 上升，HiGR 具备 scaling law 性质。推理效率上，右图横轴是推理吞吐（每分钟处理的请求数，单位为万），纵轴是 recall@5，每个点对应一种模型与解码方式的组合。相对 OneRec 的 beam 解码，HiGR（无论是否启用 KV cache）都位于右上方——吞吐高出数倍、recall@5 也更高；相对 OneRec 的 greedy 解码，HiGR 在吞吐相近的情况下 recall@5 大幅领先（约 0.071 对 0.046）。综合来看，HiGR 实现了 5 倍左右的推理速度提升，同时推荐指标更高。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.5 业务应用效果</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.33425925925925926" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321130" src="https://wechat2rss.xlab.app/img-proxy/?k=adb9ff9e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904B2Wn75lcAHvaxWxDMyIJDt3GODibXolwwNJMicx8ctyyxZBqymibiaXXJJDkmRapnMVUrOKtrsztlVENMzTLF5bhd3QiaNDxqqCAk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，HiGR 已在腾讯新闻、QQ浏览器小说等多个业务场景推全，已全流量上线的3个场景的收益各有侧重：场景 1 的参与度指标全面提升，人均停留时长 +1.03%、人均观看时长 +1.22%、人均视频播放 +1.73%、人均请求数 +1.57%；场景 2 用户响应与变现同时提升，CTR +0.68%、广告收入 +0.56%；场景 3 的观看时长提升，人均观看时长 +1.14%、人均视频播放 +0.88%。更重要的是，这些收益是在推理成本下降的前提下取得的：得益于层次化解码与 beam search 等推理加速优化，推理耗时与成本大幅降低。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3.6 小结</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">HiGR 的出发点是把 NTP 范式的 item 级 SID 生成直接扩展到 NSP 范式的 slate 生成，而推荐列表生成会遇到纠缠的 SID 空间、低效的细粒度解码与目标错位三个断层，HiGR 用 tokenizer、解码器与训练目标的协同设计逐一回应：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）PCRQ-VAE 只对前 D−1 层码字施加前缀对比约束，高层前缀共享语义、叶子层保留 item 身份；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）HSD 把 slate 规划与 item 解码分离，粗粒度规划器在偏好 embedding 空间逐位置规划整屏意图，共享的细粒度生成器把每个偏好落成短 SID 序列，beam search 只在 item 级短序列内进行；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）ORPO listwise 对齐无需参考模型，从隐式反馈中构造排序保真、真实兴趣、列表多样性三类正负 slate 对，把列表级的多目标偏好折叠进一次监督训练。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">此外，配合 beam 折叠进序列维的 K/V 投影优化、Flash Attention 与 KV cache，HiGR 推理速度提升 5 倍以上，训练速度提升 2 倍以上，成本降低 60%。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">据我们所了解的公开信息，HiGR 是业界首个工业化落地的列表级端到端生成式推荐模型框架，HiGR 论文《</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">HiGR: Industrial-Scale Hierarchical Generative Slate Recommendation Framework in Tencent</span></strong><span leaf="">》已被 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">CIKM 2026</span></strong><span leaf=""> 录用（Oral Presentation）。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.4 GenRec 方向总结与展望</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-GenRec 方向探索用生成式模型替换级联中的判别式决策阶段，沿 NTP 与 NSP 两种生成式范式分别提出了 BARGE 与 HiGR，并均已在线上业务落地。NTP 范式的 BARGE 做推荐自回归适配：ICA 恢复 item 边界、HPR 以路径一致性重排 beam、DPD 提供第二条解码通路，三个模块不改 NTP 骨架，已作为一路生成式召回在小说推荐场景全量上线。NSP 范式的 HiGR 把生成单元从 item 升级为 slate：PCRQ-VAE 结构化 SID 空间，HSD 分离规划与生成，ORPO 做列表级多目标对齐，同规模效果优于 OneRec，推理提速 5 倍以上，已在腾讯新闻、QQ 浏览器等多个场景推全。此外，BARGE 的论文已投稿至WWW 2027，HiGR 论文已被 CIKM 2026 录用（Oral Presentation）。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">展望未来，TGR-GenRec 的下一步沿五个方向继续探索：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）生成与排序合一：共享骨干的&#34;生成 + item 级打分&#34;头，用 item 级分数替代 beam 似然做最终排序，让一个模型逐步承担召回与粗排 / 精排的职责；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）价值对齐与多目标可控：引入在线反馈 RL（时长 / 转化 / 商业价值奖励），用可控解码替代多路配额，加入业务价值感知 token；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）tokenizer 统一升级：合并为一套协同感知 tokenizer，自适应碰撞处理、多维码本、跨场景统一码本；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）推理原生的生成：latent thinking token 逐层引导 SID 解码，Looped Transformer 按请求自适应循环深度，测试时算力弹性伸缩；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">5）scaling 效率的模型—系统协同设计：支持 2B 以上更大的在线推理模型，统一规划器与生成器，引入稀疏注意力与加速器友好的约束解码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这五个方向中，&#34;推理原生的生成&#34;指向一个更根本的问题：如何把大模型的推理能力引入生成式推荐。下一章的 TGR-Reason 正是围绕这个问题展开。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四、TGR-Reason：大模型推理增强与快慢思考协同</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">前两章分别介绍了 TGR-GenRank 与 TGR-GenRec，解决的是排序模型的算力效率与端到端生成两个问题；但无论判别式打分还是生成式解码，模型学到的都是行为共现：协同信号密集处很强，稀疏处表现欠佳。冷启动用户、长尾 item 与意图模糊的会话正是协同信号的边界，也是大模型的世界知识与推理能力能够补位的地方。问题在于推荐系统每天数十～千亿次请求、数十～数百毫秒的延迟预算，大模型思考推理的成本和耗时都难以达到要求。TGR-Reason 方向的核心思路是”快慢思考”的分工：慢思考（大模型推理）在离线或训练期完成，快思考（在线生成式模型）毫秒级响应，两者通过共享的 SID 空间与 reason tokens 接口衔接。本章按两部分展开：训练期把推理摊销进模型参数的 LatentRec，以及把 Think 模型的推理结果物化为 reason tokens、在线零推理注入生成器的 TGR-Reason 系统。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.1 协同信号的边界：冷启动、长尾与意图模糊</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321131" src="https://wechat2rss.xlab.app/img-proxy/?k=d23b4631&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906YSknicRqgLYklSTibqJ6CtVOvUmNEGjgDs9k03rCvFjLo6X4U5H2FApbBA3Ro6VoYjAR0shFn3gppPiae6Cmv7d5dgng8AE1EOw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，判别式与生成式推荐模型两者主要都在拟合行为共现：“看过 A 的人接下来看 B”——协同信号密集处很强，而在以下三类协同信号稀缺的场景效果欠佳：1）新用户 / 冷启动，历史序列为空或极短，没有共现证据可用；2）长尾 item，协同信号稀疏，几乎没有交互边可学；3）意图模糊的会话，历史指向多个方向，需要意图推断。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321132" src="https://wechat2rss.xlab.app/img-proxy/?k=80b6f98e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905jFSP0Yqr7DzVDhsbK69KW39tyjfqCJtdHPOsxld8bJiauLVficIOIBeXLO3iaDPwkcRXyibpGduybEtZ8OGL2TMoc9ib9XmZGPNG8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，业界针对冷启动、长尾与意图模糊的既有解法可以归成两类：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）借旁证，用替身代替缺失的行为。比如，人群先验（POSO，新用户组专属子模块加个性化门控，防止新用户特征被大盘”淹没”）、内容对齐（M3CSR，多模态 embedding 聚成可训练簇 ID，再与行为对齐进协同空间）、跨域迁移（EMCDR / MeLU，跨域映射或元学习”好初始化”，用几条交互快速适配）、探索采集（bandit 与兴趣选择页，主动采集反馈），最终都对齐进协同空间当作行为用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）多备选，判断不了就多路覆盖。比如，多兴趣向量（MIND / ComiRec，多向量分头覆盖多个可能意图）、解耦去偏（Google CDN / IPS，头尾解耦、重加权尾部样本，去流行度偏差）、情境约束与多样性（用时间 / 场景 / 多样性约束缩小候选范围）等。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两类解法的共同结构是一种补充证据加一种归纳偏置，但没有”推断”能力。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321136" src="https://wechat2rss.xlab.app/img-proxy/?k=36b7fc6d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9063wwrbtW5Pnc2cuQyGOxG2Ybob5lnH7KebhU1EHadTokHtCWYia7XVr4ULcpibG31mXqkdicvuuXSRqMdeJ6c8ToDJiaLFX1ticQss%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，总结了业界把大模型接入推荐系统的五类常见方式，外加一层可叠加的推理：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">A）表征增强，LLM 表征或语义码进协同模型当特征（如快手 LEARN、QARM，字节 HLLM，小红书 NoteLLM等）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">B）离线推理产出知识或画像，缓存后作特征或召回通路（如淘宝 RecGPT，Amazon COSMO，美团 CoEA等）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">C）模拟与数据增强，LLM 为冷物品、新用户”造”交互（如Google 数据增强器，阿里 ColdLLM / FilterLLM等）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">D）物品 token 空间，LLM 扩 SID 词表，用行为序列继续预训练加 SFT，自己生成物品（如Google PLUM，Spotify GLIDE等）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">E）自然语言空间，物品与行为写成文字，LLM 微调或零样本打分（如LinkedIn 360Brew，LLM-Ranker等）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">推理叠加层可叠在任意骨干网络上、不限于 LLM，显式 CoT 如 OneRec-Think / OneReason，隐式 latent 多步如 ReaRec、LARES、LASAR、PauseRec等。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">综上所述，协同信号在一定程度上是管”记忆”，而大模型是补”推断”能力，“协同 + 推断”的融合是业界积极探索的演进方向。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.2 快慢思考：推理增强推荐的范式与业界路线</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.2.1 快慢思考：从双过程理论、LLM 到推荐系统</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4703703703703704" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321137" src="https://wechat2rss.xlab.app/img-proxy/?k=2d763597&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906t9QMLdKnC6RUjia1h7YmuV6l8DmcPOGCicJLtASO8Q8HocvRBdJFlu2cA029xwlUKrkUqtQHibDicFUqylVD4cg2dCiboKeLOL264%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，“快慢思考”在三个领域的运作机制：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）认知科学中（Kahneman《思考，快与慢》），System 1 直觉、自动、并行，几乎不耗注意力，快但带系统性偏差；System 2 审慎、串行、耗费注意力，能做逻辑与反事实推理，但昂贵；两者的协作方式是默认 System 1，新奇、冲突、高风险时 System 2 介入纠偏，技能熟练化把慢的推理沉淀为快的直觉。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）LLM 中，直接作答（non-thinking）一次前向逐 token 输出、延迟低，难题上容易”想当然”；思维链 / 长推理（thinking）用更多推理 token 换准确率（test-time scaling）；协作方式是混合模式在同一模型内切换 thinking / non-thinking 并给推理设预算，以及蒸馏，把慢的输出蒸馏回快模型。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）推荐系统中，快是一次前向直接匹配，编码历史后直接生成或匹配候选；慢是多步推理，显式 CoT 或隐空间 rollout；协作的核心问题是慢的一步放在哪里——请求内按需路由、离线 / 近线缓存、还是训练期摊销。沿这个思路，LLM 思考推理增强推荐的设计主要涉及两个关键问题：推理范式与部署方式。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.2.2 推理范式：显式 CoT 与隐式 latent</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.44351851851851853" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321133" src="https://wechat2rss.xlab.app/img-proxy/?k=83216465&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905tc7NjXrVlYyeOWb73uBwNcELibdSGazWsru0hmH9cLM3T2MQbeeI4DjGFFicwHl8P1mkQcBkU806GiaNljn2HyYwUgIwvOlA33M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，推理范式的第一种是显式 CoT——用文字想，可读可解释，但推理开销较大，有两种形态：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）在线 CoT 让每个请求都在请求路径上逐 token 写思维链，数百 token 的生成超出数十～百毫秒的延迟预算。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）Think-Ahead 把思维链离线写好、只缓存结果，在线按前缀约束解码：离线做全量 OneRec-Think 推理，得到推理路径与首批 SID token，按用户缓存；在线读缓存前缀，由轻量 OneRec 做约束解码，请求路径不再写思维链——这是 OneRec-Think 的上线形态。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4583333333333333" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321134" src="https://wechat2rss.xlab.app/img-proxy/?k=1e005c99&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907EPicsN5Qkz3vaMQ5fibVVeOFPjiaQfTISsld5tsFxt2aicIsiaOeCYju4ic16R4Q2Ro0xib2xkMvSWAKEjgIOPmPg6uNjSf0uTEZFbc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第二种是隐式 latent——在潜在空间内思考，开销降到 K 步前向。如上图所示，编码历史得到 h₀ 后做 K 步隐向量 rollout，h₁、h₂ … h_K 每步一次前向、不写 token，再预测或解码 SID。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.2.3 部署方式：请求内快慢路由与离线 / 近线推理</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4101851851851852" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321135" src="https://wechat2rss.xlab.app/img-proxy/?k=fb2a101c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Nic5GJmBmUK2RKDAFqCatb0RJeOicEBlpQpRHwJXAhjicl8xg5gbia5CfednDMuAUzP0pXmcWL8gzVefEzgyK10zMAZCfnHKV1UI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，部署方式的第一种是在线推理——请求内按需深思，慢思考仍在请求路径上。请求经编码后由路由决定这次要不要“慢思考”：大多数请求走快路径，单次前向直接解码；少数请求（新用户、低活用户、不确定时）走慢路径，K 步 latent 或 CoT 之后再解码。业界有四种常见做法决定要不要思考、要思考多深：学习到的 selector / planner 按样本路由；预测与反馈不一致时触发反思；收敛即停，多想一步预测不再变化就停；流量分层，按用户群或场景分流。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321138" src="https://wechat2rss.xlab.app/img-proxy/?k=e4758679&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905jiaNSql4ngxAIRmP5vIOU9PlX1VZ5DUF0tsLP6xSSNeFrfJGQJc8TIhhpTJSkRVNRfbHazyXib6mHTn645NfN7tE0kgibevonjE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第二种是离线 / 近线推理——慢思考不在请求路径上，如上图所示有两种方式：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）训练期摊销：慢思考（CoT 或多步 latent）经蒸馏或逐步监督内化到模型参数里，在进行“慢思考”时模型直接解码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）离线 / 近线物化：慢模型（LLM / Think 模型）逐用户或逐物品推理一次，把推理前缀、指令 / 标签、候选池或 reason tokens 等物化产物写入按用户或物品组织的存储，在线请求只做一次点查与注入，解码时零推理 rollout。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.2.4 全景图：推理范式 × 部署方式与 TGR-Reason 的路线选择</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.47314814814814815" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321139" src="https://wechat2rss.xlab.app/img-proxy/?k=4107ebee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904ZPAYBGjqhzOyicUCVt1Hh9iaz1XKSvSPLWO9shUAiaUYQWSic7VUXcPMs6oz3Y2UfZ0mh7ibkYukwEMxaDfP0klxlIVgKvk301DkI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，以推理范式为纵轴、部署方式为横轴，可以把业界工作放进一张 2×2 的全景图，实线为已上线或线上 A/B 的系统，虚线为论文或离线评估。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-Reason 的解决思路是：LatentRec 在训练期把推理摊销进参数（K=0），TGR-Reason 把 Think 模型的推理结果物化为 reason tokens，注入在线生成式模型。下面分两节展开介绍。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3 LatentRec：隐空间“思考–生成”一体化</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3.1 研究背景：推荐推理的收益与生成成本</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.37962962962962965" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321142" src="https://wechat2rss.xlab.app/img-proxy/?k=3761f3b1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906NPsrYG0QP69BoVXp09AZ7DtJibMMQcOqL8t3SKQbI5JpIAOcqnaxTW1TJiaEW8Cr8ukUlRLibZXYicl1Ylq0GTCpgibW9FKPjozMI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">LatentRec 的出发点是把推理过程转化为推荐训练信号。如上图所示，业界三条线索各有启发：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）文本推理与任务对齐——OneRec-Think 分 item 对齐、推理激活、推荐奖励 RL 三阶段：由用户历史与目标 item 事后构造偏好推理轨迹做 CoT-SFT，先激活推理与推荐的关联，再以此为冷启动用推荐奖励 RL 校准；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）连续隐状态与知识蒸馏——COCONUT 把上一步末层 hidden state 作为下一步输入，以连续向量承载中间计算；CODI 共享 LLM、通过 LKD 对齐师生隐藏表示；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）推荐中的逐步监督——ReaRec 逐步监督各推理步的状态并配合温度逐步降低，使中间状态直接获得推荐训练信号，启发是把这种监督迁移到 LLM 的 SID 预测头。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">由此 LatentRec 聚焦两个问题：一是 latent 推理迁移到 SID 解码时，反馈输入与监督如何设计；二是推理期不做 latent rollout 时，训练收益能否保留。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3.2 方法设计：隐空间“思考–生成”一体化</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.43333333333333335" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321141" src="https://wechat2rss.xlab.app/img-proxy/?k=95121bbc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9078e0wFzo4TfKshesepc5BLwr45JKr4Kzicch55Y24S4QSMS07pich2Mo3PUUV70zB3WicpXibwQT55rLgrANVw4gFfLhdYRUCpN9w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，LatentRec 的总体架构是训练期多步展开、生成期直接解码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">(a) 总体流程：用户行为历史经 LLM Encoder 得到 h₀，连续思考模块 CTM 迭代 K 次（初始 h_k = h₀），SID Decoder 输出完整 SID（s_a、s_b、s_c、s_d）；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">(b) STS（Soft Token Selection）构造每一步的反馈输入；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">(c) PRL（Per-step Reasoning Loss）监督每个中间状态。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">训练时 K_train = 2：用户历史产生 h₀，STS 构造反馈输入，LLM 结合 KV cache 得到 h₁、h₂，PRL 分别监督 h₁、h₂，完整 SID 序列接受自回归 CE。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">生成时 K_eval = 0：用户上下文直接进入训练后的 LLM，自回归预测完整 SID，跳过 CTM 展开，保留训练中更新的共享 LoRA，以及标准的 SID 解码与候选搜索。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">LatentRec 模型可训练参数很小：Qwen3-1.7B 底座，LoRA rank 16，STS 的 64 个 soft token 约 2.5M 参数，新增参数小于骨干的 0.2%，仅更新 LoRA、soft tokens 与 W_q，训练 3 个 epoch、batch size 64。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4388888888888889" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321140" src="https://wechat2rss.xlab.app/img-proxy/?k=c5a866c3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905n5XcwlzIQ2fN0xZzIYNzSId4OEhRHAWlAxx25s8XLxIJlYZ2XmozZtcvtRzdttRRJ64WRnqOJic6RkI5thwEG7icmAWw8Xpf1w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两个机制的细节如上图所示：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）STS 解决的是反馈输入的表示不匹配：hidden state 的范数约 45，词表 embedding 的范数约 3，相差约 14 倍，直接把隐状态反馈回输入会改变下一步输入的尺度与方向。STS 维护 N=64 个可学习向量，由词表 embedding 初始化；当前隐状态经线性投影 W_q 形成 query q_k，对 token bank 做 softmax 加权求和得到 e_k，作为下一步的输入，再经 LLM 前向（带 KV cache）得到 h_{k+1}。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）PRL 共享预测头、直接监督推荐目标：每个中间状态 h_k 经过同一个 LM head 预测目标的第一层 SID y¹，损失是各步 CE 的平均，总损失 L = L_CE + λ·L_PRL，λ = 0.1；温度逐步降低，T_k = T_b + T_s(1 − k/K)，T_b = 1、T_s = 5，K=2 时 T₁ = 3.5、T₂ = 1.0，早期分布较软，最后一步更聚焦目标。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">为什么只监督首层 SID：更深码字需要在每步提供目标 SID 前缀，会把 latent 轨迹与固定解码路径耦合；首层监督可以独立施加，完整序列仍由标准自回归目标学习。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3.3 实验效果：推荐收益、生成效率与消融分析</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.43425925925925923" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321147" src="https://wechat2rss.xlab.app/img-proxy/?k=89838061&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906eJXtAXribWKtTYsRdxicFShhTibeEUmTJQQ9LyPBlwjL2tDaA3w7CZiaVN17mwgHe0QPlbp4kCBn24QHrs2yHsFcPNT835lDAKibc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，主实验在 Amazon Beauty、Toys、Sports 三个数据集上比较 GRU4Rec、SASRec、BERT4Rec、HGN、TIGER、ReaRec、LLM-CoT SFT 与 LatentRec（Qwen3-1.7B，全库排序，beam=50）。K=0 的 LatentRec 在三个数据集的 HR 与 NDCG 四项指标上均优于全部基线，HR@10 相对 CoT SFT 在 Beauty +5.0%、Toys +4.5%、Sports +4.0%。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">推理成本上（Beauty 数据集，单张 H20，batch=1），CoT SFT 每个样本要额外生成 128 个文本 token，单样本耗时 10.80 秒；LatentRec K=0 不做 latent 展开，单样本耗时 0.59 秒，推理耗时降低到原来的约 1/18，HR@10 还从 0.0625 提高到 0.0656；K=1 耗时 0.61 s、HR@10 0.0660，但在三个数据集上没有一致的收益，默认采用 K=0。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.42777777777777776" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321143" src="https://wechat2rss.xlab.app/img-proxy/?k=daf60d89&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904nZDpGBJjBIvA6KhT8cULRBIbCayZtZONiaryXI9DCsrqGKJ5phEHDlicxmKMqhjml2C104OmaTAEOVftPNibksMUEp9hgJaFsPU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">接下来，通过消融实验分析来看收益来自哪里、展开多少步合适，如上图所示：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）PRL 的效果增量：在 CoT SFT 的 0.0625 基础上继续 LoRA 训练到 0.0629，加 CTM 到 0.0633，加 PRL 到 0.0656，最后一步相对提升 +3.63%，是三步中最大的一步。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）训练与生成深度的关系：K_train=2 的 K=0 结果最强，K_train=4 在 K=1 处达到最优，K_train=16 整体偏低；展开更多步未必更好，训练与测试深度需要匹配，跨三个数据集默认 K_eval=0。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）CoT 初始化对照：有 CoT 初始化与无 CoT 初始化在 K=0 时收敛到相同的 0.0656，随着展开加深差异扩大（K=16 时 0.0634 对 0.0583）——CoT 初始化在深层 latent 展开时有助于稳定效果，K=0 的直接生成路径则不依赖这一初始化，训练阶段的监督方式与生成阶段的展开深度需要分别选择。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3.4 解码性能优化</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.43703703703703706" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321146" src="https://wechat2rss.xlab.app/img-proxy/?k=7b228642&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9079xrxzyFERfrCgIUiaEvAx6w0cuDucw9W03HvYItjvH1mUP2hwAZfUT4ia34G5YJcpQZBvpdfROqJozyENXY5ZgaCw0E0bW0tQs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，以小说推荐业务的 Think 模型为案例，任务是由用户上下文生成 top-5 完整 SID。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">用户输入：包括画像 / 场景（年龄段、城市等级、职业、场景等）、偏好（已有一级、二级小说类目偏好）与行为（按序组织的阅读 SID 与内容标签），冷用户保留画像，缺少历史时使用占位描述。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">模型是 Qwen3-1.7B 的 Think 模型，输出 top-5 SID 候选列表，下游 HiGR 共享同一 SID 空间。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">输出格式是 4 层码字 × 256，加起止标记共 1,026 个 special token；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每位用户生成 top-5 完整 SID，按累计 log-prob 排序：K=0 是 latent 展开步数，B=5 是候选路径数，6 轮是单条 SID 的 token 长度。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">训练先学习内容与 SID 的对齐，再学习用户到 SID 的预测，训练与推理共用 prompt 构造逻辑；候选搜索的优化重点是批量前向与前缀 KV 复用。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.42777777777777776" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321144" src="https://wechat2rss.xlab.app/img-proxy/?k=c73f2ddc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907zTEiboYicuoIc394UxuibLZ2EL2BZCuiawP5ZPXKGIvU9aGVmiaSzqvwoYrNxibB8kbrzChO3ibNYM5ywelhQHsM8sUuBic7H94ZASf8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">解码方案通过一次 POC 确定（vLLM 0.9.0，H20，2,000 条抽样），如上图所示，对比了四种解码路径的 Hit@5 与吞吐。我们采用批量单步 Beam的解码方式，它的做法是把 beam search 拆成&#34;搜索&#34;与&#34;计算&#34;两部分：业务层保存每条候选路径的前缀、累计分数和所属用户，每一轮把全部活跃路径集中提交给推理引擎，只请求下一个 token（max_tokens=1）；引擎返回下一个 token 位置的 log-prob 分布；业务层据此在每个用户内部扩展路径、累加分数、保留 top-B，再进入下一轮。分工上，业务层负责候选状态、约束与用户内剪枝，推理引擎负责模型前向、连续批处理与前缀缓存。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.41574074074074074" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321145" src="https://wechat2rss.xlab.app/img-proxy/?k=67e81922&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907XgWc4DOa1Xt1ibJJPFd9W39iacjP35d72ibTMCZLibwveza3oTljG04yfqp8egVTW4MTpsZBuhCMDbq1tffiaS3MNBle8lxMQFQzY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">批量单步 beam 的一轮如上图所示，以 100 位用户、每人保留 5 条路径为例：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）当前有 500 条活跃路径，每条带着用户上下文与路径前缀，整批一起提交给 vLLM；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）vLLM 只计算每条路径下一个 token 位置的输出分布，共 500 个，每个分布取回分数最高的 32 个候选 token；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）业务层把每条路径扩展成 32 条，每位用户得到 5 × 32 = 160 条、全批共 16,000 条扩展路径，累加分数后在用户内部排序，每位用户只保留 top-5；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）保留下来的 500 条路径进入下一轮，其余 15,500 条就此淘汰。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">效率收益来自两处：合批——整批活跃路径统一交给引擎，由引擎做连续批处理；复用——同一用户的 5 条路径共享同一段用户历史（例如 900 token），vLLM 的前缀缓存按相同 token 前缀命中已有的 KV 块，每条路径只需计算未缓存的部分，跨路径、跨轮次都能复用，已生成的共同前缀同样可以复用。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.3.5 小结</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.387037037037037" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321148" src="https://wechat2rss.xlab.app/img-proxy/?k=9dba09d7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904FqmxkwHhSz8mWZhUjIDhm9ibebmfhtRUogicX9tphCa3gnHjziaaoDJd5cxniclibIfiaGwuRMhCDQrMTiaCCEzsFkdLMVqdOqZEYrI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">LatentRec 的出发点是把大模型的推理能力用于 SID 生成，同时不把推理开销带到线上。把推理过程转化为推荐训练信号会遇到三个问题：显式 CoT 要额外生成数百个文本 token，推理成本高；隐状态直接反馈回输入时与词表 embedding 尺度不匹配；中间状态缺少直接的推荐监督。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">LatentRec 针对这三个问题分别给出了对应设计：1）CTM 在隐空间做多步展开，不写文本 token，训练展开 K=2、生成时 K=0 直接解码完整 SID，推理收益保留而开销归零；2）STS 用可学习的 soft token bank 构造每一步的反馈输入，解决尺度不匹配；3）PRL 让每个中间状态经共享 LM head 直接预测首层 SID，使中间状态获得推荐监督。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">效果上，三个数据集的四项指标均优于全部基线，HR@10 相对 CoT SFT 提升 4.0%–5.0%，单样本耗时从 10.80 秒降到 0.59 秒。此外，配合批量单步 beam 与前缀 KV 复用，8×A100 上 418,227 条样本的生成耗时从 174 分钟降到 80 分钟，总体 Hit@5 从 0.2760 提升到 0.2782。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">此外，LatentRec 论文《</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Do Recommenders Need to Think in Words? Latent Reasoning for Efficient LLM-Based Recommendation</span></strong><span leaf="">》已被 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">CIKM 2026</span></strong><span leaf=""> 录用。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4 TGR-Reason 系统：快慢模型 co-design</span></span></h4><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4.1 设计背景：时延、成本与持续学习</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">LLM 推理难以直接用于线上推荐系统主要有三个原因：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）时延：推荐请求的延迟预算是数十毫秒～百毫秒，一次 LLM 推理基本都要秒级，相差 1～2 个数量级，单次推理就占满整条链路的预算。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）成本：请求内推理的总成本随曝光量线性增长，其中大量曝光并不转化，计算被浪费；GPU 还要按峰值配置，低负载时段大量闲置。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）持续学习：推荐样本分布漂移快，新 item 与新用户持续进入，模型需要小时级或天级的持续学习才能跟上；大模型重训成本高，通常周级发布一版，强行让它高频微调，反而会在窄分布上稀释其通用语义与世界知识。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-Reason 的方案是快慢模型的 co-design：慢模型（Think 模型）负责思考，快模型（在线生成器）负责生成。大模型低频重训，承载语义与世界知识；在线生成器持续学习，承接新 item 与新用户；reason tokens 作为两者的接口，离线预计算并存储，把两种学习节奏衔接起来。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4.2 方法设计：快慢思考协同的三层架构</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321152" src="https://wechat2rss.xlab.app/img-proxy/?k=29d3ceb2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906cMj35lUnjKljb9Pj0cgrKxvSbgzFdJkFQbp1osDiaSUMrkzs1TGtmib34hEia017ibzdCHkMu8IGGHFHP1YERB1iaibPsNFz9frRJ4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，三层部署架构是在线只读、近线按需刷新、离线兜底，三层共享一个以用户 ID 为键的 Reason Store：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）Part A 在线服务，毫秒级、只读：按 user_id 点查一条 Reason 记录，校验有效期与版本，然后以token或特征等形式注入 TGR-GenRec、TGR-GenRank 的模型。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）Part B 近线推理，秒级、请求触发：每个请求异步发出触发事件，Reason Trigger Controller（RTC）判据决定算不算，准入的任务交给常驻 GPU 池攒成小批一起算，结果写入 Redis、供用户后续请求使用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）Part C 离线推理，日级、吞吐优先：扫描日志与存储元数据识别待重算用户，弹性大批量池整批重生成，周级重训发布后把不兼容记录标为待重算并渐进重建。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4.3 工业落地</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.22592592592592592" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321151" src="https://wechat2rss.xlab.app/img-proxy/?k=2332379d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9068StCHics1kdbicjYicueWLonvBia1gXaCKVY3hz9DUs7u0rsr91Ggw7bnLNU5M1Fx3VIAR11ej7xTATYgux0XG9PNZnyCnImJwcs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，介绍两种TGR-Reason的应用落地方式：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）离线召回，KV存储中的 topk_sid 经 SID 倒排索引映射到 item，过滤 / 去重、合规与库存之后进入独立配额的召回队列；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）在线生成，KV存储中的 topk_sid / cot_emb 经 GMR / DRI 模块注入 TGR-GenRec 的 Encoder–Decoder 解码，生成的 SID 映射到 item；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">离线召回的实现方式相对简单，这里不再赘述，重点介绍在线生成的实现方案。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3648148148148148" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321149" src="https://wechat2rss.xlab.app/img-proxy/?k=1fa95787&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907WJ8fRWSZxpY1WqMICu8j64yaFhiamdHTvSM8AHVXPpv2gCrSbiameRYvCaRyyGRZCtyP7mcAxDB0K8dGgibJd02VFb4fia4AW67o%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在线生成是把 reason tokens 注入 TGR-GenRec，如上图所示：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）图中右侧是 LatentRec：用户的个人记忆经 LLM Encoder、CTM 与 SID Decoder，产出 top-K 条完整 SID，即 reason tokens。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）图中左侧是 TGR-GenRec：encoder 侧有两路——Personal Encoder 编码个人记忆，Group Encoder 编码检索到的群体记忆；decoder 每层以 self-attention 的输出为 query，分别对两路 encoder 输出做 cross-attention，再经 MLP 门控融合。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）reason tokens 从两个入口进入生成器：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3.1）GMR（Reasoning-Guided Group Memory Retrieval）作用在 encoder 侧——以每条 reason token 为 query，在全量历史序列中检索其后续窗口，得到&#34;推断意图之后用户通常会看什么&#34;的群体记忆，由 Group Encoder 单独编码后与个人记忆门控融合，个人记忆为主、群体记忆按兼容性激活；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3.2）DRI（Direct Reasoning Injection）作用在 decoder 侧——top-K 条 reason token 与 encoder 输出做 cross-attention，结果作为 soft prompt 插在每一层目标码字之前，为逐层解码提供先验；生成的 SID token 数与 beam 搜索空间都不变。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3712962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321150" src="https://wechat2rss.xlab.app/img-proxy/?k=b67417a4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9042pIDrduKsZtSUFQ6184TvLhticsG98MfbyQV1TRVaH0HOyJFwZbpr5LoHxPh06DkKsZiaPAuicicIBAvKeTHJBicbytzQPdxefTGU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">GMR 的四个要点如上图所示：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）用完整 reason token 做检索 query，检索获取 W 个 item；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）每个 query 独立取 top-M 再拼接，每个 reason token 按频次保留 M 个高频后继、不做全局重排，保留每个推断意图各自的后续行为，共 K·M 个 item；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）分离编码、保留来源差异，群体记忆由独立的 Group Encoder 编码；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）向量门控的非对称融合，解码每层两个独立的交叉注意力分别对应 Personal Encoder 输出与 Group Encoder 输出，个人记忆始终是主信号。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.37222222222222223" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321153" src="https://wechat2rss.xlab.app/img-proxy/?k=266a330e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907CBslgSACRMWTmJSFhmbqxE1VkKL2oC9JRCwfoia5ibjmo7TbRK1J9S4wRmMrV4kVfRVyoWF4qm3oEzSvXujB7Pibpot7WAnftp4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">DRI 的四个要点如上图所示：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）按码本层重组、保留全部 K 个候选，一个 reason token 是一个连贯的候选 item，其码字在各层角色不同，DRI 按层查共享的 SID embedding；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）以 Personal Encoder 的输出为 query 选证据，Personal Encoder 的输出作为用户兴趣表达，学的是”哪些候选与个人记忆兼容”，而非照抄 LLM 的 top-1；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）作为连续的层级对齐 prompt 插入解码（叠加位置与类型 embedding），prompt 是增强而非替换用户历史；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）beam search 前算一次、所有 beam 共享，SID 决策数与 beam 搜索空间都不变，reason tokens 全缺失时 prompt 位置被 mask，退化为原路径。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.44074074074074077" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321154" src="https://wechat2rss.xlab.app/img-proxy/?k=5e7a4a41&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906bC6hJwCn8ToLaBjfUSjcMwKlBJPpOG2lYPQHV8hDTZ6ia54uDFcicibeI8QMkJxIr58AOYRiaS6AUvQC3daBkozblfCk9IPEgXKE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Decoder 侧还有一种内部探索的注入方式：先选 top-N，再并行多路解码。如上图所示，不把 K 条意图压成一个先验，而是以 Personal Encoder 的 user emb 为 query 对 K 条 reason SID 做相关性打分，挑出最相关的 N 条（N &lt; K），每条各走一路 TGR-GenRec Decoder 得到一组 SID 候选，各路只带一个意图、互不干扰、可并行执行，最后合并去重进入统一精排。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">另外一种方式是后训练阶段注入——在 TGR-GenRec 的后训练（OneModel 强化学习，以 LLM 模拟反馈作 reward）中注入 reason 结果，离线暂未取得显著收益。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4.4 实验与效果</span></span></h5><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.39351851851851855" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321156" src="https://wechat2rss.xlab.app/img-proxy/?k=fddbec9a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906wNhdibGbhbFPuvONLWhQv2mFDQBn0ot2ZhNicagbwgnERHqZhUrR0y5KibQmubmm0Da75ibLQRm4b7b2KFW47w3f258ibJicZiaXdYs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如上图所示，离线实验以3个测试日等权平均，对照为线上在用的 TGR-GenRec：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）全部推荐流量上，Hit@1 从 0.3385 提升到 0.4339（+28.2%），Hit@5 +10.4%，Hit@10 +6.3%，Hit@20 +4.1%，Hit@50 +2.4%；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）主推荐流量上，Hit@1 从 0.2247 提升到 0.3563（+58.6%），Hit@5 +13.1%；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）主推荐流量中的冷启动用户，Hit@1 从 0.0451 提升到 0.2606（+477.8%），Hit@5 +39.2%，Hit@10 +24.9%，Hit@20 +20.1%，Hit@50 +11.6%。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">有两点实验观察：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">a）增益集中在列表头部（Hit@1 +28.2% 对 Hit@50 +2.4%），Reason 推理的贡献主要是把合理的目标推到前几位；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">b）冷启动用户增益最大，reason tokens 提供了针对新用户缩小目标空间的语义先验。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">此外，线上 A/B 小流量实验上，对照为未引入 Reason 的 TGR-GenRec：有效消费率（Effective Consumption Rate）+1.75%，新用户曝光–转化率（Exposure-to-Conversion）+13.09%，两项均统计显著，新用户的转化提升远大于整体。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.4.5 小结</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-Reason 系统通过快慢模型的 co-design 来解决把大模型推理放进线上推荐的问题，架构上分为在线 / 近线 / 离线三层，其中慢模型的思考token注入 TGR-GenRec，是把推理当&#34;先验&#34;——GMR 把 reason 引导的群体记忆注入 encoder，DRI 把 reason 作为层级对齐的 soft prompt 注入 decoder，不增加 SID 决策数与 beam 空间。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">效果上，离线全部推荐流量 Hit@1 +28.2%、冷启动用户 Hit@1 +477.8%；线上 A/B 有效消费率 +1.75%、新用户曝光–转化率 +13.09%。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4.5 Reason 方向总结与展望</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR-Reason 方向探索把大模型的世界知识与推理能力引入推荐系统，补上协同信号之外的&#34;推断&#34;这一步，并且沿慢思考的两种落地方式分别提出了 LatentRec 与 TGR-Reason 系统，并均已在线上业务落地。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">展望未来，TGR-Reason 的下一步沿四个方向继续探索：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">1）选择性深思：when-to-think、收敛即停与路由策略设计：尝试对高价值 / 冷启动请求在请求时启用 K&gt;0 解码；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2）推理离线化与蒸馏：System 2 → System 1，借鉴 reasoning-augmented LLM 的做法，把 Think 模型的能力蒸馏到更小、更快的变体，缩短刷新周期、扩大覆盖；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">3）latent 推理 SID 原生：把逐步监督扩展到更深的 SID 层与整屏 slate，与 HiGR 的规划器协同，让 reason tokens 直接约束整屏生成，并探索 latent 步在 SID 位置上的自适应分配；</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">4）test-time scaling：建立可预测的算力–效果规律，把推理与排序打通，探索推理增强的&#34;生成 + 排序&#34;一体化方案。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">总结与展望</span></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.48333333333333334" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321157" src="https://wechat2rss.xlab.app/img-proxy/?k=078f52f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904GTib2TbVia0VKRm2VpZqaBlYrd1lHk8QuaJ8WpC1NOm03nT25ZAvicj72ibROkePNkhecliba2mF6NITdbo4DEIEOfibFq1ficWzo1o%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">从 CCFormer 到 BARGE、HiGR，再到 LatentRec 与 TGR-Reason，TGR 走的是一条逐段替换的路。排序模型的范式迁移解决了算力效率，端到端生成解决了决策单元与目标割裂，推理增强补上了协同信号之外的”推断”这一步。TGR 各个方向的技术方案介绍已经整合为 TGR 技术报告《</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">TGR: Advancing Industrial Recommendation from Generative-Paradigm Ranking toward Unified Generation and Reasoning</span></strong><span leaf="">》（arXiv 2609.00986）公开发布。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TGR 已在腾讯新闻、浏览器、元宝等多个业务场景规模化落地，用户消费时长、广告收入等核心指标显著提升，TGR各方向已发表多篇论文并申请多项技术专利，部分成果已被AAAI、ACL、CIKM等国际顶级会议收录，下图为部分代表工作。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.45092592592592595" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502321155" src="https://wechat2rss.xlab.app/img-proxy/?k=7311a564&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906Cd1j2KoBtGHib5wGKqfu93bpnc4Q00yCicmAcGaFuD1CDajL804XRzb2xciaiaTibA9ribvVwMjgYVue82PexgtqVJJwYtQvCtOteE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">未来 TGR 将沿三个层面继续展开探索：1）生成式推荐模型的 scaling 效率；2）推理原生的生成与 test-time 计算；3）推荐系统的 Agentic 自进化。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">特别是推荐系统的自进化方向，如何在 ROI 约束下，让 LLM 多智能体在有限的算力与线上流量预算内自主提出、验证并沉淀模型改进，把离线迭代与小流量求证连成一个可控、可审计的闭环。TGR 已在这一方向展开探索并取得初步效果，敬请期待后续更多 TGR 系列技术分享。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">合作交流</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">以上生成式推荐解决方案已集成到</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">“TRS推荐引擎平台”</span></strong><span leaf="">，如有方案接入或商务合作意向，欢迎随时与我们联系。欢迎访问官网了解更多信息：<a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83); font-weight: bold; border-style: none none solid; border-width: 3px 3px 0px; border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2); border-radius: 0px; margin: 0px; padding: 0px; text-decoration: none; overflow-wrap: break-word; font-family: &#34;Microsoft YaHei&#34;;" href="https://trs.tencent.com/" linktype="text" data-linktype="2"><a href="https://trs.tencent.com" target="_blank">https://trs.tencent.com</a></a></span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">附录</span></span></h3><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">TGR Team. “</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf=""><a class="normal_text_link" target="_blank" style="font-weight: bold; border-style: none none solid; border-width: 3px 3px 0px; border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2); border-radius: 0px; margin: 0px; padding: 0px; text-decoration: none; overflow-wrap: break-word; font-family: &#34;Microsoft YaHei&#34;; color: rgb(62, 71, 83);" href="https://arxiv.org/abs/2609.00986" linktype="text" data-linktype="2">TGR: Advancing industrial recommendation from generative-paradigm ranking toward unified generation and reasoning</a></span></strong><span leaf="">,” arXiv preprint arXiv:2609.00986, 2026.</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Y. Wang, H. Zhang, H. Hu, Y. Li, et al. &#34;</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf=""><a class="normal_text_link" target="_blank" style="font-weight: bold; border-style: none none solid; border-width: 3px 3px 0px; border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2); border-radius: 0px; margin: 0px; padding: 0px; text-decoration: none; overflow-wrap: break-word; font-family: &#34;Microsoft YaHei&#34;; color: rgb(62, 71, 83);" href="https://arxiv.org/abs/2607.28070" linktype="text" data-linktype="2">CCFormer: Efficient Cross-Field Interaction and Hierarchical Sequence Compression for Industrial Recommendation at Tencent</a></span></strong><span leaf="">,&#34; arXiv:2607.28070, 2026.</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Y. Pang, Z. Liu, Y. Li, et al. &#34;</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf=""><a class="normal_text_link" target="_blank" style="font-weight: bold; border-style: none none solid; border-width: 3px 3px 0px; border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2); border-radius: 0px; margin: 0px; padding: 0px; text-decoration: none; overflow-wrap: break-word; font-family: &#34;Microsoft YaHei&#34;; color: rgb(62, 71, 83);" href="https://arxiv.org/abs/2512.24787" linktype="text" data-linktype="2">HiGR: Industrial-Scale Hierarchical Generative Slate Recommendation Framework in Tencent</a></span></strong><span leaf="">,&#34; CIKM / arXiv:2512.24787, 2026.</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">J. Zeng, J. Zhu, J. Chen, Y. Li, et al. &#34;</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf=""><a class="normal_text_link" target="_blank" style="font-weight: bold; border-style: none none solid; border-width: 3px 3px 0px; border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2); border-radius: 0px; margin: 0px; padding: 0px; text-decoration: none; overflow-wrap: break-word; font-family: &#34;Microsoft YaHei&#34;; color: rgb(62, 71, 83);" href="https://arxiv.org/abs/2607.21028" linktype="text" data-linktype="2">Bridging the Structural Gap: Adapting Autoregressive Generation for Recommendation</a></span></strong><span leaf="">,&#34; arXiv:2607.21028, 2026.</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">H. Su, B. Kong, L. Cheng, C. Zhuo, and Z. Li. &#34;</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Do Recommenders Need to Think in Words? Latent Reasoning for Efficient LLM-Based Recommendation</span></strong><span leaf="">,&#34; CIKM, 2026.</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">TRS官网：<a href="https://trs.tencent.com/" target="_blank">https://trs.tencent.com/</a></span></p></li></ol><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="custom_select_card_wrp mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=b5d09ad9&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649807946%26idx%3D1%26sn%3Dbddba91dc62036b312dfb28c529fb9bf">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 30 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>AI Infra进阶：3万字深入理解线性注意力机制</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649807939&amp;idx=1&amp;sn=3f07a83e3ddf3f5bd3b97854077f66b1</link>
      <description>如果你真的想了解大模型的推理，本文绝对值得阅读</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-29 17:27</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=2f50e951&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905x4DFejI4G7YViculHA931nLL9kdpPha8wLtzYGibSE0cjFBoWhlibcicqGzY34VNDTuLibPia81RibjGy8HKs9PmztbCDSQhjicicNZs0%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>如果你真的想了解大模型的推理，本文绝对值得阅读</p>
  <p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="188" data-backw="578" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><h1 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">作者：</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">binnnliu</span></h1><blockquote><p><span leaf=""><span textstyle="" style="color: rgb(0, 82, 255);">导语</span> 本文非科普文～ 如果你真的想了解大模型的推理，本文绝对值得阅读</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最近有点沉迷学习</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">AI Infra了，差不多废寝忘食的程度。强烈的好奇心驱使，每个地方想要做到&#34;知其所以然</span><span leaf="">&#34;。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然而，你知道的，大模型本身为什么能够涌现出推理和思考能力，目前在很大程度上仍是不可解释的。这个东西更多的是实验科学，这是大模型原理层面的&#34;It just works&#34;。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前不久，数学家陶哲轩在加州理工的 <a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf" textvalue="" linktype="text" data-linktype="2">Math 2.0演讲</a>中提出了一个问题：如果 AI 研发出的癌症新药通过了三期临床试验，在把它真正用到患者身上之前，我们是否要求至少有一位人类专家能理解其药理机制？他的本意是警示不可解释的黑盒风险，却引来群嘲：毕竟医学上本来就存在大量先发现疗效、后来才逐渐理解机制的药物。这是 AI 应用层面的 &#34;It just works&#34;。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">好在大语言模型的底层支撑——AI Infra领域，算子实现与优化、显存分配和 GPU 架构调度都建立在严格的数学与物理逻辑之上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">本文要深入探讨的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">线性注意力机制演进</span></strong><span leaf="">同时涉及这两个层面：在模型层面，如何设计遗忘门与残差写入（从 DeltaNet、GDN 到 KDA），属于基于假设的实验科学；而在 AI Infra 层面，为了兼顾模型表达能力与 Chunk-wise 并行的计算吞吐，复杂的非线性 RNN 门控必须被严格推导为仿射变换与下三角矩阵求解。说到底，架构设计就是在代数结构、算法表达力与硬件访存成本之间不断 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">trade-off</span></strong><span leaf="">。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">背景</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">大模型的推理流程分为两个阶段：Prefill 和 Decode。你有没有想过，哪个过程硬件利用率更高？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">答案显然是Prefill。Prefill是计算密集型，Decode是访存密集型，显然Prefill可以充分利用GPU的计算能力，Prefill效率更高。但是为啥呢？Prefill的本质就是批处理，通过把多个 Token 打包成矩阵乘法（GEMM），提升计算强度，分摊访问显存中权重的开销。这句话对么？对，但是不全面，没有提及KVCache，这正是大模型推理与其他推理过程的不同所在。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们知道大模型推理过程中，显存数据主要分为3种：权重（固定大小）、KVCache（线性增长的</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i><span leaf="">(</span><i><span leaf="">N</span></i><span leaf="">)</span></span><span leaf="">）、激活值。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Prefill 的高利用率不仅来自多个 token 对模型权重的复用，也来自同一个请求多个 Q对同一批 K/V tile 的复用。Decode呢？每计算一个token，GPU 必须把模型的权重从显存里捞出来读 1 次；更要命的是，还要把显存里积累的所有 历史 KV Cache 全都捞出来读 1 次，导致计算单元白白浪费在等待访存上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Decode阶段有没有可能做到分摊呢？vLLM引入了Continuous Batching,即从request维度的批处理变成了token维度的批处理，读一次权重可以处理来自不同请求的token；而PagedAttention的引入则是为了：按照token维度处理最好显存的分配也能按照token维度处理，否则的话，每个请求一开始就按照max_length来申请KVCache会产生大量显存碎片，浪费显存。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">除共享前缀外，不同请求的上下文是彼此隔离的，各自拥有独立的 KV Cache。这意味着，Continuous Batching 只能帮Linear/FFN层分摊模型权重的读取，却完全无法帮 Attention 层分摊历史 KV Cache 的读取。推测解码（Speculative Decoding）又在一定程度上解决了单请求Decode阶段KV Cache的访存开销问题，其本质是把Decode转换成微型的Prefill。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以上，如果上下文短没有问题，但是在动辄百万上下文的agent时代，会出现如下问题：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">KVCache显存占用随上下文线性增长； -&gt; 显存空间；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">每次Decode都要把所有的历史KV从显存加载到计算单元一次； -&gt; 显存带宽；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">计算量随上下文线性增长；-&gt; 计算量；</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如今大部分的模型架构创新基本都是为了解决以上问题，目前业界有3种方案：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">稀疏注意力 DSA/SWA；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">压缩注意力机制 Multi-head Latent Attention/Latent Compression Attention；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">线性注意力机制 Linear Attention；</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">目前国内一线开源模型，除了DeepSeek、Tencent Hy,都是Linear Attention + Full/Sparse Attention的Hybrid架构，因此我觉得有必要深入学习下线性注意力机制。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">当然还有一些其他方式，比如KV Cache量化、KV Cache跨层共享（DeepSeekV4.1 flash CED）、IndexCache索引跨层复用（Hy4 Preview）、Hierarchical Sparse Indexer。</span></p></blockquote><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">从线性注意力到 KDA的演进</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">既然自回归的瓶颈在于 KV Cache 的线性增长，那很自然的想法：能不能把所有历史的 K 和 V 合并成一份固定大小的状态，让新来的 Query 不再苦哈哈地去遍历每一个历史 Token，而是直接与这个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i><span leaf="">(1)</span></span><span leaf=""> 的状态进行交互。而这本质上就是RNN范式。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">无论是哪一种线性注意力，其本质都是：把历史上下文，压缩进一个固定大小的状态矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">∈</span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">d</span></i><sub><i><span leaf="">v</span></i></sub><span leaf="">× </span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sup></span><span leaf=""> 中。Decode 时只需用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><span leaf="">=</span><i><span leaf="">Sq</span></i></span><span leaf=""> 读出，从而实现相对序列长度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i><span leaf="">(1)</span></span><span leaf="">（常数为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i><span leaf="">(</span><i><span leaf="">d</span></i><sub><i><span leaf="">v</span></i></sub><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub><span leaf="">)</span></span><span leaf="">）的显存占用、读取和计算量。但容量固定就意味着新知识会不断冲刷旧知识,而线性注意力演进的本质就在于如何更新这个固定容量的状态，为了能够更清楚的理解KDA（Kimi Delta Attention），我们需要把视角拉远，看看状态更新机制是如何一步步演进的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 1" class="rich_pages wxw-img" data-ratio="1.0988888888888888" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324109" src="https://wechat2rss.xlab.app/img-proxy/?k=565d3b0f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904DPYmIicibabloIJeiasDbmicic2Z0QFlqbgN1PLcaADPUzkFibg2cmf7qT1T52oXmJK4ya6yVYfvny0WOASILcdTIAzD1MsRQxMazQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">普通线性注意力</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">(基于<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2006.16236" textvalue="" linktype="text" data-linktype="2">Transformers are RNNs, ICML 2020</a>)</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在标准的 Softmax 注意力中，第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 个 Token 的输出计算如下（省略缩放因子）：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O_i = \frac{\sum_{j=1}^i \exp(q_i^\top k_j) v_j}{\sum_{j=1}^i \exp(q_i^\top k_j)}" class="rich_pages wxw-img" data-ratio="0.3156089193825043" data-type="png" data-w="583" style="display: block;margin: 0px auto;max-width: 100%;width: 195px;height: auto;" data-imgfileid="502324107" src="https://wechat2rss.xlab.app/img-proxy/?k=be69bdc4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9043tkmRdSw3c2IQC9YBU4jwUiby22cfzoia5VyMB6ehkLopgHVShD4v6lBfnuGu2RxFGJMgTKI3icRibQTBseRPHQmwJnoB0ta4WD8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在自回归解码（Decode）时，这里的核心痛点在于：Softmax，即</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">exp(</span><i><span leaf="">q</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span></span><span leaf=""> 是非线性操作，必须先用Q与所有的K算出完整的注意力分数矩阵，才能去乘所有的</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">V</span></i></span><span leaf="">。（PS：这里说的是逻辑上，实际上FlashAttention可以通过online softmax + kernel fusion运算，不必完整物化分数）这意味着必须保留所有历史的 K 和 V，这就导致了 KV Cache 随上下文线性膨胀。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">线性注意力的思路是：是不是可以用一个可独立作用于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i></span><span leaf=""> 的特征映射函数 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ(·)</span></span><span leaf="">（例如 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">elu(</span><i><span leaf="">x</span></i><span leaf="">)+1</span></span><span leaf="">）来替代 Softmax。 公式就变成了连续矩阵乘法：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O_i = \frac{\sum_{j=1}^i (\phi(q_i)^\top \phi(k_j)) v_j}{\sum_{j=1}^i \phi(q_i)^\top \phi(k_j)}" class="rich_pages wxw-img" data-ratio="0.28134556574923547" data-type="png" data-w="654" style="display: block;margin: 0px auto;max-width: 100%;width: 218px;height: auto;" data-imgfileid="502324108" src="https://wechat2rss.xlab.app/img-proxy/?k=016eb709&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904U1wmfHGoHp7JFEVHol8cl4tpia3bAzt9Ejo0PLGx0hrylo0owEia4PicpibVneibTS1rfr7TVDd0ApricNMUczMXhEcyFvBxz3PaiaI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">由于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ(</span><i><span leaf="">q</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">)</span><sup><i><span leaf="">T</span></i></sup><span leaf="">φ(</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span></span><span leaf=""> 是标量，也等于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ(</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span><sup><i><span leaf="">T</span></i></sup><span leaf="">φ(</span><i><span leaf="">q</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">)</span></span><span leaf="">，利用</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">矩阵乘法结合律</span></strong><span leaf="">，可以先累加历史 value 与映射后的 key 的外积，再右乘映射后的 query：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O_i = \frac{\left(\sum_{j=1}^i v_j\phi(k_j)^\top\right)\phi(q_i)}{\phi(q_i)^\top \sum_{j=1}^i \phi(k_j)}" class="rich_pages wxw-img" data-ratio="0.30174927113702626" data-type="png" data-w="686" style="display: block;margin: 0px auto;max-width: 100%;width: 229px;height: auto;" data-imgfileid="502324105" src="https://wechat2rss.xlab.app/img-proxy/?k=78551bbc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904OicvGLPL4SSuv3q3ryCBtYzARtNd4Nh0gegOgiclqDaN89XTvNWBnKbXXS03lm20TbDYEJ9sTkSDTETeGxicF0tsFKyyWaNhKr8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">此时，求和号里面的部分，就是两个独立于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i></span><span leaf=""> 的固定状态。我们定义：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">记忆矩阵：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><span leaf=""> = Σ</span><sub><i><i><span leaf="">j</span></i></i><span leaf="">=1</span></sub><sup><i><i><span leaf="">i</span></i></i></sup><i><span leaf="">v</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">φ(</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span><sup><i><span leaf="">T</span></i></sup></span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">归一化项：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Z</span></i><sub><i><span leaf="">i</span></i></sub><span leaf=""> = Σ</span><sub><i><i><span leaf="">j</span></i></i><span leaf="">=1</span></sub><sup><i><i><span leaf="">i</span></i></i></sup><span leaf=""> φ(</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span></span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以看到，无论序列长度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 增长到多少，状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Z</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 的尺寸始终固定，且每步只需在上一时刻状态的基础上做一次加法更新。最终第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">t</span></i></span><span leaf=""> 步的读取公式为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O_t = \frac{S_t\phi(q_t)}{\phi(q_t)^\top Z_t}" class="rich_pages wxw-img" data-ratio="0.3850267379679144" data-type="png" data-w="374" style="display: block;margin: 0px auto;max-width: 100%;width: 125px;height: auto;" data-imgfileid="502324106" src="https://wechat2rss.xlab.app/img-proxy/?k=2bdf7804&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904WhwYkxkrwLh4oAvAmM2f737FcQDX0caLBk1BgwfE7mNWDYVZI2tsjnmlmNEBbSribJw4NsendWfJDHUAYcs1YymBfMZqUlZL4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">去掉分母引入卷积</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">论文<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2210.10340" textvalue="" linktype="text" data-linktype="2">The Devil in Linear Transformer</a>发现分母 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ(</span><i><span leaf="">q</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span><sup><i><span leaf="">T</span></i></sup><i><span leaf="">Z</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 可能很小，训练时梯度不稳定。直接去掉分母、在输出端做归一化。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">To avoid the unbounded gradients, we introduce NORMATTENTION, which gets rid of scaling over attention matrices while appending an additional normalization only after the attention layer.The choice of the normalization operator is unrestricted, for example, LayerNorm (Ba et al., 2016) or RMSNorm (Zhang and Sennrich, 2019) both serve the purpose.</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分母被精简去掉了，原来要求 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ</span></span><span leaf=""> 恒为正，是为了让带分母的输出是合法的加权平均。去掉分母后，输出变成普通的线性组合 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Σ</span><sub><i><i><span leaf="">j</span></i></i></sub><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub><i><span leaf="">v</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">，负权重只意味着减去对应的 value，不再有这个限制。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 2" class="rich_pages wxw-img" data-ratio="0.8422222222222222" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324114" src="https://wechat2rss.xlab.app/img-proxy/?k=51cae866&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904cuUFMsLeMMO3MxSaqQ4XKD2Oh2zQHGc0GbwZ8GKXdkOaWfkFRB3deNOAfuTb32JNDAROG2Og41IsDM9QH7TbrLI4x0sqtOjo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">线性注意力把历史上下文压缩进固定大小的状态，虽然避免了逐个访问历史 Token，但也可能在压缩过程中丢失细节，尤其需要额外加强对局部相邻 Token 的建模。为此，DeltaNet、GDN、KDA 等架构在投影后的 q/k/v 上加入一维因果短卷积（Causal Conv1d），先融合附近几个 Token 的信息，再进入全局状态的更新与读取。这套“卷积补充局部信息，线性注意力聚合全局历史”的组合，成为了这类架构中的常见设计。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里千万不要被卷积这个名字吓到😓，其实说白了就是对qkv分别逐通道的、固定权重的滑动窗口加权求和。它和滑窗注意力都聚合局部信息，但注意力根据内容动态计算权重，短卷积使用训练得到的固定权重。</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">卷积输出 = SiLU(</span><span leaf=""><br/></span><span leaf="">    前第3个token的qkv * conv_weight[:, 0]</span><span leaf=""><br/></span><span leaf="">  + 前第2个token的qkv * conv_weight[:, 1]</span><span leaf=""><br/></span><span leaf="">  + 前第1个token的qkv * conv_weight[:, 2]</span><span leaf=""><br/></span><span leaf="">  + 当前token的qkv    * conv_weight[:, 3]</span><span leaf=""><br/></span><span leaf="">)</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以普通 Decode 下，每个请求保留最近 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_kernel−1</span></code><span leaf=""> 个卷积前的 qkv；卷积输出不写入 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_state</span></code><span leaf="">。缓存池 shape 为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_cache_slots, 3 × num_heads × head_dim, conv_kernel−1]</span></code><span leaf="">，请求通过缓存索引找到自己的槽位。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">论文<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2212.14052" textvalue="" linktype="text" data-linktype="2">H3</a>、<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2312.00752" textvalue="" linktype="text" data-linktype="2">Mamba</a>引入了卷积：<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2212.14052" textvalue="" linktype="text" data-linktype="2">H3</a> 用 shift SSM 混合最近几个 token，<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2312.00752" textvalue="" linktype="text" data-linktype="2">Mamba</a> 把它定型为 causal conv1d（kernel=4）加 SiLU。Yang 等人 2024 年的 DeltaNet 把这一做法用到 delta rule 线性注意力上，并对 q、k 做 L2 norm（取代 Schlag 等人 2021 年使用的 sum normalization）。这组操作取代了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ</span></span><span leaf="">，之后的 GDN、KDA 都沿用了它。L2 norm 的作用见 DeltaNet 一节。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">去掉了分母，且非线性映射 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">φ</span></span><span leaf=""> 被前置的卷积和 L2 Norm 取代，那么全局记忆状态的更新与读取，就自然简化成了纯粹的累加形式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1} + v_t k_t^\top,\qquad o_t = S_t\, q_t" class="rich_pages wxw-img" data-ratio="0.09736842105263158" data-type="png" data-w="760" style="display: block;margin: 0px auto;max-width: 100%;width: 254px;height: auto;" data-imgfileid="502324110" src="https://wechat2rss.xlab.app/img-proxy/?k=ee82b9b7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904TlngFl75pyKnvVom7ZZZXWNR1uMpic9bib1INTrtSRdwWuBjaOxMkqjEo7OEqib1icSSxzKFrMRT3d5s9ic9BK041NBjd1DoRPJgk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">← </span><i><span leaf="">S</span></i><span leaf="">+</span><i><span leaf="">vk</span></i><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。这意味着，每个新来的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 在完成当前的外积累加后就可以立刻丢弃，无需作为逐 token 的历史记录保留。后续读取依赖状态矩阵，而不需要随上下文增长的完整 KV Cache；前面的短卷积仍单独保留固定长度的、卷积前的 qkv 输入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">新 value 直接叠加在旧预测上。同一个 key 写两次，取出来的是两次 value 之和。没有任何遗忘机制，写错的、过期的信息会被毫无选择地塞进这个固定容量里，导致记忆很快饱和甚至数值爆炸。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">DeltaNet：写门与残差写入</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">(基于 <a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2102.11174" textvalue="" linktype="text" data-linktype="2">Linear Transformers Are Secretly Fast Weight Programmers, ICML 2021</a>与<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2406.06484" textvalue="" linktype="text" data-linktype="2">Parallelizing Linear Transformers with the Delta Rule over Sequence Length, NeurIPS 2024</a>)</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Delta rule 形式的线性注意力由 Schlag 等人（2021）提出，但只能逐 token 串行训练。Yang 等人（2024）用 WY 表示把连乘的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">-β</span><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 压缩成低秩形式，设计出 chunk 并行算法，使 DeltaNet 可以高效训练并扩展到大模型规模，同时确定了短卷积、SiLU 加 L2 norm 的现代架构。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">线性注意力只会累加。DeltaNet 的思路是：写入前先用当前 key 查一下状态里已经存了什么，只把想存的和已经存的之间的差写进去。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 从旧状态读出的值，表示旧的状态中已经存在的关于当前token的信息，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> - </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 就是写入残差。DeltaNet 引入写门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = σ(·) ∈ (0,1)</span></span><span leaf="">（每个 head 一个标量，由 hidden state 计算而来），按比例写入这个误差：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1} + \beta_t\big(v_t - S_{t-1}k_t\big)k_t^\top" class="rich_pages wxw-img" data-ratio="0.10972222222222222" data-type="png" data-w="720" style="display: block;margin: 0px auto;max-width: 100%;width: 240px;height: auto;" data-imgfileid="502324111" src="https://wechat2rss.xlab.app/img-proxy/?k=211471ab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904cpfAlq7T1yqsibNe4g9hicGUdj9hSnJibiax1HzjyIPKudMCHI37bNlyOMWurIxHriawc6y7dkvttBWq31OM3cVvxVhdve5SgrZZk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">整理成右乘形式，更容易看出它对状态做了什么：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1}\big(I - \beta_t k_t k_t^\top\big) + \beta_t\, v_t k_t^\top" class="rich_pages wxw-img" data-ratio="0.10299869621903521" data-type="png" data-w="767" style="display: block;margin: 0px auto;max-width: 100%;width: 256px;height: auto;" data-imgfileid="502324112" src="https://wechat2rss.xlab.app/img-proxy/?k=a8077487&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906JKnuDrNk9W2fRLf85owJkQoXY6ibIV00AOxswicXdMn3icrKDmwy4GdX6Pb7LA8mN3IVmUavlSRjsLsnfbYKceItXB8srITVLwU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的核心在于转移矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf=""> - β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。由于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 做了 L2 norm，这个矩阵保证了旧状态在传递时只能缩小或保持原样，（即旧状态在当前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 方向上按 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(1-β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span><span leaf=""> 的比例平滑收缩，而在其他正交方向上原样保留），从而避免了传统线性注意力中因 Key 范数过大导致的状态爆炸。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">DeltaNet 的局限在于：当前更新保留了与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 正交的方向，但这些方向不一定对应单个特征通道。如果相关方向长期缺少更新，过期关联就可能持续保留，增加记忆干扰；它缺少独立于当前 key 覆写的主动遗忘机制。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">GDN：增加遗忘门</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">(基于 <a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2412.06464" textvalue="" linktype="text" data-linktype="2">Gated Delta Networks, 2024</a>)</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">遗忘门并非 GDN 首创。<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2307.08621" textvalue="" linktype="text" data-linktype="2">RetNet, 2023</a> 用每 head 一个固定衰减，<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2405.21060" textvalue="" linktype="text" data-linktype="2">Mamba2, 2024</a> 用每 head 一个随输入变化的标量，<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2312.06635" textvalue="" linktype="text" data-linktype="2">GLA, 2023</a> 则用每 key 通道一个随输入变化的衰减。GDN 的贡献是把 Mamba2 式的标量门和 delta rule 结合起来，并让 chunk 并行算法仍然成立；后文的 KDA 则是把 GLA 式的通道门和 delta rule 结合起来。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在 Delta Rule 写入之前，先让整张状态矩阵乘以一个标量遗忘门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">∈(0,1)</span></span><span leaf="">（每个 Head 一个标量，广播到所有行、列）：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\bar S_t&amp;=\alpha_t S_{t-1},\\
S_t&amp;=\bar S_t+\beta_t\big(v_t-\bar S_t k_t\big)k_t^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.25745682888540034" data-type="png" data-w="637" style="display: block;margin: 0px auto;max-width: 100%;width: 213px;height: auto;" data-imgfileid="502324113" src="https://wechat2rss.xlab.app/img-proxy/?k=208c4c18&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904WXFsDDfyaRQHIAweiaOnDBItoScvWZiay17RpI1C7p3RVsRiavk3cCBhxDDc6aKnqKKSB4U8ZE9TibpLc2Fx1rHBebYk3H91icCPQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先整张状态矩阵（所有方向上的记忆）都无差别地按 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 发生衰减，然后按照上一节的Delta Rule写入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的问题是：同一个 Head 的所有特征通道只能共享同一个遗忘速度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。这意味着，无论对应的内容是否重要，每一步都会按同比例变小。说白了，遗忘门的表达能力有点弱，那是不是可以把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 换成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf=""> 维向量呢？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">KDA: By Channel的遗忘门</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">(由 Moonshot AI 在 <a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2510.26692" textvalue="" linktype="text" data-linktype="2">Kimi Linear, 2025</a> 中提出，GLM-5.3-Flash 也是用的KDA)</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">KDA 保留了残差覆写，但将遗忘门从标量升维成了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf=""> 维向量。状态矩阵右乘对角阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span><span leaf="">，意味着第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 个通道拥有自己专属的遗忘速度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i><span leaf="">,</span><i><span leaf="">j</span></i></sub></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\bar S_t&amp;=S_{t-1}\operatorname{Diag}(\alpha_t),\\
S_t&amp;=\bar S_t+\beta_t\big(v_t-\bar S_t k_t\big)k_t^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.25745682888540034" data-type="png" data-w="637" style="display: block;margin: 0px auto;max-width: 100%;width: 213px;height: auto;" data-imgfileid="502324115" src="https://wechat2rss.xlab.app/img-proxy/?k=7091a183&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904f1E6wej7LJabz3DibR84UKHH85nCa6bIfDI6t3bibjOTkNSaksHbQh1IDrZTXpUkv3x7mCofSBHibz2H4e0kvY8Ton0iconIdltI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">即遗忘门从GDN </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_heads</span></code><span leaf=""> 扩充到KDA </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_heads × head_dim</span></code><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 3" class="rich_pages wxw-img" data-ratio="0.16" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324116" src="https://wechat2rss.xlab.app/img-proxy/?k=878cd923&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904EL6icialcRn6tFC5uIpYIia2ibEz32vW3YSL2AXA90nobQCpkTwahSFlrM2v68BpmJouhWsLJwyEogd6KGgoZSt7tbZZVLbBqFFk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">聪明的你有没有想到：既然遗忘的维度可以从by Head 标量进化到by Head Channel,那有没有可能再进一步进化到S矩阵每个by Item的维度呢？即遗忘门进化到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 矩阵的每一个元素（即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> ∈ </span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">d</span></i><sub><i><span leaf="">v</span></i></sub><span leaf=""> × </span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sup></span><span leaf="">），做逐元素衰减 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span leaf=""> ⊙ α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，那表达力岂不是拉满了？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">说白了，不是不想上清华，是表达力与并行效率的取舍, 代数结构决定并行上限，硬件成本决定表达力边界。每个元素独立遗忘当然可以定义，但每个 head 每个 token 的门值数量会从 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_dim</span></code><span leaf=""> 增加到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_dim_v × head_dim_k</span></code><span leaf="">，带来更高的门生成和数据读写开销。更重要的是，按key通道遗忘时，所有 value 行共享同一个右乘转移，整个更新仍具有对角矩阵加秩一修正的结构，可以设计高效的分块并行算法。任意逐元素遗忘通常不再保留这种共享结构，不能直接沿用同样的算法优势。这里后续会详细讲到。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">机制</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">① 衰减</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">② 写入</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">遗忘粒度</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">每 token 门的 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">线性注意力</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> + </span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">无</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">无门</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">DeltaNet</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> + β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">(</span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> - </span><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">无</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">β </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads]</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">GLA</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同线性注意力</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每 head 每 key 通道</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">α </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads, head_dim]</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">GDN</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = α</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同 DeltaNet</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每 head 一个</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">β、α 各 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads]</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">KDA</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同 DeltaNet</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每 head 每 key 通道，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 的每一列</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">β </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads]</span></code><span leaf="">；α </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads, head_dim]</span></code></p></td></tr></tbody></table><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">旁注：RWKV 的路线</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">RWKV 不在这四档中间。RWKV-6 已经按通道衰减，但写入仍是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">← </span><i><span leaf="">S</span></i><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(</span><i><span leaf="">w</span></i><span leaf="">)+</span><i><span leaf="">vk</span></i><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，同一个 key 上新旧 value 继续累加；GDN 相反，衰减是每个 head 一个标量，但沿 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i></span><span leaf=""> 做残差覆写。KDA 把这两件事叠在一起：覆写来自 DeltaNet，按通道遗忘来自把 GDN 的标量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span></span><span leaf=""> 拆开。RWKV-7 也用了对角加秩一的转移，但抹除用的 key 可以和写入用的 key 不同，那是旁边的另一条演进线。</span></p></blockquote><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">理解KDA：科学的假设</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上一节把更新式收到了 KDA。下面以 GLM-5.3-Flash 使用的 KDA为例，展开状态如何维护、遗忘和覆写如何发生，以及训练和 Prefill 如何并行。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">KDA中，每个请求的每一层、每一个Head 都会维护一个尺寸固定的矩阵——即全局记忆状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，专门用于存储当前请求的所有 Token 的上下文信息。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在每一层 KDA 进行前向计算时，模型会根据当前Token的Hidden State和对应权重，经过线性投影计算出用于提取信息的查询向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">、作为寻址模式的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">、包含具体内容的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，以及控制记忆更新的遗忘门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">、写门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 和输出门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">γ</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。然后进行如下运算：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t
= S_{t-1}\operatorname{Diag}(\alpha_t)
  +\beta_t v_t k_t^\top
  -\beta_t\,S_{t-1}(\alpha_t\odot k_t)\,k_t^\top." class="rich_pages wxw-img" data-ratio="0.062037037037037036" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 397px;height: auto;" data-imgfileid="502324117" src="https://wechat2rss.xlab.app/img-proxy/?k=d386daa9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906RG1CCIZCaHaMZ7sTW6GQtib0zsob26tEWMha4pNVnYEfAPrYXsWTQKbtudJD0ME32LgEta8BfKglyXTCvV6c9riarheBKzWQOk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">遗忘门(Forget Gate) - </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">决定过去的隐藏状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 中，哪些信息应该被保留，哪些应该被遗忘。</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">写门 - </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当前 Token 提供的新知识，准备写入到状态矩阵中</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">Delta Rule Correction - </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">⊙ </span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要把经过衰减的历史状态中与当前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 模式匹配的那部分旧内容给减掉，防止同一特征的重复写入，从而避免同一特征在长上下文中被重复累加而导致数值爆炸，赋予了状态矩阵精准覆写的能力。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 4" class="rich_pages wxw-img" data-ratio="0.5644444444444444" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324119" src="https://wechat2rss.xlab.app/img-proxy/?k=506fa583&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904wYWZ5X8PLUIa4tY3V7OAZSWMYY8TozCaJ6fPfYwSz0DRksGEka5d6dwmckmmBUXzQsibLdzBmicyMd5kGej39EZePQny1XVB94%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">RNN 范式的局限</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果KDA这条路走得通，上文所述的显存容量、内存带宽以及计算量随上下文线性增长的三个核心问题，也就解决了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但是呢，众所周知RNN是有历史问题的，不然就没transformers什么事了。经典RNN的问题：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">固定大小的状态，怎么记住越来越长的历史？</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所有的历史被压缩到一个固定大小的矩阵中，必然会导致信息的有损压缩与丢失。随着上下文的变长，新 token 的信息会不断覆写、冲刷旧状态。这导致模型在处理长文本&#34;needle in a haystack&#34;任务，或需要精准回忆特定细节时，容易出现遗忘，精准召回能力降低。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">门控和 Delta Rule 更新可以改善信息选择与写入方式，但不会让固定状态拥有无限容量。一种自然的折中是 Hybrid：让线性层承担低成本的历史聚合，让 Full/Sparse Attention 层保留更直接的历史访问通道。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">PS：只要保留需要完整历史 KV 的全注意力层，这些层的 KV Cache 就仍随上下文长度线性增长；稀疏注意力减少的是访存量，KV仍全部保存。当然也有类似Sliding Window Attention、Compressed Sparse Attention、KVCache跨层共享，不过这些不在本文的讨论范围。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">时间维上的递归依赖，导致无法并行计算从而充分利用算力。如何高效训练和 Prefill？</span></strong></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">时序/因果并行</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">经典 RNN</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">经典 RNN 的更新为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="h_t=\tanh(W_xx_t+W_hh_{t-1}+b)" class="rich_pages wxw-img" data-ratio="0.08906882591093117" data-type="png" data-w="741" style="display: block;margin: 0px auto;max-width: 100%;width: 247px;height: auto;" data-imgfileid="502324118" src="https://wechat2rss.xlab.app/img-proxy/?k=d5d5b57a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905ctib3WZoicgmWficCtnZnKepEET9icKkGxn67L96OQFibfCPDib59fkVXIVQGsmibSj1whjJwwo89lU6Q8LhJnIS9JfnP1xxz52z3wg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">即使 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub><span leaf="">,</span><i><span leaf="">x</span></i><sub><span leaf="">2</span></sub><span leaf="">,</span><i><span leaf="">x</span></i><sub><span leaf="">3</span></sub></span><span leaf=""> 都已知，计算仍然是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">h</span></i><sub><span leaf="">0</span></sub><span leaf="">→ </span><i><span leaf="">h</span></i><sub><span leaf="">1</span></sub><span leaf="">→ </span><i><span leaf="">h</span></i><sub><span leaf="">2</span></sub><span leaf="">→ </span><i><span leaf="">h</span></i><sub><span leaf="">3</span></sub></span><span leaf="">：可以提前批量算好所有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i><sub><i><span leaf="">x</span></i></sub><i><span leaf="">x</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，但计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i><sub><i><span leaf="">h</span></i></sub><i><span leaf="">h</span></i><sub><span leaf="">2</span></sub></span><span leaf=""> 必须先拿到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">h</span></i><sub><span leaf="">2</span></sub></span><span leaf="">，不能只凭已知的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">3</span></sub></span><span leaf=""> 直接得到。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 5" class="rich_pages wxw-img" data-ratio="0.5" data-type="png" data-w="800" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324124" src="https://wechat2rss.xlab.app/img-proxy/?k=12d9855b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907DxzOkB7yia4kRCw6WZusaoxoUoKQSYBmZk5coIvDnic790vfXdVCMibiaeoo7WYb07eibHv6icVIMyv7TMeVQYhj4t2wibpNBViczDwk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把两步展开就更明显：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="h_2=\tanh\!\left(W_xx_2+W_h\tanh(W_xx_1+W_hh_0+b)+b\right)" class="rich_pages wxw-img" data-ratio="0.053703703703703705" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 411px;height: auto;" data-imgfileid="502324121" src="https://wechat2rss.xlab.app/img-proxy/?k=852eb8ac&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9078NyD3QL4DX28VgNnKlIibr8q3ePKPVZ5fQRCrDicZ2nGyiafboU5ketJLbnQAuMM4Al9ctrgDOWJJ3mZfztzCXmn9hiaHpwyrSqc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">经典 RNN 将非线性嵌入了递归状态反馈链，使状态变换通常难以高效合并，因而难以沿时间维度并行展开。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\tanh(x)=\frac{e^x-e^{-x}}{e^x+e^{-x}}" class="rich_pages wxw-img" data-ratio="0.27049180327868855" data-type="png" data-w="488" style="display: block;margin: 0px auto;max-width: 100%;width: 163px;height: auto;" data-imgfileid="502324120" src="https://wechat2rss.xlab.app/img-proxy/?k=4743e182&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907JZxDIIodNWibM63BiaCaK7ESyAZJ3Bpzl07VqDbEbXIn0GQnfUJIiadEMRtpliaW6QNThjaj0k41Fx83FIPcPAkaqtAjibrpfe5RM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 6" class="rich_pages wxw-img" data-ratio="0.59" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324123" src="https://wechat2rss.xlab.app/img-proxy/?k=cbe96ec4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905Esic5E1LolwOfuyVaAnTUA2MdYXNLWAicekjuWt27ibkQYpzm2ReSbgStdQ3x9fiaW8qXZ3zawiaFIj9Aj9zQZSa1IEsnA2TJ6Uwo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">transformers attention 并行</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">考虑某一层，全部输入表示 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">X</span></i></span><span leaf=""> 已由上一层算好：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="Q=XW_Q,\qquad K=XW_K,\qquad V=XW_V," class="rich_pages wxw-img" data-ratio="0.06358381502890173" data-type="png" data-w="1038" style="display: block;margin: 0px auto;max-width: 100%;width: 346px;height: auto;" data-imgfileid="502324122" src="https://wechat2rss.xlab.app/img-proxy/?k=bf533a28&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905lviaCADWa6icGgiafmX6eOmiavUMf5rib16UuibInGmAd384g4LsYrjjlUPlvibtJjTrEduFbIPChDNeaq3TbIanKZAxpPendNt8pQs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O=\operatorname{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}+M\right)V." class="rich_pages wxw-img" data-ratio="0.20637119113573407" data-type="png" data-w="722" style="display: block;margin: 0px auto;max-width: 100%;width: 241px;height: auto;" data-imgfileid="502324126" src="https://wechat2rss.xlab.app/img-proxy/?k=b60b5cee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904ibUzqNYH8aDkt1JvTAyGMSJaS73licRt6kia0eMWuSgCyWe0qicQdeoYCnibxeohVA8QK6ibvIRHJtAYsYhic6LmH6pGylQNHdD3fvo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Softmax 按行计算，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 为因果掩码：允许位置为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0</span></span><span leaf="">，未来位置为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-∞</span></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因果注意力的位置 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">t</span></i></span><span leaf=""> 输出为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="o_t=\sum_{j\le t}a_{tj}v_j,\qquad a_{tj}=\frac{\exp(q_t^\top k_j/\sqrt{d_k})}{\sum_{r\le t}\exp(q_t^\top k_r/\sqrt{d_k})}." class="rich_pages wxw-img" data-ratio="0.1537037037037037" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 375px;height: auto;" data-imgfileid="502324129" src="https://wechat2rss.xlab.app/img-proxy/?k=d21c2088&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907hVcCBibBTySmdI26RecicVsHxtqChAEkS4IQ5IKs0uOqZqGVbxGNyod6h5RHSqmwj07VBVFLcdFiaKNqQLsylibcDicjr2YZb07RU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意右侧：有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">,</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">,</span><i><span leaf="">v</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span></strong><span leaf="">。因此，计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><span leaf="">3</span></sub></span><span leaf=""> 不需要知道 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><span leaf="">1</span></sub><span leaf="">,</span><i><span leaf="">o</span></i><sub><span leaf="">2</span></sub></span><span leaf="">，各行可以同时开始。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里同样存在非线性 softmax，却没有阻碍各行并行，因为它没有建立本层前一位置输出 → 本层后一位置输出的反馈链。标准 Transformer 的 FFN、归一化和残差也不引入这种沿位置的递归。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就是与经典 RNN 的关键差别：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">RNN：</span></strong><p><span leaf="">后一个位置读取本层前一个位置刚算出来的递归状态。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Attention：</span></strong><p><span leaf="">各个位置读取由当前层输入产生、已经准备好的投影。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，各个 Query 对应的注意力计算可以并行调度。Softmax 同样是非线性的，但它没有建立“本层前一个位置的输出到后一个位置输出”的递归链。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">因果掩码限制的是允许读取哪些信息，不是必须按照什么位置顺序执行。</span></strong><span leaf="">实际 kernel 可以分块，不必显式保存完整 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">T</span></i><span leaf="">× </span><i><span leaf="">T</span></i></span><span leaf=""> 矩阵；它仍保留了这种位置间的并行机会。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Linear Attention Chunk-Wise</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">回到 KDA，令状态矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">∈</span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">d</span></i><sub><i><span leaf="">v</span></i></sub><span leaf="">× </span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sup></span><span leaf="">，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">∈</span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sup></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">∈</span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">d</span></i><sub><i><span leaf="">v</span></i></sub></sup></span><span leaf=""> 为列向量，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 为标量。我们将前面的 KDA 状态更新原公式拿过来：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1}\operatorname{Diag}(\alpha_t) + \beta_t v_t k_t^\top - \beta_t\,S_{t-1}(\alpha_t\odot k_t)\,k_t^\top" class="rich_pages wxw-img" data-ratio="0.06296296296296296" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 392px;height: auto;" data-imgfileid="502324128" src="https://wechat2rss.xlab.app/img-proxy/?k=69639f83&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Oj4ubRUKBHnkrjCEWgiaaEiaHFOG4jYNNdQ1umG6xPXWWm5qyXsxcLx2q096McVIc26WRMEiaNShsrzFFCYpaJvhpEKlrGvLiao8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在矩阵运算中，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">⊙ </span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 等价于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。我们将带有旧状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 的项合并，提取公因式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1} \underbrace{\Big(\operatorname{Diag}(\alpha_t) - \beta_t(\alpha_t\odot k_t)\,k_t^\top\Big)}_{T_t} + \underbrace{\beta_t v_t k_t^\top}_{H_t}" class="rich_pages wxw-img" data-ratio="0.1675925925925926" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 377px;height: auto;" data-imgfileid="502324127" src="https://wechat2rss.xlab.app/img-proxy/?k=0c147df3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906x8Ciaic4f65llsvGZM3bXYsREWT8m9sziacNryd5O1McZoWF4IXq6Ja3S7wESHV1iaPzw0AfOOYoB1iapYRibELXZlBA1odTUhgxps%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这样一合并，我们得到了一个关键的表达式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1}T_t + H_t" class="rich_pages wxw-img" data-ratio="0.1493975903614458" data-type="png" data-w="415" style="display: block;margin: 0px auto;max-width: 100%;width: 139px;height: auto;" data-imgfileid="502324125" src="https://wechat2rss.xlab.app/img-proxy/?k=775c92e4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906bQaemkoSlKqaOA8iaBq7L45vgicv1HnFTxcR7eA4icicnEKLcaETNBFpLIJYqYRZiamW9RaEQP3GhibQ2LM4Z1kyRb72noNABMUB4Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">T</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是记忆状态的衰减与修正变换矩阵，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">H</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是当前 Token 带来的原始增量矩阵（未扣除残差的纯新增量）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这步转化非常关键：虽然 KDA 包含了复杂的非线性门控、遗忘和纠错，但只要我们在当前步把由 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">, </span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">, α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">, β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 构成的系数固定下来，新状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 相对于旧状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 的更新关系，就是一个仿射变换。更重要的是，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">T</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">H</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 可以由当前层已知输入准备好，不需要等待前置的递归状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 算完。即：准备工作并行做，状态按块顺序传。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">数学中严格来说，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">y</span></i><span leaf=""> = </span><i><span leaf="">Ax</span></i></span><span leaf=""> 叫线性变换，而 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">y</span></i><span leaf=""> = </span><i><span leaf="">Ax</span></i><span leaf=""> + </span><i><span leaf="">b</span></i></span><span leaf="">叫仿射变换。因为我们的公式是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> = </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">T</span></i><sub><i><span leaf="">t</span></i></sub><span leaf=""> + </span><i><span leaf="">H</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">（多加了一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">H</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">），所以叫它仿射变换。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">已知一个 chunk 包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 个 token，其块末状态可以写成：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_{\mathrm{out}} = S_{\mathrm{in}}\mathrm{Transition}_{\mathrm{chunk}} + \Delta_{\mathrm{chunk}}" class="rich_pages wxw-img" data-ratio="0.0736196319018405" data-type="png" data-w="815" style="display: block;margin: 0px auto;max-width: 100%;width: 272px;height: auto;" data-imgfileid="502324133" src="https://wechat2rss.xlab.app/img-proxy/?k=e6585017&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906dUzAiaY1k5ib3NS9FS2BV8yHnUHtw6Oho6iaVP6fY7NiauBKPGBVGjuI1nHKibuakNy8icpaeqNjlibZMFoalCq5rUH9SG7EjOSKkxw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> 表示整个块的状态转移，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> 表示不含传入状态影响的块内增量；单 token 的原始写入仍记为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">H</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。由此，我们可以并行计算每个chunk的</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">和</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> ，最后按顺序计算各个块的合并结果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">下面讨论的 Chunkwise 实现统一取 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">=64</span></span><span leaf="">，按三阶段执行：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">阶段</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">主要工作</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">chunk 之间的依赖</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1. 块内预计算</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">准备衰减系数，将块内残差依赖整理成下三角系统，计算与传入状态无关的辅助矩阵 （块内并行的逻辑后续解释）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不同 chunk 可并行</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2. 块间状态传递</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">用本块的传入状态修正残差，更新块末状态，并保存输出阶段需要的数据</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同一请求内按 chunk 顺序递推</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3. 块内输出</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">用已经准备好的块首状态和实际残差，计算各 token 的输出</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不同 chunk 可并行</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">阶段 2 的并行度来自请求数、head 数和 V 轴分块；它保留了块间递推。阶段 1 和阶段 3 则能利用序列维度上的并行机会。这里的并行是2个维度的，块间和块内的：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">宏观并行：状态更新是可组合的仿射变换：并行计算每个chunk的</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">微观并行: 块内残差递推改写成下三角系统与矩阵运算</span></p></li></ul><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="U=(I+A)^{-1}BV,\qquad
W=(I+A)^{-1}BK_{\mathrm{in}},
\qquad
E=U-WS_0^\top." class="rich_pages wxw-img" data-ratio="0.04814814814814815" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 516px;height: auto;" data-imgfileid="502324132" src="https://wechat2rss.xlab.app/img-proxy/?k=c0de2c66&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906iaebySqjZLXXZpHcOlWSdQJK0WgW6JBG7ym9Usw0ArKA5MhTvI2tucGOc7zAdLwOJXoOnx03c1fNbd2icdia8zsZ5YwHZ9clpEg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后文解释块内并行的逻辑，并推导这些辅助矩阵，并解释如何把大量块内运算转成矩阵乘法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">投影和门控可以包含非线性，关键不是整个模型是否线性，而是递归状态如何进入下一步更新，以及更新系数能否独立于该递归状态准备好。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Rope Nope</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">实际上，这里的并行是有代价的。RNN 的状态递推本身通常就对输入顺序敏感：交换两个 token 的位置，会改变它们经过的状态和后续计算。但 Attention 的单次内容聚合并不直接表达位置关系：固定一个 Query，将其可见范围内的 Key、Value 成对重排，不改变这次聚合的结果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">有意思的是，KDA之所以能够同时获得O(1)显存/计算复杂度和并行，竟然都是靠从非线性到线性，我理解这里是存在表达方式与计算效率的取舍的。</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">获得 Chunkwise 并行：经典 RNN 的非线性状态反馈 → 对旧状态的线性／仿射更新</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">获得单步 Decode 相对上下文长度的 O(1) 状态存储与计算：</span><span leaf=""><br/></span><span leaf="">Softmax Attention 的非线性匹配 → 固定状态聚合与线性读取</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里需要说明的是：传统 RNN 因为非线性函数（如 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">tanh</span></span><span leaf="">）的嵌套不可交换，天生保留了位置信息；但纯线性注意力（没有遗忘门）如果只做简单的状态累加（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span leaf="">+</span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">），由于矩阵加法满足交换律，输入 [A, B] 和 [B, A] 得到的最终状态将完全一致，导致天然的位置信息丢失。如何把丢失的信息找回来呢？遗忘门， KDA论文中也提到：遗忘本身也是一种相对位置编码，一个token距离当前越远，经历的衰减次数越多，它的信号就越弱。也就隐式的注入了距离信息。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Softmax Attention的Causal Mask解决的是能不能看的时间边界问题。位置 99 和位置 1 对位置 100 来说都属于允许访问的历史，掩码会对它们都放行，但不会通过掩码值进一步表达相距 1 与相距 99 的区别。当然，在多层Causal Mask通过不同位置的可见前缀，间接让 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">V</span></code><span leaf="">（以及 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">K,Q</span></code><span leaf="">）获得了隐式的位置信息。但是这种隐式位置信息是有问题的：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">第一层是无序的，即Layer 1 的第 3 个位置无法区分 [A, B, C] 和 [B, A, C]。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">位置信息和语义信息纠缠；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">无法表示相对距离；</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">RoPE 是一种常用的显式位置建模机制,本质是用旋转的角度来代表 Token 的位置。以旋转前的列向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">,</span><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 表示内容投影，按位置分别旋转后：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\widetilde q_t=\mathcal R_tq_t,\qquad
\widetilde k_j=\mathcal R_jk_j," class="rich_pages wxw-img" data-ratio="0.13658536585365855" data-type="png" data-w="615" style="display: block;margin: 0px auto;max-width: 100%;width: 205px;height: auto;" data-imgfileid="502324130" src="https://wechat2rss.xlab.app/img-proxy/?k=54192ba5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905PHGUvtEhpensHPIDpLQkxwolLCJ5TvyaY6qNANKL0okmhWf2hvmGKRYbQUzZRxkficmHpxtJEpZMOuZNCaMqMrnr2FwgFgVGs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\widetilde q_t^\top\widetilde k_j
=q_t^\top\mathcal R_t^\top\mathcal R_jk_j
=q_t^\top\mathcal R_{j-t}k_j." class="rich_pages wxw-img" data-ratio="0.11096433289299867" data-type="png" data-w="757" style="display: block;margin: 0px auto;max-width: 100%;width: 253px;height: auto;" data-imgfileid="502324131" src="https://wechat2rss.xlab.app/img-proxy/?k=c0eb4219&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905yT8YMH3uTAo0ynUKHjw9TlOkmKg3BSnuGPKrhrDrGj4Q4MRsRvCdibTSZlibIj3Flfwv1nuwRe0Z3aJV2Yjp075ibKQGomNNaKY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 7" class="rich_pages wxw-img" data-ratio="0.8574766355140186" data-type="png" data-w="856" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324134" src="https://wechat2rss.xlab.app/img-proxy/?k=29aae8c9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907GeYCdiaqBlQbSeiaicf39EHGhFWfzF6JVYzNYHNxts6BFmMSmaoBvlqE3L7b59aBCibsJO5urPJVicyLz55cxddribvhfRc4UZHRp8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">使用标准 RoPE 时，上面注意力公式中的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">QK</span></i><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 就替换为旋转后的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̃</span><i><span leaf="">K</span></i><span leaf="">̃</span><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。相对位置 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">-</span><i><span leaf="">t</span></i></span><span leaf=""> 因而直接进入 Query–Key 打分；这让模型可以学习位置关系，但不保证距离越近，分数就越高。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">相对于不使用显式位置编码的 RNN，采用 RoPE 的 Attention 增加了位置表示的计算与工程成本：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">额外旋转运算。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">位置与旋转系数管理。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">长上下文适配。当使用范围超过训练时的位置范围，旋转频率、位置缩放等设置可能影响效果，需要相应的训练和验证，不能只扩大位置编号就假定能力自动延伸。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">多层因果 Attention 可以通过不同位置的可见前缀，间接形成顺序线索，RoPE则显式的把相对位置直接纳入注意力计算，即将相对位置引入 Query–Key 打分；而 KDA 将顺序的影响体现在状态演化中，即便Chunkwise 并行执行，这种顺序关系也不会消失。因此，是否使用 RoPE，取决于整个架构已有的顺序建模机制，以及额外位置表示的实际收益与成本。下表对比几款模型的选择：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">模型</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">模型结构</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">位置编码</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Kimi K3</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">93 层 = 69 KDA + 24 MLA。基本按每 4 层 3 KDA + 1 MLA 排列，末尾第 92、93 层都是 MLA。</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">NoPE</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">GLM-5.3</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">78 层全 DSA（MLA + indexer）。indexer 为 21 层 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">full</span></code><span leaf=""> + 57 层 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">shared</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">RoPE</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">GLM-5.3-Flash</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">45 层 = 34 KDA + 11 DSA。每 4 层 3 KDA + 1 DSA，共 11 组，末尾再加 1 层 KDA</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">NoPE</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Qwen3.8-Flash-Next</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">48 层 = 36 GDN + 12 QSA。每 4 层 3 GDN + 1 QSA</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">RoPE</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Qwen3.8-Max</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">92 层 = 69 GDN + 23 Gated Attention。每 4 层 3 GDN + 1 Gated Attention，共 23 组</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">RoPE</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 8" class="rich_pages wxw-img" data-ratio="0.24444444444444444" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324135" src="https://wechat2rss.xlab.app/img-proxy/?k=9c46226f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905GMmicRaVu2fnWsliaSUpVDHOc4r5trjGXeNib5ibvkvxQ1Sp7r5TPCbY0QyjZbEktg73uJxjdMTAIichsUNaibzfvmDgUwka1IZjUM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;" data-pm-slice="0 0 []"><span leaf="">从训练的角度理解演进</span></h2><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2102.11174" textvalue="" linktype="text" data-linktype="2">Linear Transformers Are Secretly Fast Weight Programmers</a> 从 fast-weight associative memory 的视角解释线性注意力：状态矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 不仅是随序列递推的隐藏状态，也可以看成一组在上下文处理中不断更新的快权重，用来存储从 key 到 value 的临时关联。<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2510.26692" textvalue="" linktype="text" data-linktype="2">Kimi Linear</a> 延续这一视角，并进一步用在线学习、重建损失和快权重衰减统一解释 DeltaNet、Gated DeltaNet 与 KDA。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">From the fast-weight perspective, </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> serves as an associative memory storing transient mappings from keys to values. - 来自KDA章节：Linear Attention as Online Learning</span></p></blockquote><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Memory As a Model</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最基本的线性注意力通过外积将当前 key-value 关联写入状态，并使用 query 读取状态：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t=S_{t-1}+v_tk_t^\top, \qquad o_t=S_tq_t." class="rich_pages wxw-img" data-ratio="0.09660574412532637" data-type="png" data-w="766" style="display: block;margin: 0px auto;max-width: 100%;width: 256px;height: auto;" data-imgfileid="502324136" src="https://wechat2rss.xlab.app/img-proxy/?k=7402a52f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Q3sASzahHBZC3A5Qiam12MgmXsSIicSdzIohVld7hmXlPicvqthyn34ZlpkwibZ3FIxxly91lokn0WJEq6ANW2yx6QBsbVdPEQIQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">与推理时通常保持不变的投影参数不同，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 会随 token 到来而不断变化；但它又像普通线性层的权重矩阵一样，通过矩阵乘法作用于输入。因此，从 fast-weight perspective 看，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是一组随上下文快速更新的权重，也是一块动态的关联记忆。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在初始状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span leaf="">=0</span></span><span leaf=""> 时，将状态递推展开：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t=\sum_{i=1}^{t}v_ik_i^\top." class="rich_pages wxw-img" data-ratio="0.49709302325581395" data-type="png" data-w="344" style="display: block;margin: 0px auto;max-width: 100%;width: 115px;height: auto;" data-imgfileid="502324138" src="https://wechat2rss.xlab.app/img-proxy/?k=7fae535b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9077KkNgr87edtNeQ1GMlUFDx9FlcmlspAMXN2Wic3GfvnzNKhMXJWzU5qxA44hFrplw6Eew0WtgZVjaCgpZ25n8fUfFwIr1jHmE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">若 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span leaf="">≠0</span></span><span leaf="">，右侧还需加上 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，下面的读取式也相应多出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">q</span></i></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用任意 query </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i></span><span leaf=""> 读取时：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tq = \sum_{i=1}^{t}v_ik_i^\top q = \sum_{i=1}^{t}(k_i^\top q)v_i." class="rich_pages wxw-img" data-ratio="0.2384937238493724" data-type="png" data-w="717" style="display: block;margin: 0px auto;max-width: 100%;width: 239px;height: auto;" data-imgfileid="502324140" src="https://wechat2rss.xlab.app/img-proxy/?k=abe0ce8a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906XKichhSTzEmcia3X9sQW8gbnHUJw282XvVUfUgGic71ricp4JTKPJBLEDCSfiaBibKv4OeA1LSfESvlNVAQ7QeA35kId9bAUTTPQso%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">q</span></i></span><span leaf=""> 衡量 query 与历史 key 的匹配程度，并决定对应的 value 被取出多少。因此，外积 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 可以看成向状态中写入一条 key-value 关联，而 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">q</span></i></span><span leaf=""> 则按照 key 匹配程度聚合历史 value。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">既然 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 可以接受 query，自然也可以把一个 key 代入其中：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="Sk=\sum_i(k_i^\top k)v_i." class="rich_pages wxw-img" data-ratio="0.3069544364508393" data-type="png" data-w="417" style="display: block;margin: 0px auto;max-width: 100%;width: 139px;height: auto;" data-imgfileid="502324139" src="https://wechat2rss.xlab.app/img-proxy/?k=227333a3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904BMPymu6Q8RE71QUHibmvW4pnhQpNqrSNAG66uezRdU2mguKLJZCiagtUtpzKBtibqoN1sdHE17P6ibpe7GNV7MdBLxWPHPztBTcM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它表示当前关联记忆根据 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i></span><span leaf=""> 召回的 value。于是，在写入当前关联 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">,</span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span><span leaf=""> 之前，可以把</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\hat v_t^-=S_{t-1}k_t" class="rich_pages wxw-img" data-ratio="0.24742268041237114" data-type="png" data-w="291" style="display: block;margin: 0px auto;max-width: 100%;width: 97px;height: auto;" data-imgfileid="502324137" src="https://wechat2rss.xlab.app/img-proxy/?k=84f2d74b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905CnUpAy4kR1VEyuibXJ2g8oJKqCMY7BqL2L2E9xACQGrZRlP8LK1J5WvQib4GxZNibV5aCNC8JVx5icicnGB2p99ToVNHBv73amLnk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">解释为旧记忆对当前 value 的重建或预测。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">损失函数</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">普通线性注意力无论当前关联是否已经存在，都会把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 继续累加到状态中：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t=S_{t-1}+v_tk_t^\top." class="rich_pages wxw-img" data-ratio="0.17452830188679244" data-type="png" data-w="424" style="display: block;margin: 0px auto;max-width: 100%;width: 142px;height: auto;" data-imgfileid="502324142" src="https://wechat2rss.xlab.app/img-proxy/?k=d10b9bf2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907eXUHTL6669LBDzKcybo4zt3NkVjaJ0G3HvgZbHR9InKxqSuaOZ6WhM3TX4Z95NGZKHe2HEt0icDerDWGtqiaicqB32c2DkfpYbM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先把状态在第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">t</span></i></span><span leaf=""> 步的变化记为</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta S_t=S_t-S_{t-1}." class="rich_pages wxw-img" data-ratio="0.15012106537530268" data-type="png" data-w="413" style="display: block;margin: 0px auto;max-width: 100%;width: 138px;height: auto;" data-imgfileid="502324141" src="https://wechat2rss.xlab.app/img-proxy/?k=13a53f08&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907aiaqI2oibbeUYhMAibKpcujiaSL7KKAvicub7bEkoj1QGtun7o0tVwEBPbUtB9GH2JWvZknOuqIAmyHibWGIRBviauxCicA2ek278QQ8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">普通线性注意力的外积更新意味着</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta S_t=v_tk_t^\top." class="rich_pages wxw-img" data-ratio="0.24422442244224424" data-type="png" data-w="303" style="display: block;margin: 0px auto;max-width: 100%;width: 101px;height: auto;" data-imgfileid="502324144" src="https://wechat2rss.xlab.app/img-proxy/?k=05ac7593&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907o8fbB8PXDQ12yngNWmiavAyg3iakGgc0O1WRDLl84K4bF4tq3yut7ibia37PiafLLCAbtmAdmT93Tpsfbiajy4wQj5gHsPvlI4I6JQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">根据梯度下降公式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta \theta = -\eta \nabla L(\theta)" class="rich_pages wxw-img" data-ratio="0.1769436997319035" data-type="png" data-w="373" style="display: block;margin: 0px auto;max-width: 100%;width: 125px;height: auto;" data-imgfileid="502324145" src="https://wechat2rss.xlab.app/img-proxy/?k=9c0b0b29&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905icSvfKNhPjMT3SLtNnjMf8FQJFAJy5jH0dBJXiaa0F50SwyENvBly0CCpEAxKHQKfEhIibTfg3Il9J3dLjOZqAk7ZNndgpr7H2Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ θ</span></span></strong><span leaf="">：参数变化量（有时也用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ </span><i><span leaf="">w</span></i></span><span leaf=""> 表示权重 weight 的变化）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">θ</span></span></strong><span leaf="">（Theta）或 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i></span></strong><span leaf="">（Weight）：代表模型中的参数。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">η</span></span></strong><span leaf="">（Eta）或 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span></span></strong><span leaf="">（Alpha）：代表学习率（Learning Rate），控制步长。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">∇ </span><i><span leaf="">L</span></i><span leaf="">(θ)</span></span></strong><span leaf=""> 或 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="display: inline-block;vertical-align: middle;text-align: center;line-height: 1.15;"><span style="display: block;padding: 0px 3px;"><span leaf="">∂ </span><i><span leaf="">L</span></i></span><span style="display: block;border-top: 1.2px solid rgb(62, 71, 83);padding: 1px 3px 0px;"><span leaf="">∂ θ</span></span></span></span></strong><span leaf="">：代表损失函数的梯度。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta S_t = - \eta \cdot \nabla_S \ell(S)" class="rich_pages wxw-img" data-ratio="0.14285714285714285" data-type="png" data-w="462" style="display: block;margin: 0px auto;max-width: 100%;width: 154px;height: auto;" data-imgfileid="502324143" src="https://wechat2rss.xlab.app/img-proxy/?k=c251a494&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907TSanolrGbDjk0oNe2Pe2oTevGX6Ed8CX6utE1fgzC4GmOUaVktz9cSFmXlEQSwtEgBAzibDA173HOGrUku5efw1ruE4Uq9I8Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为了和普通线性注意力的更新对应起来，先取学习率 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">η=1</span></span><span leaf="">。这样，我们需要的梯度就是：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\nabla_S\ell_t(S)=-v_tk_t^\top." class="rich_pages wxw-img" data-ratio="0.16818181818181818" data-type="png" data-w="440" style="display: block;margin: 0px auto;max-width: 100%;width: 147px;height: auto;" data-imgfileid="502324148" src="https://wechat2rss.xlab.app/img-proxy/?k=2e4a6781&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904UrvErYJc9g3QUvRUJMgRxoibpDFX3mt3OyDbMONaG1cecyiblXcHSxm6cxdIMCiagm5w8bXbZM6o2d3QgpPfjwDJKpQhqicBDf1A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那对应的损失函数应该是：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\ell_t^{\mathrm{corr}}(S)=-v_t^\top Sk_t" class="rich_pages wxw-img" data-ratio="0.1689497716894977" data-type="png" data-w="438" style="display: block;margin: 0px auto;max-width: 100%;width: 146px;height: auto;" data-imgfileid="502324149" src="https://wechat2rss.xlab.app/img-proxy/?k=8d4a7f87&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905Fr0xvuWktXLVueyWGItPz7RGLtPdXLNia7ibEicsgyic3vyCrvicSAQLuibHDZDEuL5pdCsiaEF5Bmic7MRAFgMyGMjiaicajXZenTrReo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面已经说过，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Sk</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是记忆根据当前 key 召回的 value，而 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是我们希望记住的目标 value。因此，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">Sk</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是目标 value 与召回 value 的内积。最小化它的负值，就是鼓励这个内积变大。但是实际上呢，我们的诉求是让召回的 value 接近目标 value，也就是让重建误差趋近于 0，而不是让上面的 Loss 一路降到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-∞</span></span><span leaf="">。所以，有没有可能搞一个这样的损失函数呢？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">重建损失函数</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">DeltaNet 将它改写为一个重建问题：把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 看成从 key 预测 value 的线性模型，要求 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Sk</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 尽可能接近 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。当前样本的回归损失为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\ell_t(S) = \frac12\|v_t-Sk_t\|_2^2" class="rich_pages wxw-img" data-ratio="0.23371647509578544" data-type="png" data-w="522" style="display: block;margin: 0px auto;max-width: 100%;width: 174px;height: auto;" data-imgfileid="502324147" src="https://wechat2rss.xlab.app/img-proxy/?k=94759f2d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9042KwXKK9CjAiadFMQnDiamHDFZkVueZbCXyw3AUBG1C44Loy9s83xqqiaqK33rCuFjkPuBrKpqJAKwGcTsS8XOqYFZnPRotN0oFU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">根据链式法则：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\qquad \nabla_S\ell_t(S) = (Sk_t-v_t)k_t^\top." class="rich_pages wxw-img" data-ratio="0.10647482014388489" data-type="png" data-w="695" style="display: block;margin: 0px auto;max-width: 100%;width: 232px;height: auto;" data-imgfileid="502324146" src="https://wechat2rss.xlab.app/img-proxy/?k=8b7db1f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906CnvwSxqZtZ3xtho6WbzyrzIQ6DaEsVnB4uURXe8BHUTA4ibuwAAE5aWoCTK5iaeuyiaCcGJ5bMfpIRKd7OKSDF6WCicCMy5gEVa4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 为学习率，对当前样本做一步梯度下降，便得到 Delta Rule：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta \theta = -\eta \nabla L(\theta)" class="rich_pages wxw-img" data-ratio="0.1769436997319035" data-type="png" data-w="373" style="display: block;margin: 0px auto;max-width: 100%;width: 125px;height: auto;" data-imgfileid="502324150" src="https://wechat2rss.xlab.app/img-proxy/?k=693f9654&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9070icC9icUvDjIic7HAgVuEfLjbI2IL7xQ5IrLN8RvOhsLZLCY0LXelrmrnyqrBVazSyeqkSwb10FAiaemhb0OFAIWDN61mo2aEKU4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned} S_t &amp;= S_{t-1} -\beta_t\nabla_S\ell_t(S_{t-1})\\ &amp;= S_{t-1} +\beta_t \bigl(v_t-S_{t-1}k_t\bigr)k_t^\top. \end{aligned}" class="rich_pages wxw-img" data-ratio="0.20272108843537415" data-type="png" data-w="735" style="display: block;margin: 0px auto;max-width: 100%;width: 245px;height: auto;" data-imgfileid="502324153" src="https://wechat2rss.xlab.app/img-proxy/?k=97792d87&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905EiaoL46l528SICkxhp5X0K9RY0CCznxGjic2BAlIOsrdMQ4qPfmDhG15yQicvRS3KSibVZbn1HH0EHuhV88eyEbZCofKnOL199IQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这说明，Delta Rule 不再把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 原样累加进记忆，而是先检查旧记忆已经能够预测出什么，再写入尚未记对的部分。如果 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">=</span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，预测残差为零，就不需要重复写入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将更新式右乘当前 key，可以更直接地看到这种纠错作用：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tk_t = S_{t-1}k_t + \beta_t\|k_t\|_2^2 \bigl(v_t-S_{t-1}k_t\bigr)." class="rich_pages wxw-img" data-ratio="0.08886389201349831" data-type="png" data-w="889" style="display: block;margin: 0px auto;max-width: 100%;width: 297px;height: auto;" data-imgfileid="502324155" src="https://wechat2rss.xlab.app/img-proxy/?k=c0b8b014&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906CUeQA5Zzwq29CUwibSicn7icSiadzgOTJxNBAs5OB9R2vd3oft3ut4TGFfPnAgSuhnrrQwHXnfs5nicshurGxKjqnH3rU0dIvEN90%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当 key 已归一化，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">‖</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">‖</span><sub><span leaf="">2</span></sub><span leaf="">=1</span></span><span leaf=""> 时：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tk_t = (1-\beta_t)S_{t-1}k_t+\beta_tv_t." class="rich_pages wxw-img" data-ratio="0.09606986899563319" data-type="png" data-w="687" style="display: block;margin: 0px auto;max-width: 100%;width: 229px;height: auto;" data-imgfileid="502324152" src="https://wechat2rss.xlab.app/img-proxy/?k=122a0bae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906jWXnnyickBz4y1So9TeKaCqibqb9RvBSVRNt9Nc0XX76yHpzJRHhTzWAyIRViaSiazsqmibqgF0U7FBCUCQiaRic6iaIMBS1wLhqgFls%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">也就是说，更新后的预测会从旧预测向目标 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 移动。此时，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0&lt;β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">&lt;1</span></span><span leaf=""> 表示部分修正，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">=1</span></span><span leaf=""> 才表示在当前 key 上精确覆写。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">需要注意，这并不是字典中互不干扰的独立槽位。对另一个 key </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">&#39;</span></span><span leaf="">，本次更新造成的变化为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="(S_t-S_{t-1})k&#39; = \beta_t \bigl(v_t-S_{t-1}k_t\bigr) k_t^\top k&#39;." class="rich_pages wxw-img" data-ratio="0.09154113557358054" data-type="png" data-w="863" style="display: block;margin: 0px auto;max-width: 100%;width: 288px;height: auto;" data-imgfileid="502324154" src="https://wechat2rss.xlab.app/img-proxy/?k=8a6dd5f4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904utL2vCnkvXUlE5cb2ZsL5Kqfj5QNOgQlFucWt8Uz8Tk7FEdLtQMkUYYV41HyAKPAl10hXGmKXB3CfXas4KyEh4quZOVFPw3M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 相似的 key 也会受到影响；只有与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 正交的方向不会受到这次更新的直接影响。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">从重建误差到正则化</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面，我们把关联记忆 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 看作一个在线训练的线性模型：每来一个样本 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">,</span><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span><span leaf="">，就根据重建损失更新一次：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\ell_t(S)=\frac12\|v_t-Sk_t\|_2^2." class="rich_pages wxw-img" data-ratio="0.2271880819366853" data-type="png" data-w="537" style="display: block;margin: 0px auto;max-width: 100%;width: 179px;height: auto;" data-imgfileid="502324151" src="https://wechat2rss.xlab.app/img-proxy/?k=9ad221ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9067KFwlZr5Q37pj96cOLiad3pSSTVXmDNrmVe2jHoVIRkco9cvAQQoXEHVcCkpWrQvgxZ2thVqytTXl9EgR5RcgjicC8BTuA1ribQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但重建损失只关心一件事：当前样本预测得准不准。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从训练的角度看，一个自然的扩展是：除了拟合当前样本，还对模型权重施加正则化约束，对较大的权重施加惩罚。在损失函数中加入 L2 正则项：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">L</span></i><sub><i><span leaf="">reg</span></i></sub><span leaf=""> = </span><i><span leaf="">L</span></i><span leaf=""> + </span><span style="display: inline-block;vertical-align: middle;text-align: center;line-height: 1.15;"><span style="display: block;padding: 0px 3px;"><span leaf="">λ</span></span><span style="display: block;border-top: 1.2px solid rgb(62, 71, 83);padding: 1px 3px 0px;"><span leaf="">2</span></span></span><span leaf=""> ‖θ‖</span><sup><span leaf="">2</span></sup></span><span leaf="">，其关于参数 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">θ</span></span><span leaf=""> 的梯度就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">∇ </span><i><span leaf="">L</span></i><span leaf=""> + λ θ</span></span><span leaf="">。代入 SGD 的更新公式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\theta_{t+1} = \theta_t - \eta (\nabla L + \lambda \theta_t) = \theta_t - \eta \nabla L - \eta \lambda \theta_t" class="rich_pages wxw-img" data-ratio="0.0637065637065637" data-type="png" data-w="1036" style="display: block;margin: 0px auto;max-width: 100%;width: 346px;height: auto;" data-imgfileid="502324157" src="https://wechat2rss.xlab.app/img-proxy/?k=a643e157&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907pZJDYvM4PJ7PUpvSVxwtgHMLNEib9yQveJODXmicGUAOo5anPL97VQjJq6lQ9NYQ7NgRyicfjqpYEmbMSwQ70ZKnnprWPfE0ib1U%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\theta_{t+1} = (1 - \eta \lambda) \theta_t - \eta \cdot g_t" class="rich_pages wxw-img" data-ratio="0.11186440677966102" data-type="png" data-w="590" style="display: block;margin: 0px auto;max-width: 100%;width: 197px;height: auto;" data-imgfileid="502324156" src="https://wechat2rss.xlab.app/img-proxy/?k=64bbe376&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904RtHTEqPHz1MeQjBrT3hgcQowFDNAsf8mPXeIyq949beEicIz0R5mGNaRwboDTiaicjpcL81OibB53icptV4VqibENH3stO6PO6OLe0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">g</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">=∇ </span><i><span leaf="">L</span></i><span leaf="">(θ</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span></span><span leaf=""> 表示当前数据损失的梯度。只有在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0&lt;ηλ&lt;1</span></span><span leaf=""> 时，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1-ηλ</span></span><span leaf=""> 才是介于 0 和 1 之间的衰减因子；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">ηλ=0</span></span><span leaf=""> 表示不衰减，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">ηλ=1</span></span><span leaf=""> 表示将旧权重的直接项清零。不能仅凭加入了 L2 正则，就断言任意步长都会产生这种衰减。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">据此，对重建损失直接加上 L2 正则项：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\ell_t^{\mathrm{reg}}(S) =\frac12\|v_t-Sk_t\|_2^2+\frac{\lambda_t}{2}\|S\|_F^2." class="rich_pages wxw-img" data-ratio="0.14832535885167464" data-type="png" data-w="836" style="display: block;margin: 0px auto;max-width: 100%;width: 279px;height: auto;" data-imgfileid="502324159" src="https://wechat2rss.xlab.app/img-proxy/?k=338b3894&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904B0463NQdO8O74ia7ZOibcQ6ah82fy1RQqtibLRTl7QRXoT9PAicSQl3lHQkJeUcw51X2tWDIvCbZnMiaka9Ux9lhXXsickGKMLfXMM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 为学习率，在旧状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 上做一步普通 SGD，得到：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t =(1-\beta_t\lambda_t)S_{t-1} +\beta_t(v_t-S_{t-1}k_t)k_t^\top." class="rich_pages wxw-img" data-ratio="0.07700312174817898" data-type="png" data-w="961" style="display: block;margin: 0px auto;max-width: 100%;width: 321px;height: auto;" data-imgfileid="502324158" src="https://wechat2rss.xlab.app/img-proxy/?k=f168748c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9076IA8cJNfvmDeYibxkwP1glvqHDmzmrvG6sqibZFJyO07cvNEWCias7nnib1Bd3TgWNYoMQ0iaDVDy4yctliaeadhZaAX12TdwwJBkE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">令 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">=1-β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">λ</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">（若要对应 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0&lt;α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">&lt;1</span></span><span leaf=""> 的遗忘门，需满足 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0&lt;β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">λ</span><sub><i><span leaf="">t</span></i></sub><span leaf="">&lt;1</span></span><span leaf="">），则：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t^{\mathrm{L2}} =\alpha_tS_{t-1} +\beta_t(v_t-S_{t-1}k_t)k_t^\top" class="rich_pages wxw-img" data-ratio="0.09386733416770963" data-type="png" data-w="799" style="display: block;margin: 0px auto;max-width: 100%;width: 267px;height: auto;" data-imgfileid="502324160" src="https://wechat2rss.xlab.app/img-proxy/?k=c1a998ab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904icGwiaj3FLzxOics0rXBCgGXzbN4ljSvicvm949zVVjJ1IMHIPwKZTRbS5Q3GOVbaOKXXdQgSxiazXTvxwgq1hrZKIxOjCTW9fWn4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看见没，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1-ηλ</span></span><span leaf=""> 和 GDN 的遗忘门，在“缩小旧权重”这件事上具有相同的形式。把关联记忆 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i></span><span leaf=""> 看作快权重，遗忘就可以理解为对快权重施加衰减。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但 GDN 还多了一处需要注意的设计：它先衰减旧记忆，再用衰减后的记忆计算重建误差，最后根据误差进行纠正：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned} \bar S_t&amp;=\alpha_tS_{t-1},\\ S_t&amp;=\bar S_t-\beta_t\nabla_S\ell_t(\bar S_t)\\ &amp;=\bar S_t+\beta_t(v_t-\bar S_tk_t)k_t^\top. \end{aligned}" class="rich_pages wxw-img" data-ratio="0.3825396825396825" data-type="png" data-w="630" style="display: block;margin: 0px auto;max-width: 100%;width: 210px;height: auto;" data-imgfileid="502324161" src="https://wechat2rss.xlab.app/img-proxy/?k=629b1764&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907D5U8olC3DIl3p1o82xtogDVyib4KoI3B8iaxYAO9D77Lnz3M9mDYngyU8HY2oIqx3t8Tycps1Q0Y4ytbMuo7Y9Gx7Gczmc4e0Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因而，GDN 可以理解为“先做快权重衰减，再做一步重建学习”。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 控制旧记忆保留多少，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 控制当前关联纠正多少。二者承担不同的角色，通常由模型根据输入生成，而不是必须满足某个固定的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub><span leaf="">=1-β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">λ</span></span><span leaf=""> 关系。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">KDA具体实现</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对 KDA 而言，Decode 与训练、Prefill 可以采用不同的执行计划：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Decode：</span></strong><p><span leaf="">每次只来一个新 token，直接更新一次状态并读取输出，利用固定状态控制单步成本。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">训练和 Prefill：</span></strong><p><span leaf="">整段输入已知，可以提前准备更新系数，通过扫描或 Chunkwise 重排计算，提高吞吐。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在 vLLM v0.32.0 中，GLM-5.3-Flash 的 KDA 层按平台和 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">additional_config.kda_prefill_backend</span></code><span leaf="">（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">auto</span></code><span leaf=""> / </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">triton</span></code><span leaf=""> / </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">flashkda</span></code><span leaf="">，默认 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">auto</span></code><span leaf="">）选择 prefill 后端：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 1015.58px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">平台 / 配置</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">Prefill</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">Decode 与推测验证</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">内部 prefill checkpoint</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">CUDA SM90/SM10x/SM12x，bf16，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_dim=128</span></code><span leaf="">，有界 gate，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">auto</span></code><span leaf=""> 或 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">flashkda</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">FlashKDA（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">torch.ops._flashkda_C.fwd</span></code><span leaf="">，L2 Norm、门控、β 的 sigmoid 均在 kernel 内融合）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Triton </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">fused_recurrent_kda</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">支持：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_prefill_checkpoint_blocks=1</span></code><span leaf="">，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">prefill_checkpoint_alignment=16</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kda_prefill_backend=triton</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Triton </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">chunk_kda_with_fused_gate</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Triton </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">fused_recurrent_kda</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不支持</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">ROCm</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">AMD 版 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">chunk_kda_with_fused_gate</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">AMD 版 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">fused_recurrent_kda</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不支持</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每个请求的每个 KDA 层，都为各个 head 维护独立状态。下面以本文 GLM-5.3-Flash 的 q/k/v 等头数、等维度配置为例，展示全部 heads 合起来的逻辑形状。推测解码采用后文介绍的逐 token 状态快照路径：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">状态</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">单份 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">开启推测时的逻辑使用方式</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_state</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3 × num_heads × head_dim, conv_kernel − 1 + num_spec]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">使用一条扩展窗口，根据接受长度选择其中的历史片段</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">S(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">recurrent_state</span></code><span leaf="">)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads, head_dim, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">保存 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">1 + num_spec</span></code><span leaf=""> 个验证位置对应的状态快照</span></p></td></tr></tbody></table><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Prefix Cache</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然而理想很丰满，现实很残酷。如果每个请求只保存一份S(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">recurrent_state</span></code><span leaf="">)，那Prefix Cache就没法做了,扔掉KVCache的成本是巨大的。(因此vLLM是默认开启了Prefix Cache的)</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果仍然每个block_size保存一份，那Linear Attention节省缓存的效果可就大打折扣了～（显存容量不再是O(1), 显存带宽、计算量还是O(1)），这个如何是好？我们看看vLLM是怎么做的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">首先vLLM中Prefix Cache是以Block为单位的（默认block size 16），利用当前块内的Token序列以及前置块的哈希值，计算出一个唯一的 Hash Key。这种较粗的匹配粒度，经常被拿来与SGLang基于Token级别的 Radix Tree进行对比，虽然实际上几乎没什么影响。(关于prefix cache的基础知识可以参考vLLM官方文档<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://docs.vllm.ai/en/latest/design/prefix_caching/" textvalue="" linktype="text" data-linktype="2">Automatic Prefix Caching</a>)</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后当前用到Linear Attention的开源模型基本都是Hybrid,这里要怎么设计呢？</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">KV Cache是如何管理的</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">vLLM 首先需要知道每一层的缓存长什么样，这由 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">KVCacheSpec</span></code><span leaf=""> 描述。同类型的层通常会产生相同的 spec。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但是呢，如果每层根据KVCacheSpec独立管理block table,即便KV cache显存在启动时已经预分配，请求运行时仍需为每层分别维护和分配Block ID，增加调度元数据与管理开销。那怎么办呢？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以考虑相同的KVCacheSpec层放在一起管理，这便有了KVCache Group,一个KVCache Group对应一个block table，但是由于所有的Group共用一个BlockPool,这里的分配也要考虑不同Block的page size尽可能一致，这样可以有效的减少显存碎片。因此即便KVCacheSpec一致，也可能被分成不同的KVCache Group。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里还有另外一种场景，比如MLA和Indexer生命周期一致，Spec类也都是MLAAttentionSpec，但是head_size不一致，单层的page size也就不同。按 bf16、block_size=64 算，MLA 每 token 1152B，一页72KB；Indexer每 token132 B，一页8.25KB。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">怎么办呢？如果按上面的方式分成两个 Group，就要求两者的单层 page 相等。2个办法：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">把Indexer padding到跟MLA的page size一致，这样会造成非常大的浪费；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">调整Indexer的block size让其page size尽可能与MLA的page size差不多大，但是这样生命周期又不一致了。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">怎么办呢？vLLM引入了一种特殊的KVCache Spec - UniformTypeKVCacheSpecs， 合并条件：block_size 相同，且在注册表里属于同一个 uniform 基类。</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">KVCacheGroupSpec(</span><span leaf=""><br/></span><span leaf="">    layer_names=[</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.0.self_attn.attn&#34;</span></span><span leaf="">,              </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># MLA</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.0.self_attn.indexer.k_cache&#34;</span></span><span leaf="">,   </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># Indexer</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.1.self_attn.attn&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.1.self_attn.indexer.k_cache&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">        ...                                            </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 共 61 × 2 = 122 层</span></span><span leaf=""><br/></span><span leaf="">    ],</span><span leaf=""><br/></span><span leaf="">    kv_cache_spec=UniformTypeKVCacheSpecs(</span><span leaf=""><br/></span><span leaf="">        block_size=</span><span style="color: rgb(209, 154, 102);"><span leaf="">64</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">        kv_cache_specs={</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.0.self_attn.attn&#34;</span></span><span leaf="">:            mla_spec,  </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 72 KiB</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;model.layers.0.self_attn.indexer.k_cache&#34;</span></span><span leaf="">: idx_spec,  </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 8.25 KiB</span></span><span leaf=""><br/></span><span leaf="">            ...</span><span leaf=""><br/></span><span leaf="">        },</span><span leaf=""><br/></span><span leaf="">    ),</span><span leaf=""><br/></span><span leaf="">)</span><span leaf=""><br/></span><span leaf="">mla_spec = MLAAttentionSpec(block_size=</span><span style="color: rgb(209, 154, 102);"><span leaf="">64</span></span><span leaf="">, num_kv_heads=</span><span style="color: rgb(209, 154, 102);"><span leaf="">1</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">                            head_size=</span><span style="color: rgb(209, 154, 102);"><span leaf="">576</span></span><span leaf="">,          </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># kv_lora_rank 512 + rope 64</span></span><span leaf=""><br/></span><span leaf="">                            dtype=torch.bfloat16)</span><span leaf=""><br/></span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 单层 page = 64 × 576 × 2B = 73,728 B = 72 KiB</span></span><span leaf=""><br/></span><span leaf="">idx_spec = MLAAttentionSpec(block_size=</span><span style="color: rgb(209, 154, 102);"><span leaf="">64</span></span><span leaf="">, num_kv_heads=</span><span style="color: rgb(209, 154, 102);"><span leaf="">1</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">                            head_size=</span><span style="color: rgb(209, 154, 102);"><span leaf="">132</span></span><span leaf="">,          </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 128 fp8 + 128/128 × 4B scale</span></span><span leaf=""><br/></span><span leaf="">                            dtype=torch.uint8)</span><span leaf=""><br/></span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 单层 page = 64 × 132 × 1B = 8,448 B = 8.25 KiB</span></span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">合并之后，这些层共用一张 block table，Group 的 page_size_bytes 是组内各层 page size 之和：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span style="color: rgb(97, 175, 239);"><span leaf="">@property</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">def</span></span><span leaf="">page_size_bytes(</span><span style="color: rgb(171, 178, 191);"><span leaf="">self</span></span><span leaf="">) -&gt; </span><span style="color: rgb(86, 182, 194);"><span leaf="">int</span></span><span leaf="">:</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">return</span></span><span style="color: rgb(86, 182, 194);"><span leaf="">sum</span></span><span leaf="">(spec.page_size_bytes </span><span style="color: rgb(198, 120, 221);"><span leaf="">for</span></span><span leaf=""> spec </span><span style="color: rgb(198, 120, 221);"><span leaf="">in</span></span><span style="color: rgb(209, 154, 102);"><span leaf="">self</span></span><span leaf="">.kv_cache_specs.values())</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">也就是说，vLLM 的 CacheEngine 在向 GPU 显存池申请内存时，分配一个 block ID，直接包含了 61 个 MLA 页和 61 个 Indexer 页的存储位置，合计 61 × (72 + 8.25) KiB = 4,895.25 KiB ≈ 4.78 MiB。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 9" class="rich_pages wxw-img" data-ratio="0.31" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324162" src="https://wechat2rss.xlab.app/img-proxy/?k=ea1c0408&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907ia7LkCNtVYRbewNk8jVSNXfwkzEnEnaAJaKqHMZaWwWYOEiaISfociafBooS55WTbcUjRDvRPq3VmXhDLZP8GsuBicbNsuWJKNrE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;" data-pm-slice="0 0 []"><span leaf="">Linear Attention的Prefix Cache</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">讲完了 Group，再回到线性注意力。KDA、Mamba 这类层每层每个请求只有一份固定大小的 state，不随 token 数增长。要放进这套 Block 机制，即满足不同group page size一致的诉求，就需要让一份 state 的字节数等于attention 一个 block 的单层 page size。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">这里解释下为什么让一份 state 的字节数等于attention 一个 block 的单层 page size？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以Qwen3.8-27B为例，它有一个 16 层 Full Attention KVCache Group，以及三个各 16 层的 GDN KVCache Group：</span></p><ul style="margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">Attention KVCache Group每个Block：16 × Attention 单层页大小</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">GDN KVCache Group每个Block： 16 × GDN 单层存储页大小</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以最终保证：Attention 单层页大小 = GDN 单层存储页大小就好了。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里到了GLM-5.3-Flash就有点复杂了，因为它涉及到上面提到的</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">UniformTypeKVCacheSpecs</span></code><span leaf="">。它的 KV Cache Group 划分如下（Group 由通用的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">_get_packed_kv_cache_groups</span></code><span leaf=""> 生成）：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">[</span><span leaf=""><br/></span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># Group 0：MLA + Indexer，合成一个 UniformTypeKVCacheSpecs  11层MLA+Indexer</span></span><span leaf=""><br/></span><span leaf="">    KVCacheGroupSpec(</span><span leaf=""><br/></span><span leaf="">        layer_names=[mla.*, indexer.k_cache.*],</span><span leaf=""><br/></span><span leaf="">        kv_cache_spec=UniformTypeKVCacheSpecs(block_size=640, kv_cache_specs={</span><span leaf=""><br/></span><span leaf="">            mla.i:     MLAAttentionSpec(head_size=512, dtype=bf16),        </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 640 KiB</span></span><span leaf=""><br/></span><span leaf="">            indexer.i: MLAAttentionSpec(head_size=132, dtype=uint8,</span><span leaf=""><br/></span><span leaf="">                                        tokens_per_state=4),               </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 20.6 KiB</span></span><span leaf=""><br/></span><span leaf="">        }),</span><span leaf=""><br/></span><span leaf="">    ),</span><span leaf=""><br/></span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># Group 1：Indexer 的 kpool tail 环形缓冲，每个请求固定 1 个 block，不参与 prefix caching</span></span><span leaf=""><br/></span><span leaf="">    KVCacheGroupSpec(layer_names=[</span><span style="color: rgb(86, 182, 194);"><span leaf="">tail</span></span><span leaf="">.*], kv_cache_spec=UniformTypeKVCacheSpecs(</span><span leaf=""><br/></span><span leaf="">        kv_cache_specs={tail.i: CircularBufferSpec(block_size=ring)})),    </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 无 MTP 时 ring=4，2 KiB</span></span><span leaf=""><br/></span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># Group 2..：KDA 层，按一个 block 能装下的 state 数切成4组Group，[9，9，8，8]</span></span><span leaf=""><br/></span><span leaf="">    KVCacheGroupSpec(layer_names=[kda.0, kda.3, ...],</span><span leaf=""><br/></span><span leaf="">                     kv_cache_spec=UniformTypeKVCacheSpecs(kv_cache_specs={</span><span leaf=""><br/></span><span leaf="">                         kda.i: MambaSpec(page_size_padded=MLA 单层 page)})),</span><span leaf=""><br/></span><span leaf="">    ...</span><span leaf=""><br/></span><span leaf="">]</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">KDA 的分组数来自打包规则：一个 block 要装下 11 层 MLA + 11 层 Indexer，共 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">11 × 640 + 11 × 20.625 = 7,266.875 KiB</span></code><span leaf="">，能容纳 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">⌊7266.875 / 640⌋ = 11</span></code><span leaf=""> 份 KDA state，所以 34 层 KDA 切成 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">cdiv(34, 11) = 4</span></code><span leaf=""> 组，每组轮流取层，得到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[9, 9, 8, 8]</span></code><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 10" class="rich_pages wxw-img" data-ratio="0.6966666666666667" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324165" src="https://wechat2rss.xlab.app/img-proxy/?k=f3fb4da5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907OtQ98IaNdiacSZpZaTR19g6e729tdB6xUo1B71qpoj90OuqynicwOd5oPd5ClK9sQ6Uv92z4Fy9AoBY2sS3GDaVKWaQO6YKWcA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，其实最终是就得让一份 state占用的字节数等于一层MLA KV Block所占用的字节数。做法是把 attention 的 block_size 放大，同时把 state padding到相同字节数。</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">GLM5.3 Flash MLA注意力层，每token占用字节数（单层）：</span></p></li></ol><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">attn_page_size_1_token</span><span leaf=""><br/></span><span leaf="">  = num_heads × (head_size + head_size_v) × dtype 字节数</span><span leaf=""><br/></span><span leaf="">  = 1 × 512 × 2</span><span leaf=""><br/></span><span leaf="">  = 1024 B</span></code></pre><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_heads = 1</span></code><p><span leaf="">MLA 在 decode 时等价于 MQA，KV 只有一个 head，不随 TP 切分。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_size = kv_lora_rank + qk_rope_head_dim = 512 + 0 = 512</span></code><p><span leaf="">GLM-5.3-Flash 的 MLA 是 NoPE 设计（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mla_use_nope = true</span></code><span leaf="">），没有 RoPE 部分。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_size_v = 0</span></code><p><span leaf="">MLA 只缓存一份 latent 向量，没有单独的 V。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">dtype 是 bf16，2 字节。</span></p></li></ul><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">GQA的公式则为： num_heads × （head_dim + head_dim_v）× dtype 字节数</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">DeepSeek V3或Hy4Preview带64维RoPE，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_size = kv_lora_rank + qk_rope_head_dim = 576</span></code><span leaf="">，每token是1152B。</span></p></blockquote><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">KDA 层一份 state 的字节数（单层、单请求、单卡、TP=1、num_spec=0）</span></p></li></ol><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">状态</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">dtype</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">字节数</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_state</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3 × num_heads × head_dim, conv_kernel − 1 + num_spec]</span></code><p><span leaf=""> = </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3072, 3]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">bf16</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">18,432</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">recurrent_state</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads, head_dim, head_dim]</span></code><p><span leaf=""> = </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[8, 128, 128]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">fp32</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">524,288</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">合计 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_page_size</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">542,720</span></p></td></tr></tbody></table><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">求 block_size（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">_align_hybrid_block_size</span></code><span leaf="">）</span></p></li></ol><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">attn_block_size = kernel_block_alignment_size * cdiv(</span><span leaf=""><br/></span><span leaf="">    mamba_page_size,</span><span leaf=""><br/></span><span leaf="">    kernel_block_alignment_size * attn_page_size_1_token,</span><span leaf=""><br/></span><span leaf="">)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">if</span></span><span leaf=""> cache_config.block_size &lt; attn_block_size:</span><span leaf=""><br/></span><span leaf="">    cache_config.block_size = attn_block_size</span><span leaf=""><br/></span><span leaf="">    logger.info(</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;Setting attention block size to %d tokens &#34;</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);"><span leaf="">&#34;to ensure that attention page size is &gt;= mamba page size.&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">        attn_block_size,</span><span leaf=""><br/></span><span leaf="">    )</span></code></pre><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">block_size = kernel_block_alignment_size × cdiv(mamba_page_size, kernel_block_alignment_size × attn_page_size_1_token)</span><span leaf=""><br/></span><span leaf="">           = 128 × cdiv(542720, 128 × 1024)</span><span leaf=""><br/></span><span leaf="">           = 128 × 5</span><span leaf=""><br/></span><span leaf="">           = 640</span></code></pre><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">kernel_block_alignment_size 取后端支持的最小 kernel block 与用户配置 block_size 中的较大者；对 MLA 混合模型，再与 128 取最大值，本例即 128。原因是 TRTLLM/FlashInfer 的 MLA decode kernel 要求物理kernel block 数按 128 / kernel_block_size 对齐，因此把 manager 的 block size 设为 128 的倍数，切成 kernel block 后仍满足这一约束。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">之后还要按所有非 SSM 后端最小 kernel block 的最小公倍数（backend_block_alignment）再向上取整一次。本例中 Indexer 要求 index_kpool × 32 = 128，640 已经是 128 的倍数，结果不变。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对齐 page size</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">MLA 每个 Block 的字节数：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">640 × 1024 = 655,360 B</span></code><span leaf="">。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">KDA 的 state 补齐到同样大小：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_page_size_padded = 655,360 B</span></code><span leaf="">，大约多出 20.7% 的填充。</span></p></li></ul><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">结果</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">MLA 每 token</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1 × (512 + 0) × 2B（NoPE，没有 RoPE 部分）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1024 B</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">KDA 一份 state</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">conv_state </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3072, 3]</span></code><span leaf=""> bf16 + recurrent_state </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[8, 128, 128]</span></code><span leaf=""> fp32</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">542,720 B</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">block_size</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">128 × cdiv(542720, 128 × 1024)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">640</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">MLA 单层 page</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">640 × 1024</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">655,360 B</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">KDA padding 后</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_page_size_padded</span></code><p><span leaf=""> = 655,360 B</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">多出约 20.7%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这也是 hybrid 模型启动时 block_size 经常被调到几百甚至上千的原因。TP 越小，每卡的 state 越大，block_size 也越大。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 682.312px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">Group</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">对应的 Spec 类</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_table</span></code><p><span leaf=""> shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Group 0 (MLA + Indexer)</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">UniformTypeKVCacheSpecs</span></code><div><p><span leaf="">(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MLAAttentionSpec</span></code><span leaf="">)</span></p></div></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[max_num_reqs, cdiv(max_model_len, block_size)]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Group 1 (Tail Group)</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">UniformTypeKVCacheSpecs</span></code><div><p><span leaf="">(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">CircularBufferSpec</span></code><span leaf="">)</span></p></div></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[max_num_reqs, 1]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Group 2~5 (KDA Group 0~3)</span></strong><p><span leaf=""><br/></span><em><span leaf="">(当 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_cache_mode=&#34;align&#34;</span></code><span leaf="">)</span></em></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">UniformTypeKVCacheSpecs</span></code><div><p><span leaf="">(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaSpec</span></code><span leaf="">)</span></p></div></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[max_num_reqs, cdiv(max_model_len, block_size) + num_speculative_blocks]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Group 2~5 (KDA Group 0~3)</span></strong><div><p><span leaf="">(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_cache_mode=&#34;none&#34;</span></code><span leaf="">)</span></p></div></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">UniformTypeKVCacheSpecs</span></code><div><p><span leaf="">(</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaSpec</span></code><span leaf="">)</span></p></div></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[max_num_reqs, 1 + num_speculative_blocks]</span></code></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分好 Group 之后，还要决定这些 Group 在物理显存里怎么摆。v0.31.0 及以前，GLM-5.3-Flash 没有复用通用的 Block-outermost 布局，而是专门定制了一套 Layer-outermost 布局；v0.32.0（<a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://github.com/vllm-project/vllm/pull/57169" textvalue="" linktype="text" data-linktype="2">#57169</a>）删掉了这套定制逻辑，改用通用的 BLHNC（Block-outermost）打包布局（kpool tail 的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">KpoolTailBackend</span></code><span leaf=""> 只声明支持 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">BLHNC</span></code><span leaf="">）。先看旧布局：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 11" class="rich_pages wxw-img" data-ratio="1.2055555555555555" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324166" src="https://wechat2rss.xlab.app/img-proxy/?k=2b9a887a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904KbV9A1sibrFxMo45Qfo1YEKHEHH95l7aTsmKkchUNDficjP3tCCGna0t9n5jlfpOwDLIspIYG5BMFFic8RDnic1Fox48CmeayB94%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">之所以当初要定制，根本原因在于稀疏注意力层中Indexer和MLA Kernel各自有着严格的固定步长寻址约束：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第一个 Kernel（DeepGEMM </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">paged_mqa_logits</span></code><span leaf="">，负责读 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Indexer Cache</span></code><span leaf=""> 打分）</span></strong><span leaf="">：</span><span leaf=""><br/></span><span leaf="">vLLM的KVCacheManager分配的1 个block包含 640个Token，经 4 合 1 压缩后在</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Indexer Cache</span></code><span leaf="">中对应 160 个 Pool State（160 × 132 B = 20.625 KiB）。但 DeepGEMM 的</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">paged_mqa_logits</span></code><span leaf="">kernel只接受每页 32 或 64 个 State（SM120 上只有 64），所以实际按32个 State（对应 128 个 Token，占</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">32 × 132 B = 4.125 KiB</span></code><span leaf="">）一页加载。</span><span leaf=""><br/></span><span leaf="">因此，Indexer 无法直接使用 vLLM 全局那张 640-token 粒度的</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_table</span></code><span leaf="">，而是必须将每个</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">20.625 KiB</span></code><span leaf="">的大块切分为</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">5 个 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">4.125 KiB</span></code><span leaf=""> 的小页（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kernel_block</span></code><span leaf="">）</span></strong><span leaf="">，并派生出一张</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">列宽翻 5 倍、128-token（32-state）粒度的专属细粒度页表 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kernel_block_table</span></code></strong><span leaf="">传给</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">paged_mqa_logits</span></code><span leaf="">。算子在内部循环中从</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kernel_block_table</span></code><span leaf="">取出整数小页号k，按</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">indexer_ptr + k * 4.125 KiB</span></code></strong><span leaf=""> 寻址。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第二个 Kernel（Sparse MLA，负责根据 Top-K 读 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MLA Cache</span></code><span leaf=""> 算 Attention）：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在拿到第一个 Kernel 筛出的 2048 个离散 Token 索引后，Sparse MLA 核函数将整个MLA Cache视为一张平铺的二维 Token 行表（每行代表 1 个 Token 的完整 KV，占 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">512 × 2 B = 1 KiB</span></code></strong><span leaf="">），通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_table</span></code><span leaf=""> 将逻辑 Token 位置重映射为全局整数行号r，在算子内部按 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mla_ptr + r * 1 KiB</span></code></strong><span leaf=""> 寻址。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Layer-outermost</span></code><span leaf=""> 下，由于同一层的各个大块在物理显存中紧挨着存放，相邻大块的间距就是该层自身的单块大小（Indexer 为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">20.625 KiB = 5 × 4.125 KiB</span></code><span leaf="">，MLA 为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">640 KiB = 640 × 1 KiB</span></code><span leaf="">），</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">天然就是这两个 Kernel 寻址步长的整数倍</span></strong><span leaf="">（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_table</span></code><span leaf="">中的大块 [0, 1] 只需简单乘以 5 就能展开为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kernel_block_table</span></code><span leaf=""> 中的 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]），从而天然屏蔽了跨块步长对齐问题。但代价是：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Layer-outermost</span></code><span leaf=""> 要求同一 Group 内的所有层必须拥有完全相同的page_size步长，导致不得不为 GLM-5.3-Flash专门定制了一套 Layer-outermost 布局。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从长期维护与架构统一的角度出发，肯定是希望删掉这套定制逻辑，将 GLM-5.3-Flash 收敛到通用的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Block-outermost</span></code><span leaf="">（块内紧凑打包）路径上。而在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Block-outermost</span></code><span leaf=""> 下，同层相邻两个大块之间夹杂着其他所有 21 层的数据，跨块间距统一变成了整块总大小</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">bytes_per_block</span></code><span leaf="">（原始有效数据之和为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">7,266.875 KiB</span></code><span leaf="">），原有的天然整除被打破。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，切到</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Block-outermost</span></code><span leaf=""> 就必须同时满足上述两个独立 Kernel 的步长整除约束：每个 spec 通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_stride_alignment</span></code><span leaf=""> 声明自己要求的块间步长：Indexer为一个 kernel block的 4.125 KiB，Sparse MLA 为一行1 KiB，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">_get_kv_cache_bytes_per_block</span></code><span leaf=""> 再把整块总大小 bytes_per_block向上对齐到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">LCM(4.125KiB, 1KiB) = 33KiB</span></code><span leaf="">的整数倍（即 7293 KiB），使相邻大块间距同时成为 DeepGEMM 小页（4.125 KiB）的 1768 倍与 MLA Token 行（1 KiB）的 7293 倍。在此基础上，Worker 侧的AttentionGroup只需在构建 Metadata 时，将block_table中的每一个大块号b按跨步公式 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">1768 * b + [0, 1, 2, 3, 4]</span></code><span leaf="">展开写入私有的 5 倍宽 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">kernel_block_table</span></code><span leaf="">（例如大块 [0, 1] 展开为 [0, 1, 2, 3, 4, 1768, 1769, 1770, 1771, 1772]），而 Sparse MLA 则按 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">7293 * b + off</span></code><span leaf=""> 重映射行号，即可在不改动任何一行底层 CUDA Kernel 代码的前提下，完美实现跨层跳步寻址。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Block-outermost</span></code><span leaf="">的布局如下：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 12" class="rich_pages wxw-img" data-ratio="0.5788888888888889" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324163" src="https://wechat2rss.xlab.app/img-proxy/?k=e410416a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906PYKjLicefEe1T60U28dn4ibo0BG3f7ibbIWoJc7ac4q2g6lfV5UAA6HUObzgNWSdvolhFGYbAPGrNLOL3ex53bd6ibS3iax7z3Qe0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同构模型所有层的单页page size相同，采用 Layer-outermost 即可使同层各块物理连续、单层步长天然对齐；而 Hybrid 模型包含多种单页字节数不同的异构缓存层（如 640 KiB 的 MLA、20.625 KiB 的 Indexer、2 KiB 的 Tail），采用 Block-outermost 将同一 block_id 下不同大小的层在块内按真实字节数紧凑拼接，并统一对齐块级总步长（bytes_per_block），既能用同一套分块规划逻辑兼容任意异构层组合，又能保证单个 block_id 对应一段物理连续的内存，从而满足按块分配与按块 RDMA 传输的需求。(虽然 KDA 与 MLA 之间由于 _align_hybrid_block_size 仍保持了单层 640 KiB 对齐，但 MLA（640 KiB）、Indexer（20.625 KiB）与 Tail（2 KiB）之间已无需单层大小相等)</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">S 到底存几份？</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以：S 到底要存几份？每 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 个 token 都保存一份 S 吗？vLLM 早期确实提供过这种 mamba_cache_mode=&#34;all&#34; 模式，v0.32.0 彻底移除，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaCacheMode</span></code><span leaf=""> 只剩 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">&#34;align&#34;</span></code><span leaf=""> 和 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">&#34;none&#34;</span></code><span leaf="">。要知道，缓存块本身是受 LRU 管理的，随时可以淘汰，所以 &#34;all&#34; 模式真正致命的并不是长期占用显存，而是无效的显存写入与算力浪费——它要求算子在一次 forward 中强行导出并向 HBM 写入沿途每一个 block_size 边界的中间状态，既拖慢了 kernel 执行，又把大量带宽浪费在了根本没人复用的中间状态上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 13" class="rich_pages wxw-img" data-ratio="0.45444444444444443" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324164" src="https://wechat2rss.xlab.app/img-proxy/?k=de210379&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907sY8WvHNvHdp6qFJbUV1TBr7VZ1FibyFia8KiaZtXjpTyPIOXCEtIgPe8dQa0K9hvJbicGBloRH4s5oEr14lRgPelmRzKtwibSdQx0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当前开启 Prefix Cache 后，hybrid 模型默认使用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_cache_mode=&#34;align&#34;</span></code><span leaf="">。规则是：只保存每个 scheduler step 最后一个 token 的 S，且仅当该 token 位于 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">i * block_size</span></code><span leaf=""> 位置时，才将该 block 注册进前缀缓存。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">调度侧</span></strong><span leaf="">：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Scheduler._mamba_block_aligned_split</span></code><span leaf=""> 负责对齐每个 step 的结束位置与 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf="">（640）：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">单步 token 预算充足时，在 last_cache_position 处截断：对于 2000 token 的 prompt，如果单步预算够大，既不能一口气跑完 [0, 2000)（否则唯一写出的状态落在 2000，连 1920 处的满块状态都没留存下来），也不会按 640 -&gt; 1280 -&gt; 1920 -&gt; 2000 切碎成 4 个 step；而是只在最后一个可缓存的整块边界 last_cache_position = 1920（3 × 640）处截一刀：第 1 步直接运行 [0, 1920)，第 2 步运行剩余的 [1920, 2000)。第 1 步跨过的 640、1280 两个位置不分配物理 block，在 block table 中直接填 null_block。（若算子支持 num_prefill_checkpoint_blocks &gt; 0 内部导出，则无需在 1920 处截断 step，可一步跑完 [0, 2000) 并由算子在内部将 1920 处的 S 写入预留 block。）</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">单步 token 预算受限时，中间 chunk 向下取整到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">i * 640</span></code><span leaf="">（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">aligned_end</span></code><span leaf="">）</span></strong><p><span leaf="">如果当前 step 预算不足以算完整个 prompt，就把 chunk 长度截断为 640 的整数倍；如果剩余预算不足 1 个 640，本步返回 0 暂不调度该请求，避免写出非块边界的中间状态。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">显存侧</span></strong><span leaf="">：按单个 KDA 层计算，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">align mode</span></code><span leaf=""> 状态块切换期间，每个运行中的请求会暂时同时引用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">2 + num_speculative_blocks</span></code><span leaf=""> 个状态块，分别用于旧状态、新状态和推测解码。这里统计的是Scheduler 中该请求的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">req_to_blocks</span></code><span leaf=""> 列表里的非null_block条目数，也就是本请求仍然引用的状态块数，不包括已经释放本请求引用、但仍保留在缓存池中的历史 S 快照：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">在同一个 640 块内推进时，通常直接在当前物理 block 上更新 S，不需要为每一步分配新 block。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">切换到下一个状态块时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaManager</span></code><span leaf=""> 分配新的物理 block；Worker 在 forward 前通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">preprocess_mamba</span></code><span leaf=""> 将旧 S 拷贝到新 block，再在新 block 上继续计算，避免覆盖旧块中可复用的快照。在交接完成、安全释放旧块之前，当前请求会同时持有旧块和新块的引用。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">更早、不再被当前请求需要的 block，由 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaManager.remove_skipped_blocks</span></code><span leaf=""> 从 Scheduler 维护的请求 block 列表中移除，并以 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf=""> 占位，同时将对应物理 block 的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">ref_cnt</span></code><span leaf=""> 减 1。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">只有没有其他引用时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">ref_cnt</span></code><span leaf=""> 才会归零。</span></strong><span leaf=""> 已注册hash的块ref_cnt归零后仍可带着S和hash留在BlockPool的空闲队列中，供其他请求命中，也可按缓存淘汰策略被重新分配并覆盖。</span></p></li></ul><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">请求 2000 token 的 prefill（block_size = 640，示意）：</span><span leaf=""><br/></span><span leaf="">情况 A：单步预算充足（在 last_cache_position = 1920 处截断，2 步跑完）</span><span leaf=""><br/></span><span leaf="">step 1 [0, 1920)      KDA block table: [null, null, B2]       640/1280 跨过不存，B2 存 S@1920</span><span leaf=""><br/></span><span leaf="">step 2 [1920, 2000)   KDA block table: [null, null, B2, B3]   B2 留在池中可命中，B3 存 S@2000</span><span leaf=""><br/></span><span leaf="">情况 A&#39;：单步预算充足，且后端支持内部 checkpoint（v0.32.0 GLM-5.3-Flash 默认的 FlashKDA）</span><span leaf=""><br/></span><span leaf="">step 1 [0, 2000)      KDA block table: [null, null, B2, B3]   kernel 内部把 S@1920 导出到 B2，B3 存 S@2000</span><span leaf=""><br/></span><span leaf="">情况 B：单步预算受限（例如每步最多算 1 个 block，4 步跑完）</span><span leaf=""><br/></span><span leaf="">step 1 [0, 640)       KDA block table: [B0]                   B0 存 S@640</span><span leaf=""><br/></span><span leaf="">step 2 [640, 1280)    KDA block table: [B0, B1]               B1 存 S@1280</span><span leaf=""><br/></span><span leaf="">step 3 [1280, 1920)   KDA block table: [null, B1, B2]         B0 摘除回池（带 hash），B2 存 S@1920</span><span leaf=""><br/></span><span leaf="">step 4 [1920, 2000)   KDA block table: [null, null, B2, B3]   B1 摘除回池（带 hash），B3 存 S@2000</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">命中侧</span></strong><span leaf="">：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaManager.find_longest_cache_hit</span></code><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">从右往左</span></strong><span leaf="">查找，只取最后一个命中的 block，前面全部用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf=""> 占位。因为线性注意力只需要断点处的那一份 S，前缀上的历史 S 没有用。Full Attention 层则正常从左往右匹配。两边命中长度不一致时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">HybridKVCacheCoordinator</span></code><span leaf=""> 会循环取最小值，直到所有 Group 收敛到同一个命中长度。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以这里其实这里可以看到，在开启Prefix Cache </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">align mode</span></code><span leaf="">下，确实可以只保留 2 + num_speculative_blocks（导出内部 checkpoint 的那一步再加 1）。其他的block释放回到BlockPool, 仍可能被命中，当然也可能因为显存不足而被驱逐。区别于full attention,请求未结束时，必须要确保所有的kv不被释放，即ref_count&gt;0。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">PS：为了减少&#34;为了保存可缓存的 S 而额外拆出来的分段&#34;。比如，上面的例子：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不支持内部 checkpoint</span></strong><p><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[0, 1920)</span></code><span leaf="">、</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1920, 2000)</span></code><span leaf="">，需要 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">2 次 forward</span></strong><span leaf="">。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">支持且满足内部导出条件：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[0, 2000)</span></code><span leaf="">，只需 1 次 forward，同时保存 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S@1920</span></code><span leaf=""> 和 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S@2000</span></code><span leaf="">。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过，仔细想想这套大 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf="">（640）+ 只在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">last_cache_position</span></code><span leaf="">（1920）存一份 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S</span></code><span leaf="">的解决方案其实不够完美。放到真实的在线业务中会遇到两个典型场景的痛点：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">长 System Prompt + 不同用户问题（共享前缀在中间分叉）：在单步预算充足的常态下，调度器只在整个 Prompt 的尾部附近last_cache_position（1920）截断并保存 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S</span></code><span leaf="">，中间跨过的 640、1280 全是 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf="">。如果多个请求共享前 1300 token 的 System Prompt、后面接各自不同的用户问题，第一个请求在 1920 存下的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S</span></code><span leaf=""> 已经混入了它自己的用户问题，而中间 1280 处又是 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf="">，后来的请求连一个整块都命中不了。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Agent 多轮对话 / 相同请求重试（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size = 640</span></code><span leaf=""> 匹配粒度太粗）</span></strong><p><span leaf="">即便在尾部续写或重试的场景下，由于 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 从 16 膨胀到了 640，匹配粒度粗了 10 倍以上。任何不足 640 个 token 的短前缀、或者整块之后的尾部余数（如 2000 token 中的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">1920 ~ 2000</span></code><span leaf="">），都无法被缓存复用，必须重新做 Prefill 计算。</span><span leaf=""><br/></span><span leaf="">下面我们看看 vLLM 是如何依次解决这两个问题的。</span></p></li></ol><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;" data-pm-slice="0 0 []"><span leaf="">共享前缀分叉点（Marconi-style APC）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先看第一个问题：对于“一段很长的 System Prompt 后面拼接各自不同的用户问题”的场景，共享前缀在 Prompt 中间就结束了；第一个请求登记的尾部缓存点（1920）落在后面不共享的用户问题上，后来的请求命中不了。这就尴尬了——难道为了这个诉求，又要回退到每 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 个 token 都保存一份 S 么～</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">按照前面的例子：第一个请求到来时，系统确实不知道前面哪一段是公共的 System Prompt；但别忘了，Mamba 虽然只保存了 1920 处的 block、跳过了中间的 640 和 1280（填了 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf="">），</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Full Attention 却把 640、1280、1920 三个满块的 KV 和 hash 全都登记进缓存池了</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 14" class="rich_pages wxw-img" data-ratio="0.19333333333333333" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324168" src="https://wechat2rss.xlab.app/img-proxy/?k=db6104ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906caGOiblSQzDribIJicMiayMa6Kc1N1jq4hDODohAXpFyUOuz3ABqibxqOUb3WBZjRg1Y9hlac2M6yb3iaMdw4thEtrkXJopzABTmCY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那完全可以利用Full Attention中的命中长度作为下一次的缓存边界，vLLM 借鉴了 Marconi 的思路：第一个请求不去猜，等第二个请求到来时，直接从 Full Attention 的命中结果里反推出公共前缀的分叉点，让第二个请求在计算时顺路把分叉点处的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S</span></code><span leaf=""> 存下来，供第三个及以后的请求直接复用。具体实现分为三步：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">第二个请求到达时，探测：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">KVCacheManager.get_computed_blocks</span></code><span leaf=""> 里，如果 full attention 命中的长度比 Mamba 长（多出的部分记为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_uncached</span></code><span leaf="">），就取最长的单组命中作为分叉点，记到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Request.shared_prefix_boundary</span></code><span leaf="">：</span></p></li></ol><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">  shared_prefix_boundary = num_new_computed_tokens + num_uncached</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_new_computed_tokens</span></code><span leaf=""> 是所有 Group 对齐后的共同命中长度（此时被 Mamba 拖住，比如为0）。由于 Full Attention 在中间只按满块登记了 hash，中间分叉点天然落在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf="">（640）的整数倍边界上（若分叉恰好命中前序请求的尾部，则对齐到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size</span></code><span leaf="">）。</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第二个请求调度时，截断：轮到第二个请求执行时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Scheduler._mamba_block_aligned_split</span></code><span leaf=""> 会把 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">shared_prefix_boundary</span></code><span leaf=""> 加入强制停点列表 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">stops</span></code><span leaf="">（默认对齐到 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf="">，开启 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--enable-mamba-shared-prefix-checkpoint</span></code><span leaf=""> 时支持停在块内细粒度分叉点），让当前 step 的 chunk 刚好在分叉点（junction）处结束，kernel 跑完自然就产出了该位置的S。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">保留</span></strong><span leaf="">：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">cache_blocks</span></code><span leaf=""> 在登记缓存时会将该分叉点加入 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">reachable_boundaries</span></code><span leaf="">（以及 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">_cache_partial_tail_block</span></code><span leaf=""> 的放行条件），确保即使开启了稀疏保留策略（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">retention_interval</span></code><span leaf="">），这份特意在分叉点存下的S 也不会被当作普通中间状态跳过或丢弃。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 15" class="rich_pages wxw-img" data-ratio="0.3632993512511585" data-type="gif" data-w="1079" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324171" src="https://wechat2rss.xlab.app/img-proxy/?k=124a88ab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2FKVER9adz9045rl3OlY1yyaicuIP8tWVgOQkOibhLWoholRIvuAWQ9HyS8Bp3X3wQINuRPP6UKn0EicvNLzKOPIhsWq2icWsf0H60UqibKRPppcN0%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用前面的数字代入（block_size = 640，未设置 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit</span></code><span leaf="">）：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">请求 A：2000 token，一个 chunk 0 → 1920，再 1920 → 2000（FlashKDA 内部 checkpoint 时一步跑完）。只有 1920 处有 S。</span><span leaf=""><br/></span><span leaf="">请求 B：和 A 共享前 1300 token。</span><span leaf=""><br/></span><span leaf="">        full attention 命中 1280，Mamba 命中 0（640、1280 处没有 S）</span><span leaf=""><br/></span><span leaf="">        → 整体命中 0，B 从头计算</span><span leaf=""><br/></span><span leaf="">        → shared_prefix_boundary = 0 + 1280 = 1280</span><span leaf=""><br/></span><span leaf="">        → B 的 prefill 截成 0 → 1280、1280 → ...，1280 处的 S 被缓存</span><span leaf=""><br/></span><span leaf="">请求 C：和 A、B 共享前 1300 token。Mamba 命中 1280，整体命中 1280。</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个机制默认开启，B 自己吃不到收益，它负责为后来者把分叉点的 S 存下来。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">解决block_size变大的问题</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">解决了中间满块边界（1280）和尾部满块边界（1920）的 S 留存问题后，再看第二个痛点：block_size 从 64 变成 640，Prefix Cache 的block size的匹配粒度也就粗了 10 倍。即只有当两个请求的公共前缀长度至少达到 640 个 token（或 640 的整数倍）且完全一致时，才能命中一个完整的缓存块；任何不足 640 个 token 的匹配部分（或尾部余数部分）都无法被缓存复用，必须重新进行 Prefill 计算。这就不能像前面说的忽略了～</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">怎么办呢？其实也没那么复杂，原来计算hash的维度和block_size是绑定的，那是不是可以将两者解耦：保持物理显存分配的 block_size 不变，但引入更小、且能整除 block_size 的 hash_block_size 作为哈希计算的步长（即一个物理块内包含多个哈希单元）。这样一来，即使最后一个物理块没有填满，只要它凑够了至少一个 hash_block_size，就可以用块内最后一个哈希边界的 hash 值将这个未满的物理块缓存起来——也就是所谓的 cache_partial_block（部分块缓存）。当然，受限于 CPU 哈希计算与块内查表的开销，以及底层算子的对齐要求，hash_block_size 也不能无限小。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">以下两个细粒度例子的配置假设：</span></strong><span leaf="">物理 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 仍为 640，但显式设置 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit=64</span></code><span leaf="">，使 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size = 64</span></code><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 16" class="rich_pages wxw-img" data-ratio="0.5144444444444445" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324169" src="https://wechat2rss.xlab.app/img-proxy/?k=b5fb9feb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9071OR5IDGu6hfKTf2tBvFR81nZw3NzEquGQicKUtOsbichNicfcLohicMWSRtP648GHrmyO5xEvTcq1sNawb7r57UBLLGxUYPNfuhs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将这套细粒度哈希与 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">cache_partial_block</span></code><span leaf=""> 机制应用到前面说的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">两种场景</span></strong><span leaf="">中（同时还需要考虑 EAGLE/MTP 投机解码强制回退一个 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size</span></code><span leaf=""> 重算的要求），分别对应了调度器里的两个细粒度停点：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Agent 多轮会话 / 相同请求重试（Prompt 尾部停点 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">tail_boundary</span></code><span leaf="">）</span></strong></li></ol><p><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">在这类场景下，复用边界就在上一轮 Prompt 的末尾。在上述</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit=64</span></code><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">配置下，不使用内部 checkpoint 时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Scheduler._mamba_block_aligned_split</span></code><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">会计算出 Prompt 尾部最后一个对齐</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size</span></code><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">（64）的位置</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">tail_boundary</span></code><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">：未开启 EAGLE/MTP 时，2000 token 对应 1984 = 31 × 64；若开启 EAGLE/MTP，由于匹配时会回退一个hash_block_size，这里会主动提前回退一格到 1920 = 1984 - 64。</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">   tail_boundary = (</span><span leaf=""><br/></span><span leaf="">       get_mamba_prefill_checkpoint_position(</span><span leaf=""><br/></span><span leaf="">           request.num_prompt_tokens,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);"><span leaf="">self</span></span><span leaf="">.hash_block_size,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);"><span leaf="">self</span></span><span leaf="">.use_eagle_block_drop,</span><span leaf=""><br/></span><span leaf="">       )</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">if</span></span><span style="color: rgb(209, 154, 102);"><span leaf="">self</span></span><span leaf="">.mamba_partial_cache_hit </span><span style="color: rgb(198, 120, 221);"><span leaf="">and</span></span><span style="color: rgb(198, 120, 221);"><span leaf="">not</span></span><span leaf=""> use_internal_checkpoint</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">else</span></span><span style="color: rgb(209, 154, 102);"><span leaf="">0</span></span><span leaf=""><br/></span><span leaf="">   )</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在上</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">述未开启 EAGL</span><span leaf="">E/MTP 的 64 粒度例子中，调度器在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">tail_boundary</span></code><span leaf="">（1984）处多截一刀，Full Attention 和 Mamba 都通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">_cache_partial_tail_block</span></code><span leaf=""> -&gt; </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">cache_partial_block</span></code><span leaf=""> 将未满块B3（以及 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S@1984</span></code><span leaf="">）注册在h31下。下一轮对话或重试请求到来时，就能直接命中到1984（并通过 Copy-on-Write 拷到私有新块继续往后写），把原本1920 ~ 1984的尾部余数也省下来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">若走 GLM-5.3-Flash 默认的 FlashKDA，由于支持内部 checkpoint（1984 - 0 是 16 的倍数），调度器不再多截这一刀：一次 forward 跑完 [0, 2000)，kernel 在内部把 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S@1984</span></code><span leaf=""> 导出到预留 block，再由 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaManager._cache_partial_tail_block</span></code><span leaf=""> 把该 block 按1984重新登记 hash。</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">长 System Prompt + 不同用户问题（分叉点细粒度停点 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--enable-mamba-shared-prefix-checkpoint</span></code><span leaf="">）</span></strong><span leaf="">：</span><span leaf=""><br/></span><span leaf="">回到前面的 Marconi 共享前缀分叉点场景：如果开启了 EAGLE/MTP（或前序请求留下了细粒度尾部），第二个请求在 Full Attention 命中到1280后，会被 EAGLE 退掉一个 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size</span></code><span leaf="">（64），导致探测出的分叉点 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">junction = shared_prefix_boundary</span></code><span leaf=""> 落在了物理块内部的1216！</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">默认情况下，Mamba 在中间只认640的整块边界，会把1216 向下取整到640，导致第三个请求只能命中640（因为 EAGLE 退了 64，白白丢掉 576 个 token）。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">开启 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--enable-mamba-shared-prefix-checkpoint</span></code><span leaf="">后，调度器的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">junction_stop</span></code><span leaf=""> 不再向下取整到 640，而是直接停在块内的细粒度分叉点1216处；同时 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">MambaManager._cache_partial_tail_block</span></code><span leaf=""> 放行该分叉点，调用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">cache_partial_block</span></code><span leaf=""> 将S@1216缓存下来，让第三个及以后的请求在1216处实现细粒度命中。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里特别需要注意的是： “长 System Prompt + 不同用户问题”的中间分叉场景下，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit</span></code><span leaf=""> 并不能让分叉点也按 64 细粒度命中。因为full attention下，只有尾部的block是允许cache partial的，中间部分仍然都满的，所以得到的junction_stop也一定是block size的倍数。cache.enable-mamba-shared-prefix-checkpoint 只不过是缓解eagle/MTP的丢掉block带来的问题，只丢掉一个小的hash_block_size。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">align模式下，因为 Prefill 可以一个大 chunk 跨过好几个 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf="">，中间全填 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">null_block</span></code><span leaf="">；但 Decode 是逐个 token 往前生成的，它必然会走到每一个 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">i * block_size</span></code><span leaf="">（640）的边界。每当 Decode 跨过一个 640 边界时：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">刚填满的旧块会被注册进 Prefix Cache（以便多轮对话时连模型生成的回答也能作为下一轮的前缀命中）；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">为了不覆盖旧块里的快照，必须分配一个新物理块，并在下一步 forward 前通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">preprocess_mamba</span></code><span leaf="">（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">precopy_mamba_align_fused_kernel</span></code><span leaf="">）把所有层的状态S从旧块完整拷贝到新块，再在新块上继续原地更新。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的读写S会成为瓶颈，而且大量写S可能还会把缓存池里真正高频复用的 Prompt 缓存冲刷掉。为此，vLLM 又进一步演化出了两条优化路线：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">稀疏缓存保留（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">prefix_cache_retention_interval</span></code><span leaf="">）：过滤掉非必要的中间块注册，只保留 Prompt 尾部、Marconi 分叉点或指定大间隔的S快照，防止长 Decode 冲刷缓存池；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">ReplaySSM：在 Decode 阶段引入小环形缓冲区，缓存近期的递推输入，通常不逐步将完整S写回 HBM，而是在缓冲窗口满或需要保存 checkpoint 时 flush 写回，缓解 Decode 阶段高频写S的带宽瓶颈。vLLM 的 Mamba2 实现通过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--use-replayssm</span></code><span leaf=""> 开启，默认缓冲窗口为 16 步。</span></p></li></ul><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">方法适用性不等于当前实现覆盖范围：</span></strong><span leaf="">ReplaySSM 的“缓存输入并重放”和 RecoverSSM 的“保存验证窗口的修正量，接受后恢复并提交状态”，在方法上都可以用于 GDN 和 KDA；不能简单说 ReplaySSM“不适用于 GLM-5.3-Flash 的 KDA”。具体能否直接启用，要看 vLLM 是否已为该模型、kernel、后端和配置接入了相应实现。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 17" class="rich_pages wxw-img" data-ratio="0.38222222222222224" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324167" src="https://wechat2rss.xlab.app/img-proxy/?k=9c4fcb1f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907xDWKu3Slq4OL3R2ngRBfpswsnQXx45GibFVNm2c97xGCicuqAic6cfLOHzJNyQoVVmfIzuiclEQJWOFOhAtpIu9jGyTHTF3yyTEs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 18" class="rich_pages wxw-img" data-ratio="0.43777777777777777" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324170" src="https://wechat2rss.xlab.app/img-proxy/?k=7829acdd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907icRBr0caFMgjGqT4Bk3lnXQAqOA5WGbl1dIA4ocSZjLcp0HVJaq4ibPYxUndfbXiaxeYJWbfRnbXnqhd8ZwEeibSRufnPdPbYW5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">推测解码：验证后如何恢复状态</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="">线性注意力的推测解码与 Full Attention 差异很大：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Full Attention 的 KV Cache 和线性注意力里的 短卷积状态 conv_state，存的都是各个 token 独立的向量（conv_state 只需把滑窗拓宽为 conv_kernel - 1 + num_spec，把候选 token 依次追加在窗口末尾，下一步按 num_accepted_tokens - 1 偏移读取即可），被拒绝的 draft token 不会污染前面的历史状态。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 19" class="rich_pages wxw-img" data-ratio="0.3088888888888889" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324174" src="https://wechat2rss.xlab.app/img-proxy/?k=27b5c459&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906tKZOQtK7O03ENY2Iu0sOHKCBlDMUicVjAyYvibCvMYX8jUlibBGImAibb3bFDzy6lZowZ0ExDLuUqm7icvk22PYcboKmY6qNg6HYs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">唯独线性注意力的递归状态 S（recurrent_state）：所有 token 都原地混合更新到同一个矩阵 [num_heads, head_dim, head_dim] 中，一旦把最终被拒绝的 draft token 更新进去，历史状态就被不可逆地污染了。因此，默认方案必须为每个请求额外分配 num_speculative_blocks 个物理块，将每个候选 token 更新后的 S 分别落盘到不同槽位，以便拒绝采样后回滚到 num_accepted_tokens - 1 对应的干净状态。在已接入相应实现的模型中，也可以采用 ReplaySSM / RecoverSSM，在验证后仅提交接受部分的状态更新；GDN/KDA 都可以采用这些思路，但本文基准版本中的 GLM-5.3-Flash 尚未接入，不能将其当作该模型已有的默认路径（实现范围见上文标注）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设目标模型的状态已经处理到前缀 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">p</span></i></span><span leaf="">。上轮采样得到了一个确定 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，但目标模型尚未把它作为输入执行前向；草稿模型又给出了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">2</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">3</span></sub></span><span leaf="">（num_spec = 3）。这一轮目标模型的实际输入为：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">[x0, d1, d2, d3]</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">处理 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的输出用于验证 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub></span><span leaf="">，处理 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub></span><span leaf=""> 的输出用于验证 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">2</span></sub></span><span leaf="">，依此类推；最后一个位置的输出可用于全部接受后的 bonus token。验证 kernel 为这四个输入位置分别保存状态：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">状态列索引</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">本轮处理到的输入</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">保存的递推状态</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">p</span></i><span leaf="">+1</span></sub></span></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">p</span></i><span leaf="">+2</span></sub></span></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">2</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">p</span></i><span leaf="">+3</span></sub></span></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">2</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">3</span></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">p</span></i><span leaf="">+4</span></sub></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设验证结果是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">d</span></i><sub><span leaf="">2</span></sub></span><span leaf=""> 被接受，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><span leaf="">3</span></sub></span><span leaf=""> 被拒绝，并重新采样出修正 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i></span><span leaf="">。本轮确认生成的 token 为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[d1, d2, r]</span></code><span leaf="">，而本轮输入中真正有效并算完状态的恰好是 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[x0, d1, d2]</span></code><span leaf="">（共 3 个 token），因此下一轮应从 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">p</span></i><span leaf="">+3</span></sub></span><span leaf=""> 开始，把尚未输入过目标模型的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i></span><span leaf=""> 作为下一轮的第一个确定输入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub><span leaf="">&#39;</span></span><span leaf="">。换言之：采样出了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i></span><span leaf="">，不等于目标模型已经计算并缓存了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i></span><span leaf=""> 的状态。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一般地，若接受了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">a</span></i></span><span leaf=""> 个 draft token，还会额外采样出 1 个 recovered token（或全部接受时的 bonus token），因此：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\mathrm{num\_accepted\_tokens} = a + 1,
\qquad
\mathrm{selected\_column} = \mathrm{num\_accepted\_tokens} - 1 = a." class="rich_pages wxw-img" data-ratio="0.02962962962962963" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 677px;height: auto;" data-imgfileid="502324172" src="https://wechat2rss.xlab.app/img-proxy/?k=25ed8fb5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906eZ3rkwXHjFVpA57QoogE5HlfiazicV8aPTupsmbZDGvQb5ORGSEtoc55msoIIp61MNXUwg92nic7Mt191saribanSOv2xEPewmHA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在实现上，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">spec_state_indices_tensor</span></code><span leaf=""> 为每个请求提供一行物理 slot，形状为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_spec_requests, 1 + num_spec]</span></code><span leaf="">，这些物理 slot ID 并不要求连续。例如：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">spec_state_indices_tensor[request] = [41, 9, 72, 18]</span><span leaf=""><br/></span><span leaf="">接受两个 draft（a = 2）：</span><span leaf=""><br/></span><span leaf="">num_accepted_tokens = 3</span><span leaf=""><br/></span><span leaf="">selected_column = 2</span><span leaf=""><br/></span><span leaf="">下一轮初始递推状态 = state_pool[72]（即 S_{p+3}）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在没有跨块状态搬移的常规路径中（例如 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">mamba_cache_mode=&#34;none&#34;</span></code><span leaf="">，或 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">align</span></code><span leaf=""> 模式下仍在同一个 640 块内推进时），下一轮 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">fused_recurrent_kda</span></code><span leaf=""> 读取初始状态时直接使用：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">column = num_accepted_tokens[request] - </span><span style="color: rgb(209, 154, 102);"><span leaf="">1</span></span><span leaf=""><br/></span><span leaf="">slot = spec_state_indices_tensor[request, column]</span><span leaf=""><br/></span><span leaf="">S = state_pool[slot]</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这一步直接通过索引偏移完成了逻辑回滚，不需要先把选中的状态从 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">slot 72</span></code><span leaf=""> 复制回固定的主槽 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">slot 41</span></code><span leaf="">；随后 kernel 在片上以 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">state_pool[72]</span></code><span leaf=""> 为起点，按新一轮输入顺序重新从第 0 列（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">slot 41</span></code><span leaf="">）开始依次覆写各状态槽，上一轮被拒绝分支留下的快照（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">slot 18</span></code><span leaf="">）自然被覆盖。（仅当 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">align</span></code><span leaf=""> 模式下跨过 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 边界需要封存旧块时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">preprocess_mamba</span></code><span leaf=""> 才会按 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_accepted_tokens - 1</span></code><span leaf=""> 将选中槽位的状态显式拷贝到新分配的块槽位中，并将 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">num_accepted_tokens</span></code><span leaf=""> 重置为 1。）</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">KDA实现逻辑概述</span></h3><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">α[c]  = exp(forget_log[c])                        # 遗忘门，每个 key channel 一个，∈ (e^{-5}, 1)</span><span leaf=""><br/></span><span leaf="">β     = sigmoid(write_logit)                      # 写门，  每个 head 一个标量</span><span leaf=""><br/></span><span leaf="">γ[c]  = sigmoid(output_b[c])                      # 输出门，每 head 每 channel，∈ (0, 1)</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 602.312px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">变量</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">qkv</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hidden @ W_q</span></code><p><span leaf=""><br/></span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hidden @ W_k</span></code><span leaf=""><br/></span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hidden @ W_v</span></code><span leaf=""><br/></span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">SiLU(causal_conv1d(qkv))</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">qkv权重都是:</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[hidden_size, num_heads × head_dim]</span></code><span leaf=""><br/></span><span leaf="">conv权重:</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3 × num_heads × head_dim, conv_kernel]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">qkv都是</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">β</span></code><p><span leaf="">写门</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">sigmoid(hidden @ W_β)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[hidden_size, num_heads]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">γ</span></code><p><span leaf="">输出门</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">sigmoid(hidden @ W_γa @ W_γb)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[hidden_size, head_dim]</span></code><p><span leaf="">，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[head_dim, num_heads × head_dim]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">α</span></code><p><span leaf="">遗忘门</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">exp(forget_log(hidden @ W_αa @ W_αb))</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">γ</span></code><span leaf=""> 两段；另加 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">A_log</span></code><span leaf="">、</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">dt_bias</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td></tr></tbody></table><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">q, k = l2norm(q), l2norm(k)                       </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 每 head 独立，沿 head_dim 归一化</span></span><span leaf=""><br/></span><span leaf="">S  ← S ⊙ α                                        </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 遗忘：按 key 列缩放</span></span><span leaf=""><br/></span><span leaf="">Δv ← v − S k                                      </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 残差</span></span><span leaf=""><br/></span><span leaf="">S  ← S + (β · Δv) ⊗ k                             </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 外积写入</span></span><span leaf=""><br/></span><span leaf="">o  ← S (q · head_dim^{-</span><span style="color: rgb(209, 154, 102);"><span leaf="">1</span></span><span leaf="">/</span><span style="color: rgb(209, 154, 102);"><span leaf="">2</span></span><span leaf="">})                      </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 读出，注意 scale</span></span><span leaf=""><br/></span><span leaf="">o  ← RMSNorm(o) ⊙ γ                               </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 输出，W_o[num_heads × head_dim, hidden_size]</span></span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">⊙</span></code><span leaf=""> 广播在 V 轴上，只按 K 通道不同。GDN 和 KDA 的遗忘门都由当前 token 的 hidden 动态生成。关键区别是：GDN 为每个 head 生成一个衰减标量，而 KDA 为每个 head 的每个 key 通道生成独立的衰减系数。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">关于遗忘门的处理逻辑这里需要详细说下：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">x          = forget_b + dt_bias           </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># forget_b = hidden @ W_αa @ W_αb</span></span><span leaf=""><br/></span><span leaf="">z          = exp(A_log) · x</span><span leaf=""><br/></span><span leaf="">forget_log = lower_bound · sigmoid(z)     </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 被夹在 (lower_bound, 0)</span></span><span leaf=""><br/></span><span leaf="">α          = exp(forget_log)              </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 被夹在 (e^{lower_bound}, 1)</span></span><span leaf=""><br/></span><span leaf="">S          = S * α                        </span><span style="color: rgb(127, 132, 142);font-style: italic;"><span leaf=""># 每步最多缩到约 0.67%，不会放大</span></span></code></pre><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 687.281px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">加偏置</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">x = forget_b + dt_bias</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads, head_dim]</span></code><p><span leaf="">，沿 token 广播</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">按 head 缩放</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">z = exp(A_log) · x</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_heads, 1]</span></code><p><span leaf="">，沿 token、channel 广播</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">有界 log</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_log = -5 · sigmoid(z)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">lower_bound = -5</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同输入，∈ </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">(-5, 0)</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">遗忘门</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">α = exp(forget_log)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同输入，∈ </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">(e^{-5}, 1)</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">乘到状态</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">S = S × α</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S[h,req] [head_dim, head_dim]</span></code><p><span leaf="">；</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">α[num_sched_tokens, num_heads] [head_dim]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S[h]</span></code><p><span leaf=""> 同输入；每列最多缩到约 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">e^{-5}≈0.67%</span></code><span leaf="">，不会放大</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">A_log</span></code><span leaf=""> 每 head 一个标量；</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">dt_bias</span></code><span leaf=""> 每 head 每 channel 一个。上表省略了 batch 维；当输入使用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_sched_tokens, num_heads, head_dim]</span></code><span leaf=""> 时，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">A_log</span></code><span leaf=""> 的广播形状才是 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, 1, num_heads, 1]</span></code><span leaf="">。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S</span></code><span leaf="">为每请求每 head 一张shape为[head_dim, head_dim]的recurrent_state。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 20" class="rich_pages wxw-img" data-ratio="0.647196261682243" data-type="png" data-w="856" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324173" src="https://wechat2rss.xlab.app/img-proxy/?k=a9d391e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9077kOy6m5bTwvCardibmOMibaUBgZibLmn5Z52HRXqbKLJPLva1dQ4Mwh4LRNe0zXodCKnsxRcY0XWOydPJM5nbQuTqKJnSVP96tA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><hr style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-right: none;border-bottom: none;border-left: none;border-image: initial;border-top: 1px solid rgb(229, 229, 229);margin: 28px 0px;"/><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">vLLM中Decode的实现</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">融合GEMM Proj</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">实现里 6 个投影合成一次 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">in_proj_qkvbfg_a</span></code><span leaf="">。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 648.922px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">融合投影</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hidden @ W_qkvbfg_a</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, hidden_size]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[hidden_size, 3 × num_heads × head_dim + num_heads + 2 × head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, 3 × num_heads × head_dim + num_heads + 2 × head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">split</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">按列切开</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">上一行</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">见下表</span></p></td></tr></tbody></table><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">张量</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">含义</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">qkv</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, 3 × num_heads × head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">尚未拆 q/k/v</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">write_logit</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">写门 logit，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每 head 1 个数</span></strong></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_a</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">遗忘门第一段，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不按 head 切</span></strong></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">output_a</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">输出门第一段，同样不切</span></p></td></tr></tbody></table><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">GEMM：遗忘门、输出门升到 per-channel</span></h4><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 638.594px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">遗忘升维</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_a @ W_fb</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[head_dim, num_heads × head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_b [num_sched_tokens, num_heads × head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">输出升维</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">output_a @ W_gb</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[head_dim, num_heads × head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">output_b [num_sched_tokens, num_heads × head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">reshape forget_b</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">view</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_b</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_sched_tokens, num_heads, head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">reshape output_b</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">view</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">output_b</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads, head_dim]</span></code></td></tr></tbody></table><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">短卷积</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">通道维独立，所以把 q/k/v 在通道上拼起来做一次 causal conv，和三次分开数学等价。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 720.859px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">合并 conv</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">causal conv1d, SiLU, kernel=</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_kernel</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">qkv [num_sched_tokens, 3 × num_heads × head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">q/k/v 原始权重各为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads × head_dim, 1, conv_kernel]</span></code><span leaf="">；合并后传给算子的权重为 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[3 × num_heads × head_dim, conv_kernel]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同输入 Shape</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">split</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">view</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">上一行</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">q,k,v</span></code><p><span leaf=""> 各 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, num_heads × head_dim]</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">拆 head</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">view</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">各投影</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_sched_tokens, num_heads, head_dim]</span></code></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">卷积读/写 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">conv_state</span></code><span leaf="">，decode 用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">causal_conv1d_update</span></code><span leaf="">，prefill 用 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">causal_conv1d_fn</span></code><span leaf="">。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">门控变成 α、β（decode 在 kernel 内）</span></h4><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 750.5px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">参数 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">写门</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">β = sigmoid(write_logit)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_sched_tokens, num_heads]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同输入，fp32</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">遗忘</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_log = lower_bound · sigmoid( exp(A_log) · (forget_b + dt_bias) )</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_b [1, num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">A_log [1,1,num_heads,1]</span></code><p><span leaf="">；</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">dt_bias [num_heads, head_dim]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_log</span></code><p><span leaf=""> 的 Shape 同 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">forget_b</span></code><span leaf="">，值落在 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">(lower_bound, 0)</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">衰减系数</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">α = exp(forget_log)</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[1, num_sched_tokens, num_heads, head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每 head、每 key channel 一个，</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">(e^{lower_bound}, 1)</span></code></p></td></tr></tbody></table><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">递推核（每个 head 独立）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">kernel 里还会对 q、k 做 L2 norm（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">use_qk_l2norm_in_kernel=True</span></code><span leaf="">）。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">状态 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">归一化</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">q, k ← l2norm(q), l2norm(k)</span></code><p><span leaf="">；</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">q ← q · head_dim^{-1/2}</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">q, k [head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同输入</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">遗忘</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S ← S ⊙ α</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">α [head_dim]</span></code><p><span leaf=""> broadcast 到 V</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S [head_dim_v, head_dim_k]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">原地</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">残差</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Δv ← v − S k</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">v,k [head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同上</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Δv [head_dim]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">写入</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">S ← S + (β Δv) ⊗ k</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">β</span></code><p><span leaf=""> 标量</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同上</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">原地</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">读出</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">o ← S q</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">q [head_dim]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同上</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">o [head_dim]</span></code></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">逐 token 扫完后：</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">core  [1, num_sched_tokens, num_heads, head_dim]</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">decode（含推测验证）在各平台都走 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">fused_recurrent_kda</span></code><span leaf="">；prefill 在本文配置下默认走 FlashKDA，强制 Triton 或不满足 FlashKDA 条件时走 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">chunk_kda_with_fused_gate</span></code><span leaf="">（分块 + 门控 cumsum），见本章开头的后端表。公式同一套，只是执行计划不同；下一节按 Triton 路径展开。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">输出门 + 投回 hidden</span></h4><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 804.875px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步骤</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">计算公式</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输入 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重 Shape</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">输出 Shape</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">门控 RMSNorm</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每 head RMSNorm，再 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">× sigmoid(output_b)</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">core</span></code><p><span leaf=""> 与 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">output_b [num_sched_tokens, num_heads, head_dim]</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">RMSNorm 的 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">head_dim</span></code><span leaf=""> 向量</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">core</span></code></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">展平</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">view</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">上一行</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, local_projection_size]</span></code></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">输出投影</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">flat @ W_o</span></code><p><span leaf="">，TP 时再 AllReduce</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, local_projection_size]</span></code></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_heads × head_dim, hidden_size]</span></code><p><span leaf="">（数学上；RowParallel 按行切）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">[num_sched_tokens, hidden_size]</span></code></td></tr></tbody></table><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Prefill中的Chunk微观并行</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="">本节以 Triton FLA 路径（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">chunk_kda_with_fused_gate</span></code><span leaf="">）为讲解实现，取其 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">chunk 长度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">=64</span></span><span leaf="">（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">FLA_CHUNK_SIZE</span></code><span leaf="">）、子块大小 16×16</span></strong><span leaf="">。一般公式对任意 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 成立；FlashKDA 计算的是同一套代数，但它是独立的融合 CUDA kernel，tile 划分和中间结果的存放以其自身实现为准，不能直接套用这里的分块参数。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">先约定一个 chunk、一个 head 内的记号。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 是块首状态，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf=""> 是块末状态；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">,</span><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 均指短卷积及激活之后、已做 L2 归一化的向量，读出时使用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><span leaf="">̂</span><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><span style="display: inline-block;vertical-align: middle;text-align: center;line-height: 1.15;"><span style="display: block;padding: 0px 3px;"><i><span leaf="">q</span></i><sub><i><span leaf="">i</span></i></sub></span><span style="display: block;border-top: 1.2px solid rgb(62, 71, 83);padding: 1px 3px 0px;"><span leaf="">√(</span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub><span leaf="">)</span></span></span></span><span leaf="">。本节的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i></span><span leaf=""> 只表示核心状态读出，尚未经过输出端的 RMSNorm、输出门和投影。定义逐通道的 log-gate 和块内前缀和：</span></p><p style="text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="g_i=\ln\alpha_i,\qquad G_i=\sum_{t=1}^{i}g_t,\qquad G_0=0,
\qquad
D_C=\operatorname{Diag}(e^{G_C})." class="rich_pages wxw-img" data-ratio="0.11851851851851852" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 487px;height: auto;" data-imgfileid="502324178" src="https://wechat2rss.xlab.app/img-proxy/?k=080ad96c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906ccxVr5mRPUvsfaFIPoZeqzQ4ZF0NKHIySW1OfHT7jQBQCXN4QOMpkV5Awy4CtwEPaLHCDAPudhPDBy7QgW5M8PCBrUOhjvyY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对数和指数均逐元素计算，前缀和在每个 chunk 开头重新起算。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span></span><span leaf=""> 连乘和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i></sup></span><span leaf=""> 表达的是同一组衰减：</span></p><p style="text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\bigodot_{t=1}^{i}\alpha_t=e^{G_i},
\qquad
\bigodot_{t=j+1}^{i}\alpha_t=e^{G_i-G_j},
\qquad
\bigodot_{t=i+1}^{C}\alpha_t=e^{G_C-G_i}." class="rich_pages wxw-img" data-ratio="0.13148148148148148" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 454px;height: auto;" data-imgfileid="502324177" src="https://wechat2rss.xlab.app/img-proxy/?k=d176cfeb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906yjhxNBk8jfXaApdlAcLWnOEI8chI104mjn4XYomDtw4icm5VD6e8ia1MZ3MbMoxARBppogGPsMFkadeyxXFHIibLQCxgROG2AQo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上文已经给出三阶段执行方式：不同 chunk 的预计算和输出可以并行，同一请求的块间状态仍按顺序传递。切块本身并没有消除递归依赖，还需要把块内计算组织成适合 GPU 执行的运算。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在 Decode 阶段，每次只来一个新 Token，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><span leaf="">→ </span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 的更新自然只执行一步。在 Prefill 阶段，一批输入已经给定；如果仍逐 token 执行状态更新，就会受到时间依赖的限制，主要计算也仍是矩阵与向量乘法、外积和归约，难以获得较大矩阵乘法的 Tensor Core 执行效率。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Chunkwise 重排把大量逐 token 运算转成矩阵乘法，使状态和输入能够被多个 token 复用，并增加时间维上的并行机会；同时也引入辅助矩阵和快照等开销。它不要求所有 token 的每一步都同时执行，最终收益取决于这些成本的平衡，需要结合实际 kernel 测量。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里要算的不只是“这个 chunk 结束后，状态变成什么”，还要算“chunk 里的每个 token 分别读出什么”。因此，接下来的推导有两个目标：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块末状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span></strong><p><span leaf="">传给下一个 chunk，继续维护历史记忆。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块内输出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i></span></strong><p><span leaf="">包含本 chunk 每个 token 在完成自己的更新后读出的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，供后续的归一化、输出门和投影使用。</span></p></li></ul><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="o_i=S_i\hat q_i,\qquad
O=\begin{bmatrix}o_1^\top\\\vdots\\o_C^\top\end{bmatrix}\in\mathbb R^{C\times d_v}." class="rich_pages wxw-img" data-ratio="0.3215158924205379" data-type="png" data-w="818" style="display: block;margin: 0px auto;max-width: 100%;width: 273px;height: auto;" data-imgfileid="502324176" src="https://wechat2rss.xlab.app/img-proxy/?k=2367e1b8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906nLs0HGqGSZhK4QofpicMEM9Ts2sXHoclacEozU4xt2Wyqujyzic4icNZKZFAStqDeTCpKOUAeSHVgiaJJibcT9b1PV7c2puZhb8UE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">，并不等于已经得到了所有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">：第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 个 token 需要读取的是自己的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，不能统一拿块末的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf=""> 来读。后面要做的，就是在保留原递推结果的前提下，把状态更新和逐位置读出都改写为下三角系统与矩阵运算，避免为计算输出而逐个生成完整的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">1</span></sub><span leaf="">,…,</span><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i><span leaf="">-1</span></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上文中，我们已经得到公式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t = S_{t-1}T_t + H_t" class="rich_pages wxw-img" data-ratio="0.1493975903614458" data-type="png" data-w="415" style="display: block;margin: 0px auto;max-width: 100%;width: 139px;height: auto;" data-imgfileid="502324175" src="https://wechat2rss.xlab.app/img-proxy/?k=5759a232&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904UwWdxSTVNcpLBycJNAOZ1fgQ3eqAIsicwapyhkOqcsibZXuWicvkaFdp3rwshpInIY12deEXUxaNJ7BcJQsl2bO89sbOcjsQJsk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">已知一个 chunk 包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 个 token，其块末状态可以写成</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_C=S_0(T_1T_2\cdots T_C)
+\sum_{i=1}^{C}H_i(T_{i+1}\cdots T_C)." class="rich_pages wxw-img" data-ratio="0.17008797653958943" data-type="png" data-w="1023" style="display: block;margin: 0px auto;max-width: 100%;width: 341px;height: auto;" data-imgfileid="502324179" src="https://wechat2rss.xlab.app/img-proxy/?k=9f4e10f4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9071eVAOuOYQhiccOXRticm6VFvNCvTFLr98CfkafgEmSGc6zQ02TB50xxXNicGIJic7TrEzPZqHX7Ccf9W2LYvYNQvuqXO5VqDXpZ8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">矩阵连乘按下标递增的顺序从左到右排列；当 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">=</span><i><span leaf="">C</span></i></span><span leaf=""> 时，空乘积为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><sub><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sub></span><span leaf="">，因此最后一项就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">H</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="T_i=\operatorname{Diag}(\alpha_i)-\beta_i(\alpha_i\odot k_i)k_i^\top,
\qquad H_i=\beta_i v_i k_i^\top." class="rich_pages wxw-img" data-ratio="0.06388888888888888" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 386px;height: auto;" data-imgfileid="502324183" src="https://wechat2rss.xlab.app/img-proxy/?k=1119f88e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904zwmjvg3uPGC4nSicU0w0ibBHPlT5bG7ot2IbalMsvQm6qkqPSCl6QDG8lCtzpPfvrqM9xXpfQwaLURxicaJ6Hzo8eUjydKsibia5g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">缩写为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\mathrm{Transition}_{\mathrm{chunk}}=T_1\cdots T_C,
\qquad
\Delta_{\mathrm{chunk}}=\sum_{i=1}^{C}H_i(T_{i+1}\cdots T_C)." class="rich_pages wxw-img" data-ratio="0.12037037037037036" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 481px;height: auto;" data-imgfileid="502324184" src="https://wechat2rss.xlab.app/img-proxy/?k=3cd4c7b6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904cgqCCGAicaa9xSr1Ey7HH62cIicR588BWOTmTrdOhwdbzqyRkklenTR0eyUCHRmI7C2FMqu6z2YCQnTmWRQBO5xMuXLecgkVDs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_C = S_0 \cdot \mathrm{Transition}_{\mathrm{chunk}} + \Delta_{\mathrm{chunk}}." class="rich_pages wxw-img" data-ratio="0.07228915662650602" data-type="png" data-w="830" style="display: block;margin: 0px auto;max-width: 100%;width: 277px;height: auto;" data-imgfileid="502324180" src="https://wechat2rss.xlab.app/img-proxy/?k=07e42e9c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907LSibCia5xjicG8vLNJZicA5XNDWW17JNLyzJAI5XsU3dmm4kWI75PT9uH03VW5F3SVibGcrWhtNgiaHtCjVxhnBbBePnKEPAPc9tBs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这条公式把状态的来源分成了两条线：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块内新增的信息</span></strong><p><span leaf="">本 chunk 的 value 写入后，经过后续 token 的变换，最终留下多少？这就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">。</span></p></li></ul><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Delta_{\mathrm{chunk}} = \sum_{i=1}^{C} H_i \left( \prod_{j=i+1}^{C}T_j \right)." class="rich_pages wxw-img" data-ratio="0.270392749244713" data-type="png" data-w="662" style="display: block;margin: 0px auto;max-width: 100%;width: 221px;height: auto;" data-imgfileid="502324182" src="https://wechat2rss.xlab.app/img-proxy/?k=777904f3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906bP3qx60EShgdmvnGIxweehs2PloBibogleroo5lLM8ialZ898s6TJOca9uuemxd9C7QBqh16t94IXDanbibKp2FwGqm9JZibj1XU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块外传入的信息</span></strong><p><span leaf="">已有状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 经过本 chunk 后，变成什么？这由 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> 描述。</span></p></li></ul><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\mathrm{Transition}_{\mathrm{chunk}}=T_1T_2\cdots T_C
=\prod_{i=1}^{C}\Big(\operatorname{Diag}(\alpha_i)-\beta_i(\alpha_i\odot k_i)k_i^\top\Big)." class="rich_pages wxw-img" data-ratio="0.11481481481481481" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 506px;height: auto;" data-imgfileid="502324181" src="https://wechat2rss.xlab.app/img-proxy/?k=b7b4724c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905BsicBTFQLsXU2SNHXwOlR10IwWicpgl1kLsU0nNvpBL1SwOnZYPDwqC0ACpnrxu0tZu2PrYVBaFOyhUicRyz0iaMyEQKOKLDf83E%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，接下来按以下顺序推导：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">：它按定义不包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，因此只追踪本 chunk 的 value 写入及其后续变换。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">，再拆成两部分：</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">a. </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">D</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf=""> 遗忘门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span></span><span leaf=""> 对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的直接衰减。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">b. 本 chunk 各 token 的残差更新，对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的进一步修正。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">把两条线重新合并，得到块末状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">，用于块间传递。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">计算块内输出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i></span><span leaf="">：复用前面求出的实际写入残差，把每个位置的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">q</span></i><span leaf="">̂</span><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 整理成矩阵乘法，无须逐个生成完整的中间状态。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">输出部分最终会得到：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O=\underbrace{\hat Q_{\mathrm{in}}S_0^\top}_{\text{从衰减后的块首状态读取}}
+\underbrace{ME}_{\text{从当前及历史实际写入读取}}." class="rich_pages wxw-img" data-ratio="0.15555555555555556" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 362px;height: auto;" data-imgfileid="502324188" src="https://wechat2rss.xlab.app/img-proxy/?k=6bc398c1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907tvZzbErBadwwgB3Iibgic1ZVwuichCN9CW1ibiaicqYqUfbPqPUBwthicxNLjegOLyOgCoia7rvtaojb70pQDckFFRK5rjZdiaGcczts0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里先记住各项的作用：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̂</span><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf=""> 是带上块首到当前位置衰减的 query；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf=""> 按行存放每个 token 的实际写入残差，已经包含写门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf="">；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 是包含对角线的下三角读取矩阵，保证每个 token 只读取自己及之前的写入。具体形式会在后面的“块内输出”中展开。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">下面多次使用两条对角矩阵恒等式：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\operatorname{Diag}(\alpha_a)\operatorname{Diag}(\alpha_b)
&amp;=\operatorname{Diag}(\alpha_a\odot\alpha_b),\\
k^\top\operatorname{Diag}(x)&amp;=(k\odot x)^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.1672473867595819" data-type="png" data-w="861" style="display: block;margin: 0px auto;max-width: 100%;width: 287px;height: auto;" data-imgfileid="502324186" src="https://wechat2rss.xlab.app/img-proxy/?k=545ba19a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904u1BepBRiaRtibC4cI1CqKXIODzic9K0pdLgHYsbR538swwjlXk0Gp2ib7ILZlJqY1YfBEMYibCvibtEXibujPKwUWtic0lqBdPmmrszk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只有对角衰减可以这样合并；一般的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">T</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 不能交换顺序。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1. 只考虑块内写入，重新表示每次写入</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">因为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> 不包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，本节只计算块内写入的累积，不计入传入状态的影响。</span></strong><span leaf=""> 这等价于从零状态开始执行同样的更新，而不是要求实际传入状态为零。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先用四 token 的缩小示例展开：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\Delta_{\mathrm{chunk}}
&amp;=
\underbrace{
\beta_1v_1k_1^\top\,
\operatorname{Diag}(\alpha_2)(I-\beta_2k_2k_2^\top)\,
\operatorname{Diag}(\alpha_3)(I-\beta_3k_3k_3^\top)\,
\operatorname{Diag}(\alpha_4)(I-\beta_4k_4k_4^\top)
}_{\text{Token 1}}\\
&amp;\quad+
\underbrace{
\beta_2v_2k_2^\top\,
\operatorname{Diag}(\alpha_3)(I-\beta_3k_3k_3^\top)\,
\operatorname{Diag}(\alpha_4)(I-\beta_4k_4k_4^\top)
}_{\text{Token 2}}\\
&amp;\quad+
\underbrace{
\beta_3v_3k_3^\top\,
\operatorname{Diag}(\alpha_4)(I-\beta_4k_4k_4^\top)
}_{\text{Token 3}}\\
&amp;\quad+
\underbrace{
\beta_4v_4k_4^\top
}_{\text{Token 4}}.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.30462962962962964" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 666px;height: auto;" data-imgfileid="502324189" src="https://wechat2rss.xlab.app/img-proxy/?k=33b023f2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9060tCiaXyv9OW4p2viaqtPfYdBZicXB0FAgeUmXy1gdRuHYK3dMojIMx7XdMH2eiajicYlvByZzVUUiarfsqUw1iclkEYO2ia1EAia9nXDg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将从零状态出发、只包含本 chunk 写入的状态记为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><sup><span style="font-style: normal;"><span leaf="">loc</span></span></sup></span><span leaf="">，其中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><sup><span style="font-style: normal;"><span leaf="">loc</span></span></sup><span leaf="">=0</span></span><span leaf="">，块末有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub><sup><span style="font-style: normal;"><span leaf="">loc</span></span></sup><span leaf="">=Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">。将对应的残差 value 记为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">：它用当前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 减去此前块内写入产生的预测，再乘更新强度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，不包含实际传入状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的影响。包含旧状态影响的实际残差仍记为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="u_i=\beta_i(v_i-S_{i-1}^{\mathrm{loc}}\operatorname{Diag}(\alpha_i)k_i),
\qquad
S_i^{\mathrm{loc}}=S_{i-1}^{\mathrm{loc}}\operatorname{Diag}(\alpha_i)+u_i k_i^\top." class="rich_pages wxw-img" data-ratio="0.05277777777777778" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 497px;height: auto;" data-imgfileid="502324187" src="https://wechat2rss.xlab.app/img-proxy/?k=9bc48b06&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9057LbSWI8vbRCfhaUPljnia9Ix83CqTkkBa2qIWLW3dOia4IgZVXKPLANXpa7p7fTECMcKOOibroNT50qEjXctuzhHFygBnfQ0wIQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从这个纯衰减 + 残差写入的递推展开：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
S_1^{\mathrm{loc}}&amp;=u_1k_1^\top,\\
S_2^{\mathrm{loc}}&amp;=u_1k_1^\top\operatorname{Diag}(\alpha_2)+u_2k_2^\top,\\
S_3^{\mathrm{loc}}&amp;=u_1k_1^\top\operatorname{Diag}(\alpha_2)\operatorname{Diag}(\alpha_3)\\
&amp;\quad+u_2k_2^\top\operatorname{Diag}(\alpha_3)+u_3k_3^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.42544459644322846" data-type="png" data-w="731" style="display: block;margin: 0px auto;max-width: 100%;width: 244px;height: auto;" data-imgfileid="502324185" src="https://wechat2rss.xlab.app/img-proxy/?k=4d22fb08&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904c6v5P0gKh9micIkj4kmAvdRuI7akZfm3hOEx9GXQMxdh1ytOVoAuqTicoua3LL6HRr44ibcxDiclrN4395xiacxhFgOzrrnJibXATI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">推广到任意的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf="">，即在 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 已完成衰减、尚未写入时，</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\bar S_i^{\mathrm{loc}}&amp;=S_{i-1}^{\mathrm{loc}}\operatorname{Diag}(\alpha_i)\\
&amp;=\sum_{j&lt;i}u_jk_j^\top\operatorname{Diag}(\alpha_{j+1})\cdots\operatorname{Diag}(\alpha_i).
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.23429179978700745" data-type="png" data-w="939" style="display: block;margin: 0px auto;max-width: 100%;width: 313px;height: auto;" data-imgfileid="502324192" src="https://wechat2rss.xlab.app/img-proxy/?k=487ed99b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905gfd0HNjA0Y0DjxqPAWuU2xLRxIXCelQJSqUibqtmGMVa5BoZZPaKsK10By28p4azvcqJNBktCtg9BrePoLd5yLDmO5ibue0hXI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">2. 从当前读取推导 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">历史 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 对当前局部读取 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">i</span></i></sub><sup><span style="font-style: normal;"><span leaf="">loc</span></span></sup><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 的贡献为</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
u_jk_j^\top\operatorname{Diag}(\alpha_{j+1})\cdots\operatorname{Diag}(\alpha_i)k_i
&amp;=u_j\left[
\left(k_j\odot\bigodot_{t=j+1}^{i}\alpha_t\right)^\top k_i
\right].
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.14074074074074075" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 464px;height: auto;" data-imgfileid="502324194" src="https://wechat2rss.xlab.app/img-proxy/?k=e37bb540&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904GicDddIIfz6DlvZjbD4wY5pv1b36iclvbUbuBLh9ZaHlFI79GseibAgDatty8oZwJSxibanOpSyjJyII6qHwSYR2ZcjrD3H4Mbwk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">中括号里是标量，表示历史 key 衰减到当前读取位置后，与当前 key 的对齐程度。把所有历史贡献相加，再代入残差定义：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="u_i=\beta_i v_i
-\sum_{j&lt;i}\left[
\beta_i k_i^\top\left(k_j\odot\bigodot_{t=j+1}^{i}\alpha_t\right)
\right]u_j." class="rich_pages wxw-img" data-ratio="0.17971887550200802" data-type="png" data-w="996" style="display: block;margin: 0px auto;max-width: 100%;width: 332px;height: auto;" data-imgfileid="502324191" src="https://wechat2rss.xlab.app/img-proxy/?k=574704c8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906gGz9633eNica3fCyMDlNRa2Eibnibw34jZeicicJFFgdopDWMnHwrtSUHKY6HT3r3BNWZ7NnoFjeticFmHicicIBT7yEhS0YDxjNa0Zg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在才把中括号里的系数命名为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="A_{ij}=
\begin{cases}
\displaystyle\beta_i k_i^\top\left(k_j\odot\bigodot_{t=j+1}^{i}\alpha_t\right),&amp;j&lt;i,\\[4pt]
0,&amp;j\ge i.
\end{cases}" class="rich_pages wxw-img" data-ratio="0.2967525195968645" data-type="png" data-w="893" style="display: block;margin: 0px auto;max-width: 100%;width: 298px;height: auto;" data-imgfileid="502324193" src="https://wechat2rss.xlab.app/img-proxy/?k=c7dd5a6c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905cELjXJKicI6ibh78ibqJQyOUVaE9qXdMvWC2aic9ou5w7NKrMVVgLNM2ia8Uu5aO8AZPCMzEaQiaXbHAxDFoZECYYKOhib2G6P3ppc8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 是一个</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">记录“前面的 token 对当前 token 有多大预测贡献”的系数矩阵</span></strong><span leaf="">。于是</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="u_i=\beta_i v_i-\sum_{j&lt;i}A_{ij}u_j." class="rich_pages wxw-img" data-ratio="0.2625482625482625" data-type="png" data-w="518" style="display: block;margin: 0px auto;max-width: 100%;width: 173px;height: auto;" data-imgfileid="502324190" src="https://wechat2rss.xlab.app/img-proxy/?k=86fe4ca2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Gu3kjHn9MEqT8iaswrnP7sbfVpVVfib5pm8TFgp9T9ibvzQr9vjP7jQ2rJOXPEPiaMmFIiau8NBC65cXgIffPKOhcU2OhUeJjaXpc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里有三个容易混淆的细节：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">衰减从 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">+1</span></span><span leaf=""> 开始，因为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">j</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 是在 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 自己的衰减之后才写入的。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">衰减包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf="">，因为 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 先衰减，再读取历史状态。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">系数乘当前的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，而不是再乘一次 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">j</span></i></sub></span><span leaf="">；历史更新强度已经包含在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 中。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">≥ </span><i><span leaf="">i</span></i></span><span leaf=""> 时置零来自因果顺序，不是对 key 正交性的要求。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">3. 把递推整理成单位下三角系统</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为便于展示，下面用四 token 的缩小示例（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">=4</span></span><span leaf="">）：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
u_1&amp;=\beta_1v_1,\\
u_2&amp;=\beta_2v_2-A_{21}u_1,\\
u_3&amp;=\beta_3v_3-A_{31}u_1-A_{32}u_2,\\
u_4&amp;=\beta_4v_4-A_{41}u_1-A_{42}u_2-A_{43}u_3.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3187571921749137" data-type="png" data-w="869" style="display: block;margin: 0px auto;max-width: 100%;width: 290px;height: auto;" data-imgfileid="502324197" src="https://wechat2rss.xlab.app/img-proxy/?k=1488ff57&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904SuflyshCKwezj0pNC8tChic7hiahyCQK9biciaFiclMZ4JyZwBMN8P2WKjY1iczP9ENDx9rhTnmjianvwgiaygk68sKL8HefkCz8OktM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把所有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i></span><span leaf=""> 项移到左边，并把列向量的转置按 token 排成行，定义</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="U=\begin{bmatrix}u_1^\top\\\vdots\\u_C^\top\end{bmatrix},
\qquad
V=\begin{bmatrix}v_1^\top\\\vdots\\v_C^\top\end{bmatrix},
\qquad
B=\operatorname{Diag}(\beta_1,\ldots,\beta_C)." class="rich_pages wxw-img" data-ratio="0.2037037037037037" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 431px;height: auto;" data-imgfileid="502324196" src="https://wechat2rss.xlab.app/img-proxy/?k=afd87afa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9074TTSsQCs9PUl2PZMuQFGPrEicaC1iaxCmnMQJJa7kROq98tibo11yBTAKbBicjFJYKI1koUGcKX3pORtDEpiaKttuDggSwWAbhBjM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上述四条方程就变成</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\underbrace{\begin{bmatrix}
1&amp;0&amp;0&amp;0\\
A_{21}&amp;1&amp;0&amp;0\\
A_{31}&amp;A_{32}&amp;1&amp;0\\
A_{41}&amp;A_{42}&amp;A_{43}&amp;1
\end{bmatrix}}_{I+A}
\begin{bmatrix}u_1^\top\\u_2^\top\\u_3^\top\\u_4^\top\end{bmatrix}
=\begin{bmatrix}\beta_1v_1^\top\\\beta_2v_2^\top\\\beta_3v_3^\top\\\beta_4v_4^\top\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.4093319194061506" data-type="png" data-w="943" style="display: block;margin: 0px auto;max-width: 100%;width: 315px;height: auto;" data-imgfileid="502324199" src="https://wechat2rss.xlab.app/img-proxy/?k=ab9654ae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9070gBXZZteHhn9dOEfQPCzlgoYicGZ48s1hQjM5Ff0X0kHdA2gF0f9IibfeFLQJHJxawrDldCO3UJPQCOIBQrpmF04L4JTmibmya8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，对任意 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 都有</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="(I+A)U=BV,\qquad U=(I+A)^{-1}BV." class="rich_pages wxw-img" data-ratio="0.07740585774058577" data-type="png" data-w="956" style="display: block;margin: 0px auto;max-width: 100%;width: 319px;height: auto;" data-imgfileid="502324195" src="https://wechat2rss.xlab.app/img-proxy/?k=7a748cf7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904h3bVkdibKF7OjWfewueK7bibF0tDCtsMEvsib6HUTEYCTB4QibN99M42RJte8c6RmOGDXPKyFl8a8g4v9XpLygTZbfczjbZUfXrA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对角线上的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf=""> 来自每行自己的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">；严格下三角的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 则记录对历史残差的依赖。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i></span><span leaf=""> 对角全为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">，所以总是可逆，不要求 key 之间线性无关。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">写成逆矩阵是数学表达；实际计算可以直接解单位下三角系统，也可以先得到逆矩阵，再与右端相乘。两种方式求解的是同一个关系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">下三角系统仍有依赖，为什么这样改写能更快？</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">单纯写成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(</span><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i><span leaf="">)</span><sup><span leaf="">-1</span></sup></span><span leaf=""> 并不会让依赖消失。如果仍按行直接前向代入，就仍有逐行依赖。工程上的做法是进一步分块：小块内部保留短递推，跨子块的合并则尽量改成矩阵乘法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">令 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">L</span></i><span leaf="">=</span><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i></span><span leaf="">，把它分成两组 token 对应的块：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="L=
\begin{bmatrix}
L_{11}&amp;0\\
L_{21}&amp;L_{22}
\end{bmatrix},
\qquad
L^{-1}=
\begin{bmatrix}
L_{11}^{-1}&amp;0\\
-L_{22}^{-1}L_{21}L_{11}^{-1}&amp;L_{22}^{-1}
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.14351851851851852" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 403px;height: auto;" data-imgfileid="502324198" src="https://wechat2rss.xlab.app/img-proxy/?k=b45c4834&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Zt944Yuf84agpiaDJia8sD2oDibOYVKEBbcGuILXECa1NahS3d9ZUKNkHKwpjZ2IoJ09SWkpKWvibsuXJqftUicnC2Ezoib4p8644w%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">L</span></i><sub><span leaf="">11</span></sub><sup><span leaf="">-1</span></sup></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">L</span></i><sub><span leaf="">22</span></sub><sup><span leaf="">-1</span></sup></span><span leaf=""> 可以独立准备；两者就绪后，左下角通过矩阵乘法合并。这个公式可以递归应用，将长的逐行依赖拆成短的子块递推和若干矩阵乘法阶段。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">本文核对的 vLLM Triton <a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://github.com/vllm-project/vllm/blob/v0.32.0/vllm/third_party/flash_linear_attention/ops/solve_tril.py" textvalue="" linktype="text" data-linktype="2">solve_tril 实现</a>使用 16×16 子块，并提供合并到 32×32、64×64 等尺寸的路径。子块内部仍有循环，跨子块部分使用矩阵乘。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i><span leaf="">=(</span><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i><span leaf="">)</span><sup><span leaf="">-1</span></sup></span><span leaf=""> 后，可以通过矩阵乘法计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i><span leaf="">=</span><i><span leaf="">R</span></i><span leaf="">(</span><i><span leaf="">BV</span></i><span leaf="">)</span></span><span leaf="">，后面计算旧状态修正方向 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf=""> 时还能复用同一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i></span><span leaf="">。收益来自子块和 chunk 间的并行、矩阵乘法的数据复用，以及求解结果的复用；求逆和保存辅助矩阵本身也有成本，chunk 大小需要结合硬件和精度选择。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">4. 把每次残差写入送到块尾</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">求出的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 对应写入时刻。它在块末展开式中的对应项，还需要包含写入之后的衰减。定义</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="k_{g,i}=k_i\odot\bigodot_{t=i+1}^{C}\alpha_t,
\qquad
K_g=\begin{bmatrix}k_{g,1}^\top\\\vdots\\k_{g,C}^\top\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.3130630630630631" data-type="png" data-w="888" style="display: block;margin: 0px auto;max-width: 100%;width: 296px;height: auto;" data-imgfileid="502324201" src="https://wechat2rss.xlab.app/img-proxy/?k=41cc4f5d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907app0pF22vQtY2YtzAMiaKqplqiatCSxVe4oSt3bz7Ughx3OjXoDYMrtzQUtgBKolOMu2QJib0V7AaozToJyzIEnicAyXE6W5Xdso%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的空逐元素乘积为全 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf=""> 向量，所以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">C</span></i></sub><span leaf="">=</span><i><span leaf="">k</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">。在4 token 的缩小示例中，</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_g=\begin{bmatrix}
(k_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_3\odot\alpha_4)^\top\\
k_4^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.4243243243243243" data-type="png" data-w="740" style="display: block;margin: 0px auto;max-width: 100%;width: 247px;height: auto;" data-imgfileid="502324202" src="https://wechat2rss.xlab.app/img-proxy/?k=a33289b7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906hJQZ3xmhHAqWnwfyth0bXllD9uWHzZXgDXzLD59rM9HW60icqulH0t6L4reZQI9icSxKiclLUQ3g27eybod1Y6t046Z0OmrTHsI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">本节只累计块内写入，因此到块尾得到的就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">。仍以四个 token（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">=4</span></span><span leaf="">）为例，把矩阵乘法完整展开：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\Delta_{\mathrm{chunk}}
&amp;=\sum_{i=1}^{4}u_i k_i^\top\operatorname{Diag}(\alpha_{i+1})\cdots\operatorname{Diag}(\alpha_4)
=\sum_{i=1}^{4}u_ik_{g,i}^\top\\
&amp;=\underbrace{\begin{bmatrix} u_1&amp;u_2&amp;u_3&amp;u_4 \end{bmatrix}}_{U^\top}
\underbrace{\begin{bmatrix}
(k_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_3\odot\alpha_4)^\top\\
k_4^\top
\end{bmatrix}}_{K_g}
=U^\top K_g.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3972222222222222" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 484px;height: auto;" data-imgfileid="502324203" src="https://wechat2rss.xlab.app/img-proxy/?k=4f7694d5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904SW3ECFgG15ghYyGZsicibnlwPXtZhiblumiaw9jYJAwwlxxYjy3wLaKgG3vY5qx9ZcXBa9QE8r96TgFTZOf8DBXaYFvDISUjkNWE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最后一步不是额外假设，而是矩阵乘法的定义：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 列为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 行为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，乘起来就是这些外积的总和。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个关系对任意 chunk 长度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 都成立，因此第一条线的结果为</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="U=(I+A)^{-1}BV,
\qquad
\Delta_{\mathrm{chunk}}=U^\top K_g." class="rich_pages wxw-img" data-ratio="0.07966457023060797" data-type="png" data-w="954" style="display: block;margin: 0px auto;max-width: 100%;width: 318px;height: auto;" data-imgfileid="502324200" src="https://wechat2rss.xlab.app/img-proxy/?k=14e99060&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904BCib5TdBylCiaWeGxticMdAZfGLuLknX6OcfVjsA3ibKMejXOnOVInFVngx5icfEGIls5nh4TelPCyfjDXSdyLSfY3JAtAbx522ibs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面算的是不含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的块内增量，现在计算传入状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的影响。以下 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 表示完整实际状态，与前面的局部状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><sup><span style="font-style: normal;"><span leaf="">loc</span></span></sup></span><span leaf=""> 区分。这一条线只回答：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">旧状态经过整个 chunk 后，留下什么？</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从单 token 的公式</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
S_i&amp;=S_{i-1}\operatorname{Diag}(\alpha_i)\\
&amp;\quad-\beta_i\big(S_{i-1}\operatorname{Diag}(\alpha_i)k_i\big)k_i^\top
+\beta_i v_i k_i^\top
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.1657397107897664" data-type="png" data-w="899" style="display: block;margin: 0px auto;max-width: 100%;width: 300px;height: auto;" data-imgfileid="502324204" src="https://wechat2rss.xlab.app/img-proxy/?k=b1de707c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906W3zQsNnQffmuZbaqML6lS3P3LMGQukQFC92sPCZppW6C1lrXiaU0ohG6FY1IW2BTCFYpKr3CiaOJGvjSA0cia6TqsEbklZOHGDQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以看出，旧状态受到两种不同操作：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">遗忘门对状态的 key 列做直接缩放。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">当前 token 读出已有预测，再沿当前 key 的外积方向扣除该预测，以便写入目标 value。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">D</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf=""> 遗忘门对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的直接影响</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先提取展开式中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 只经过各次门控衰减的直接项：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_0\operatorname{Diag}(\alpha_1)\operatorname{Diag}(\alpha_2)\cdots\operatorname{Diag}(\alpha_C)." class="rich_pages wxw-img" data-ratio="0.08" data-type="png" data-w="825" style="display: block;margin: 0px auto;max-width: 100%;width: 275px;height: auto;" data-imgfileid="502324205" src="https://wechat2rss.xlab.app/img-proxy/?k=cb8948eb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904LricGHSb4lib7OYxXpOicsISbQ2Libydnr3WELjKXlibjsQQSK0HWvNMN50HwOamZicmMFxjr2gAON7WD9FIp9hdmTcw0sNc4DJBL8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">i</span></i></sub><span leaf="">)</span></span><span leaf=""> 是对角矩阵，这些衰减可以逐维相乘：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\operatorname{Diag}(\alpha_1)\cdots\operatorname{Diag}(\alpha_C)
=\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)." class="rich_pages wxw-img" data-ratio="0.06111111111111111" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 362px;height: auto;" data-imgfileid="502324208" src="https://wechat2rss.xlab.app/img-proxy/?k=9d05194c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905odKZvOIegWzF08pAXn0ZvHS8x1coyb0SwRNgr0aYiaouicqGcwaZic8j4NuI1C8JS7ABQ9Ehn3Hga8IANkQjZYHJmmQujQKY0vk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">就得到</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\text{旧状态的纯衰减结果}=S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)." class="rich_pages wxw-img" data-ratio="0.058333333333333334" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 375px;height: auto;" data-imgfileid="502324209" src="https://wechat2rss.xlab.app/img-proxy/?k=a17d7baa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905WGVvEWAcvBbvmleNxehxpgcZic2ibRibNMKKkFGbfQy59gRvjhVKIUWZbDPjIC4kH7gGicUDvic4vl7GevZ4z4jWHrC6l3XcYicZc4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对状态的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">b</span></i></span><span leaf=""> 列而言，缩放因子就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">∏</span><sub><i><i><span leaf="">t</span></i></i><span leaf="">=1</span></sub><sup><i><i><span leaf="">C</span></i></i></sup><span leaf="">α</span><sub><i><span leaf="">t</span></i><span leaf="">,</span><i><span leaf="">b</span></i></sub></span><span leaf="">。这部分只依赖遗忘门，与 key、value 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf=""> 无关。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但它还不是完整的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">：即使 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 全为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">，后面的残差更新仍然可能改变旧状态。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">后续 token 的残差更新对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的进一步影响</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1. 先求旧状态到当前位置的直接读取</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 从旧状态的纯衰减项中读到的是</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_0\operatorname{Diag}(\alpha_1)\cdots\operatorname{Diag}(\alpha_i)k_i." class="rich_pages wxw-img" data-ratio="0.10393700787401575" data-type="png" data-w="635" style="display: block;margin: 0px auto;max-width: 100%;width: 212px;height: auto;" data-imgfileid="502324206" src="https://wechat2rss.xlab.app/img-proxy/?k=919f0cf6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907iaLUVVxmZTKk5V0yEoDn4190omDukyHEthyLgmWoeVUucMaxDYm7Kg5v7JJ1fsVXFnsvWAnSjLACZGAfbgy5G4fw0r7Dl91Z8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定义</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="p_i=\left(\bigodot_{t=1}^{i}\alpha_t\right)\odot k_i," class="rich_pages wxw-img" data-ratio="0.35876288659793815" data-type="png" data-w="485" style="display: block;margin: 0px auto;max-width: 100%;width: 162px;height: auto;" data-imgfileid="502324207" src="https://wechat2rss.xlab.app/img-proxy/?k=deb56ffa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906FSb3VgKyDsEzaWh8gzcyYs8Mo9BpxXztfyqdq7wTkG84fb3WiblkqsS99lF1SFw6PxPrGjyibBo3hQHGiaS4MRMbhbib3Q6pDvFo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上式就成为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">。这里的衰减从块首一直覆盖到当前 token，包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，因为读取发生在当前衰减之后。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">例如</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="p_1=\alpha_1\odot k_1,
\qquad
p_2=\alpha_1\odot\alpha_2\odot k_2." class="rich_pages wxw-img" data-ratio="0.0681044267877412" data-type="png" data-w="881" style="display: block;margin: 0px auto;max-width: 100%;width: 294px;height: auto;" data-imgfileid="502324210" src="https://wechat2rss.xlab.app/img-proxy/?k=e59c017c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906CVUMhdX6mDLhZyVzwp5ZltOTCeGffDcxWF8TMdUo4Pa3y0oM5n1NL3tibem70tLanhweEzBRrpU1DAEwtGIdOlreCJmmxiaIhU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 只是旧状态未经前面残差修正时的直接读取，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">还不是旧状态对当前位置的完整影响</span></strong><span leaf="">。前面的 token 已经根据旧状态改写过自己的残差，当前 token 还会读到那些改写。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">2. 在完整实际残差中分离 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 的影响</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将一般情况下的递推 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">i</span></i></sub><span leaf="">)+</span><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 展开，在 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 读取之前有</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\bar S_i
&amp;=S_0\operatorname{Diag}(\alpha_1)\cdots\operatorname{Diag}(\alpha_i)\\
&amp;\quad+\sum_{j&lt;i}r_jk_j^\top\operatorname{Diag}(\alpha_{j+1})\cdots\operatorname{Diag}(\alpha_i).
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.2338362068965517" data-type="png" data-w="928" style="display: block;margin: 0px auto;max-width: 100%;width: 310px;height: auto;" data-imgfileid="502324211" src="https://wechat2rss.xlab.app/img-proxy/?k=191a84d6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Azh3VusQtuSLEwnxRbPG0rX0picWehplO9w3AkU76vMGfTf31H4z75oZ2lXlkQTL7zNhic9hMQBrLbj1SuxjkvZPm7Q6wHHJaY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">右乘 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">、代入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=β</span><sub><i><span leaf="">i</span></i></sub><span leaf="">(</span><i><span leaf="">v</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">)</span></span><span leaf="">，得到</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="r_i=\beta_i v_i-\beta_i S_0p_i-\sum_{j&lt;i}A_{ij}r_j." class="rich_pages wxw-img" data-ratio="0.18862690707350901" data-type="png" data-w="721" style="display: block;margin: 0px auto;max-width: 100%;width: 241px;height: auto;" data-imgfileid="502324213" src="https://wechat2rss.xlab.app/img-proxy/?k=612e9743&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9070ePib95PzONfy5SwS9gmtXGTxRiasF6h2rLEcAxn2qdPIhDcoAZZoCoFmx3nnbw024ZaqowzVzw8OVAJcuxMU0ME0RHQNDo1j4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里出现的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 与计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span></span><span leaf=""> 时完全相同。原因是：无论历史残差来自什么，历史写入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">j</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 到当前位置的衰减与读取过程都相同。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">与前面只追踪块内增量时得到的局部残差公式对照：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
u_i&amp;=\beta_i v_i-\sum_{j&lt;i}A_{ij}u_j,\\
r_i&amp;=\beta_i v_i-\beta_i S_0p_i-\sum_{j&lt;i}A_{ij}r_j.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3782668500687758" data-type="png" data-w="727" style="display: block;margin: 0px auto;max-width: 100%;width: 243px;height: auto;" data-imgfileid="502324214" src="https://wechat2rss.xlab.app/img-proxy/?k=5c4ccf7d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905x4rRWs0QcpEy8gA89hBxQ1llbica4GmuJWSESQnbMdqbajnL7e65zONaCickP2ktes9vtRw6mibJUpf0lYKFShOmd0sOJlnwLDA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两式相减，原始 value 项抵消：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="u_i-r_i
=\beta_i S_0p_i-\sum_{j&lt;i}A_{ij}(u_j-r_j)." class="rich_pages wxw-img" data-ratio="0.16267942583732056" data-type="png" data-w="836" style="display: block;margin: 0px auto;max-width: 100%;width: 279px;height: auto;" data-imgfileid="502324212" src="https://wechat2rss.xlab.app/img-proxy/?k=204f2e11&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906oqolvWphZErNUGDM5oPnJCcTh0gia4FmnQrmg5YnicicQ35sicClwvlpgYEHMcV1bbic7WMWOOlYQ8hV9ibyIiaBMHe8ezicQMUUjDQM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就是“传入旧状态会怎样改变每次残差”的完整递推。它既包含当前对旧状态的直接读取，也包含前面修正的间接影响。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">3. 提取与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 无关的修正方向 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一个 token 没有历史残差，因此</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="u_1-r_1=\beta_1S_0p_1=S_0(\beta_1p_1)." class="rich_pages wxw-img" data-ratio="0.09361702127659574" data-type="png" data-w="705" style="display: block;margin: 0px auto;max-width: 100%;width: 235px;height: auto;" data-imgfileid="502324215" src="https://wechat2rss.xlab.app/img-proxy/?k=3823e39b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904wX4IicumdGhsOm07xbXIniauROXTFsib0xEGdZib3BGc6nDmNhCaPKY40pMaRgB4mMI6XiarKKTibU01XN5nfbnr0JrMTXhZqO11sU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">于是定义 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><span leaf="">1</span></sub><span leaf="">=β</span><sub><span leaf="">1</span></sub><i><span leaf="">p</span></i><sub><span leaf="">1</span></sub></span><span leaf="">。若此前已经有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">-</span><i><span leaf="">r</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">，那么</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
u_i-r_i
&amp;=\beta_iS_0p_i-\sum_{j&lt;i}A_{ij}S_0w_j\\
&amp;=S_0\left(\beta_i p_i-\sum_{j&lt;i}A_{ij}w_j\right).
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.40458015267175573" data-type="png" data-w="786" style="display: block;margin: 0px auto;max-width: 100%;width: 262px;height: auto;" data-imgfileid="502324219" src="https://wechat2rss.xlab.app/img-proxy/?k=85d12c2d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906z6M2cs0OEYapBE5zadibT6DkhsVDibHHe9khmqLbAtbwSmiaNaEurNdv7XRpCemTrEeMoWNS4IkQoiaMxCib3ZPTES9HKfXicGSKxY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">由此定义并归纳得到</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="w_i=\beta_i p_i-\sum_{j&lt;i}A_{ij}w_j,
\qquad r_i=u_i-S_0w_i." class="rich_pages wxw-img" data-ratio="0.1349206349206349" data-type="png" data-w="1008" style="display: block;margin: 0px auto;max-width: 100%;width: 336px;height: auto;" data-imgfileid="502324216" src="https://wechat2rss.xlab.app/img-proxy/?k=b91c7ad1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907ibsyK5R9noINMKJq361LfLQklR472wbia3Fl76cZicAN4z7Pcciaf3t0vaiba9maNuWME161jlR0tATJBFMjq1gf21VxnD3ap23Os%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里并没有对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 求逆，也不要求 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 满秩。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 是长度为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf=""> 的方向向量，只由 key、遗忘门和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf=""> 决定；将局部残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 补全为实际残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 时，需要扣掉的旧状态相关 value 是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以四个 token 为例：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
w_1&amp;=\beta_1p_1,\\
w_2&amp;=\beta_2p_2-A_{21}w_1,\\
w_3&amp;=\beta_3p_3-A_{31}w_1-A_{32}w_2,\\
w_4&amp;=\beta_4p_4-A_{41}w_1-A_{42}w_2-A_{43}w_3.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3074361820199778" data-type="png" data-w="901" style="display: block;margin: 0px auto;max-width: 100%;width: 301px;height: auto;" data-imgfileid="502324218" src="https://wechat2rss.xlab.app/img-proxy/?k=6891d79e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904UrmEuYDbibicEL3m1xG4Q4UYbql4wSibhyD1SLKhzSjkxMsgQXicKLyTTBImj5mvlE84gqywK72EMm9FNuvx5wjAehicfUPIJ3gPU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为什么不能直接令 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=β</span><sub><i><span leaf="">i</span></i></sub><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">？以第二个 token 为例，token 1 的实际残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><span leaf="">1</span></sub></span><span leaf=""> 相对局部残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">u</span></i><sub><span leaf="">1</span></sub></span><span leaf=""> 已经有了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">w</span></i><sub><span leaf="">1</span></sub></span><span leaf=""> 这项修正；token 2 会读到这一差异，所以它的净修正要减去 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><span leaf="">21</span></sub><i><span leaf="">w</span></i><sub><span leaf="">1</span></sub></span><span leaf="">。后面各步依此类推。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，每次修正都不是把原始 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 独立擦除一次。此前 token 已经改变了后续 token 将读到的旧状态影响，这些相互作用由 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 的递推完整记录。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">4. 为什么计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf=""> 可以复用计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 的下三角系统</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上一节得到的是逐 token 的递推：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="w_i=\beta_i p_i-\sum_{j&lt;i}A_{ij}w_j." class="rich_pages wxw-img" data-ratio="0.2542056074766355" data-type="png" data-w="535" style="display: block;margin: 0px auto;max-width: 100%;width: 179px;height: auto;" data-imgfileid="502324217" src="https://wechat2rss.xlab.app/img-proxy/?k=4d49efc6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904L2HrdYJ7c3jrkiaXbp4KIVIMZnKLjFE9xOibx47jNNGal3NlOWJzWq7huOh3web4PxrtnpIMAdPoQYzibJaDwfZuQjzoAIDfeI4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 都是长度为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf=""> 的向量，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span><span leaf=""> 是一个标量，用来缩放历史向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">。下面将这些递推整理成一个矩阵方程，关键是：矩阵乘法的每一行，恰好对应一个 token 的递推方程。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第一步：把所有含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i></span><span leaf=""> 的项移到左边。</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="w_i+\sum_{j&lt;i}A_{ij}w_j=\beta_i p_i." class="rich_pages wxw-img" data-ratio="0.2542056074766355" data-type="png" data-w="535" style="display: block;margin: 0px auto;max-width: 100%;width: 179px;height: auto;" data-imgfileid="502324220" src="https://wechat2rss.xlab.app/img-proxy/?k=96e9c70b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz90432iaYILED2ibIS8E35nEF9SCZL5xv55oGkXpZENQ8YzRLlUVRsF0vANzAAClgssXUx1pu0PynYK6HMmKTLl4T6ibtQQI8Rq8SSE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接着上一节的四个 token，移项后分别为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
w_1&amp;=\beta_1p_1,\\
A_{21}w_1+w_2&amp;=\beta_2p_2,\\
A_{31}w_1+A_{32}w_2+w_3&amp;=\beta_3p_3,\\
A_{41}w_1+A_{42}w_2+A_{43}w_3+w_4&amp;=\beta_4p_4.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3074361820199778" data-type="png" data-w="901" style="display: block;margin: 0px auto;max-width: 100%;width: 301px;height: auto;" data-imgfileid="502324223" src="https://wechat2rss.xlab.app/img-proxy/?k=b6ef07f4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9071r5zyxR0xIb0RujzahiaYgicnOQuxACicLdXaH9mVCXN9wdCFmib6DcPGIuJSzfIEapQy3hcnqj5WbalkMFneCk8yXVn107lpctM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里每一行中，当前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 的系数都是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">，历史 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 的系数是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span><span leaf="">，未来 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 的系数则为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0</span></span><span leaf="">。这正是一个对角线全为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf=""> 的下三角系数矩阵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第二步：按 token 排成行，写出对应的矩阵乘法。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先明确 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf=""> 存的是什么。前面已经将 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 对旧状态纯衰减项的读取写成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，其中</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="p_i=k_i\odot\alpha_1\odot\cdots\odot\alpha_i." class="rich_pages wxw-img" data-ratio="0.10676156583629894" data-type="png" data-w="562" style="display: block;margin: 0px auto;max-width: 100%;width: 188px;height: auto;" data-imgfileid="502324221" src="https://wechat2rss.xlab.app/img-proxy/?k=307a746b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907yStfHc2n3HOXj4c6x2TyQeqGckPx8WF7TYNHXTu5yS8jv8KkiaooibyX7AHfj7u7xMviafPibAyib3FOWsRYhB48GUcw0nLCHP6do%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">也就是说，可以把从块首到当前位置的门控衰减合并到当前 key 中，再用这个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 读取原始传入状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">将所有 token 的这些读取方向按行排起来，就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf="">。</span></strong><span leaf=""> 下标 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">in</span></span></span><span leaf=""> 表示它用于传入状态的读取。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_{\mathrm{in}}=\begin{bmatrix}p_1^\top\\\vdots\\p_C^\top\end{bmatrix},
\qquad
(K_{\mathrm{in}})_{i,:}
=\left(k_i\odot\alpha_1\odot\cdots\odot\alpha_i\right)^\top." class="rich_pages wxw-img" data-ratio="0.22407407407407406" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 392px;height: auto;" data-imgfileid="502324222" src="https://wechat2rss.xlab.app/img-proxy/?k=d4c3541e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907cxhVxPz9GK5ASZ3jRDcIgGhiajezOyecyHJ66oSL0At1u43c2ebsvOkqZQ1303ibZbW0W4ia8RV7arwpvdylTpr8iaCZEJU4usmI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">例如，四个 token 时：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_{\mathrm{in}}=
\begin{bmatrix}
(k_1\odot\alpha_1)^\top\\
(k_2\odot\alpha_1\odot\alpha_2)^\top\\
(k_3\odot\alpha_1\odot\alpha_2\odot\alpha_3)^\top\\
(k_4\odot\alpha_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.3553530751708428" data-type="png" data-w="878" style="display: block;margin: 0px auto;max-width: 100%;width: 293px;height: auto;" data-imgfileid="502324224" src="https://wechat2rss.xlab.app/img-proxy/?k=f062d84f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906Pf3z6kXXuykGnoyE7tpZ0UYd8MvJrOF0KQmLIZ3L4cN99EibcWZLVxbOf0yZPJkoIw59Zc3tE8M3VwCJyIMUeC1EsrPOsPlwo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf=""> 只由 key 和遗忘门决定，本身不含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">、value 或 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf="">。它提供的是直接读取方向；结合 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf=""> 和历史残差的修正，才得到前面递推中的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">。将这些修正方向也按行排起来，定义</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="W=\begin{bmatrix}w_1^\top\\\vdots\\w_C^\top\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.8737541528239202" data-type="png" data-w="301" style="display: block;margin: 0px auto;max-width: 100%;width: 101px;height: auto;" data-imgfileid="502324227" src="https://wechat2rss.xlab.app/img-proxy/?k=23f97b78&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904NoMqKPaXyG5adwsAvtiaWHrw3o4qvXaw4oN1icTEibGOnRm7P4lYSzC7ly4QEwUp6Hgs03JUafqqgGU7MOutMMXA5bWssAMDDyM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两者形状均为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">× </span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf="">。这里使用转置，只是为了把原来的列向量排成矩阵的一行；因此，上面的每个向量方程也要一起转置。四个 token 的方程就可以合写为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\underbrace{
\begin{bmatrix}
1&amp;0&amp;0&amp;0\\
A_{21}&amp;1&amp;0&amp;0\\
A_{31}&amp;A_{32}&amp;1&amp;0\\
A_{41}&amp;A_{42}&amp;A_{43}&amp;1
\end{bmatrix}}_{I+A}
\underbrace{
\begin{bmatrix}
w_1^\top\\w_2^\top\\w_3^\top\\w_4^\top
\end{bmatrix}}_{W}
=
\begin{bmatrix}
\beta_1p_1^\top\\
\beta_2p_2^\top\\
\beta_3p_3^\top\\
\beta_4p_4^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.42038216560509556" data-type="png" data-w="942" style="display: block;margin: 0px auto;max-width: 100%;width: 314px;height: auto;" data-imgfileid="502324226" src="https://wechat2rss.xlab.app/img-proxy/?k=e3a34537&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904n9ktxT4CjuaHu8gzPP1x4fh4eTD8ylBxq0DAiaryCNXCle6ANJiaODV0RA4uBUq4u00vzQlbPLSyXlG8yvJW4CtCcXVLdNC0B8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">例如，左边矩阵乘法的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">3</span></span><span leaf=""> 行展开就是</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="A_{31}w_1^\top+A_{32}w_2^\top+w_3^\top," class="rich_pages wxw-img" data-ratio="0.13602941176470587" data-type="png" data-w="544" style="display: block;margin: 0px auto;max-width: 100%;width: 182px;height: auto;" data-imgfileid="502324228" src="https://wechat2rss.xlab.app/img-proxy/?k=f56c0988&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Rk1CfTIS1F4ZDicyyaO6iaSibSRqWhohcP3kCX7o2Yo47ibnOwmDS7qHBMwiaIH4n5leCiapBIhxqBeFMkRxOo8STiaEv6kJr1YDjmo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">恰好等于右边第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">3</span></span><span leaf=""> 行的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><span leaf="">3</span></sub><i><span leaf="">p</span></i><sub><span leaf="">3</span></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。因此，这个矩阵等式只是把逐 token 方程放到一起，并没有改变递推关系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面定义的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 是严格下三角矩阵，对角线为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0</span></span><span leaf="">；加上单位矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i></span><span leaf="">，就补上了当前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 的系数 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">。右边每一行都是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 乘以对应的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，所以沿用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">B</span></i><span leaf="">=</span><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(β</span><sub><span leaf="">1</span></sub><span leaf="">,…,β</span><sub><i><span leaf="">C</span></i></sub><span leaf="">)</span></span><span leaf="">，右边就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">BK</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">于是，对任意 chunk 长度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf="">，都有</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="(I+A)W=BK_{\mathrm{in}}." class="rich_pages wxw-img" data-ratio="0.14505494505494507" data-type="png" data-w="455" style="display: block;margin: 0px auto;max-width: 100%;width: 152px;height: auto;" data-imgfileid="502324225" src="https://wechat2rss.xlab.app/img-proxy/?k=276b4c38&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906pKeLx8D9COS0wFMWWmLNGicy1G297MxCGbgFS0FSicm3sWZkreHAEPPwgH7fZibhkdTNAsEhZmM6444sRiaEmk6PQ7tc3Q28oPAg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第三步：复用已经计算的下三角逆矩阵。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">与前面求 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 的方程并列：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
(I+A)U&amp;=BV,\\
(I+A)W&amp;=BK_{\mathrm{in}}.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.3010989010989011" data-type="png" data-w="455" style="display: block;margin: 0px auto;max-width: 100%;width: 152px;height: auto;" data-imgfileid="502324229" src="https://wechat2rss.xlab.app/img-proxy/?k=7c846e35&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907a4oG859WelebBiaQicCTCDVQ9icgp7nudJpQtPic5Ad2HgffvnYvj5iahnmtVrkCVNvDAQoiboMwiaNQeX2FIb9hhEJNYdGiaKPa3ONM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两式的系数矩阵都是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i></span><span leaf="">，因此可以沿用计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 时得到的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i><span leaf="">=(</span><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i><span leaf="">)</span><sup><span leaf="">-1</span></sup></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="U=R(BV),\qquad W=R(BK_{\mathrm{in}})." class="rich_pages wxw-img" data-ratio="0.08538163001293661" data-type="png" data-w="773" style="display: block;margin: 0px auto;max-width: 100%;width: 258px;height: auto;" data-imgfileid="502324231" src="https://wechat2rss.xlab.app/img-proxy/?k=faa88ad5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905aMYyeJhWNQYxjYuw6kUrKX9lnOiavjpdHK9xsC0QmP8MwHKnp75lcOmd3s7dMGfUH3Uic4nGUp1CicIiccoOqPN1CO1T3tQFyy7k%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf=""> 无须重新求逆，只需将同一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i></span><span leaf=""> 乘以新的右侧输入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">BK</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">5. 把对旧状态的修正传播到块尾</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面已经得到实际残差与局部残差的关系：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="r_i=u_i-S_0w_i." class="rich_pages wxw-img" data-ratio="0.16260162601626016" data-type="png" data-w="369" style="display: block;margin: 0px auto;max-width: 100%;width: 123px;height: auto;" data-imgfileid="502324230" src="https://wechat2rss.xlab.app/img-proxy/?k=78f4745e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9069BbunNQpCiaUicMibIuVsSgvHtmiahY59xoZEVUX59LA37feZDcTmzLqBaYXdrh7zDzv0ZibHxicOlNEYSo4tm1MfTrnutGj2IicIb0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但残差 value 本身还不是写入状态的矩阵。根据更新规则 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">i</span></i></sub><span leaf="">)+</span><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，每次写入都要将残差 value 与当前 key 做外积。因此，两种情况下第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 次写入分别是：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
\text{只追踪本 chunk 局部增量时的写入}&amp;=u_i k_i^\top,\\
\text{包含传入状态影响的实际写入}&amp;=r_i k_i^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.14785992217898833" data-type="png" data-w="1028" style="display: block;margin: 0px auto;max-width: 100%;width: 343px;height: auto;" data-imgfileid="502324233" src="https://wechat2rss.xlab.app/img-proxy/?k=c7106627&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905VFhDp3iaz62vpngPuHOdic9oYwf9QSS8FzoBmzzFjGScibf5owFtQ9YzUbbYfvEwkfhxx9YSDhGpBEiaD70v9jmpDvTiaf21J22bQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用实际写入减去局部增量写入，就得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 引起的写入差异：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
r_i k_i^\top-u_i k_i^\top
&amp;=(r_i-u_i)k_i^\top\\
&amp;=-(S_0w_i)k_i^\top.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.2375" data-type="png" data-w="640" style="display: block;margin: 0px auto;max-width: 100%;width: 214px;height: auto;" data-imgfileid="502324234" src="https://wechat2rss.xlab.app/img-proxy/?k=f86684b5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906U4icZxRLcm7iaMj4HiclXnlEOC6rQ3XATmTjBRbDvhpN67nicIeLQvJOGkvNr3VeTYpF7f153hL0JakD1wKAT8aPib40KerKEdOy4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接下来将这项差异带到块尾。沿用计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf=""> 时定义的块尾衰减 key：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="k_{g,i}=k_i\odot\alpha_{i+1}\odot\cdots\odot\alpha_C,
\qquad
k_{g,i}^\top=k_i^\top\operatorname{Diag}(\alpha_{i+1})\cdots\operatorname{Diag}(\alpha_C)." class="rich_pages wxw-img" data-ratio="0.05185185185185185" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 519px;height: auto;" data-imgfileid="502324232" src="https://wechat2rss.xlab.app/img-proxy/?k=a9f5a20c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905bTgkHrFQVpqoib5RuuzRia72FqyzxCFUfxvVibkJnkGicUtNxmIS71lR9OLe1iauWFrJWOp394dX5pfV7uRfl2icw52QZZ2bDtic2HM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里不包含 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，因为本次写入发生在当前衰减之后；最后一个 token 的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">C</span></i></sub><span leaf="">=</span><i><span leaf="">k</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">。在残差写入的展开方式下，第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 次写入差异到块尾的对应项为</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="-(S_0w_i)k_i^\top\operatorname{Diag}(\alpha_{i+1})\cdots\operatorname{Diag}(\alpha_C)
=-S_0w_ik_{g,i}^\top." class="rich_pages wxw-img" data-ratio="0.07037037037037037" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 384px;height: auto;" data-imgfileid="502324235" src="https://wechat2rss.xlab.app/img-proxy/?k=1a365fbe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906yZgDxYySZjcjcl0PzLMDQ2scsibHsModRXcAXKaBgkicicTkmeUpvgLNu3FrIaiaibZ7yuXicN4iaq6ERlicHKtZtULN4OaCHRzI9KXs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后续残差对它的进一步响应已经记入后续的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">，因此这里与计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span></span><span leaf=""> 一样，只保留后续纯衰减，不能再乘一次完整 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">T</span></i></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 按 token 排成行，就是前面的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf="">；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 行则是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。因此，矩阵乘法 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i><sup><i><span leaf="">T</span></i></sup><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 恰好等于各次外积之和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Σ</span><sub><i><i><span leaf="">i</span></i></i></sub><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。把所有 token 对旧状态的修正项加起来，得到：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\text{残差更新带来的块末修正}
=-S_0\sum_{i=1}^{C}w_ik_{g,i}^\top
=-S_0W^\top K_g." class="rich_pages wxw-img" data-ratio="0.1287037037037037" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 451px;height: auto;" data-imgfileid="502324237" src="https://wechat2rss.xlab.app/img-proxy/?k=252a8421&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906kEcQICPtIiau803IghVqJoU18IibkxnhqsEGjLUMG5Ry2siaR4VawkJ0zzjtwKVBUxsV6ibVAFoGYhWibYdL7E8tE4u4OYcf8D3mE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">于是，Transition 的两部分终于合在一起：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
S_0\mathrm{Transition}_{\mathrm{chunk}}
&amp;=\underbrace{S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)}_{\text{a. 遗忘门的直接衰减}}
\underbrace{-S_0W^\top K_g}_{\text{b. token 残差更新对旧状态的修正}}.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.09907407407407408" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 537px;height: auto;" data-imgfileid="502324239" src="https://wechat2rss.xlab.app/img-proxy/?k=bde83d27&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904ucIRNmgHR3L60k0iccDde7DET9pbhpeeYewReP149ia6zoC9aMOTQG6bZLo83SnnFvSgBHXNeux4f2HZYHDTGCml3ZeAavvf6s%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这一等式对任意 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 成立，因此</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\mathrm{Transition}_{\mathrm{chunk}}
=D_C-W^\top K_g." class="rich_pages wxw-img" data-ratio="0.10026385224274406" data-type="png" data-w="758" style="display: block;margin: 0px auto;max-width: 100%;width: 253px;height: auto;" data-imgfileid="502324236" src="https://wechat2rss.xlab.app/img-proxy/?k=df1f0beb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904KEicNwSTvxYBzXDu1K9nFydnv68us8Vt6iahMdIqYu8MBKSibevN85JKdJiadEwBrlO2OGCZ2fj4ydXl0yN5eqcmtIDvBT5s2yDs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">遗忘在 b 部分是一种定向修正的直观说法，不表示 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i><sup><i><span leaf="">T</span></i></sup><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 的每个元素都非负，也不保证状态每个元素都减小。例如，当 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">‖</span><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">‖</span><sub><span leaf="">2</span></sub><span leaf="">=1</span></span><span leaf=""> 且 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub><span leaf="">=1</span></span><span leaf=""> 时，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">-</span><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 会移除衰减后状态在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 方向上的分量；一般情况下，应以矩阵公式为准。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">合并得到块末状态</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对任意 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，展开 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i><span leaf="">-1</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><i><span leaf="">i</span></i></sub><span leaf="">)+</span><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，有</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_C=S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)+\sum_{i=1}^{C}r_ik_{g,i}^\top." class="rich_pages wxw-img" data-ratio="0.17846153846153845" data-type="png" data-w="975" style="display: block;margin: 0px auto;max-width: 100%;width: 325px;height: auto;" data-imgfileid="502324238" src="https://wechat2rss.xlab.app/img-proxy/?k=e97e7ff6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905ckdNynnSSgb9fuR9B4QViaacK9J1NWwE2GiaSRsWKFTOiaENbKtqr0GibJalzMibp4tOFImbPa97623qk3AGibhZTqBCFWOKrjqhy0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">代入刚刚推导的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=</span><i><span leaf="">u</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">w</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
S_C
&amp;=S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)+\sum_i(u_i-S_0w_i)k_{g,i}^\top\\
&amp;=S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)-S_0\sum_iw_ik_{g,i}^\top+\sum_iu_ik_{g,i}^\top\\
&amp;=S_0\big[\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)-W^\top K_g\big]+U^\top K_g.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.2601851851851852" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 439px;height: auto;" data-imgfileid="502324243" src="https://wechat2rss.xlab.app/img-proxy/?k=52901557&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906eBMiaiaY6bcnj7YTrXzyb4bXIgcEUwBgNynzOpRa3Jp3uBbBlfCqmM8E9WlfIBf9yVuw9sfwTRRxTk0U1icLpkLMNvFAZV8e18g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以最终得到</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_C=
\underbrace{S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)}_{\text{旧状态的纯衰减}}
\underbrace{-S_0W^\top K_g}_{\text{旧状态引起的残差修正}}
+\underbrace{U^\top K_g}_{\text{本 chunk 的局部增量}}." class="rich_pages wxw-img" data-ratio="0.10648148148148148" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 501px;height: auto;" data-imgfileid="502324244" src="https://wechat2rss.xlab.app/img-proxy/?k=e4e4b4eb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904sFFnqiay0ibH0nL4XVOZ4AD6TayZE0oClS3OrtWbEmFrdcV6qsWS5QMNlQfJB8dPPKZrnonQKkb1DHYmgyMINuJkReERAzTDTY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前两项属于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span style="font-style: normal;"><span leaf="">Transition</span></span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">，第三项属于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">。这是对开头公式的精确重写，没有近似，也没有省略 token 之间的交叉项。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_C= S_0\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C) +(U-WS_0^\top)^\top K_g." class="rich_pages wxw-img" data-ratio="0.06574074074074074" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 384px;height: auto;" data-imgfileid="502324240" src="https://wechat2rss.xlab.app/img-proxy/?k=fb2f6375&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906iaC5In0ryKa1jNj39WydIDsGsR50pmyDlqOv4q5D6P9dg4oyeN0W3Yz4m4y6GdJtNpVF2qPv45rdD8WnObW27k4cKDc4j6o4k%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">块内输出：不物化逐 token 状态的并行读出</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面的合并得到块末状态得到的是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span><span leaf="">。但模型输出要求每个 token 都读一次自己的状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，而 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">1</span></sub><span leaf="">,…,</span><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i><span leaf="">-1</span></sub></span><span leaf=""> 正是 chunk 算法要避免逐个生成的中间状态。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">单 token 的完整顺序是：先衰减，再读取残差，再写入，最后读出。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\bar S_i=S_{i-1}\operatorname{Diag}(\alpha_i),\qquad
r_i=\beta_i(v_i-\bar S_ik_i),\qquad
S_i=\bar S_i+r_ik_i^\top,\qquad
o_i=S_i\hat q_i." class="rich_pages wxw-img" data-ratio="0.04259259259259259" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 608px;height: auto;" data-imgfileid="502324242" src="https://wechat2rss.xlab.app/img-proxy/?k=e9fae459&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906Ck53sibIVNTFMFamHonfhkCOevOnAEw7vSoPExqlwpDzibFNVcu9XAZmJibcMPeT5eJRvNJzE1OJLKyHCVY06iaIg503UucBFC7A%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将状态递推展开到第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_i=S_0\operatorname{Diag}(e^{G_i})+\sum_{j\le i}r_jk_j^\top\operatorname{Diag}(e^{G_i-G_j})." class="rich_pages wxw-img" data-ratio="0.1349206349206349" data-type="png" data-w="1008" style="display: block;margin: 0px auto;max-width: 100%;width: 336px;height: auto;" data-imgfileid="502324241" src="https://wechat2rss.xlab.app/img-proxy/?k=74074fbe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906UW28ScynkLgibOWOXKM2Qku8jynhia4NvexeExuNiavYmhVN9iaWsjGcm4oY0qwnhYKEzY3QDYV8Qbc1H3hBMvQh2IuyYNakFYicg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因此，第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 个 token 的输出为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
o_i
&amp;=
S_0\operatorname{Diag}(e^{G_i})\hat q_i
+
\sum_{j=1}^{i}
r_jk_j^\top\operatorname{Diag}(e^{G_i-G_j})\hat q_i\\
&amp;=
S_0(\hat q_i\odot e^{G_i})
+
\sum_{j=1}^{i}
\left[
\hat q_i^\top\operatorname{Diag}(e^{G_i-G_j})k_j
\right]r_j.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.33055555555555555" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 361px;height: auto;" data-imgfileid="502324248" src="https://wechat2rss.xlab.app/img-proxy/?k=30d21003&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904BHpb66zpogFcYIBXcT31ja3cjAJUAWtCqQZIou8Ly8iaC0oAuqgWzF9Xx9NohoaB6fJ3XlYazBEibgsY5pticCKYgO4iag1qAfUY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一项是从衰减后的块首状态中读取；第二项是从当前及历史实际写入中读取。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定义带有块首到当前位置衰减的 query：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\hat Q_{\mathrm{in}}=\hat Q\odot e^{G},\qquad(\hat Q_{\mathrm{in}})_{i,:}=\left(\hat q_i\odot e^{G_i}\right)^\top ." class="rich_pages wxw-img" data-ratio="0.09342915811088295" data-type="png" data-w="974" style="display: block;margin: 0px auto;max-width: 100%;width: 325px;height: auto;" data-imgfileid="502324245" src="https://wechat2rss.xlab.app/img-proxy/?k=c515347e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Bhu6zFsUowTyG3hb7cC79yxsKCs69KmQHHXiaOZ419icGxZhDicPE3wElko6wnR9ibktX4lvzjMMsp1HYIEtW0kPl69rNCjWxxa0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为便于展示，下面用四 token 的缩小示例（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i><span leaf="">=4</span></span><span leaf="">）：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\hat Q_{\mathrm{in}}=
\begin{bmatrix}
(\hat q_1\odot\alpha_1)^\top\\
(\hat q_2\odot\alpha_1\odot\alpha_2)^\top\\
(\hat q_3\odot\alpha_1\odot\alpha_2\odot\alpha_3)^\top\\
(\hat q_4\odot\alpha_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.3582089552238806" data-type="png" data-w="871" style="display: block;margin: 0px auto;max-width: 100%;width: 291px;height: auto;" data-imgfileid="502324247" src="https://wechat2rss.xlab.app/img-proxy/?k=2efd02af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904W7s8Y5LIpbsDwEl981nZYtfshrhSuv8eLaKenKm5eWw231w2ibwRqW1sswHyGDYOnicN6HvNuV2jXOVwsI4h8jJoTlhCCiaOwms%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定义包含对角线的下三角读取矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M_{ij}=
\begin{cases}
\hat q_i^\top\left(k_j\odot e^{G_i-G_j}\right),&amp;j\le i,\\
0,&amp;j&gt;i.
\end{cases}" class="rich_pages wxw-img" data-ratio="0.1814720812182741" data-type="png" data-w="788" style="display: block;margin: 0px auto;max-width: 100%;width: 263px;height: auto;" data-imgfileid="502324246" src="https://wechat2rss.xlab.app/img-proxy/?k=4c7124fc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9054UXa46L1fBTTB8tw31ACMzjAiceLcP8TEqlf9r7Upuwiba523bD2bfuELDcKibLUjicjuZEjLRHeuEUNc3gpictJUlX6Zia4VicIUso%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i><sub><i><span leaf="">ij</span></i></sub></span><span leaf=""> 表示：token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 的写入衰减到位置 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 之后，被 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><span leaf="">̂</span><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 读出的比例。</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M=
\begin{bmatrix}
\hat q_1^\top k_1&amp;0&amp;0&amp;0\\[2pt]
\hat q_2^\top(k_1\odot\alpha_2)&amp;\hat q_2^\top k_2&amp;0&amp;0\\[2pt]
\hat q_3^\top(k_1\odot\alpha_2\odot\alpha_3)&amp;\hat q_3^\top(k_2\odot\alpha_3)&amp;\hat q_3^\top k_3&amp;0\\[2pt]
\hat q_4^\top(k_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)&amp;\hat q_4^\top(k_2\odot\alpha_3\odot\alpha_4)&amp;\hat q_4^\top(k_3\odot\alpha_4)&amp;\hat q_4^\top k_4
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.2064814814814815" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 572px;height: auto;" data-imgfileid="502324249" src="https://wechat2rss.xlab.app/img-proxy/?k=54eeaeea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906gmeP3oS1Gts8f2lUqqWlmDibZ4jOh7TD1JiaZcvfy4IAhpU476VgzprhXDvfD7OnBKt7Z5dkJ41rbMF7dtDlamOKOxPALNBxpA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再将实际残差按行堆叠：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="E=
\begin{bmatrix}
r_1^\top\\
\vdots\\
r_C^\top
\end{bmatrix}
=
U-WS_0^\top." class="rich_pages wxw-img" data-ratio="0.4542314335060449" data-type="png" data-w="579" style="display: block;margin: 0px auto;max-width: 100%;width: 193px;height: auto;" data-imgfileid="502324253" src="https://wechat2rss.xlab.app/img-proxy/?k=04215ce9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906b9lcSQicbKG0cdWb3djlePXHSE9nIgicAZbZLF4PtL8n1w5iaCWqiaiasKiaSAXllWvHfhicvEnCWOEDmxMDRRAL2mQQBKoCicVEnPVY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">于是，整个 chunk 的输出可以写成：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O=\underbrace{\hat Q_{\mathrm{in}}S_0^\top}_{\text{跨块历史}}+\underbrace{M\,E}_{\text{块内因果}}." class="rich_pages wxw-img" data-ratio="0.330078125" data-type="png" data-w="512" style="display: block;margin: 0px auto;max-width: 100%;width: 171px;height: auto;" data-imgfileid="502324251" src="https://wechat2rss.xlab.app/img-proxy/?k=d7a26e60&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907QZRgKRYlcNYxXt9fNpbvtT4syqwX2OGYB64oksGWl7lZwWjhtwfShAEczveqLQezdecFLyQaHC4suXyaAHxDhgpA70lQ066s%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 行是实际残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，也就是 token </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 真正写入状态的 value。它和前文的局部残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 相差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 带来的修正 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">WS</span></i><sub><span leaf="">0</span></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。其中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 来自局部写入的残差求解，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf=""> 来自旧状态对残差的修正。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">=1</span></span><span leaf=""> 验证：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">1</span></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><span leaf="">1</span></sub><span leaf="">)+</span><i><span leaf="">r</span></i><sub><span leaf="">1</span></sub><i><span leaf="">k</span></i><sub><span leaf="">1</span></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，所以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">o</span></i><sub><span leaf="">1</span></sub><span leaf="">=</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span leaf="">(</span><i><span leaf="">q</span></i><span leaf="">̂</span><sub><span leaf="">1</span></sub><span leaf="">⊙α</span><sub><span leaf="">1</span></sub><span leaf="">)+(</span><i><span leaf="">q</span></i><span leaf="">̂</span><sub><span leaf="">1</span></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><sub><span leaf="">1</span></sub><span leaf="">)</span><i><span leaf="">r</span></i><sub><span leaf="">1</span></sub></span><span leaf="">，与公式一致。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf=""> 展开，就能和前面的块末状态公式逐项对应：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O=\underbrace{\hat Q_{\mathrm{in}}S_0^\top}_{\text{旧状态的纯衰减}}\ \underbrace{-\,MWS_0^\top}_{\text{旧状态引起的残差修正}}\ +\underbrace{MU}_{\text{本 chunk 的局部增量}} ." class="rich_pages wxw-img" data-ratio="0.13703703703703704" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 411px;height: auto;" data-imgfileid="502324254" src="https://wechat2rss.xlab.app/img-proxy/?k=fcbcb438&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905AvjDf4qNm8yCxHLe4cIabgJKSYX0Z4awHOmA6jNKSnHu6DC2Y7ebNylFe92yOGxGe4ibwbcGWjw8cnnicVG6ZUKibiaKTHTiarwRw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">完整计算顺序</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面分别得到了块内局部写入、旧状态对写入的修正，以及块内输出。现在把它们合在一起，得到一个完整 chunk 的计算公式。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一个 chunk 需要产生两类结果：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块末状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">C</span></i></sub></span></strong><p><span leaf="">传给下一个 chunk；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">块内输出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">O</span></i></span></strong><p><span leaf="">包含当前 chunk 中每个 token 的输出。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">衰减区间</span></strong></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">用途</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">衰减因子</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">对应区间</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">区间</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">对象</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">块首状态参与第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步的残差计算与读取</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf=""> 步到第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">旧状态从块首到当前读取前</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">p</span></i><sub><i><span leaf="">i</span></i></sub></span><p><span leaf="">，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 行转置</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 步写入影响第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">j</span></i></sub></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">+1</span></span><span leaf=""> 步到第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">历史写入之后到当前读取前</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">构造 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span><span leaf=""> 时使用的历史 key，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">&lt;</span><i><span leaf="">i</span></i></span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 步写入汇总到块尾</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">C</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">+1</span></span><span leaf=""> 步到第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf=""> 步</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">当前写入之后到块尾</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">g</span></i><span leaf="">,</span><i><span leaf="">i</span></i></sub></span><p><span leaf="">，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 行转置</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所有边界都来自同一个约定：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">先衰减，再读写。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因为逐元素乘积等于对数之和的指数，所以</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
p_i&amp;=k_i\odot e^{G_i},\\
A_{ij}&amp;=\beta_i k_i^\top(k_j\odot e^{G_i-G_j}),\qquad j&lt;i,\\
k_{g,i}&amp;=k_i\odot e^{G_C-G_i},\\
\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)&amp;=\operatorname{Diag}(e^{G_C}).
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.2574074074074074" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 411px;height: auto;" data-imgfileid="502324252" src="https://wechat2rss.xlab.app/img-proxy/?k=5a7848ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906hbpnhYtq0qictjQIQLfPSlXmB1hKvIXIFOL2R9YF3C2mM0EWdmHICep3q4JefXDFprwibJUX1Hq1NTPM2icyaBvmg93JqqrxOicY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 正好消去前 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 项，只留下 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">+1</span></span><span leaf=""> 到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf="">。同理，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i><sub><i><span leaf="">C</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 只留下 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">+1</span></span><span leaf=""> 到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">C</span></i></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">计算顺序与形状检查</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在可以从输入出发，按计算依赖把整个过程串起来。下面只看一个 chunk、一个 head：输入为传入状态 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">、按 token 排成行的 key 矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i></span><span leaf="">、value 矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">V</span></i></span><span leaf="">、每个 token 的更新强度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，以及逐维 log-gate </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">g</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=lnα</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第一步：沿 token 维求前缀和，得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf="">。</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="G_i=\sum_{t=1}^{i}g_t." class="rich_pages wxw-img" data-ratio="0.5945017182130584" data-type="png" data-w="291" style="display: block;margin: 0px auto;max-width: 100%;width: 97px;height: auto;" data-imgfileid="502324250" src="https://wechat2rss.xlab.app/img-proxy/?k=6fc7113b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907hfpQxkElHFq7GPMnFhESIIogt5aBuB8K3QcMm9NQQOGUYtsjZSRr9Y62ISIAtk3rGiaAFmZZBIOTPCQonnQKtSaeuBKa42RtM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将每个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">g</span></i><sub><i><span leaf="">i</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 排成一行，四个 token 时就是</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{bmatrix}
1&amp;0&amp;0&amp;0\\
1&amp;1&amp;0&amp;0\\
1&amp;1&amp;1&amp;0\\
1&amp;1&amp;1&amp;1
\end{bmatrix}
\begin{bmatrix}
g_1^\top\\g_2^\top\\g_3^\top\\g_4^\top
\end{bmatrix}
=
\begin{bmatrix}
G_1^\top\\G_2^\top\\G_3^\top\\G_4^\top
\end{bmatrix}
=G." class="rich_pages wxw-img" data-ratio="0.37943262411347517" data-type="png" data-w="846" style="display: block;margin: 0px auto;max-width: 100%;width: 282px;height: auto;" data-imgfileid="502324256" src="https://wechat2rss.xlab.app/img-proxy/?k=93eee039&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905FLUrHNAiblXuhcotpn2g8Hqs9LTv9d95qoUp8czSHk9QS1ibWutkxloVJw3Vn8WPTPNoicZybLoKCtvCs4040iaC5TLnSdtUesP8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这一步只得到累计 log-gate，还没有得到衰减因子或经过衰减的 key。对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 取逐元素指数，才恢复 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><span leaf="">1</span></sub><span leaf="">⊙⋯⊙α</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第二步：由同一份 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf=""> 构造两种 key，并取出全块衰减。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf="">，每行 key 乘上块首到当前位置的衰减：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_{\mathrm{in}}=K\odot e^G." class="rich_pages wxw-img" data-ratio="0.19718309859154928" data-type="png" data-w="355" style="display: block;margin: 0px auto;max-width: 100%;width: 119px;height: auto;" data-imgfileid="502324255" src="https://wechat2rss.xlab.app/img-proxy/?k=f5c10c96&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz90446wQlHVJvwVAffsXfz1TcicNp6zgMBawWZYBKfC0OCSRAz8a5Nvtc9Tgt2NKeonKicX97hvcxUSpzgzvUr6F3NwgU3qSqRlNXg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_{\mathrm{in}}=
\begin{bmatrix}
(k_1\odot\alpha_1)^\top\\
(k_2\odot\alpha_1\odot\alpha_2)^\top\\
(k_3\odot\alpha_1\odot\alpha_2\odot\alpha_3)^\top\\
(k_4\odot\alpha_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.3553530751708428" data-type="png" data-w="878" style="display: block;margin: 0px auto;max-width: 100%;width: 293px;height: auto;" data-imgfileid="502324258" src="https://wechat2rss.xlab.app/img-proxy/?k=7d851d2a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906FWg0wQicofhxFJDO6sOia2CUibjhETC66C2aUovIEq7Bd3LgSdgicC1wzDMBrbF58kp1Yd0dZUstCPRWLaT8371mYia775Q3FCOwg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf="">，用块尾累计值减去每一行的累计值，再取指数、乘 key：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="(K_g)_{i,:}=k_{g,i}^\top=\left(k_i\odot e^{G_C-G_i}\right)^\top." class="rich_pages wxw-img" data-ratio="0.12583668005354753" data-type="png" data-w="747" style="display: block;margin: 0px auto;max-width: 100%;width: 249px;height: auto;" data-imgfileid="502324259" src="https://wechat2rss.xlab.app/img-proxy/?k=6ad9f0e1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906mH2QEVRcYKTNNLC2sRQLKGibOdvnCjdxHgf9XciaxHuvCeqqNzOOVDXRZsTn4IuV0ibzIEF61EicNSKLYfLqeXkYzFwVfy8vQtib4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="K_g=\begin{bmatrix}
(k_1\odot\alpha_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_2\odot\alpha_3\odot\alpha_4)^\top\\
(k_3\odot\alpha_4)^\top\\
k_4^\top
\end{bmatrix}." class="rich_pages wxw-img" data-ratio="0.4243243243243243" data-type="png" data-w="740" style="display: block;margin: 0px auto;max-width: 100%;width: 247px;height: auto;" data-imgfileid="502324257" src="https://wechat2rss.xlab.app/img-proxy/?k=d91d8958&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9046Jyn5apiajBB3UXlniaek14ty2RibNomUtduXer73h4GC6TicfHCpffhRH4JlhGOahX8GX1c4yZDE4Z7MKoVICvnTTZegRl4Ankw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">例如，四个 token 时，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i><sub><span leaf="">4</span></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><span leaf="">2</span></sub><span leaf="">=</span><i><span leaf="">g</span></i><sub><span leaf="">3</span></sub><span leaf="">+</span><i><span leaf="">g</span></i><sub><span leaf="">4</span></sub></span><span leaf="">，所以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 的第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">2</span></span><span leaf=""> 行就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(</span><i><span leaf="">k</span></i><sub><span leaf="">2</span></sub><span leaf="">⊙α</span><sub><span leaf="">3</span></sub><span leaf="">⊙α</span><sub><span leaf="">4</span></sub><span leaf="">)</span><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。这里复用的是同一份前缀和，不需要再计算一份后缀和。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">旧状态的纯衰减也由同一份结果给出：各列的缩放因子为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">C</span></i></sub></sup></span><span leaf="">。因此，到这一步只使用了 key 和 gate，尚未计算残差。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第三步：由 key、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span></span><span leaf=""> 构造 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf="">，再求 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(</span><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i><span leaf="">)</span><sup><span leaf="">-1</span></sup></span><span leaf="">。</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="A_{ij}=
\begin{cases}
\displaystyle\beta_i\sum_{d=1}^{d_k}k_{i,d}k_{j,d}\exp(G_{i,d}-G_{j,d}),&amp;j&lt;i,\\
0,&amp;j\ge i.
\end{cases}" class="rich_pages wxw-img" data-ratio="0.2222222222222222" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 362px;height: auto;" data-imgfileid="502324264" src="https://wechat2rss.xlab.app/img-proxy/?k=25c05ecb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905eWiaBCVURB6F3ic7McBibq6PoPbwibgZRRMLb8a4kgW11gYMHmPNO7rC76ian6gcibnUah82AmW2HEo90AGMzy7jqA5Y7P7OiaHa9jA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">具体来说，先计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">exp(</span><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">j</span></i></sub><span leaf="">)</span></span><span leaf="">，得到历史写入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 到当前读取 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 之间的累计衰减因子；将它逐元素乘到历史 key </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 上，再与当前 key </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 做内积，最后乘当前更新强度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后计算</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="R=(I+A)^{-1}." class="rich_pages wxw-img" data-ratio="0.2" data-type="png" data-w="370" style="display: block;margin: 0px auto;max-width: 100%;width: 124px;height: auto;" data-imgfileid="502324260" src="https://wechat2rss.xlab.app/img-proxy/?k=d45d7898&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907rCXSQZxKfUtemezfqdJMAJ6kGClibKriaVaQWmLEiapxjkmdfGB9icZb01yPx6vcdmVgOnicmgTU8rLibkYfqoa4pZflYs7QOartKs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">+</span><i><span leaf="">A</span></i></span><span leaf=""> 是残差递推的系数矩阵，不是第一步中用于累加 log-gate 的全 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf=""> 下三角矩阵。前缀和与两种 key 只解决了衰减问题；历史写入之间的残差依赖还要通过这个下三角系统处理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第四步：用同一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i></span><span leaf=""> 分别计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf="">。</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="U=R(BV),\qquad W=R(BK_{\mathrm{in}})." class="rich_pages wxw-img" data-ratio="0.08538163001293661" data-type="png" data-w="773" style="display: block;margin: 0px auto;max-width: 100%;width: 258px;height: auto;" data-imgfileid="502324261" src="https://wechat2rss.xlab.app/img-proxy/?k=b87615e3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9079FO4LJZsvBdeTRCMibicggXVLeficyIBp3StehSfjXEe1TbdIiaXwQcJTho5bfe9Wmc0Cd2w1NyC6pBu7iamdatTnHUuQZVph6pAE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先给 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">V</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub></span><span leaf=""> 的每一行乘对应的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，再左乘 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">R</span></i></span><span leaf="">。这一步分别得到本 chunk 的局部残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf="">，以及旧状态引起的残差修正方向 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第五步：代入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf="">，合并残差后更新状态。</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="E=U-WS_0^\top,
\qquad
S_C=S_0\operatorname{Diag}(e^{G_C})+E^\top K_g." class="rich_pages wxw-img" data-ratio="0.06759259259259259" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 387px;height: auto;" data-imgfileid="502324262" src="https://wechat2rss.xlab.app/img-proxy/?k=8897f041&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905iasudibvqkyYfANFib4UbC3fTicSEc9cvvh14ZFufp6ianqibr2KI4qeibXyvX5dq7ZtuJsRLkWjc6wxBIkSd1IsicGf7Dj5g4BqykO8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先用尚未衰减的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 计算实际残差，再将 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub></span><span leaf=""> 逐列乘全块衰减，最后加上实际残差经 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 汇总后的写入。不必分别生成纯衰减、残差修正、局部增量三个完整状态矩阵后再相加。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第六步：引入 query，利用同一份实际残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf=""> 计算块内输出。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">输出还需要按 token 排成行的 query 矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̂∈</span><span style="font-style: normal;"><span leaf="">ℝ</span></span><sup><i><span leaf="">C</span></i><span leaf="">× </span><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sup></span><span leaf="">（已做 L2 norm 并乘了 scale）。先复用第一步的累计 log-gate </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf="">，让每行 query 乘上块首到当前位置的衰减：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\hat Q_{\mathrm{in}}=\hat Q\odot e^G." class="rich_pages wxw-img" data-ratio="0.2334293948126801" data-type="png" data-w="347" style="display: block;margin: 0px auto;max-width: 100%;width: 116px;height: auto;" data-imgfileid="502324263" src="https://wechat2rss.xlab.app/img-proxy/?k=0e8a290b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904CZQ6egDL7mgVuWzpjMGWqv4YKuPJia4h9nZmtEHTEM4vrIZz235TZ5sqibDiavobWNpew0N9SAJxeknPsJemGgmxevszskAmjmY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再构造包含对角线的下三角读取矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M_{ij}=
\begin{cases}
\displaystyle\sum_{d=1}^{d_k}\hat q_{i,d}k_{j,d}
\exp(G_{i,d}-G_{j,d}),&amp;j\le i,\\
0,&amp;j&gt;i.
\end{cases}" class="rich_pages wxw-img" data-ratio="0.23262548262548263" data-type="png" data-w="1036" style="display: block;margin: 0px auto;max-width: 100%;width: 346px;height: auto;" data-imgfileid="502324269" src="https://wechat2rss.xlab.app/img-proxy/?k=b3b7b969&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904JA9v6CiaIWNciaLXAMiboqHUDK5iczG6W8XLn2qvfuzcjONWINZXHQibJClCheXC71nv8lxib7hXTaUGuZ9hAnG4ygD8mLK64tWic0k%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它与第三步构造 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 的过程类似，但有三个区别：当前读取向量由 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 换成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><span leaf="">̂</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，不再乘更新强度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，并且保留对角线。因为输出是在当前写入之后读取的，所以第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 个 token 可以读取自己的写入：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M_{ii}=\hat q_i^\top k_i." class="rich_pages wxw-img" data-ratio="0.25517241379310346" data-type="png" data-w="290" style="display: block;margin: 0px auto;max-width: 100%;width: 97px;height: auto;" data-imgfileid="502324265" src="https://wechat2rss.xlab.app/img-proxy/?k=1d8a1b60&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905SCNb6ya1IH9y8RPH32icuvVM00LEzbruJKaWx5YJWZdpbXkhlMl2l5k9U6bG9dfQEAWlheKeWWv5PKknQfdz7BCMF3BvKF4pM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后直接使用第五步得到的实际残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf="">，计算整个 chunk 的输出：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="O=\hat Q_{\mathrm{in}}S_0^\top+ME." class="rich_pages wxw-img" data-ratio="0.18640350877192982" data-type="png" data-w="456" style="display: block;margin: 0px auto;max-width: 100%;width: 152px;height: auto;" data-imgfileid="502324266" src="https://wechat2rss.xlab.app/img-proxy/?k=d463aeec&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906KEgfnLQutiblMJoWMCHGd012eRQC4PsBIVKNYUiatOEBzLL9KXzmyBQnd4MucLt0WkeA2qdNPSt6RD2K6S9mN8MwicISwiaXyPicc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̂</span><sub><span style="font-style: normal;"><span leaf="">in</span></span></sub><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 是从衰减后的块首状态中读取，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">ME</span></i></span><span leaf=""> 是从当前及历史实际写入中读取。更新强度 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf=""> 已经包含在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">E</span></i></span><span leaf=""> 中，不需要在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 中重复乘入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">整条推导的起点是旧状态的变换 + 块内写入的累积。为了真正计算这两部分，先把逐 token 更新改写成纯衰减 + 残差写入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对新 value，历史读取产生系数 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf="">，由此解出不含旧状态影响的残差 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">U</span></i></span><span leaf="">，再用块尾 key </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf=""> 汇总，得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">Δ</span><sub><span style="font-style: normal;"><span leaf="">chunk</span></span></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对旧状态，先保留遗忘门带来的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><span style="font-style: normal;"><span leaf="">Diag</span></span><span leaf="">(α</span><sub><span leaf="">1</span></sub><span leaf="">⊙⋯⊙α</span><sub><i><span leaf="">C</span></i></sub><span leaf="">)</span></span><span leaf="">，再追踪旧状态如何改变每一次残差。这个差异经过相同的历史读取关系，因此复用同一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 解出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">W</span></i></span><span leaf="">，并在块尾形成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-</span><i><span leaf="">S</span></i><sub><span leaf="">0</span></sub><i><span leaf="">W</span></i><sup><i><span leaf="">T</span></i></sup><i><span leaf="">K</span></i><sub><i><span leaf="">g</span></i></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最终2种信息来源通过同一套更新规则传播：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
U&amp;=(I+A)^{-1}BV,\qquad W=(I+A)^{-1}BK_{\mathrm{in}},\\[2pt]
\Delta_{\mathrm{chunk}}&amp;=U^\top K_g,\\[2pt]
\mathrm{Transition}_{\mathrm{chunk}}
&amp;=\operatorname{Diag}(\alpha_1\odot\cdots\odot\alpha_C)-W^\top K_g,\\[2pt]
S_C&amp;=S_0\mathrm{Transition}_{\mathrm{chunk}}+\Delta_{\mathrm{chunk}},\\[2pt]
E&amp;=U-WS_0^\top,\\[2pt]
O&amp;=\hat Q_{\mathrm{in}}S_0^\top+ME.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.38055555555555554" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 459px;height: auto;" data-imgfileid="502324268" src="https://wechat2rss.xlab.app/img-proxy/?k=3a787645&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905Fic437BC7iakEF3l9o0N99g3gmZv8Hd5ib1KwJvQtvaO0mpzRgcjrJ32m19DnpOtEmVyABIicCibsNcPLpIDUiaqy101zta0tTkV0M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">总结</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还是那句话，大模型本身更像是一门基于假设的实验科学，而底层的 AI Infra 则是实打实的数学与工程。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从普通线性注意力、DeltaNet、GDN 一路演进到 KDA，核心其实就一件事：在模型表达力、算法并行度（代数结构）和硬件成本（访存与算力）之间做 trade-off。无论是本文讲的 Linear Attention，还是 MLA、DSA、CSA、SWA、IndexCache，本质上都是对全注意力机制的适度妥协，用表达能力上的取舍，换取计算与访存效率的提升。这正是算法与体系架构 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Hardware-Software Co-design</span></strong><span leaf=""> 的核心所在。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">本文属于《大模型架构演进：从内存墙到百万上下文》的一篇，其他部分还在筹备中...</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">reference</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1706.03762" textvalue="" linktype="text" data-linktype="2">Attention Is All You Need</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2501.12948" textvalue="" linktype="text" data-linktype="2">DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2405.04434" textvalue="" linktype="text" data-linktype="2">DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2412.19437" textvalue="" linktype="text" data-linktype="2">DeepSeek-V3 Technical Report</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2606.19348" textvalue="" linktype="text" data-linktype="2">DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/blob/main/DeepSeek_V41_Tech_Report.pdf" textvalue="" linktype="text" data-linktype="2">DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2401.06066" textvalue="" linktype="text" data-linktype="2">DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2502.11089" textvalue="" linktype="text" data-linktype="2">Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2603.12201" textvalue="" linktype="text" data-linktype="2">IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1409.1556" textvalue="" linktype="text" data-linktype="2">Very Deep Convolutional Networks for Large-Scale Image Recognition</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1512.03385" textvalue="" linktype="text" data-linktype="2">Deep Residual Learning for Image Recognition</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1603.05027" textvalue="" linktype="text" data-linktype="2">Identity Mappings in Deep Residual Networks</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2409.19606" textvalue="" linktype="text" data-linktype="2">Hyper-Connections</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2512.24880" textvalue="" linktype="text" data-linktype="2">mHC: Manifold-Constrained Hyper-Connections</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://zhuanlan.zhihu.com/p/2010852389670908320" textvalue="" linktype="text" data-linktype="2">你的deepseek mHC可能不需要&#34;m&#34;</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2601.07372" textvalue="" linktype="text" data-linktype="2">Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1807.03819" textvalue="" linktype="text" data-linktype="2">Universal Transformers</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1603.08983" textvalue="" linktype="text" data-linktype="2">Adaptive Computation Time for Recurrent Neural Networks</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2410.20672" textvalue="" linktype="text" data-linktype="2">Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2507.10524" textvalue="" linktype="text" data-linktype="2">Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2502.05171" textvalue="" linktype="text" data-linktype="2">Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/1811.03115" textvalue="" linktype="text" data-linktype="2">Blockwise Parallel Decoding for Deep Autoregressive Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2203.16487" textvalue="" linktype="text" data-linktype="2">Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generation</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2211.17192" textvalue="" linktype="text" data-linktype="2">Fast Inference from Transformers via Speculative Decoding</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2302.01318" textvalue="" linktype="text" data-linktype="2">Accelerating Large Language Model Decoding with Speculative Sampling</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2401.15077" textvalue="" linktype="text" data-linktype="2">EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2406.16858" textvalue="" linktype="text" data-linktype="2">EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2503.01840" textvalue="" linktype="text" data-linktype="2">EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2404.19737" textvalue="" linktype="text" data-linktype="2">Better &amp; Faster Large Language Models via Multi-token Prediction</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2411.04975" textvalue="" linktype="text" data-linktype="2">SuffixDecoding: Extreme Speculative Decoding for Emerging AI Applications</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2401.10774" textvalue="" linktype="text" data-linktype="2">Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2602.06036" textvalue="" linktype="text" data-linktype="2">DFlash: Block Diffusion for Flash Speculative Decoding</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2607.05147" textvalue="" linktype="text" data-linktype="2">DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://docs.vllm.ai/en/latest/features/speculative_decoding/#speculative-decoding" textvalue="" linktype="text" data-linktype="2">Speculative Decoding</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://vllm.ai/blog/2026-08-14-dspark-adaptive-verification" textvalue="" linktype="text" data-linktype="2">Adaptive Verification in vLLM: DSpark confidence-scheduled verification</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2309.17453" textvalue="" linktype="text" data-linktype="2">Efficient Streaming Language Models with Attention Sinks</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://www.evanmiller.org/attention-is-off-by-one.html" textvalue="" linktype="text" data-linktype="2">Attention Is Off By One</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2410.10781" textvalue="" linktype="text" data-linktype="2">When Attention Sink Emerges in Language Models: An Empirical View</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2504.02732" textvalue="" linktype="text" data-linktype="2">Why do LLMs attend to the first token?</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2508.10925" textvalue="" linktype="text" data-linktype="2">gpt-oss-120b &amp; gpt-oss-20b Model Card</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2501.14336" textvalue="" linktype="text" data-linktype="2">RadiK: Scalable and Optimized GPU-Parallel Radix Top-K Selection</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2412.06464" textvalue="" linktype="text" data-linktype="2">Gated Delta Networks: Improving Mamba2 with Delta Rule</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2510.26692" textvalue="" linktype="text" data-linktype="2">Kimi Linear: An Expressive, Efficient Attention Architecture</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2102.11174" textvalue="" linktype="text" data-linktype="2">Linear Transformers Are Secretly Fast Weight Programmers</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2406.06484" textvalue="" linktype="text" data-linktype="2">Parallelizing Linear Transformers with the Delta Rule over Sequence Length</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2404.05892" textvalue="" linktype="text" data-linktype="2">Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2006.16236" textvalue="" linktype="text" data-linktype="2">Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2210.10340" textvalue="" linktype="text" data-linktype="2">The Devil in Linear Transformer</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2212.14052" textvalue="" linktype="text" data-linktype="2">Hungry Hungry Hippos: Towards Language Modeling with State Space Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2312.00752" textvalue="" linktype="text" data-linktype="2">Mamba: Linear-Time Sequence Modeling with Selective State Spaces</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2405.21060" textvalue="" linktype="text" data-linktype="2">Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2307.08621" textvalue="" linktype="text" data-linktype="2">Retentive Network: A Successor to Transformer for Large Language Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2312.06635" textvalue="" linktype="text" data-linktype="2">Gated Linear Attention Transformers with Hardware-Efficient Training</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2104.09864" textvalue="" linktype="text" data-linktype="2">RoFormer: Enhanced Transformer with Rotary Position Embedding</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2106.09685" textvalue="" linktype="text" data-linktype="2">LoRA: Low-Rank Adaptation of Large Language Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://ecommons.cornell.edu/entities/publication/592a21c4-ab2b-4bee-b804-8dc8b154a1eb" textvalue="" linktype="text" data-linktype="2">A Storage Efficient WY Representation for Products of Householder Transformations</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2411.19379" textvalue="" linktype="text" data-linktype="2">Marconi: Prefix Caching for the Era of Hybrid LLMs</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2610.13778" textvalue="" linktype="text" data-linktype="2">ReplaySSM: Cache SSM Inputs, Not State</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://developer.nvidia.com/blog/replayssm-rethinking-state-storage-for-faster-hybrid-model-decoding/" textvalue="" linktype="text" data-linktype="2">ReplaySSM: Rethinking State Storage for Faster Hybrid-Model Decoding</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://docs.vllm.ai/en/latest/design/prefix_caching/" textvalue="" linktype="text" data-linktype="2">Automatic Prefix Caching</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://docs.vllm.ai/en/stable/design/hybrid_kv_cache_manager/" textvalue="" linktype="text" data-linktype="2">Hybrid KV Cache Manager</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://kexue.fm/archives/8130" textvalue="" linktype="text" data-linktype="2">让研究人员绞尽脑汁的Transformer位置编码</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://www.spaces.ac.cn/archives/11033" textvalue="" linktype="text" data-linktype="2">线性注意力简史：从模仿、创新到反哺</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://spaces.ac.cn/archives/11823" textvalue="" linktype="text" data-linktype="2">将Softmax Attention线性化为Gated DeltaNet</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://snowchord.com/blog/linear-attention-visualized/" textvalue="" linktype="text" data-linktype="2">Linear Attention, Visualized</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://kexue.fm/archives/8265" textvalue="" linktype="text" data-linktype="2">Transformer升级之路：2、博采众长的旋转式位置编码</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://arxiv.org/abs/2309.00071" textvalue="" linktype="text" data-linktype="2">YaRN: Efficient Context Window Extension of Large Language Models</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://kexue.fm/archives/10091" textvalue="" linktype="text" data-linktype="2">缓存与效果的极限拉扯：从MHA、MQA、GQA到MLA</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://km.woa.com/articles/show/659617?from=iSearch" textvalue="" linktype="text" data-linktype="2">从 305 GB 到 7.4 GB：大模型 KVCache 架构演进全景</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link mp_article_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://mp.weixin.qq.com/s?__biz=MzI2NDQyNjY3NA==&amp;mid=2247484178&amp;idx=1&amp;sn=9e0474f49b532f05549e978292a354ad&amp;scene=21#wechat_redirect" textvalue="" linktype="text" data-linktype="2">算一算 DeepSeek Flash V4.1 的 KVCache 大小</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://vllm.ai/blog/2026-10-16-kimi-k3-mi355x" textvalue="" linktype="text" data-linktype="2">Scaling Kimi K3 on AMD Instinct MI355X: Matching NVIDIA HGX B300 Throughput per GPU on AgentX</a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(3, 124, 230);text-decoration: none;border-bottom: 1px solid rgb(3, 124, 230);" href="https://vllm.ai/blog/2026-07-27-k3" textvalue="" linktype="text" data-linktype="2">Kimi K3 Is Here: Efficient Day-0 Support on vLLM</a></span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">附1. chunk内 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf="">和</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 的计算</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">1. 为什么不能一次矩阵乘法算完</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">逐元素写开：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M_{ij}=\sum_{d=1}^{d_k}\hat q_{i,d}\,k_{j,d}\,e^{G_{i,d}-G_{j,d}},\qquad j\le i ." class="rich_pages wxw-img" data-ratio="0.20114285714285715" data-type="png" data-w="875" style="display: block;margin: 0px auto;max-width: 100%;width: 292px;height: auto;" data-imgfileid="502324267" src="https://wechat2rss.xlab.app/img-proxy/?k=b5645b5a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905VXHjPBiatwRWXCHBPrB8c71AlhNbXgZnZdm6zNJs9DtZfIhRrQ9AZI4Y9eibDcVODyPbah2Iz8RDibrkqpHiarvlfU5xUXO3iakr8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">衰减因子同时依赖 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf="">。如果逐通道拆成 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub></sup><span leaf="">⊙ </span><i><span leaf="">e</span></i><sup><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">j</span></i></sub></sup></span><span leaf="">，在精确算术下就能写成一次矩阵乘法再取下三角：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M=\operatorname{tril}\!\left((\hat Q\odot e^G)(K\odot e^{-G})^\top\right)." class="rich_pages wxw-img" data-ratio="0.140485312899106" data-type="png" data-w="783" style="display: block;margin: 0px auto;max-width: 100%;width: 261px;height: auto;" data-imgfileid="502324270" src="https://wechat2rss.xlab.app/img-proxy/?k=25951758&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904CgsYxcibmXdvj6Zqmltt8EUYIO4c9UmSDye8XCDtjIDzM4efrn6jT9sNZLFXTud1eD2HodRHyKN9BdFAstia9p1mkoR5xsfFhA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="font-style: normal;"><span leaf="">tril</span></span></span><span leaf=""> 保留对角线。但 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf=""> 是负数的累加，一个 chunk 内可接近 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">64×(-5)=-320</span></span><span leaf="">，而 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><span leaf="">320</span></sup></span><span leaf=""> 远超 fp32 上限（约 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><span leaf="">88.7</span></sup></span><span leaf="">），会溢出；事后加因果掩码也无法修复已经溢出的有效下三角项。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2. 切成 16×16 子块</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">chunk_size = 64</span></code><span leaf=""> 切成 4 个子块：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="M=\begin{bmatrix}
D_{0}&amp;0&amp;0&amp;0\\
M_{10}&amp;D_{1}&amp;0&amp;0\\
M_{20}&amp;M_{21}&amp;D_{2}&amp;0\\
M_{30}&amp;M_{31}&amp;M_{32}&amp;D_{3}
\end{bmatrix},\qquad\text{每块 }16\times16 ." class="rich_pages wxw-img" data-ratio="0.25" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 391px;height: auto;" data-imgfileid="502324274" src="https://wechat2rss.xlab.app/img-proxy/?k=cf057736&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904lYsbYpRMia8L2iagLKibjibicnlrhEwZldXlCBhGoS40iaAM0xxNWYkeY2e5Hb6r9EvGEs3aeANd38GURgCbibWB5wial76Ru4yt3O1E%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上三角子块全为 0，直接跳过。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">非对角子块 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i><sub><i><span leaf="">ab</span></i></sub></span><span leaf="">（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">a</span></i><span leaf="">&gt;</span><i><span leaf="">b</span></i></span><span leaf="">）：用参考点拆成矩阵乘法。</span></strong><span leaf=""> 取行子块 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">a</span></i></span><span leaf=""> 的第一个 token 作为参考点 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">n</span></i></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="e^{G_i-G_j}=e^{G_i-G_n}\odot e^{G_n-G_j},
\qquad
M_{ab}=\underbrace{\left(\hat Q_a\odot e^{G_a-G_n}\right)}_{16\times d_k}
\underbrace{\left(K_b\odot e^{G_n-G_b}\right)^\top}_{d_k\times16}." class="rich_pages wxw-img" data-ratio="0.11574074074074074" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 546px;height: auto;" data-imgfileid="502324273" src="https://wechat2rss.xlab.app/img-proxy/?k=e2ea21f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906KLfXpQea01sqeEdgstLREJ4lkoibXyyU7LiafmEYUuC8G3zS7SyXjbG3LZDO48JZEjaxImG23iaAfkV6kPvQKf5n8ESzLRibjCWc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">拆分是精确的：同一通道的两段指数相加，正好还原 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf="">。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">不会溢出：行 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf=""> 在参考点之后，列 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i></span><span leaf=""> 在参考点之前，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">≥ </span><i><span leaf="">n</span></i><span leaf="">&gt;</span><i><span leaf="">j</span></i></span><span leaf="">。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">G</span></i></span><span leaf=""> 单调不增，所以两段指数都 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">≤0</span></span><span leaf="">。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">对角子块 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">D</span></i><sub><i><span leaf="">a</span></i></sub></span><span leaf="">：逐列直接算。</span></strong><span leaf=""> 子块内的行和列属于同一段 token，找不到&#34;行都在之后、列都在之前&#34;的参考点。设子块首 token 的全局编号为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">n</span></i><sub><i><span leaf="">a</span></i></sub></span><span leaf="">，局部行列编号为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><span leaf="">,</span><i><span leaf="">s</span></i><span leaf="">∈{1,…,16}</span></span><span leaf="">，对应 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">=</span><i><span leaf="">n</span></i><sub><i><span leaf="">a</span></i></sub><span leaf="">+</span><i><span leaf="">r</span></i><span leaf="">-1</span></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">=</span><i><span leaf="">n</span></i><sub><i><span leaf="">a</span></i></sub><span leaf="">+</span><i><span leaf="">s</span></i><span leaf="">-1</span></span><span leaf="">，则：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="(D_a)_{rs}=\begin{cases}
\displaystyle\sum_{d=1}^{d_k}\hat q_{i,d}k_{j,d}e^{G_{i,d}-G_{j,d}},&amp;r\ge s,\\
0,&amp;r&lt;s.
\end{cases}" class="rich_pages wxw-img" data-ratio="0.2628135223555071" data-type="png" data-w="917" style="display: block;margin: 0px auto;max-width: 100%;width: 306px;height: auto;" data-imgfileid="502324271" src="https://wechat2rss.xlab.app/img-proxy/?k=46fe650b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905Ka0ic7FfelWID2RiarWkpLiaq13rqSQ6TtGTgWkuPwzTZODMgWdBZYGRmJHVw6waClL3UOJmuIrO2wia9HkwyeCFxdgdXxZVjzAA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">若实现先计算整列再把 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">&lt;</span><i><span leaf="">j</span></i></span><span leaf=""> 的行置零，被置零的位置指数为正，但跨度最多 15 个 token；</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">lower_bound = -5</span></code><span leaf=""> 时最大约 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">e</span></i><sup><span leaf="">75</span></sup></span><span leaf="">，仍在 fp32 范围内。最终结果只保留 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">≥ </span><i><span leaf="">j</span></i></span><span leaf="">，包含对角线。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">3. 与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 共用同一个 kernel</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在同一个子块中，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">b</span></i></sub><span leaf="">⊙ </span><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">n</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">b</span></i></sub></sup></span><span leaf=""> 只算一次，然后分成两路：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">左乘的矩阵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">之后</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">保留范围</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">K</span></i><sub><i><span leaf="">a</span></i></sub><span leaf="">⊙ </span><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">a</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">n</span></i></sub></sup></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每行乘 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">&gt;</span><i><span leaf="">j</span></i></span></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̂</span><sub><i><span leaf="">a</span></i></sub><span leaf="">⊙ </span><i><span leaf="">e</span></i><sup><i><span leaf="">G</span></i><sub><i><span leaf="">a</span></i></sub><span leaf="">-</span><i><span leaf="">G</span></i><sub><i><span leaf="">n</span></i></sub></sup></span><p><span leaf="">（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">Q</span></i><span leaf="">̂</span></span><span leaf=""> 已含 scale）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i><span leaf="">≥ </span><i><span leaf="">j</span></i></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 是同一对 kernel 的两个输出，不需要额外再读一遍 key 和 gate。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4. </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i></span><span leaf=""> 与 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i></span><span leaf=""> 的对照</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两者的衰减区间都是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">j</span></i><span leaf="">+1</span></span><span leaf=""> 到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">i</span></i></span><span leaf="">，区别只有三点：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">A</span></i><sub><i><span leaf="">ij</span></i></sub></span></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">M</span></i><sub><i><span leaf="">ij</span></i></sub></span></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">与历史写入做内积的向量</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">i</span></i></sub></span></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i><span leaf="">̂</span><sub><i><span leaf="">i</span></i></sub></span></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">系数</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">乘 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">i</span></i></sub></span><span leaf="">，用于构成当前残差</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不乘，写入强度已包含在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">r</span></i><sub><i><span leaf="">j</span></i></sub></span><span leaf=""> 中</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">对角线</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不含，因为残差在写入前读取</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">含，因为输出在写入后读取</span></p></td></tr></tbody></table><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">附2: 为什么要L2 Norm</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">L2 Norm是什么</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设原始的 Key 向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></span><span leaf=""> 维的列向量，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub><span leaf=""> = [</span><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">x</span></i><sub><span leaf="">2</span></sub><span leaf="">, ⋯, </span><i><span leaf="">x</span></i><sub><i><span leaf="">d</span></i><sub><i><span leaf="">k</span></i></sub></sub><span leaf="">]</span><sup><i><span leaf="">T</span></i></sup></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">根据 L2 范数的严格数学定义，向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 的长度为：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Vert{}\tilde{k}_t\Vert{}_2 = \sqrt{x_1^2 + x_2^2 + \dots + x_{d_k}^2} = \sqrt{\sum_{i=1}^{d_k} x_i^2}" class="rich_pages wxw-img" data-ratio="0.21494370522006143" data-type="png" data-w="977" style="display: block;margin: 0px auto;max-width: 100%;width: 326px;height: auto;" data-imgfileid="502324272" src="https://wechat2rss.xlab.app/img-proxy/?k=b88c64c6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9065jwbLD7Ek6yHhBPeO38Jrta70WfPkvas0MLEhOibdarSTJJljZibJhPy3842Fiad9kgzYpEIuA5cciaDCtRGGRFUWXeiax8cRW38E%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们再来看根号里面的内积 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。行向量乘以列向量，展开后正是各个元素的平方和：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\tilde{k}_t^\top \tilde{k}_t = x_1^2 + x_2^2 + \dots + x_{d_k}^2 = \sum_{i=1}^{d_k} x_i^2" class="rich_pages wxw-img" data-ratio="0.2061248527679623" data-type="png" data-w="849" style="display: block;margin: 0px auto;max-width: 100%;width: 283px;height: auto;" data-imgfileid="502324275" src="https://wechat2rss.xlab.app/img-proxy/?k=6ecc07a7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904bCiaT10ZY3E3w3CHKAmqnwWu2mUuGUyG4328xmTQ1Pj1B1LKQeEaqXW2yP4a480iaXtbQ5hzqIBGXkQ6sEwJFOsOZsP1rOxXfk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">给这个内积套上平方根，就得到了：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\Vert{}\tilde{k}_t\Vert{}_2 = \sqrt{\tilde{k}_t^\top \tilde{k}_t} = \sqrt{\sum_{i=1}^{d_k} x_i^2}" class="rich_pages wxw-img" data-ratio="0.3265940902021773" data-type="png" data-w="643" style="display: block;margin: 0px auto;max-width: 100%;width: 215px;height: auto;" data-imgfileid="502324278" src="https://wechat2rss.xlab.app/img-proxy/?k=60c180fa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904S8f6DMIRNX0uTf7IPRn5TOXibmHUnQgwfbndQdAe2NcibTunkSoZGx8NMvic7nzEu6MMST4L2QZtmk4EupZNaATwcdkK7duiawic4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对非零向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><span leaf="">̃</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，理想的 L2 归一化操作为</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="k_t = \frac{\tilde{k}_t}{\Vert{}\tilde{k}_t\Vert{}_2} = \frac{\tilde{k}_t}{\sqrt{\tilde{k}_t^\top \tilde{k}_t}}" class="rich_pages wxw-img" data-ratio="0.3736059479553903" data-type="png" data-w="538" style="display: block;margin: 0px auto;max-width: 100%;width: 180px;height: auto;" data-imgfileid="502324279" src="https://wechat2rss.xlab.app/img-proxy/?k=c387af96&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907RhfWY1wzzY77N7sLl32nibibMOmUrFhfL5eIGOefeTM0iaREzNQxe1neS9iccLPBmQdhe6YoWzIOuxwWbiclYvt4ZZtp2rib9PUzQ4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，在非零输入、精确算术下，归一化后有 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">=1</span></span><span leaf="">。工程实现会加入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">ε</span></span><span leaf=""> 等数值保护，避免零向量除零；此时范数不一定严格等于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">。下面先按理想的单位范数推导，非单位范数时应保留前文公式中的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">‖</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">‖</span><sub><span leaf="">2</span></sub><sup><span leaf="">2</span></sup></span><span leaf="">。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">确保 Delta Rule 转移不放大旧状态</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先看不含额外遗忘门的 DeltaNet 更新：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_t=S_{t-1}(I-\beta_t k_tk_t^\top)+\beta_t v_tk_t^\top" class="rich_pages wxw-img" data-ratio="0.09866666666666667" data-type="png" data-w="750" style="display: block;margin: 0px auto;max-width: 100%;width: 250px;height: auto;" data-imgfileid="502324277" src="https://wechat2rss.xlab.app/img-proxy/?k=7aafa9f5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906zxOGNcxhZQIKkW8xIo2W97nSewA2mibciaKS6OqMBWSAUmnBJL4tQ7ap8tXQOTDxBmG0sYeia86I3CEHIzfhGTg4mBHjibnFkvKw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">L2 归一化约束的是旧状态转移矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">-β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf="">，并不单独保证带有持续写入的完整状态永远有界，也不保证所有历史关联都不会遗忘。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要验证这一点，我们需要建立一个直觉：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 是一个记忆库</span></strong><span leaf="">。测试这个记忆库好不好的最好方法，就是用不同的查询向量（Query）去读取它，看看能读出什么（即计算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">q</span></i></span><span leaf="">）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们需要证明：在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0≤β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">≤1</span></span><span leaf=""> 时，Delta Rule 的旧状态转移只收缩或保留各方向，而不会将它们放大。它不是 GDN/KDA 中单独的遗忘门 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">α</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两个方向： 1. 用</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">模式匹配</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">; 2. 用</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">的正交方向模式匹配</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">查询刚刚写入的知识</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">即用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 本身去查询</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tk_t =S_{t-1}(I-\beta_t k_tk_t^\top)k_t +\beta_t v_tk_t^\top k_t." class="rich_pages wxw-img" data-ratio="0.08176795580110498" data-type="png" data-w="905" style="display: block;margin: 0px auto;max-width: 100%;width: 302px;height: auto;" data-imgfileid="502324276" src="https://wechat2rss.xlab.app/img-proxy/?k=8aefc53b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9043yicBomfbyaDrAHERczkGPS7iaWUHR75TGs220VQcNQicLicY53BJopeVzUsARxCibN8o7qEic2OibkSQtCKOnDsp9BrSdhQpbTCW64%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">利用结合律，把内积 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 括起来：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tk_t =S_{t-1}\Big[k_t-\beta_t k_t(k_t^\top k_t)\Big] +\beta_t v_t(k_t^\top k_t)." class="rich_pages wxw-img" data-ratio="0.10816125860373647" data-type="png" data-w="1017" style="display: block;margin: 0px auto;max-width: 100%;width: 339px;height: auto;" data-imgfileid="502324282" src="https://wechat2rss.xlab.app/img-proxy/?k=973f5148&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907t0ttl33UYmHic1P5EbBKFnwScIEQLP88Q1tVhiblbiahvicbLicOWYyzQuJ5wbhAKzevWNTB3pnDiaTrWl0ickk7MAdCfcQLLHDSR74%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">代入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">=1</span></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned} S_tk_t &amp;=S_{t-1}(k_t-\beta_t k_t)+\beta_t v_t\\ &amp;=(1-\beta_t)S_{t-1}k_t+\beta_t v_t. \end{aligned}" class="rich_pages wxw-img" data-ratio="0.19826338639652677" data-type="png" data-w="691" style="display: block;margin: 0px auto;max-width: 100%;width: 231px;height: auto;" data-imgfileid="502324283" src="https://wechat2rss.xlab.app/img-proxy/?k=192d771f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906A2Z45OFibXGzUxmSnGjGrS9EicyOf4ke3LNIEQILiaGHUljyKHCmbyNZjkcibZmSRS3eDxqjHXSBW3icHNcTQ8dtxbXdaaouQDcZQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><p><span leaf="">旧状态在当前 Key 上的读出。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">(1-β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">)</span><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><p><span leaf="">旧读出保留 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1-β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 的比例。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">v</span></i><sub><i><span leaf="">t</span></i></sub></span><p><span leaf="">写入的新值。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，当 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0≤β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">≤1</span></span><span leaf=""> 时，当前 Key 对应的读出，是旧读出与新值之间的加权平均。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">查询完全无关的知识</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果我们在存入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 之后，用一个与它正交的查询向量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i></span><span leaf=""> 去读取记忆呢？这里的条件是严格的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">q</span></i><span leaf="">=0</span></span><span leaf="">，不能直接把语义上的“不相关”当作数学上的正交。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我们再次用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">q</span></i></span><span leaf=""> 去右乘更新后的记忆 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}  S_t q &amp;= S_{t-1}(I - \beta_t k_t k_t^\top)q + \beta_t v_t k_t^\top q \\ &amp;= S_{t-1}\Big[q - \beta_t k_t(k_t^\top q)\Big] + \beta_t v_t(k_t^\top q) \end{aligned}" class="rich_pages wxw-img" data-ratio="0.20414847161572053" data-type="png" data-w="916" style="display: block;margin: 0px auto;max-width: 100%;width: 306px;height: auto;" data-imgfileid="502324280" src="https://wechat2rss.xlab.app/img-proxy/?k=66efbda3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904K9zziaohA6upceT8PekO5DkWFHlMlT4Ed7mjZLuVHN1iadBEOPCnRsdajSpRHoP3DqjknvZcStZCl0ALckBAA0H0gj463VcW78%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">代入正交条件 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">q</span></i><span leaf=""> = 0</span></span><span leaf="">：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned} S_t q &amp;= S_{t-1}(q - 0) + 0 \\ &amp;= S_{t-1}q \end{aligned}" class="rich_pages wxw-img" data-ratio="0.26653696498054474" data-type="png" data-w="514" style="display: block;margin: 0px auto;max-width: 100%;width: 172px;height: auto;" data-imgfileid="502324284" src="https://wechat2rss.xlab.app/img-proxy/?k=6038f3ae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907zo3Ek8zUy8wsLsLXUQJdY7zUHxqsJfKHHftmHQk4ia8ruEIWTVQEotSeIomnqA1XP8DzhGpsVD18TXqbO0icaDG82tUzrMFQl8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">结论：在这个不带额外遗忘门的 DeltaNet 更新中，与当前 key 严格正交的查询读出保持不变；非正交方向仍可能受到干扰。单位 key 下，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">I</span></i><span leaf="">-β</span><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub></span><span leaf=""> 方向的特征值为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1-β</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">，在其正交补空间上为 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">，所以旧状态转移的谱范数不超过 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">1</span></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对于 GDN/KDA，应把上述推导中的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub></span><span leaf=""> 换成已经衰减的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><span leaf="">̄</span><sub><i><span leaf="">t</span></i></sub></span><span leaf="">。例如 KDA 在 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><sup><i><span leaf="">T</span></i></sup><i><span leaf="">q</span></i><span leaf="">=0</span></span><span leaf=""> 时满足的是</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="S_tq=\bar S_tq=S_{t-1}\operatorname{Diag}(\alpha_t)q," class="rich_pages wxw-img" data-ratio="0.11764705882352941" data-type="png" data-w="663" style="display: block;margin: 0px auto;max-width: 100%;width: 221px;height: auto;" data-imgfileid="502324281" src="https://wechat2rss.xlab.app/img-proxy/?k=d8e1d82f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905icxtHZkNPWFUiagIPWGicngAHjOY9wUjm01xkJG8XfDUVqSkiaxplgn2ZSCjLcHY5GIxXBu6Q68oib8npclDia7JiboCkpJOoWDFqGA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一般不等于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">S</span></i><sub><i><span leaf="">t</span></i><span leaf="">-1</span></sub><i><span leaf="">q</span></i></span><span leaf="">。也就是说，正交方向不受本次残差写入影响，但仍会受到遗忘门的作用。KDA 的完整旧状态转移同样不放大：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\begin{aligned}
T_t&amp;=\operatorname{Diag}(\alpha_t)(I-\beta_tk_tk_t^\top),\\
\|T_t\|_2&amp;\le\|\operatorname{Diag}(\alpha_t)\|_2\,\|I-\beta_tk_tk_t^\top\|_2
\le\max_d\alpha_{t,d}\le1.
\end{aligned}" class="rich_pages wxw-img" data-ratio="0.14722222222222223" data-type="png" data-w="1080" style="display: block;margin: 0px auto;max-width: 100%;width: 407px;height: auto;" data-imgfileid="502324285" src="https://wechat2rss.xlab.app/img-proxy/?k=110b4543&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904QhnDs3NAv0jkLauv2Z1H3Lg8GiaxotXAnHJxLVHFY77FZjibCvGVFPkLic8ZjWI2P4FetzN2JoMuUXkjnyvj3tUvzUvR3iaJ4nZY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里假设 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0≤α</span><sub><i><span leaf="">t</span></i><span leaf="">,</span><i><span leaf="">d</span></i></sub><span leaf="">≤1</span></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">0≤β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">≤1</span></span><span leaf="">；当数值保护使 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">‖</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">‖</span><sub><span leaf="">2</span></sub><span leaf="">≤1</span></span><span leaf=""> 时，不放大的结论仍成立，但“</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">β</span><sub><i><span leaf="">t</span></i></sub><span leaf="">=1</span></span><span leaf=""> 时精确覆写”还需要 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">‖</span><i><span leaf="">k</span></i><sub><i><span leaf="">t</span></i></sub><span leaf="">‖</span><sub><span leaf="">2</span></sub><span leaf="">=1</span></span><span leaf="">。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">附3：链式法则</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">s</span></i><span leaf="">,</span><i><span leaf="">k</span></i><span leaf="">,</span><i><span leaf="">v</span></i></span><span leaf=""> 都是普通数字，那么损失是：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\ell(s)=\frac12(v-sk)^2." class="rich_pages wxw-img" data-ratio="0.270509977827051" data-type="png" data-w="451" style="display: block;margin: 0px auto;max-width: 100%;width: 151px;height: auto;" data-imgfileid="502324288" src="https://wechat2rss.xlab.app/img-proxy/?k=f16f1067&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907hIx8V0YPzCH3HOBPh2QicH63ypibDADiavZ8Faqd99DHU8WEvjicm5pJ1crCXJmuezbTR4QLnMkicsyb4omAywwWe3hIk6KomrROQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">s</span></i></span><span leaf=""> 求导，要分两层：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">外层是平方：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span style="display: inline-block;vertical-align: middle;text-align: center;line-height: 1.15;"><span style="display: block;padding: 0px 3px;"><span leaf="">1</span></span><span style="display: block;border-top: 1.2px solid rgb(62, 71, 83);padding: 1px 3px 0px;"><span leaf="">2</span></span></span><i><span leaf="">x</span></i><sup><span leaf="">2</span></sup></span><span leaf=""> 的导数是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">x</span></i></span><span leaf="">。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">内层是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">v</span></i><span leaf="">-</span><i><span leaf="">sk</span></i></span><span leaf="">：对 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><i><span leaf="">s</span></i></span><span leaf=""> 求导得到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;line-height: 1.5;"><span leaf="">-</span><i><span leaf="">k</span></i></span><span leaf="">。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">根据链式法则，把这两部分乘起来：</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: center;margin: 18px 0px;" nodeleaf=""><img data-aistatus="1" alt="\frac{d\ell}{ds} =\underbrace{(v-sk)}_{\text{外层求导}} \cdot \underbrace{(-k)}_{\text{内层求导}} =(sk-v)k." class="rich_pages wxw-img" data-ratio="0.21919431279620852" data-type="png" data-w="844" style="display: block;margin: 0px auto;max-width: 100%;width: 282px;height: auto;" data-imgfileid="502324286" src="https://wechat2rss.xlab.app/img-proxy/?k=31394298&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904BgZjL9YSE2jOibPYv3B05MmhuWqTgTDreNmIs0IsYZYkFQsic8vD35TyDVziccLXFBVGXtjIqbc7aP2Pet5TPQE3FxwA7TmHetA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">附4: 哈希粒度</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在本文配置中，MLA group 和 4 个 KDA group 的 block_size 都是 640，tail group 不参与 prefix caching 的哈希粒度计算。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">未设置 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit</span></code><span leaf=""> 时</span></strong><span leaf="">：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size = gcd(640, 640, …) = 640</span></code></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">scheduler_block_size = lcm(…) = 640</span></code></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">正文中 1984 的尾部停点和 1216 的分叉点示例，另行假设显式设置了 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">--prefix-match-unit=64</span></code><span leaf="">。此时 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size = 64</span></code><span leaf="">，而物理 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size</span></code><span leaf=""> 与 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">scheduler_block_size</span></code><span leaf=""> 仍为 640；改变的是哈希匹配粒度，不是物理块大小。</span></p><pre style="white-space:pre-wrap;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;tab-size: 4;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">group_block_sizes = [</span><span leaf=""><br/></span><span leaf="">    resolve_dcp_kv_block_size(g.kv_cache_spec, dcp) </span><span style="color: rgb(198, 120, 221);"><span leaf="">for</span></span><span leaf=""> g </span><span style="color: rgb(198, 120, 221);"><span leaf="">in</span></span><span leaf=""> groups</span><span leaf=""><br/></span><span leaf="">]</span><span leaf=""><br/></span><span leaf="">scheduler_block_size = math.lcm(*group_block_sizes)</span><span leaf=""><br/></span><span leaf="">...</span><span leaf=""><br/></span><span leaf="">hashing_sizes = [</span><span leaf=""><br/></span><span leaf="">    block_size</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">for</span></span><span leaf=""> group, block_size </span><span style="color: rgb(198, 120, 221);"><span leaf="">in</span></span><span style="color: rgb(86, 182, 194);"><span leaf="">zip</span></span><span leaf="">(groups, group_block_sizes)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);"><span leaf="">if</span></span><span leaf=""> group.kv_cache_spec.prefix_cacheable</span><span leaf=""><br/></span><span leaf="">] </span><span style="color: rgb(198, 120, 221);"><span leaf="">or</span></span><span leaf=""> group_block_sizes</span><span leaf=""><br/></span><span leaf="">requested = cache_config.prefix_match_unit</span><span leaf=""><br/></span><span leaf="">hash_block_size = requested </span><span style="color: rgb(198, 120, 221);"><span leaf="">if</span></span><span leaf=""> requested </span><span style="color: rgb(198, 120, 221);"><span leaf="">is</span></span><span style="color: rgb(198, 120, 221);"><span leaf="">not</span></span><span style="color: rgb(209, 154, 102);"><span leaf="">None</span></span><span style="color: rgb(198, 120, 221);"><span leaf="">else</span></span><span leaf=""> math.gcd(*hashing_sizes)</span></code></pre><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 558px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">scheduler_block_size</span></code></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">hash_block_size</span></code></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">取值</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">所有 group 的 block_size 的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">最小公倍数</span></strong></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">参与 prefix caching 的 group 的 block_size 的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">最大公约数</span></strong><span leaf="">；如果设置了 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">prefix_match_unit</span></code><span leaf="">，就用它</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">作用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">调度器的对齐单位：前缀命中长度、已计算 token 的推进都按它对齐</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">计算 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">Request.block_hashes</span></code><span leaf=""> 的单位：每满这么多 token 算一个链式哈希</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">为什么这样取</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">取公倍数，才能保证在这个边界上每个 group 都正好是整数个 Block，命中后各 group 同时可用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">取公约数，才能保证每个 group 的 Block 都由整数个哈希单位组成。block_size 较大的 group 每隔 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">block_size / hash_block_size</span></code><span leaf=""> 个哈希取一个即可（</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">BlockHashListWithBlockSize</span></code><span leaf="">），哈希只需算一遍</span></p></td></tr></tbody></table><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">附5: 为什么开启 EAGLE/MTP 时，Prefix Cache 命中必须无条件回退一个块（use_eagle_block_drop）？</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 21" class="rich_pages wxw-img" data-ratio="0.7455555555555555" data-type="png" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502324287" src="https://wechat2rss.xlab.app/img-proxy/?k=7e564c37&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904MicI92wHeH4aEibrcDaOfGiaibRqGePYJ81ZaicjVmGMATulQFfzALDRmb3Wc7KImSAf5GtXarhGeBz2LWxqyY8CfmsNMqUB0OYb4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Draft KV[i] = f(h[i], t[i+1])，每个位置的 draft KV 都用到了下一个 token。最后一个命中块的块尾位置 k−1 用到的是块外的 t[k]，但 block hash 只覆盖 t[0..k−1]。如果写缓存的请求 A 和后来的请求 B 在 t[k] 上不一样，这个槽位对 B 来说就是错的。多模块 MTP 依赖得更远，块尾最多有 n−1 个槽位受影响。</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">只有分叉点恰好落在块边界上才会真污染。 设分叉点为 d，命中会停在 k = ⌊d/B⌋·B。只有 d % B == 0 时，t[k] 才是分叉后的 token。不对齐时，t[k] 还在公共前缀里，A 和 B 一致，这个块其实是干净的。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">调度器不存 t[k]，也不存 hidden state，分不出这两种情况，只能按最坏情况处理：无条件回退一个 block（开了细粒度 hash 时回退一个 hash 单位）。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">共享缓存块是只读的，不能只重写那一个槽位，所以整块重算。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">PS:即使整个 prompt 都在缓存里，调度器也要把最后一个 token 重新跑一次前向，因为要拿到它的 logits 才能采样出第一个输出 token。所以命中上限是 num_tokens - 1。又因为命中按块对齐，这个 −1 会造成两种结果：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">prompt 长度不对齐时，最后一个块本来就没满，不会被命中，−1 没有额外损失。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">prompt 长度正好是 block_size 的整数倍时，−1 会让最后一个满块整块命中不了，最后这个 token 所在的整块都要重算。比如完全相同的 prompt 重发一次就是这种情况。</span></p></li></ul><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" style="width:100%;" type="block" data-backw="578" data-backh="324" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" style="width:100%;" type="block" data-backw="578" data-backh="187" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=f6744897&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649807939%26idx%3D1%26sn%3D3f07a83e3ddf3f5bd3b97854077f66b1">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 29 Oct 2026 17:27:00 +0800</pubDate>
    </item>
    <item>
      <title>一句话生成看板｜灯塔AI数据分析从0到1完整指南</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804990&amp;idx=1&amp;sn=ab7cc44dcb144528b83bc90c81eb6321</link>
      <description>一款人人可用的AI通用数据分析工具</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-28 17:35</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=a76c2cd8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9073cpevicc4cibGR7kcIV0EK0lVYfy2LIWaIzV7iacQm84Dlu9iamN01r2tNhmtkMAP9g7fcf0IjtL9ibR10FqPySVPuK0pGcKHCbLs%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>一款人人可用的AI通用数据分析工具</p>
  <p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="188" data-backw="578" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><div style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(247, 249, 251);border-radius: 8px;padding: 20px 22px;margin: 0px 0px 24px;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">灯塔AI，是腾讯灯塔面向外部用户全面升级的 2.0——一款人人可用的AI通用数据分析工具。此前我们发布过<a class="normal_text_link mp_article_text_link" target="_blank" style="" href="https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649802990&amp;idx=1&amp;sn=dc5352efb04594f6eb0bf8644be49cad&amp;scene=21#wechat_redirect" textvalue="《腾讯内测Omega，一句话生成数据看板》" data-itemshowtype="0" linktype="text" data-linktype="2">《腾讯内测Omega，一句话生成数据看板》</a>，</span><span data-font-family="default"><span leaf="">介绍的正是它的内测版本；如今，它已正式以「灯塔AI」之名与大家见面。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span data-font-family="default"><span leaf="">这是一份灯塔AI的「从入门到精通」完整指南。从接入第一份数据、用一句话生成看板，到在线编辑、分享发布与导出，再到归因分析、智能告警与团队协同，1.3万字，带你一步步摸清灯塔AI的核心能力。无论你是第一次接触 AI 数据分析，还是已经用它跑过几张看板、想进一步解锁归因下钻与自动盯盘的用法，都可以在这里找到答案。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">记得关注我们，文末3000个邀请码等你来拿！</span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p></div><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">什么是灯塔AI？</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">灯塔AI是腾讯出品的 AI 原生数据分析平台。无需 SQL，用一句自然语言即可生成智能看板，且支持后续持续迭代——从数据接入到看板生成全链路 AI 打通，支持对话追问、在线编辑、自动盯盘与协同共享，每一个结论都可归因追溯。它不是一个只会聊天的ChatBI，而是能真正进入业务工作流、让业务人员自己完成全流程分析的可信分析平台。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">官网地址：<a class="normal_text_link" target="_blank" style="" href="https://beacon.qq.com/" textvalue="腾讯灯塔｜AI 数据分析与可视化" data-itemshowtype="0" linktype="text" data-linktype="2">腾讯灯塔｜AI 数据分析与可视化</a></span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、核心优势</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1. 对话即分析，人人可上手</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用自然语言提问，无需编写 SQL。业务人员、运营、管理者开箱即用，3 分钟上手，让全员都能做数据分析。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2. 全链路可编辑，看板不僵化</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">图表口径、文案注释、布局结构都可以随时修改。分析成果随业务生长持续演进，告别一次性交付之后就无法改动的&#34;死看板&#34;，实现 100% 自由编辑。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3. 结果可追溯，决策更可信</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">采用零泄露安全架构，LLM 永远不直接接触真实数据。关键数字可追溯、可审计、可复核，让每一个结论都经得起推敲，做到 0 真值外泄。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、全链路能力</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">灯塔AI覆盖数据分析的完整闭环，一共五个环节：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1、接入处理 —— 多源接入，智能清洗</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">打通 MySQL、StarRocks、PostgreSQL、ClickHouse 等数据库与数仓，以及本地文件（Excel / CSV）、腾讯文档、飞书文档、钉钉文档、金山文档等在线文档。自动识别字段、补全缺失值、对齐口径，原始数据接入即变为可分析资产，无需数据工程师排期。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2、专业看板 —— 一句话生成，动态可编辑</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用自然语言描述需求，AI 自动生成分析看板。看板不只是一张静态截图——图表、指标、布局、文案均可在线编辑调整。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3、智能分析 —— 归因、漏斗、思路还原</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对话追问深入下钻，支持异动归因分析、漏斗分析，并能保留和还原分析思路，让每一次探索都有据可循。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">4、主动盯盘 —— 自动监控，洞察直达</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">设置关键指标监控，数据异动自动推送提醒（支持企业微信 / 邮件），无需人工盯屏，洞察主动找到你。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">5、企业管控 —— 权限、分享、安全</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">支持多角色权限管理、看板协同编辑与分享、HTML 外链发布。企业版还支持私有化部署与敏感数据探查。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">三、适用人群</span></h3><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">业务运营人员：不再依赖数据团队排期，自己接入数据、生成看板、完成分析。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据分析师：从重复的取数、做表工作中解放出来，聚焦深层洞察与策略建议。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">管理者：直接向 AI 提问获取关键指标与趋势，决策不再等报告。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">腾讯内部已有 100+ 业务团队在使用，包括腾讯视频、QQ</span><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">、</span><span leaf="">应用宝</span><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">、</span><span leaf="">腾讯新闻等。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">工作视图</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">打开一个看板后，工作区会同时呈现四个区域，分别承担不同角色：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">对话视图：AI 聊天窗口。你对看板的所有自然语言调整都在这里发出，比如&#34;把 GMV 改成按周汇总&#34;&#34;加一个同比指标&#34;&#34;换深色主题&#34;。AI 会在对话中告诉你它做了什么、为什么这么做，过程透明可追溯。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">资源管理/数据管理视图：它把已经生成过的相关产物资产和使用过的数据库统一汇总在目录里，方便你在多个数据集和看板之间快速切换、串联分析。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">产物视图/配置面板：工作区主舞台，展示当前编辑的看板。生成时 AI 在这里流式渲染，编辑时所有改动也实时反映在这里。这一区域顶端是工具栏和配置面板，支持五种类型的能力：预览类、编辑类、数据与自动化、内容产出、辅助与历史。详细功能见下文&#34;工具栏与配置面板&#34;一节。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 1" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321186" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=ce5c8079&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9046F4JReIQM1jcJ2z2CVFKv3sE5zhDr6tX08I7YDsSg5SqcvGQgZCH08DY6B3KtE13gSYvPeFbj8om18sQaYNfX5IGibeSTYxDk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">数据接入</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、入口</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">有两种方式可以开始接入数据：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）数据集面板顶部：点击右侧&#34;数据集&#34;面板顶部的 「添加数据」 按钮，弹出「新建数据集」窗口，按分类选择数据源。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）新建对话页：在左侧&#34;今天想分析什么？&#34;页面，下方 「连接新数据」 区域直接点击数据源图标快速接入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 2" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321188" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=0865814f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905icrpg1TumytVDsZ5aH7N886u4ZOyxEqzg7ic7mau18V1RxdRibMdKdNJ6RldhViaNk9pUUSIYOSoWU7keUBibBicbfrWZe1DoxztSg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、数据源类型</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">「新建数据集」窗口按场景将数据源分为3大类、共10种：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 3" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321187" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f6bf20b4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904pWRtdDfLEAbrTGrVP8LyGALorJ70WiaBFdewmhSgfyMpOpIGy8CbO2aZ3N2rh9xaWNEHOicKwbTa9CeNS8Qb7km2icdleASZnbk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、文件与本地（5 种）</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">本地文件：上传 Excel / CSV，自动识别字段。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">腾讯文档：授权后直接接入在线表格，适合团队协作文档。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">飞书文档：使用您自己的应用凭证进行授权。适用于有数据合规要求的企业用户。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">钉钉文档：使用您自己的应用凭证进行授权。适用于有数据合规要求的企业用户。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">企业微信文档：需企业已开放该能力、机器人须本人创建。仅支持「智能表格」（链接含 /smartsheet/s3_），普通在线表格 / 文档暂不支持。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、数据库与数仓（4 种）</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">MySQL：接入表查询上云数据库。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">StarRocks：高性能 OLAP 分析引擎。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">PgSQL：接入 PostgreSQL 表。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">ClickHouse：列式存储，实时 OLAP。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、计算视图（1 种）</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">SQL 视图：自定义 SQL 定义虚拟表，不落地，直接基于已有数据集出结果。</span></p></li></ul><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">三、创建流程</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1. 数据库类（MySQL / StarRocks / PgSQL / ClickHouse）</span></h4><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">配置数据连接</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">已有连接：直接选用</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">新建连接：填写 Host / Port / 数据库名 / 用户名 / 密码 → 点击「测试连接」确认通过</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">选择数据表：支持多选，多选时自动进入批量模式</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">配置字段语义：为关键字段设置显示名、数据类型、业务意义（如&#34;维度 / 指标 / 时间维度 / 用户ID&#34;等）</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">确认创建：完成建表，可在数据集列表中看到结果</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 4" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321184" data-ratio="0.562037037037037" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=a12d0330&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905mpf3tQ7zUYH1feFvicy5BfdmibnibVOY6RajV2rOUKicIRW35PlpLGKoIoBe9ticvddVYibqr6f8nb7m1Kibseue3Z2ibUeuJD8UdJjY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2. 本地文件</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">拖拽文件到上传区，或点击选择本地 Excel / CSV 文件</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">系统自动完成上传 → 识别字段 → 建表全流程，无需手动配置</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 5" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321185" data-ratio="0.5611111111111111" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d8174996&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907rCmZklcNXNrk1l3sFhrQDvpOWQzxibIia27I5VzcZsDrDmGqYRTFKeGnGz26WiagHUhxGzDmIghk1y7Ovib1TiaibVsM3xkKhbwd8M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3. 腾讯文档</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">点击「腾讯文档」后，按提示完成账号授权</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">选择要接入的在线表格，授权后即可作为数据集使用</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 6" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321189" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=b857a972&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz90574FAbrVvyUQ4rVj6eDqKTPFHXAk786LM0HQd3z3SicjMBXJwry5mBTkQVEgnFuQRdYT1gj4icpw1wwkqm2VAVRW2YWWdATAAzU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">4. 计算视图（SQL 视图）</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">编写 SQL 直接定义虚拟表</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">不生成物理表，结果在查询时实时计算</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">适合做轻量派生、口径固定的中间层</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 7" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321192" src="https://wechat2rss.xlab.app/img-proxy/?k=f9b899a4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907Qmqibl6cBa4jfwqNpFw7hUicSWDWMdNVRh3CspahiakgtMdGEAqLM9mp92OzSXYxk3xbYbkdvBd234K3Zgt0QLaC4pvibVwXoXN4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">四、常见问题</span></h3><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据库连接测试失败？ 检查 Host / Port / 账号密码是否正确，并确认数据库是否允许当前 IP 访问。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">本地文件支持哪些格式？ 当前以 Excel (.xlsx / .xls) 和 CSV 为主，建议单文件不超过 10MB。</span></p></li></ul><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">AI看板生成</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、生成流程</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看板生成是对话式的，一共四步：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第 1 步 — 选择数据集</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在对话框里输入 @，从下拉列表中选择你要分析的数据集。选中的数据集会作为本次看板的数据来源。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第 2 步 — 描述需求</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用自然语言告诉 AI 你想要什么，越具体越好。例如：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">&#34;帮我生成电商日度 GMV 分析看板&#34;</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">&#34;近 30 天各渠道的转化漏斗&#34;</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">&#34;按地区分布的销售额 Top10 柱状图&#34;</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">你也可以指定图表类型、布局偏好，或者直接交给 AI 自己判断。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第 3 步 — 流式生成，实时可见</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">AI 收到指令后会一步步推进：理解需求 → 匹配数据字段 → 选择图表类型 → 渲染看板。整个过程以流式输出，你可以在界面上实时看到每一步在做什么，不是黑盒等待。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第 4 步 — 对话调整，持续迭代</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看板生成完毕后不是终点。你可以继续在对话中追加指令，比如&#34;把 GMV 改成按周汇总&#34;&#34;加一个环比指标&#34;&#34;换成深色主题&#34;，AI 会基于当前看板继续修改，无需从头再来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 8" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321191" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=60fb2eed&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906uiaiaDZZzT3d5xr5Q9v5IpCibHe7eS1DPHjpjxLXicbXVWwSgpeYaGr0ibLdnut1pZsFRYLXeHLbYPuETlfHRHHPicdgzBPjYw6t3o%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、支持的图表类型</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、KPI 指标卡</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">单指标卡、指标组、环形进度、占比值、对比图、洞察高亮。适合在看板顶部宏观展示核心经营指标，一眼看清&#34;多大了、涨了没&#34;。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、趋势和时间序列</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">折线图：展示指标随时间的变化趋势。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">面积图：在折线基础上填充面积，强调累积量和整体走势。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、对比和分类</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">柱状图：按类别比较数值大小。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">堆叠柱状图：在柱状图中展示子类构成。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">横向柱状图：当类别名称较长时更易阅读。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">4、占比和构成</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">饼图：展示各部分在整体中的占比。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">环形图：饼图的变体，中间可放置总值。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">玫瑰图：用扇区角度表示占比，半径也可编码额外维度。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5、关系和流向</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">桑基图：展示数据在不同阶段之间的流动关系。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">关系图：按力导向布局展示节点之间的关联网络。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">矩形树图：用嵌套矩形展示层级占比，空间利用效率高。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">旭日图：多层环形结构展示层级关系，像年轮一样由内而外展开。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">6、分布和统计</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">散点图：展示两个指标之间的相关性和分布。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">箱线图：展示数据的四分位分布，快速识别离群值。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">热力图：用颜色深浅表示交叉维度的数值密度。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">雷达图：多维度指标的对比展示，适合看各维度均衡性。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">7、特殊图表</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">漏斗图：展示流程各环节的转化与流失情况。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">仪表盘：单个指标在刻度区间内的位置，适合目标完成率。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">K 线图：股票、金融类数据的开盘 / 收盘 / 最高 / 最低展示。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据表格：当精确数值比可视化更重要时，直接以表格呈现。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">AI 会根据数据特征（字段类型、数据量、维度数等）自动推荐合适的图表类型，无需手动选择。当然，你也可以在后续对话中要求换一种图表。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">三、场景化生成技巧</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、单数据集看板</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">操作最简单：直接 @数据集 加上一句需求描述即可。AI 会自动识别字段语义并生成看板。你可以指定图表类型和布局，也可以完全交给 AI 推荐。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">建议描述结构：&#34;对 [数据集] 做 [分析目标] 的分析看板&#34;。例如：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">&#34;@销售明细表 帮我做一份各品类的月度销售趋势看板&#34;</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">&#34;@用户行为表 做一个新老用户的留存分析看板&#34;</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、多数据集看板（2-3 个数据集）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">多个数据集联合作分析时，建议分两步走——先定口径，再出看板：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）先让 AI 生成需求文档：告诉 AI 你需要关联哪些数据集、想分析什么，让 AI 先梳理出数据集之间的关联关系和统计口径。这一步帮你把&#34;数据怎么拼&#34;想清楚。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）确认后再生成看板：需求文档确认无误后，再让 AI 基于文档生成看板。这样生成结果更可控，避免 AI 猜错关联关系导致返工。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、复杂业务看板（3 个以上数据源）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">涉及多个数据源、跨主题的复杂看板，建议先生成一份完整的需求文档，再交给 AI 执行。需求文档应包含以下 5 个要素：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）业务目标：这个看板要回答什么问题？给谁看的？（如&#34;给运营负责人看的 Q2 大促效果复盘看板&#34;）</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）数据源信息：涉及哪些数据集？数据源之间的关联键是什么？需要哪几张表、哪些字段？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3）数据范围：时间区间、数据过滤条件（如&#34;近 3 个月、排除测试订单&#34;）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">4）统计口径：关键指标的计算方式和业务定义（如&#34;GMV = 已支付且未退款的订单金额&#34;&#34;转化率 = 下单用户数 / 访问用户数&#34;）。口径是影响结果准确性的最重要因素，务必写清楚。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">5</span><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">）</span><span leaf="">图表方案：每个分析模块用什么图表类型展示，看板的布局顺序（如&#34;顶部三个指标卡、中间一张趋势折线图、下方两张饼图&#34;）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">推荐话术模板：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">请帮我生成一份需求文档，包含以下信息：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">业务目标：[...]</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据源：[@数据集A]、[@数据集B]、[@数据集C]</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据范围：[...]</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">统计口径：[...]</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">图表偏好：[...]</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">确认无误后，基于</span><span leaf="">这份文档生成看板。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">四、模板库</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、官方模板库</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">模板库模版附带适应场景、视觉特征、思路说明、页面结构</span></strong></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">支持风格一键加入对话，降低搭建门槛</span></strong></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 9" class="rich_pages wxw-img" data-ratio="0.5333333333333333" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321193" src="https://wechat2rss.xlab.app/img-proxy/?k=ef1fa8b7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905JMgLCTYoMdXJcu5f4cf5yAhe5xYbI14tV6D7MhKhwLI2UicKseTE6AbM3iauRgRSL5MzibqcIqs7CVYmvIIAlyKEvZ6NMAU2lBk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、自定义模板</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">灯塔AI</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">支持新建自定义模板，以满足团队内部/个人复用模板、快速成图、节省token成本的诉求。</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">通过</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">左侧功能栏 →</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">模板库</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">→</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">右上角「我的」，进入新建自定义模板界面，支持新建组件或新建模板。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 10" class="rich_pages wxw-img" data-ratio="0.5305555555555556" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321190" src="https://wechat2rss.xlab.app/img-proxy/?k=55257795&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907XMdyricuLbQpsVN1nnw05WibDTJKHxCLFx3QiczFpJGV61A7TrDFNXY2yQm8dfDl68WjqicknaHnjbwoXO7H1QMTPPU6WibNYs7EM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;" class="list-paddingleft-1"><li><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">【</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">支持</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">自动识别生成模板】</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">可</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">粘贴自定义的html模板设计稿，LLM 读取后</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">会</span></strong><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">直接生成模板样式，省掉手工还原成本，创建前还可便捷预览。</span></strong></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 11" class="rich_pages wxw-img" data-ratio="0.4462962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321197" src="https://wechat2rss.xlab.app/img-proxy/?k=e4a3cfe4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Xh6nKMmiaRiclKXJF4nB3LKKEN7mHmzebkHxy6M02OZRNTWZlbpxavjng34GT4wf6LWlzmZH5ic7oXCsYwH428IfyuDAvmW1PBc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;" class="list-paddingleft-1"><li><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">【支持新建自定义组件】同样路径，支持把常用的局部图表风格样式/元素封装成组件，下次搭看板直接复用。</span></strong></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 12" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321195" data-ratio="0.44537037037037036" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=894e0ba2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904TtENGcVhzVNOcQkVsJ5VGFlwNanoNHr1n0APCEFFWDuoWbhrWpk2ibIsGlVR70DvuXq4Ho84AAs6iaNyvm1X7Qfic0MK9ZKpIvg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;" class="list-paddingleft-1"><li><strong><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">【支持一键发布到团队空间】模板发到团队后共享使用，团队看板样式统一。</span></strong></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 13" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321194" src="https://wechat2rss.xlab.app/img-proxy/?k=287d68c7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907Jn6URicTKbX2icb0nBibJCj48XUlYRhx7xNad9lnqzYeGVcnZCzabBQfmFhjYiayHicxsXLaEk6Pt6CLxOmIggojeL4Hw3YTD16VM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">看板等产物存储</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">过往已经建成的看板、文档、画布等产物会统一存放在资产库中，可在对应区域通过新建文件夹、移动或删除来管理产物：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">个人工作区：您的个人看板资产和其他AI对话生成产物</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">团队工作区：团队共同的看板资产和其他产物存放区域</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 14" class="rich_pages wxw-img" data-ratio="0.5324074074074074" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321198" src="https://wechat2rss.xlab.app/img-proxy/?k=98eeb3d1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9077vtj48p3VkZVGgmu0Fvd5SouVHyZMrP8hiaCOK1bY9bFMEjjutzTNm0ba0RA9hhUHVQjPFRUJmaEiaRtdx5ncVsSUdugUBASics%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">看板编辑与调整</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、三种编辑方式</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">灯塔AI支持三种编辑方式，由浅入深覆盖不同用户：</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1. 对话式修改（推荐）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最常用也最省心的方式。开启&#34;AI 拾取&#34;模式后，点击看板中的任意元素，AI 会自动识别并加入对话上下文，然后你用自然语言描述怎么改就行。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">例如：点击&#34;日均反馈量&#34;指标卡 → 输入&#34;把单位从条/天改成 条/小时，并加上和昨日的对比&#34; → AI 立即按指令调整。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这种方式的优点是：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">不用记工具栏按钮，直接表达需求。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">可以同时对多个元素做调整（连续点击拾取）。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">局部微调和全局重做都适用。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 15" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321196" src="https://wechat2rss.xlab.app/img-proxy/?k=baa1cac9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904d5yq3Y3wN80Cs2L9EJHhXMZGfux7Xs5tvwbibz7ibmCgT4xX44bGoYZLBjfeEVHZEwyesRbQ5jicIZZ13O8kRzR94vB6p60TEIw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2. 元素选择编辑</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">适合对样式细节有明确要求的设计型用户。进入编辑模式，点击看板中的任意元素，右侧会弹出该元素的属性面板，可实时调整：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">样式：颜色、字体、字号、间距、边框、背景等视觉细节。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 16" class="rich_pages wxw-img" data-ratio="0.5166666666666667" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321200" src="https://wechat2rss.xlab.app/img-proxy/?k=aaac9f05&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904y89kfWVuibuDmCibozogFz1AyyDpiachPIl92gDKbgCcW0DML031WKdHg68B4OGjQEDHP3PibhCBpjGCqn2dVKd8dRpur5SB07N8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据：查看和修改元素背后关联的数据集与字段。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">SQL 查询：对于图表类元素，可以直接看到 AI 生成的查询语句并修改，调整口径。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这种方式的优点是所见即所得，调整结果立即可见，精确控制每一个细节。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 17" class="rich_pages wxw-img" data-ratio="0.512962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321201" src="https://wechat2rss.xlab.app/img-proxy/?k=a7504265&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9044fUvVan0FK80FTqRI3tJiaj4Nz6icbvDC3ibOuh3641m2yU2femNd7y02YIwDkGFyVsXGqle8HkLdn4IAOIGD39csgtTicUoVkvs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3. 代码编辑</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">切换到代码模式后，可以直接编辑看板的 HTML 源码。适合前端开发者或有定制需求的场景，比如：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">嵌入自定义组件、第三方脚本。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">调整非标准化的布局结构。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">实现批量替换、模板化改造。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">代码编辑完成后，切换回可视化模式即可看到效果。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 18" class="rich_pages wxw-img" data-ratio="0.5064814814814815" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321199" src="https://wechat2rss.xlab.app/img-proxy/?k=34df47f2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907jFKrfYoGQ1RrXgZquBNjibIibdw6qvBEBdXOyDtC92NNic2keNbMwz3wot3KHlXJHJIG5icl5VIcoQLcTFQG2A6TOyPrmjdw2Has%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、工具栏与配置面板</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 19" class="rich_pages wxw-img" data-ratio="1.8728323699421965" data-type="png" data-w="692" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321204" src="https://wechat2rss.xlab.app/img-proxy/?k=6f9f788b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904WzVGXdguCfJPrSgibVia0GN5kXZXqVtTic9LOl6Ub40UDOmScs5mjgeY5xDNr5wtzKz0Z0BdRib36ja2PTwmJUHOr41OUvicfcVhs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">生成看板后，主区域顶部出现工具栏，右侧出现配置面板，两者合起来覆盖看板的全生命周期。工具栏按用途分为四组：</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、预览类</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">提供手机预览、PC 预览两种视图，切换看板在手机端和电脑端的展示样式。在做出板前先切换到手机预览看一眼效果，避免手机端布局错位。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、编辑类</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">包含编辑、代码编辑、AI 拾取按钮，是「看板编辑-三种编辑方式」的对应入口。点击后切换到对应模式，再配合鼠标操作即可编辑。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、数据与自动化</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据更新设置：配置数据刷新策略和频率。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 20" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321203" data-ratio="0.837953091684435" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="938" src="https://wechat2rss.xlab.app/img-proxy/?k=03cf9a23&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906s0gricPlYynqU2NBeq64ziaFznuVUEiaCp9TXafmr92sHfbsMvjaLowWJiaCpxF65uB3lxATjC9Nue2qWK5VsmLxJkaDrWpH1ibIQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">监控告警：针对关键指标设置阈值告警，触发条件后自动通知。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">配置推送：把看板按订阅计划推送给指定人 / 群组。支持自定义设置推送频率、时间，支持设置特定的看板区域，支持企业微信群机器人、SMTP邮件、钉钉群机器人、飞书群机器人</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 21" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321206" data-ratio="1.904051172707889" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="938" src="https://wechat2rss.xlab.app/img-proxy/?k=b6149bf1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907cJiaVFOwiaBVGo0Tvk0wMznTHicb3asq9cb3FVMkkujxywPpaontcq58PmzbbZFq1JvtP8eiakOBJwwaeuJUibFsW6S2jVuibYPI2o%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">看板设置：控制看板在 分享和预览场景 下的展示行为，由三个开关组成，是否显示AI水印，是否开启图卡下载数据，是否开启图卡全屏。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 22" class="rich_pages wxw-img" data-ratio="0.6423982869379015" data-type="png" data-w="934" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321202" src="https://wechat2rss.xlab.app/img-proxy/?k=1724351d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9053WticIZS451qTfJ0r1Vojcnt9OTjia9aU9M5U3UslcFbribI7yvT1BM1kAFuciaibAv0Kwho2Re1ErRQ1WRfRIp08OxYjrbpWnxSU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">4、内容产出</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">沉淀知识文档：是把看板中已跑通的指标口径与 SQL 逻辑固化下来，沉淀为业务可长期复用的知识资产。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="配图 23" class="rich_pages wxw-img" data-ratio="0.5796296296296296" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321205" src="https://wechat2rss.xlab.app/img-proxy/?k=1a6e64fa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905o8JBUBzgQjY5NsarHISeUdgZoaUeFxQzQLcgnkknicvAgib3rR97Gia7okDdpg6FAbkdUrnPb6aoGE0rgkQljxhhWnzocg9ZLG0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/><img data-aistatus="1" alt="配图 24" class="rich_pages wxw-img" data-ratio="0.5157407407407407" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321210" src="https://wechat2rss.xlab.app/img-proxy/?k=916fc9e1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904BdibQh1eswndZjKCq4J7kibja4ZibELmj9JLgycJSgmfntgajibYcjpCDfKITmKXgPLEnwXpTF06efhYuyxWTh2H8sbsqVBG7iaI4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5、辅助与历史</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">运行日志：数据查询与刷新的执行记录。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">关联对话：查看和跳转到与这个看板相关的历史对话。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">版本历史：展示看板的版本演变记录，支持查看各版本更新详情，支持回滚到历史版本，支持对比最新版本和历史版本状态。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="配图 25" class="rich_pages wxw-img" data-ratio="0.5268518518518519" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321211" src="https://wechat2rss.xlab.app/img-proxy/?k=0bce6635&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904vw0AG6CMiclNpcmwSOCUgvofM6ia02Tibj5NufLB0PcdHFYF7qTqAx2GOYR8rNtfjdWqm1QlvwPOJpfC3EeiaPawSWibwjbDQDGnw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/><img data-aistatus="1" alt="配图 26" class="rich_pages wxw-img" data-ratio="0.5212962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321207" src="https://wechat2rss.xlab.app/img-proxy/?k=a212487f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904mEtLGxiciaeKPjhvbbI6yHv1oZOGY5kWOA1urmCvibia2JhL1uRmiaHNrgACsAoWvDO4j1FWI7u5JuyaumZrJuaPn5m3dmUDtkuzw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="" data-pm-slice="1 1 [&#34;heading&#34;,{&#34;tagName&#34;:&#34;h4&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-weight: 700; color: rgb(62, 71, 83); margin: 18px 0px 8px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;level&#34;:4,&#34;data-layout-id&#34;:null}]">6、</span><span leaf="">另存为模板</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">支持便捷将当前看板另存为模板，在不干扰当前产物下，实现快捷复用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 27" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321208" data-ratio="0.5074074074074074" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=e26cb2ce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906fuNGppweDEJFPB7VgLMg3K1OeCVhg2eiaRrC8EuIXdbTjsEcPjDkEaPhCJYALVe1bkdmCeC0UbtqIupic0iaic9Atscib40lnxGWQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">分享、发布与导出</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、链接分享</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、分享类型</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）公开分享</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">生成的链接所有登录用户都可以访问，无需指定具体对象。适合面向全公司或公开场景，比如放在部门主页、内部门户里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）私密分享</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只允许指定用户访问。需要填入接收人的ID，支持批量粘贴（多个 ID 用换行或逗号分隔）。适合只让特定同事看到的情况，安全性更高。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 28" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321209" data-ratio="0.5055555555555555" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=e94015d8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9050cxvIVddemEv1FluvrYxAAyKFALllnUCibnibeGT3h9gfbdMXqqEQ3saDZuvSxGtagknlVoEsnXzXZWa84RzRKUiaRv48HTA0CQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3）可编辑分享</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">生成一个可在外部页面或嵌入 iframe 的链接，携带当前仪表盘工具箱，链接仅管理员可打开与编辑</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 29" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321214" src="https://wechat2rss.xlab.app/img-proxy/?k=ab2b45d7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907uPYd4spsDyh82ibwliaeFuxNCRRjhsIk1icSdfXNJtT7icAwckVM1yIwoyKAEGdibNtEXfzECF2scSB3hGtDZpwNQqBtgZRryE8t4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、更新模式</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）实时更新</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分享出去的看板始终显示最新内容——原文件改动后，对方打开看到的就是最新版。适合做&#34;持续维护的看板&#34;。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 30" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321215" data-ratio="0.7055555555555556" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=0f47f78f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904sk13cT4foLXT3VicKomk0LUica9n1xPtVpujhQ2nyKCA0SsFCv3TwCziaqRlicz93KJCD9vTkopI3bA7bvReSZDUNYWTZ5ibQda7s%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）手动同步</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">适合原文件需要频繁修改+使用的场景，编辑时也不会影响已经分享出去的看板内容。适合做&#34;定稿的周报 / 月报&#34;&#34;对外汇报材料&#34;，避免在汇报过程中被无关改动干扰。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 31" class="rich_pages wxw-img" data-ratio="0.6981481481481482" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321212" src="https://wechat2rss.xlab.app/img-proxy/?k=e28684ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9067QibJ9gyNO3JcKOibiaRA41QKAIhO4xqh4P8cQGBicVXFAmCjoqa0NPZkR36ibpGFcvruOY46oJib3ISZMCUTQhqJEcqYRve5NcZCY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、发布到团队</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">入口：右键文件 → 「发布到团队」。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">发布到团队是把文件从个人工作区共享到团队空间，让团队成员都能访问。适合把自己做好的看板&#34;上交&#34;给团队，或在团队内部共享模板。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 1 步 — 选择团队空间</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">打开资产库-右键点击要分享的产物-弹出&#34;选择要发布到的团队空间&#34;列表（如&#34;销售团队&#34;&#34;产品团队&#34;等），选中目标团队后进入下一步。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 32" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321216" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=4f88cc47&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905pNs5STP7WhIaPVaBTeKH2LvHKWtzZX5psFH8CBhCTAI6xic4vBicicygXvZu4Tdg4GSAXshm6xjDlJBeEdPztyiaNUaHibm9qW3nQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 2 步 — 选择发布方式</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">发布方式有两种，二选一：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">发布为副本（推荐）</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">个人工作区保留原文件，团队空间创建独立副本。两边互不影响——你在个人工作区里继续修改，团队空间里依然是发布时的版本；团队成员基于团队副本修改，也影响不到你的原文件。适合&#34;模板分发&#34;&#34;参考素材&#34;场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">直接发布</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">文件从个人工作区移动到团队空间，个人工作区不再保留。发布之后这份看板的归属就是团队了。适合&#34;成果交付&#34;&#34;归集到团队资产&#34;的场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 33" class="rich_pages wxw-img" data-ratio="0.764" data-type="png" data-w="1000" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321213" src="https://wechat2rss.xlab.app/img-proxy/?k=052d1eeb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907Lb04xR2VYAhg7nX9teKPoRPlk89br56EuXziaicNGl8mj3VJZJevicibiawDC2ntakzHWPCPdb1Wx1eKna0uicnRCgicjoWbRM3gmHw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 3 步 — 设置权限</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">发布完成，可在资产库 → 团队空间右键文件或文件夹 → 「管理权限」进行设置，权限支持文件夹级别，也可以在单个文件上单独调整更细的权限。</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">管理：可编辑内容，还可以管理成员权限。适合团队负责人、看板原作者。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">编辑：可编辑内容。适合协作的同事。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">浏览：仅可查看。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 34" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321217" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=1e5d9243&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906lQplk7l1zO7MU8zPyUhMnhSqMWCvFekjvyjPZbKZrrkMZl50Q1dRdAwCIplIpib5fhjfPU5ibnROdP8WiaIiaXKa2yTvEwfKG5PM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">三、发布到创作广场</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">资产库-目标产物- 右键-发布到创作广场</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">创作广场是灯塔AI的社区展示区，所有用户可以浏览、点赞、收藏别人的作品，也可以一键复制到自己工作区开始改造。适合发布&#34;通用模板&#34;&#34;优秀案例&#34;&#34;公共数据集示例&#34;。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 1 步 — 基础信息</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">标题（必填）：作品的公开名称。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">描述：简要说明这个作品做什么。点击右侧「AI 生成」按钮，AI 会基于看板内容自动生成一段描述，节省撰稿时间。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">内容分类：选择1个频道+最多2个话题，便于被检索到。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 35" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321218" data-ratio="0.6453703703703704" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f34fcc6f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906Mrp363ibiabKZkBf3j6ogDjFkEgf2zypgXdHS4tRYsX8l1dIsSoFv96kn7rE6nZjZPw90OshZ6niaZYJ9JSf4iaZrhUiam64NFuuQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 2 步 — AI数据混淆（可选）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果看板引用了敏感数据，开启后，AI将自动混淆仪表盘中的所有数据，数据会保留分布特征（趋势、比例、量级），但将真实值替换成虚构数。如把真实姓名替换为&#34;用户 A&#34;、把金额乘以随机系数等，保证发布到社区后不会泄露原始信息。建议对外发布前勾选这一步。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 36" class="rich_pages wxw-img" data-ratio="0.649074074074074" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321219" src="https://wechat2rss.xlab.app/img-proxy/?k=0cdbf332&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9075fX1xrIib6IuD8qQqh4KJWiaFEibw6FdLiaZssx78mFIBG1qT7g2C80D4OhbCE8v0vib0wpSgh84c7NicO1DLwjd1hraA1NYfubMqM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 3 步 — 预览</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">系统自动生成一张看板的预览截图，作为创作广场里的封面图。确认截图清晰、信息脱敏到位后再进入下一步。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 37" class="rich_pages wxw-img" data-ratio="0.6444444444444445" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321220" src="https://wechat2rss.xlab.app/img-proxy/?k=9254b4da&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9062kRtAOdxyYkcxdIV8rVOIpJ5J04jmAFTES1olbNv8eW5HQ32t1SEHuWXjkg5DBrkJibHRicngHPcRKysrmqDlr83WQPfofPA6M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第 4 步 — 发布</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">完成发布。作品出现在创作广场中，其他用户可浏览、点赞、一键复制到自己工作区。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 38" class="rich_pages wxw-img" data-ratio="0.6518518518518519" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321222" src="https://wechat2rss.xlab.app/img-proxy/?k=8615fd44&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906zr78c2YUbD73fYK78LnV2icjEk0vgUMk78eH44ibmYj7yAdt9ibDOJ2K7Vm1usC1ib7xC1CyS4a2L4ctZI31l0W2iaWSRH6XCCbmg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">更新创作广场作品</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果后续在原文件中更新了内容，已发布在创作广场的作品可以选择&#34;更新发布&#34;以同步。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 39" class="rich_pages wxw-img" data-ratio="0.6453703703703704" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321221" src="https://wechat2rss.xlab.app/img-proxy/?k=5dd6ad79&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904QFBGTdwaxwaiajQEZODFYorvicNXvDTkibGjcY97MbNxGEHKJotGs7pzZZibICJsAbEl2Eiarh9lvNjX6Dht6qupCVsYzfibWMicQ8Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">四、数据下载</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">灯塔AI 提供了数据下载的功能，支持下载所有通过真实数据查询得到的数据</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1.编辑模式下载数据</span></h4><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">进入要下载数据的仪表盘，选择「编辑模式」- 点选待编辑的图表</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 40" class="rich_pages wxw-img" data-ratio="0.537962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321223" src="https://wechat2rss.xlab.app/img-proxy/?k=fde145f0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904yLnnhbic4TL0oMYGkJFF5RvsBRWDcbeiaWA3dPdV5ibyoJxbs8KHIeILZjiciaCJKKfmoYlLlwX4ZwhxphmoUmgqWOLT27oeqRgiaw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-weight: normal;">2.</span></span></strong><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-weight: normal;">选中需要下载数据的图卡</span></span></strong><span leaf="">，点击 「SQL」按钮，最下方即可下载对应图卡数据</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 41" class="rich_pages wxw-img" data-ratio="0.5407407407407407" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321226" src="https://wechat2rss.xlab.app/img-proxy/?k=40aad439&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904dXrmfZsClY0dpRibHdibuERh5vKhCiczzsEnJsDEG4MX3kN7PdZoic8evVOibufMiaqVticKFcia3wpiax73iaTibianVEFF1hHaOnoSKt0g%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2.预览模式下载数据</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">看板设置下载：</span></strong><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-weight: normal;">在</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">看板右上角处三点处扩展工具栏，点击【看板设置】</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">-</span></span></strong><p><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">打开【图卡下载数据】能力，</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">当</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">鼠标</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">悬浮</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">在</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">对应</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">图卡</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">上</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">时</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">，</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">图卡右上角</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">即可</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">显示下载</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">按钮</span></span></strong><strong><span leaf="" style="color: rgb(0, 0, 0);font-weight: 700;"><span textstyle="" style="font-weight: normal;">。</span></span></strong></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 42" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321224" data-ratio="0.562962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=65c1ed83&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904UnkaiavckjnOnZjp65EPKGwKpB43lhn3WqtuGdYV9frQgJKQmDmGzHjgCDJoDOribpGNDA0GmZXy5O2eUB7wmVX8mT5DtN6Xw0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-weight: bold;">图卡放大下载：</span><span textstyle="" style="font-weight: normal;">可以鼠标悬浮在图卡上，在图卡右上角点击「全屏」，在全屏界面右上角点击「下载数据」开关</span></span></strong></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><span textstyle="" style="font-weight: normal;"><img data-aistatus="1" alt="配图 43" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321227" src="https://wechat2rss.xlab.app/img-proxy/?k=6ee4819b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906zGN35K0XPXjd655X6TwXRZXJd87eDcZvicwWd3vMDW0Ag89sxe1jic2qNwCjibCV84jRNKniakWW5a5dmcCOpjhKomXRyLcAFmqk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3.例行订阅数据</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果不想每天都来下载数据，可以在「下载配置」界面选择「例行订阅」，订阅下载内容到邮箱，数据会按时推送给你～</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 44" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321225" data-ratio="1.1712962962962963" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=a0b8ad26&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Q20e4erefVLohUVS7WBTlmtHaJhTsxqfiaTfE454VFfnYnuXMpEYBPuHE2EG6woPqv1jVV0jSyEKUBlUKDDrkCrHNG4Op8zUQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="" data-pm-slice="1 1 [&#34;heading&#34;,{&#34;tagName&#34;:&#34;h3&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 17px; font-weight: 700; color: rgb(3, 124, 230); margin: 22px 0px 10px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;level&#34;:3,&#34;data-layout-id&#34;:null}]">五、</span><span leaf="">以图片形式导出看板</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看板右上角工具栏支持以图片形式导出看板，可自主选择清晰度。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">步骤：看板右上角「更多」- 导出图片</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 45" class="rich_pages wxw-img" data-ratio="0.562962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321229" src="https://wechat2rss.xlab.app/img-proxy/?k=b3d203ff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904a6K9sKb0YIrfEQNSUKAPZNwR8zdSfvIicBQLLWy8lnp02aZlyibBZzPBUEgvLK5CvXBnCiaHZqrbiaGE61wqlZddcYSYg4KVFxa0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">归因分析</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归因分析解决的是&#34;指标异常波动的根因定位&#34;问题，适用于以下场景：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">指标异动诊断：核心经营指标（如 GMV、交易额、活跃用户）出现异常波动时，快速定位是哪个维度、哪个分类、哪个因子贡献了主要变化。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">业务原因排查：当指标下跌或上涨幅度超出预期时，量化各影响因素的贡献度，识别主导原因。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">运营策略复盘：大促、活动、新功能上线后，评估各类因素对最终指标的拉动 / 拖累效果。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">比率类指标分析：对比率类指标（如转化率、留存率、客单价）从分子分母两端分别拆解，避免单一维度结论失真。</span></p></li></ul><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、三种归因方式</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">平台内置三种归因方法，AI 将根据指标类型自动选用合适的方式。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、维度下钻归因</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从业务维度（如分类、地区、渠道、用户群体）逐层下钻，计算各维度的变化量与贡献度，找出对整体变化贡献最大的维度组合。适用于加和型指标（如 GMV、订单量、营收）。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、双因素拆解</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">针对比率类指标（如转化率 = 成功数 / 总数、客单价 = GMV / 订单量），分别拆解分子与分母的独立变化，量化两端对最终比率的贡献。避免将&#34;分子涨 + 分母涨 = 比率涨&#34;误归因为单一原因。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、LMDI 因子拆解</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对乘法结构指标（如能耗 = 人口 × 人均消费 × 强度、能源消费 = 活动数 × 活动时长 × 单位时长能耗）应用对数平均迪氏指数法（LMDI），逐因子计算贡献度。适用于由多个乘性因子共同决定的复合指标。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、触发场景</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归因分析在以下场景中被自动触发：</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1. 观察时间趋势指标变化</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在看板上浏览时间序列类图卡（如折线图、面积图）时，若某一时段数据出现明显异常（突降、突增、偏离趋势线），即可启动归因分析。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 46" class="rich_pages wxw-img" data-ratio="0.5685185185185185" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321230" src="https://wechat2rss.xlab.app/img-proxy/?k=af36a35c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905XhF82icudC10PCvvLMQBBYmyywJhR8hhK0rHGsYteaficyTa81ibfWDTGT4fLSiczEwdBxmRH3UganRkRawLl79XiaGC6RNsr0t9Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2. AI 拾取目标图卡</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">点击工具栏的「AI 拾取」按钮开启拾取模式，然后点击需要归因的图卡，该图卡的元素标识（如&#34;图表区域 / canvas&#34;）将自动填入对话输入框。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 47" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321228" data-ratio="0.5398148148148149" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=fafa9012&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904hEBHeorLibqjD4BiaQibvz07MQlGj6v4PT4qfvOHQ1PSMzSMpBR4sfZI6XZNEYthS5cd0mezFiagzIZwqywUXs6jyF5RiaJYbD9QE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3. 发起归因问题并发送</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在已填入元素标识的输入框中补充归因需求，例如：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">「11月24日销售额为什么增长」</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">「对比 12 月 5 日与前一天（12 月 4 日）的金额变化，找出哪些维度驱动了下跌」</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">「按地区维度拆解最近一周 GMV 下降的原因」</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可按需在问题中指定分析维度，未指定时 AI 将基于业务语义自动选择最相关的维度。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">4. 生成归因看板</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">输出归因结论，可以选择生成可视化归因看板，展示归因分析结论</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 48" class="rich_pages wxw-img" data-ratio="0.5416666666666666" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321231" src="https://wechat2rss.xlab.app/img-proxy/?k=5cf51ed8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906ujz4icocQiaj3MBklCYOdgMQxLEq0TaialiaD5iamZVbiciciaDpeDVGjW9D2eswIx8NveWEsaeSqDRMRAofI0mSAomJmxyFjiaq0QDuM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">定时推送</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定时推送解决的是&#34;数据分析成果的周期性分发&#34;问题，适用于企业内以下场景：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">经营日报 / 周报 / 月报：将核心经营指标看板绑定推送计划，按日、周、月维度自动发送至管理层及业务团队，替代人工截图群发的重复性操作。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">跨部门数据同步：多部门共用的数据看板（如用户增长、营收概览），通过定时推送确保各相关方在统一时间节点获取一致的数据视图，消除信息不对称。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">管理层数据触达：将决策层关注的经营看板配置为月度自动推送，管理层无需登录系统即可在邮件中直接查看关键指标。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据留痕与审计：每次推送自动生成记录（时间、内容快照、送达状态），支持历史回溯，满足企业数据分发可追溯的治理要求。</span></p></li></ul><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、功能特性</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1、按计划自动执行</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">支持三种调度频率：按周（指定星期几，支持多选）、按月（指定日期）、自定义 cron 表达式。计划到达触发时间后，系统自动渲染当前看板截图并执行推送，全程无需人工介入。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2、截图区域可配置</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">默认推送整张看板。支持框选指定区域，仅推送关键数据区块，避免非必要信息进入通知内容。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3、邮件分发</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同一推送计划支持配置多组收件人，触发时并行发送。每组可独立配置收件人、抄送、邮件标题、是否以截图形式发送。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">4、发送前验证</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">提供「测试推送」能力，按当前配置立即执行一次推送以验证截图效果、渠道连通性、收件人地址及邮件内容的正确性。测试推送不计入推送历史。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">5、统一管理</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">该看板下所有推送计划集中在「推送管理」面板中维护：查看计划列表、编辑配置、暂停 / 启用、删除，以及查询每次推送的执行时间、渠道、成功 / 失败状态及内容快照。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">配置步骤</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第一步：进入配置</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">方式一：资产库 - 目标看板右键 - 配置推送。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 49" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321232" data-ratio="1.5969827586206897" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="928" src="https://wechat2rss.xlab.app/img-proxy/?k=43629bae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907CqmhciamrrzEian9AHrh1qAKkBtUNK2xGmuAeLTAlfVZNtHQ6mzszKOANldOyrcYQMibWicVFFsTMDPlkkOnz09bA5MOzX8Pc5kA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">方式二：目标看板 - 右上角工具栏更多 - 配置推送。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 50" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321237" data-ratio="0.6972222222222222" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=34e22d11&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz90728ekP9zM90kBYtPhwudC7n92Dkf3iaxUIYfK2sXKa8bEufY2Njxic05dC89D17ibB0Bl8qQKJ8YvSHW0ggaAFW6EVFIRjR9o6ib4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第二步：填写推送计划</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）推送名称</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为推送计划命名，默认带入当前看板名称。建议修改为具有业务语义的描述，如&#34;电商日度 GMV 速报 - 每早 9 点&#34;。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）推送频率</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">三种模式可选：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">按周：勾选推送日（周一至周五多选），如仅勾选周一则每周一执行一次。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">按月：指定每月的推送日期，如选 1 号则每月 1 日执行一次。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">自定义：通过 cron 表达式定义，支持更灵活的调度需求。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3）推送时间</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">设定具体时分，如 09:00、18:30。到达指定时间后，任务进入后台排队执行。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">4）截图区域（可选）</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不指定则推送整张看板。需要局部推送时，框选目标区域即可。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 51" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321236" data-ratio="1.5685185185185184" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=5ac934d4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906p1sqKvZ6niaahoPAwwA8mgjHvJC2DB6vwz598eEueWBKXPeOMALqzb2oqRQtgt4wiaEXA9Cqu5ThqWBL3nMWx5ewG6GwuzPPWU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第三步：配置推送渠道</span></h4><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">邮件（SMTP）</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">通过 SMTP 协议分发至目标邮箱：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">收件人（必填）：输入邮箱地址或用户 ID。多个收件人可通过「批量编辑」粘贴，支持配置多组并行发送。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">邮件标题：可选用预设模板（如&#34;文件名 - 定时推送&#34;）或自定义标题。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">抄送（可选）：填入抄送邮箱，配置方式同收件人。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">以截图方式推送（默认开启）：开启后，推送时截图服务将实时渲染当前看板作为邮件内容。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 52" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321235" data-ratio="0.5861111111111111" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=2b9d3370&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905b1Q9lchZpNs6iaItiaLVmm94icw3m6vzaY5kJnDjMHHw2N5AO2tbmrfnJ7wSaZ4k71PB9Xib6vGFrTHsRMY5H4Cnj62JXhpcMFFQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">企微群机器人</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">机器人key或完整webhook地址（必填）</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">以截图方式推送（默认开启）：开启后，推送时截图服务将实时渲染当前看板作为群推送内容。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 53" class="rich_pages wxw-img" data-ratio="0.4148148148148148" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321234" src="https://wechat2rss.xlab.app/img-proxy/?k=2f26b030&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905ZwH2gdcZb5gvibAChsXoYagHb3VNB9wKVbxfLiawqkIU7ojskZ89oIruWPqTllfescYvnPicN3z1TuTbmJmSemXicGLROGrlApGI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">钉钉群/飞书群机器人</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">钉钉群webhook完整地址（必填）</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">加签密钥（可选）：加签后，没有密钥的第三方即使获取地址也无法伪造请求，防止垃圾消息和恶意刷屏，建议优先选择加签。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">以截图方式推送（默认开启）：开启后，推送时截图服务将实时渲染当前看板作为群推送内容。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 54" class="rich_pages wxw-img" data-ratio="1.1307339449541285" data-type="png" data-w="872" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321233" src="https://wechat2rss.xlab.app/img-proxy/?k=c1b772bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905K5FmC7TJeo40ZbjLgBCrzM2iaPdBdoV508ElH7Jv92PCwdnYlz6a5FwbCk00KevqiaLFANzJNYmMkKwqLy0hhFQAUaNQibDcPW0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第四步：测试推送</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">配置完成后，点击左下角「测试推送」——系统按当前配置立即执行一次推送，不受计划时间的约束。此步骤用于验证截图渲染效果、邮件渠道连通性及收件人地址准确性。测试推送不计入推送历史记录。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">第五步：创建与管理</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">测试验证通过后，点击右下角「创建推送」保存。计划从下一个触发时间起自动生效，无需额外激活。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后续通过左侧功能栏「定时推送」面板可执行以下操作：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">查看所有定时推送计划</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">编辑、暂停、启用、删除单个推送计划。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">查询每次推送的推送次数、推送计划、执行时间、分发渠道、成功 / 失败状态及内容快照。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 55" class="rich_pages wxw-img" data-ratio="0.664804469273743" data-type="png" data-w="1074" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321238" src="https://wechat2rss.xlab.app/img-proxy/?k=0a1b514f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905e4z9TlwIAXjOYvRfV8PPV8RvNOL3a8Zw4St2FbPIJPiaAntYJ3ITZdTMibO76y1RabFu4s4kroz6VhcyZiahQYbGzrefQKYz9Zs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">智能告警</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">智能告警解决的</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">是&#34;关键指标的异常主</span><span leaf="">动发</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">现与及时通知&#34;问题，适用于企业内以下场景：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">指标阈值监控：为核心业务指标（如 GMV、转化率、客诉量）设定上限或下限阈值，数据触及临界值时自动通知相关负责人，替代人工定期巡检。</span></p></li><li><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">数据断流检测：监控数据表是否存在查询空结果，当上游数据链路中断（ETL 任务失败、接口异常等）导致报表无数据时，第一时间发出告警。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">查询执行异常监控：监控 SQL 查询是否执行成功。当数据源连接异常或表结构变更导致查询失败时，自动通知数据工程团队介入排查。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">活动 / 大促专项监控：在业务高峰期或活动期间，为核心指标配置短期告警规则，设置有效期后到期自动失效，无需人工回收。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">多指标联动告警</span><span leaf="">：通过 A</span><span leaf="">ND 逻辑组合多个图卡的监控条件，仅当所有条件同时触发时才发出告警，降低单一指标波动导致的误报率。</span></p></li></ul><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、新建告警规则组</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">1.在看板右上角工具栏「更多」下点击「监控告警」。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 56" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321243" data-ratio="0.5425925925925926" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=0dfaa25a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904BaH6Dwr8ZiaH3zib3DsTzFmCEyhz2bslGsmoJAJc0VIXGQ15peXAeBTwiaEVcd0pF1p1xe1ibLFTibccQrg3vAMh7Kcg9cMTHlgj4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">2.选择需要监控的图卡：支持选择多个图卡组或规则组。被选中的图卡会显示蓝色高亮框。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 57" class="rich_pages wxw-img" data-ratio="0.487962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321240" src="https://wechat2rss.xlab.app/img-proxy/?k=2cce13bc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906VSJHFbvotlibD9cwXY7wyoQ2k010aPvJ2gc8M59zxGJatlaAqDmdpRUR6YNKWsRsNCUic8ia0cZ66NKvTGvBnHkMlUE7tmay9og%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">3.配置告警规则：选中图卡后，支持设置检测类型（阈值、数据为空、查询失败）、触发条件、检查频率和通知方式。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="配图 58" class="rich_pages wxw-img" data-ratio="0.487962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321242" src="https://wechat2rss.xlab.app/img-proxy/?k=6f2f62f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9061fziby50aexMOA46GibsXB8zxNpB3V25O1YQcCopeKrSTxIv5uVvoWrClMZpia0JYOsX4Jb6dAPabtuPojCZbdzOia3bNgAhGzPM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/><img data-aistatus="1" alt="配图 59" class="rich_pages wxw-img" data-ratio="0.5416666666666666" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321246" src="https://wechat2rss.xlab.app/img-proxy/?k=4d3786b1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904kr1WyOvZUmQaTGxO3CmUlrOKzdKicD4LKdFfRIGF0OocugtOHvBsBNwbQyYc1U40TWjyWjVYCmeAiax6QU5YHqf9U8lHWoBEP0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、配置说明</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、规则组名称</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为规则组命名，用于在告警管理面板中标识和检索。建议使用业务语义清晰的名称，如&#34;GMV 异常监控&#34;、&#34;用户增长数据断流告警&#34;。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、逻辑关系</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一个规则组支持包含多张图卡的监控条件。逻辑关系定义触发规则：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">任一图卡满足（OR）：多张图卡中任一触发条件即发出告警。适用于多指标独立监控场景，任一指标异常均需通知。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">全部图卡满足（AND）：所有图卡的条件全部触发时才发出告警。适用于需要多个指标同时确认异常才产生通知的场景，可有效降低误报。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3、添加监控图卡</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在看板中直接点击目标图卡，图卡即出现在右侧规则列表中。每张图卡对应一条独立的监控规则，支持连续点击添加多张。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">4、单张图卡的检测条件</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每张图卡需配置以下三项：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1）检测类型 — 定义&#34;异常&#34;的判定维度（可多选，任一匹配即触发）</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">指标阈值：数值达到指定临界点时触发。如&#34;日均反馈量大于 30&#34;，是最常用的检测类型。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数据为空：查询返回空结果时触发。用于发现上游数据断流，如表数据未按时产出。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">查询失败：SQL 执行报错时触发。用于发现数据源连接异常或表结构变更。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2）监控指标 — 指定对图卡中哪个数值字段进行判断</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">系统自动列出图卡中的可用字段，选择目标指标即可。如同一张&#34;日均反馈量&#34;指标卡，可按实际诉求选择 avg_daily、total 等不同聚合维度的字段。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3）判断条件 — 定义数值需满足的关系</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">比较方式：大于、小于、等于、大于等于、小于等于、不等于。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">阈值：临界数值，如配置 30 表示指标超过 30 时触发。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">数值格式：原值或百分比 / 千分比形式比较。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">保留小数位：告警通知中数值的显示精度。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">示例：「日均反馈量」大于 30 → 触发告警。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 60" class="rich_pages wxw-img" data-ratio="1.8874734607218684" data-type="png" data-w="942" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321239" src="https://wechat2rss.xlab.app/img-proxy/?k=3805cf54&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9065u8021ibk9Phj1T5H7UL6rqehN2cmVOwL9abTjPTxlHOLt5Q4BYyZlSt9a8yARO6ibJbQFEH68HOElvK3darkWVNBPtAHVM4TU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5、多张图卡间的逻辑</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">若规则组内包含多张图卡，顶部的逻辑关系选项定义各图卡规则之间的组合方式：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">OR 模式：图卡 A（日均反馈量 &gt; 30）或 图卡 B（数据为空），任一触发即告警。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">AND 模式：图卡 A（日均反馈量 &gt; 30）且 图卡 B（高紧急工单 &gt; 5），两个条件同时触发才告警。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">6、检测计划</span></h4><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">检测频率：SQL 检测的执行间隔。可选每分钟、每小时、每天、每周、每月。例如每日 09:00 执行一次、或每小时执行一次。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">时区：默认 UTC+8（北京时间）。如团队分布在其他时区，需相应调整以确保检测时间符合本地业务节奏。</span></p></li></ul><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">7、 通知渠道</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">支持企业微信webhook、邮件（SMTP）、钉钉群机器人、飞书群机器人，四个通知渠道的配置。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">配置收件人邮箱（支持批量粘贴）、邮件标题（支持预设模板）、抄送列表。支持以截图方式推送看板内容，可配置多组收件人并行发送以确保触达。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 61" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321241" data-ratio="1.121212121212121" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="924" src="https://wechat2rss.xlab.app/img-proxy/?k=44453786&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9043oIm3pg6n5kE8COSB0sqWSpiaIZqbgXCVXUscPH4RsvP8WbD1WGZjcoWuUGqwVqswveL5MIRc2NB67lZ2wq8GG0Zcop4DZEK0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">三、可选设置</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1、告警有效期</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定义规则组的生效周期。设置后到期自动失效，避免已完成的专项监控持续产生告警。适用于短期监控场景，如大促活动期间监控 14 天，结束后自动停止。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3、屏蔽时间</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定义不发送告警的时间段。如配置夜间 22:00 至次日 08:00 屏蔽，则该时段内即使条件触发也不推送通知。不配置则按检测频率全天候执行。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3、告警处理建议</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最多 120 字的处理指引，将随告警通知一起发送。设计目的是让接收者在收到告警时直接依据指引判断和处理，减少二次沟通成本。示例：&#34;本月日均反馈量超过阈值，请排查是产品异常还是正常业务波动。处理人：运营值班团队。&#34;</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">四、测试与保存</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">配置完成后，点击 「测试检测 + 触发」——系统立即执行一次 SQL 检测并按当前通知渠道强制推送一次通知（无论条件是否满足）。此步骤用于验证：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">SQL 能正常执行，无语法或连接错误。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">邮件可正常送达，收件人地址准确无误。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">告警处理建议的文案格式正确。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">告警通知中数值的显示格式符合预期。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">测试推送不计入告警历史记录，不影响正式统计。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">验证通过后，点击 「创建规则组」 保存。规则立即生效，按设定的检测频率开始执行巡检。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 62" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321244" data-ratio="0.806378132118451" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="878" src="https://wechat2rss.xlab.app/img-proxy/?k=8994d1ed&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907zOVvS3LFicGUBI9pBtia7rA4TNDPeZQbVCVdQkzBYjaox7F3XgYQ1bt8p5Pz3TvQtclQsFC2Tl18PHDFc1ZuesY6ex4IW17ePU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">技能与工具</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">一、Skills（技能）</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Skills 是 AI 可在对话中调用的能力扩展。当前面板已内置数据分析、可视化、文档处理、代码生成、工作流等相关技能，支持按场景分类筛选、安装市场技能、加载用户自建技能包。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">1、入口与界面结构</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">方式一：左侧功能栏 → AI扩展 → 技能 Tab 进入管理界面。顶部为分类筛选 Tab：「全部 / 数据分析 / 可视化 / 文档处理 / 代码生成 / 工作流 / 其他」，点击切换可按场景快速定位技能。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 63" class="rich_pages wxw-img" data-ratio="0.5555555555555556" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321245" src="https://wechat2rss.xlab.app/img-proxy/?k=4159e56d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9046XzE5yy5Cx1FTwRPYAYTwK2USsf5wpDacSneLfO6ujLdDZUj5M3Ae7CtqXVOIDUiaw1ictLRAedRrSviao1PjuVFazW6pwLHXLk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">方式二：对话板块点击「技能」，支持将技能直接加入对话、搜索技能、点按「更多技能·技能市场」进入技能管理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 64" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321247" data-ratio="1.6074074074074074" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=276b30aa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9059QrmIahicYhoI2ibtk8lkiaqzrhyBYfTPLH5k1YRz7EndvicPXxRGlMXiaZWEbbmlDHGaxCDGIpH3980CLs9MFjswOricrdMu4OlY0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">2、内置技能</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">平台已预装12个数据分析技能和3个可视化技能。开箱即用，无需额外安装或配置：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 65" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321248" data-ratio="1.5287037037037037" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f5077554&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9052cOniczr8iaB1F7GOfdz2RdiaRgFbr2lNchzkRHH7ewoz3v1AdRiaKNHa3SJ1mVNbaiagK9Lk0X3ibfpzCCOCrotjO6zz7IibeLyMpk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">技能市场和skillhub</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">平台具备技能市场、skillhub，技能覆盖办公效率、内容创作、开发编程、设计多媒体、数据分析、AI Agent、知识管理、商业运营、教育学习等主要场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 66" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321253" data-ratio="1.0138888888888888" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=da82a180&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9060YsEI1y6eicW3jQ4YMEupegPe06f7R2HpzcgHsNpUlUabK9ZmxHQZCFfLORd1uhhN3UaiakiaUaYJz6oiabAjTONY6icK2cn2JJrU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">用户自建</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">支持将自研的 Skill 包上传至个人工作区。上传后系统会校验包结构并自动加载，团队成员可在授权范围内共享调用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 67" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321250" data-ratio="0.5425925925925926" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=1ff2f179&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907qZicHRtje5P1BdDXAMmApUZRliajCI10icricHNLpznjXGF5zZx1RBia0DRj6gmGTYx5ejdAmJaIxkwShPnxFFge2UdfswpesFSAE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">二、MCP（模型上下文协议）</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">MCP 用于将外部工具或服务接入 AI，使 AI 能在对话中直接调用企业内部系统（如代码库、知识库、研发协作平台、数据开发平台等）。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">入口与界面结构</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">左侧功能栏 → AI扩展 →MCP Tab 进入管理界面。界面包含两个子 Tab：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">MCP市场：浏览并安装平台市场已发布的 MCP Server。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">已安装：管理当前工作区已添加的 MCP Server 连接，支持新增、编辑、删除。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 68" class="rich_pages wxw-img" data-ratio="0.7296296296296296" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502321252" src="https://wechat2rss.xlab.app/img-proxy/?k=b8434ac5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907eD6ehU6SeCgJZxQ3rFqYQLj2alybib1Og52nXhnprC0pJeLa7f3sgX7acicqiaiaf8yBrkw9UkflkZIh0MxlqDkEFChD9Riaib2tFc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">团队管理与权限</span></h2><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">成员管理：团队管理员可设置团队的可自主添加、搜索、移除角色组成员。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 72" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321256" data-ratio="0.42777777777777776" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=7843f221&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904ia4lkhHqiaSaXVWIicmFhEW21XT8VlJYicorfDYle8jKV1kHVbptu60eTvUquFuGSp1ic9dLhXb64hfNjeKE90l2ialzqLJ3Zp0gXM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">模型限制：团队管理员可设置团队的可用AI模型。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 73" class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz905FfxDSQSKYBoHzGocPv5m58Nqd5c8a5TbnvPjUBoRiajPs9QZfXoACibyUicNpQtoRw7lFrY8kKf5CJE3koyH6NFBdo2KqLXzicPY/640?wx_fmt=png&amp;from=appmsg" data-cropx1="3.737024221453287" data-cropx2="1080" data-cropy1="0" data-cropy2="640.8996539792387" data-imgfileid="502321254" data-ratio="0.5951717734447539" style="max-width:100%;height:343px;display:block;margin:16px auto;border-radius:4px;width:576px;" data-type="png" data-w="1077" src="https://wechat2rss.xlab.app/img-proxy/?k=906b3cfe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9056bvrwTXNhlwck8VeQEuib1XY1iagdTeGic9zspkwjM2buicZwXJ3SzQz9p3CXak3tiaSLVCJS3KxDefMoU8OBh7uycsU9cFCMqGVU%2F640%3Fwx_fmt%3Djpeg"/></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">常规设置：可设</span><span leaf="">置对成员隐藏自己</span><span leaf="">没有查看权限的文件。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 74" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321257" data-ratio="0.34074074074074073" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=b90ce4b5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906iacfOy54FyWElgOcxoWWIIxHVZicxJUNW37YVb2cqhIJu6C3BGMYSBpqibLUVZBQBhLe3rbuxNIXVbdiciajYBuic7wYoBIiahuHn24%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><div style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-left: 4px solid rgb(3, 124, 230);border-radius: 8px;padding: 18px 20px;margin: 28px 0px 0px;"><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 18px;font-weight: bold;">邀请码获取方式（2种方式共3000个！）</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-weight: bold;">一，直接复制</span></span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;"><span textstyle="" style="font-weight: bold;">邀请</span></span><span leaf=""><span textstyle="" style="font-weight: bold;">码使用</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">关注【腾讯技术工程】公众号后台回复</span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;color: rgb(0, 0, 0);font-family: -apple-system, \&#34;system-ui\&#34;, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-left: 4px solid rgb(3, 124, 230);border-radius: 8px;padding: 18px 20px;margin: 28px 0px 0px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null},&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">“</span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;"><span textstyle="" style="color: rgb(255, 76, 65);font-weight: bold;">灯塔AI</span></span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;color: rgb(0, 0, 0);font-family: -apple-system, \&#34;system-ui\&#34;, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-left: 4px solid rgb(3, 124, 230);border-radius: 8px;padding: 18px 20px;margin: 28px 0px 0px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null},&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">”</span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">，<span textstyle="" style="color: rgb(255, 76, 65);font-weight: bold;">1000个</span>邀请码直接送，注册</span><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;color: rgb(0, 0, 0);font-family: -apple-system, \&#34;system-ui\&#34;, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-left: 4px solid rgb(3, 124, 230);border-radius: 8px;padding: 18px 20px;margin: 28px 0px 0px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null},&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]"><a class="normal_text_link" target="_blank" style="" href="https://beacon.qq.com" textvalue="灯塔AI" data-itemshowtype="0" linktype="text" data-linktype="2">灯塔AI</a>时，输入对应的邀请码</span><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;">，有效期30天，先到先得</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321267" data-ratio="0.5527777777777778" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=ce07a5e4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905re0uhQdRZpCF8FNnznkNvfGvnTuqBsvWtEb0yWeic3aNPYN6456LRgmEfpo7qxEJYDznR1SBGwhuwmhQ2W7IDoTric06O5Hl1M%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><p><span leaf="" style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(238, 245, 255);border-radius: 8px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;text-align: justify;"><span textstyle="" style="font-weight: bold;">二，官网【腾讯技术工程】口令申请</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1、注册<a class="normal_text_link" target="_blank" style="" href="https://beacon.qq.com" textvalue="灯塔AI" data-itemshowtype="0" linktype="text" data-linktype="2">灯塔AI</a>时，在「专属口令」一栏输入渠道口令：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="color: rgb(255, 76, 65);font-weight: bold;">【腾讯技术工程】</span></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2、顺手写下你的使用场景，越具体越好。例如：门店日报自动盯盘、活动效果归因分析、多源数据接入整合</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3、提交后我们逐一审核，审核通过即发放邀请码</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">4、本公众号渠道共送出 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="color: rgb(255, 76, 65);">2000 个</span></span></strong><span leaf="">邀请码，先到先得，送完即止</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="502321261" data-ratio="1.0629629629629629" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=cd4ab1b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904snRicZrHQApB4BfS1PibGIxopw3vhozCqmuzZpQFeicmD3pU1Xk2vHP6w5x3fQm7hRM3uFHXHuUyPGe3IhXo04YblSmeib2nFcTg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="text-align: center;"><span leaf=""><span textstyle="" style="font-weight: bold;">一分钟视频速递</span></span></p><p class="channels_iframe_wrp" nodeleaf=""><div></div></p><p><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="187" data-backw="578" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="324" data-backw="578" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=21838682&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804990%26idx%3D1%26sn%3Dab7cc44dcb144528b83bc90c81eb6321">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 28 Oct 2026 17:35:00 +0800</pubDate>
    </item>
    <item>
      <title>你的Personal Agent 如何真正跑起来？Agent实战指南</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804831&amp;idx=1&amp;sn=bcfae266ff83331edd3f2a72643592d3</link>
      <description>从0到1，让你的Agent真正跑起来</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-26 17:32</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=cc7f1794&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907IeGCAcFpNXzvfwItBQR5mJW7XicVAyduHTzMlc7icxJQicVnekZbxz7ZNHiaAhL4lZlC3ujoUdsNZPRn8EcNOMhSye1NvxaVsnMw%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>从0到1，让你的Agent真正跑起来</p>
  <p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="188" data-backw="578" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">作者：</span><span leaf="">spike，腾讯游戏数据团队负责人</span></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(247, 248, 250);border-radius: 8px;padding: 16px 18px;margin: 22px 0px;border-left: 3px solid rgb(216, 221, 229);"><span style="display: block;font-size: 12px;color: rgb(160, 167, 176);letter-spacing: 2px;margin-bottom: 8px;"><span leaf="">导语</span></span><span style="display: block;font-size: 15px;color: rgb(91, 100, 112);line-height: 1.85em;"><span leaf="">今年以来我一直在建设自己的分身，也在工作中用得非常多。前面几篇聊到了context、个人bias和判断带宽，这次想具体讲讲，我平时怎么用，以及这套东西是怎么一点点搭起来的。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在已经养成了一个习惯，想到什么，就找一个当时顺手的分身聊一下。如果是在电脑</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">前的时候，可以跟它深入讨论、查材料、改文件、跑实验；离开电脑，也可以从手机</span><span leaf="">上的企微/Htalk里继续。有些分身在自己的电脑上，有些在云端，我也花了不少时间，把它们能用的资料、近期工作和记忆接起来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我经常只有半个想法，还没整理成一个完整问题。或者刚收到一份材料，觉得跟手上的事情有关，但还没想清楚有什么关系。先说给它听，它去找相关背景，我们再一起往下想。需要查的继续查，能试的就动手试，没想完的也可以先留下来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这件事对我很有意义。比如，刚开完一个会，为什么改了主意、哪句话让我有疑问，当时都记得比较清楚。如果要等回到某台电脑，再找到原来的会话重新讲，可能就只剩一个很简略的结论，甚至忘了继续聊。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，让它随时能用，并且能接着之前的事情往下做，我一直挺在意的。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这些随手聊的内容里，有很多是在正式文档里不会留下来的背景和取舍。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 1" class="rich_pages wxw-img" data-aistatus="1" data-backh="806" data-backw="578" data-imgfileid="502321175" data-ratio="1.3944444444444444" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=8bffd644&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905WMRnRXicel5XPeBSe6DWTBrkyCTVYjHsiceEBiaecibrdjRdSQlXNUDd99swBClTaeKDtWazbicfqucQQmvAJ4Iia6fic8gjU9pyQvY%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: -12px 0px 24px;"><span style="font-size: 13px;color: rgb(154, 161, 171);line-height: 1.7em;"><span leaf="">上图按当前用法整理的结构示意。共享资料和近期记录帮助接续工作，各个分身仍有自己的会话和运行状态。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">举个例子：9月中旬有一天，我口述了几个当天的讨论（没开会议也没录音）。其中一个问题是，怎么进一步让用AI更深入的同学，带动其他人。我当时在想，像游戏里有人升级快、有人升级慢，产品能不能帮助那些先跑出来的人，进一步带动团队。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同一天，经分团队的同学，给我同步了一个他们的实践。他们把数据服务Agent挂载在内部的HTalk ，开发了个WorkBuddy专家，接到了用户自己的WorkBuddy里。业务团队的用户在原来的工作流程中需要数据，只需要在自己的WorkBuddy里提需求，需求就会进入一个有我们经分同学，也有数据Agent的工作企微群；中间补充背景、确认口径，完成后再把结果拿回去继续用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我当时关注的是，这个做法把原来散在几个地方的context连起来了。用户自己的分析、提交的需求、经分的执行、群里的沟通，都能沿着同一件工作接下去，而且不用切场景。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分身读完后提醒我，这个案例其实也是前面那个我在思考“传染机制”的一种具体实现。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">经分同学已经把自己的知识、工具和处理方法建设进了Agent。其他同学在原来的工作里（WorkBuddy）调用这份能力，就能先获得帮助，过程中再补充业务背景、提出反馈。他们不必先学会经分同学整套建设方法，也不需要学习怎么使用经分的Agent，也不需要使用Htalk，就能开始受益。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这让我把原来的问题又往前推了一步。带动别人，除了把方法教给他，还可以让他更无痛得先用上已经建设好的能力（不用学习新工具、新Agent的使用）。产品要支持的事情，也就更具体了：熟练者能不能方便地把能力交出去，使用者能不能在自己的工作里用起来，出了问题能不能找到人，反馈能不能再回到维护者。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一件事都是我自己讲的，第二件事情是经分同学在群里同步我的，但口述时，我确实没有把它们连在一起。但是跟分身讨论之后，分身可以帮我关联起来，这样我手里就多了一个能继续看产品、看案例的角度：哪些经验需要别人学会，哪些能力可以先让别人用上，两条路怎么配合，且有一个具体的案例。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有一些事情，会从想法，能快速直接往实验走。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如再举一个例子，最近我在关注Jev模型，想看看它能不能帮我先判断工作群里的消息：哪些需要我关注，哪些可以让Agent准备一下，哪些应该等已有负责人处理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我把一个Jev模式的小模型在本机跑起来之后，让cb-a分身结合我的背景，通过HTalk读取相关消息，整理样本、写调用脚本，跑几轮测试，再把有分歧的地方拿出来看。小模型负责给出候选判断，cb-a分身负责组织实验和检查结果，我来校准那些跟实际工作有关的取舍。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 2" class="rich_pages wxw-img" data-aistatus="1" data-backh="349" data-backw="578" data-imgfileid="502321172" data-ratio="0.6037037037037037" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f3d4037c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905WOzjfOZfXnLJQEFwaickK7tyd8hAIpjwsq5An7b9yaT6SvNPSe24c3Dia9OLA0CcOiaQMkmNbf10LyCibL1prcibAGPIDPDP8NETo%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="配图 3" class="rich_pages wxw-img" data-ratio="0.4064814814814815" data-type="webp" data-w="1080" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-backw="578" data-backh="235" data-imgfileid="502321173" src="https://wechat2rss.xlab.app/img-proxy/?k=866635d1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz90505kdUib0wf8jFcFZxb1LKicb5F1w49pjtEHjtN9o0WG65gpIWnJF2UnbXnRLEdRDIdtJ1I5VkkNUlKyCrJ15zasoe4OyuwS3qA%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后想法就直接可以进入实验了，第一轮实验后，分身拉到的消息里，有三条消息，我给了很具体的反馈。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一条是我问一个方案的实际应用情况，同事说已经在用了。我的意思是，还可以帮我收集具体怎么用、效果怎样，必要时问详细一点。只把它归为“知道了”，没有接住我想了解什么。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">另一条是有人报告问题，已经明确找了对应的负责人。这时我希望先让负责人处理，Agent不需要因为看到了问题，就再替我接一遍。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有一条，我请同事比较两份材料，对方回复“好的”。这时值得记住的是，他已经承接了，还没有反馈结果。后面要跟进，不能把这句“好的”当成事情已经完成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把这些说清楚之后，我们又调整了判断选项和示例，拿回去测试。有些地方改善了，有些仍然不稳定。甚至只调整候选项的排列顺序，也会影响部分结果。这次还没到可以放心自动处理的程度。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但这轮工作已经让我更清楚地看到，所谓“理解我的bias”，到底要落实在哪里。它要知道这件事当前到了哪一步，我在其中是什么角色，谁已经负责了，以及我希望它补上的那一步是什么。“主动一点”这样的要求太宽了，真实工作里，有该主动了解的，也有该记住等待的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 4" class="rich_pages wxw-img" data-aistatus="1" data-backh="389" data-backw="578" data-imgfileid="502321174" data-ratio="0.6722222222222223" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d0f654da&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906FibKOT7oRibFFbSMiaiaoMlic936PUpeiaQV163fGxZHwVnqcWZJIsrdR0zsSfic9Iu1vKRgGicrxicpYjg6hibGBtEbcRozc50UMSAC0g%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个案例里，我只给了想法，读群聊资料上下文、选取组织样本、编写适配的调用模型的脚本、保存返回、检查错例，分身都能直接开始做。我主要参与的是，想验证什么，哪些判断不符合我的意图，结果是否足以支持下一步。一个想法就有机会很快进入验证，哪怕最后发现暂时还用不好，也会比一直停留在讨论里多知道一些东西。因为他够懂我。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">能这样做，跟我给分身准备的工作环境有很大关系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我让它工作的地方，本身就放着我持续积累的资料，现在主要是一个仓库。我的背景、当前关注、过去的讨论、会议记录、一些外部材料，以及做过的实验和产物，都在其中。工作群里的信息，通过HTalk按权限去取；它所在的环境也有文件、代码执行和其他工具能力，具体能做什么，要看那个环境接了什么。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以我跟它说“看看这个”，有时是让它回去找原文，有时是对照几次讨论看判断怎么变了，有时可以继续动手验证。我不用每次先把材料全部整理好，再一段段复制给它。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，资料放进去了，它也未必就能用好。刚开始我也想过，把所有重要的东西都让它读一遍。后来内容越来越多，默认带进去的东西会互相干扰，旧重点也容易压住新问题。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在我会把这些内容分开处理：相对稳定的背景和取舍、当前正在推进的事、完整的历史材料，各有自己的位置。近期进度及时留下来，旧材料通过索引按需找，需要核对的时候回原文。每次默认读的内容要控制，历史细节仍然保留。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如只留下“最后决定做A”，下一次它很容易理解成我一直偏好A。但当时也许只是资源不够，或者另一个方案有个前提还没验证。于是我会要求把为什么这样选、讨论过什么别的办法、后来哪里改了，也尽量留下来。条件变了，才有机会重新判断。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分身本身怎么调，也是在用的过程中逐步摸索的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">早期它回答一次不满意，我就容易加一条要求：不要过度赞同，不要给空泛建议，不要回避矛盾。加多了之后，它越来越小心，但遇到新问题还是不知道怎么取舍。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后来我把这些要求拆开了。我的背景和当前重点放在USER里，遇到冲突时更在意什么放在SOUL里；文件写到哪里、哪些动作需要确认，放进操作规则；某一类任务怎么做，单独整理成SOP或Skill，遇到这类工作再读。这样某个具体任务里的要求，不会一直干扰其他事情。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在觉得它不对劲，我会先让它说清楚，刚才怎么理解我的目标，差异出在哪里，再给修改建议。也可能只是这次少了一点背景，补上就行，不必动长期规则。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如写文章，我希望严谨，它却把不够确定的整段推导删掉了，文字很稳妥，原来想讨论的问题却变小了。我就得把取舍讲出来：观点可以保留，事实和推演要分清楚。然后看下一篇、换一个题目，它能不能处理好这个关系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">当场改对一句话，和下次遇到类似问题能做对，是两件事。</span></strong><span leaf=""> 所以我会看后面的真实工作，有时有效，有时还要继续调。这也是我愿意花时间跟它解释“为什么”的原因。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">多设备、多分身这部分，也踩过不少坑。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">3月份开始，我就在两台电脑上用同一个仓库，后来又把它用CodeBuddy，接进了带企微/微信入口的Claw。后续的使用过程中，偶尔出现两边都说记下来了，结果一个写在工具自己的目录，另一个写在仓库的memory目录，双方根本没在读同一份东西。后来才把路径统一，写进操作约定。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 5" class="rich_pages wxw-img" data-aistatus="1" data-backh="348" data-backw="578" data-imgfileid="502321171" data-ratio="0.6027777777777777" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=eb461775&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9044NzAVkAgLngPdve5Ap5sSXmibuibCGYuicBAYNq9qcahicicGvSVUajoicl1MlZO1NB4Cyv6YKYgFAxQqibuVaTQrwvgFpoc5Wtx7mc%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: -12px 0px 24px;"><span style="font-size: 13px;color: rgb(154, 161, 171);line-height: 1.7em;"><span leaf="">3月27日的原始记录。当时正在把已有资料和规则接进另一个工作空间；图中的初始化方式后来也继续调整过。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再后来，我希望离开电脑之后也方便使用，就增加了AnyDev的云端分身，减少对某一台电脑在线状态的依赖，也实现了同步。同步过程中也遇到过新文件传过去了，已有记录却没有及时更新的问题。看起来两边都有资料，实际上读到的版本可能不一样，类似这些都需要一点点处理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还有一个更容易忽略的问题：即使读的是同一份仓库，两个分身也各有自己的会话Session。刚才我们为什么否定一个方案、哪个问题还在犹豫，如果只留在当前会话里，另一个分身就未必知道。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以除了长期记忆，我还让各个分身留下近期的工作状态，仓库里叫live。它记录刚处理了什么、有哪些变化、哪里还没结束，需要时再回到完整笔记和原始材料。另一个分身接手时，就有地方去找这些线索。需要定向交接的，也可以留在各自的收件箱里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">几个人同时改一份文件都会有问题，几个Agent也一样。谁写自己的近期记录、谁维护共同文件，追加前先看最新内容，保留写入来源，这些后来都逐步有了约定。尤其是还在讨论的推断，不能因为被写进记忆，就变成我已经确认的结论。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以换设备、换工具时，我希望它能找到的，除了资料本身，还有这件事目前到了哪里，哪些判断已经确认，哪些仍然值得继续讨论。现在仍然会有需要补背景的时候，但重新开始的成本已经少了很多。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 6" class="rich_pages wxw-img" data-aistatus="1" data-backh="299" data-backw="578" data-imgfileid="502321176" data-ratio="0.5175925925925926" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=dafb49d4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9078O8RToldyibpOwialROVfFv5BicfYKto3JxKrQfVnlouOAYNKhjMWibzZ1e3QrbEzSicuiaTRMRcpNDI2bRXoutZEcTMZwgCwgibUfE%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: -12px 0px 24px;"><span style="font-size: 13px;color: rgb(154, 161, 171);line-height: 1.7em;"><span leaf="">某CVM上的live示例</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我觉得这也解释了，为什么入口方便和积累充分会相互影响。越方便继续聊，我越愿意把刚发生的事情和没想完的问题交给它；这些背景留下来，下一次它又更容易理解我在说什么。这个过程持续发生，分身才会逐渐进入日常工作里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用久之后，还有一种我很喜欢的方式，叫“</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">洗澡时刻</span></strong><span leaf="">”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最开始的想法挺简单。人有时候洗澡、散步，暂时不急着解决一个具体问题，反而会把之前没连起来的事情想通。我就想，让分身也试试：先放下手上的明确任务，看看最近这些事情之间，有没有我没注意到的联系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，它得先有东西可看。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一部分来自前面讲的日常积累：工作讨论、会议记录、随手想到的问题，以及我们一起做事时的补充和纠正。尤其是还没想完的事情，我会尽量把当时为什么卡住、有哪些不同考虑留下来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 7" class="rich_pages wxw-img" data-aistatus="1" data-backh="345" data-backw="578" data-imgfileid="502321177" data-ratio="0.5962962962962963" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=0df5adea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904H51ic7UMO6zbMANxFFDBbYf86qVZIibgrhaEm7BpeIRzgN6FSNWdD3NRDFowtrpZZXhVzxLcgQwpyZrSayCXicxichf4vuDzJWug%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: -12px 0px 24px;"><span style="font-size: 13px;color: rgb(154, 161, 171);line-height: 1.7em;"><span leaf="">Htalk里唤起分身启动洗澡时刻</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">另外，我还接了一些RSS信息源，涉及AI工程、产品、商业、组织管理，也有跟我观点不太一样的作者。通过自动化定期抓取新内容，分身先做一轮筛选，留下来源、摘要，以及为什么可能值得我关注。我看到有意思的，会继续让它读原文，结合手上的问题讨论。有些只是当天看过，有些值得进一步整理进知识库。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="配图 8" class="rich_pages wxw-img" data-aistatus="1" data-backh="429" data-backw="578" data-imgfileid="502321178" data-ratio="0.7425925925925926" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-type="webp" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=9e288cc1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904T2m7TSJCMdvdsbib4X5kCyB2Y9waRPW3jmOdhIye4RVWFgUAWLiavicOicoiaGSbRBO58MkiaLrHzxSm0iabKEHKtwckNZPbibvUU0uY%2F640%3Fwx_fmt%3Dother%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这两类材料，处理方式也有点区别。外部文章会提炼观点，保留出处和适用背景；我自己的思考和讨论，会更在意保留推导过程。只记一个结论，后面很容易不知道当时为什么那么想。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以有了上述这些积累，我跟分身说一句“洗澡时刻”，它就知道这次先不用赶着交付什么。它会从最近的工作、当前关注和未完成的问题开始，沿着线索回看更早的记录，也可以把相关的外部材料放在一起看。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如，两件看起来没关系的事情，是不是遇到了同一种问题；我最近的一个决定，跟之前坚持的判断有没有矛盾；新看到的一个案例，会不会改变某个一直没验证的前提。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一般先给几个观察，把它为什么想到这个联系讲出来。我再挑有意思的继续聊。有些确实是硬凑的，指出来就好；有些第一眼没什么感觉，往下追问几轮，才发现值得认真想。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">有一次，它回看了几周的讨论，提出一个怀疑：我们是不是太习惯用同一套框架解释新材料了？每次看到新的产品、文章、管理案例，最后都能归到原来那几个判断里。看起来理解得越来越通，但有没有一些不同的东西，被我们忽略了？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个提醒也包括RSS。引入外部信息之后，如果每篇文章都被解释成“又验证了我原来的想法”，那还是可能绕回自己熟悉的框架里。所以我也会让它看，哪些观点跟我不同，哪些现象是现有想法解释不了的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">讨论完，有价值的内容我会让它整理下来，保留从哪些材料想到这里、中间怎么推、我补充或否定了什么。还没想清楚的，就明确留作待讨论，不急着变成长期结论。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些记录以后又能被找到。过一段时间，有了新的工作、新的外部信息，之前没想完的问题就有机会继续往下走。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我喜欢这个过程的地方，是它有时能在我没有明确提问的时候，先帮我发现一个值得问的问题。至于这个问题有没有价值，最后还是要一起讨论，必要时回到实际工作里验证。所以我觉得“洗澡时刻”是一个很好的分身理解我的bias 的实现，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">因为prompt就是一句“洗澡时刻”</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">几个分身之间，有时也会给出不同的解释。它们参与过的讨论不完全一样，模型和运行环境也可能不同。我会把一个分身的意见拿给另一个看，再比较分歧在哪里（偶尔我也在我的spikes的群里，跟分身们一起讨论）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比如有次我觉得，最近跟某个分身聊少了，重新解释的成本变高。讨论到后来，我们把“不了解我”拆开了：有的是不知道这件事刚推进到哪，有的是旧资料没更新，还有的才是对我的取舍理解不够。分清楚，后面才知道该补状态、更新记录，还是拿具体问题继续校准。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个过程中，我仍然要看依据。几个Agent都赞同，也可能是读了同一份有问题的摘要。我们就遇到过，还在讨论的推断被提前写成我的结论。另一个分身再读到，就可能把它当成确定的前提往下推。前面那些来源和确认状态的约定，也是在防止这种事情。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">多个分身有额外的同步和维护成本。我觉得先有一个能持续参与真实工作、接受纠正、接着上次往下做的Agent，就已经可以探索很多事情。用到哪里觉得受限，再继续建设。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">回头看这半年，对我比较大的变化是，想到一个问题时，更容易马上开始；决定往下做时，分身可以把查找、整理、执行和验证的一部分实际接过去；过一段时间再回来，之前花过的精力还能继续用。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我仍然要参与判断，也要花时间纠正它。但越来越多的事情，可以带着我的背景和关注点，先被认真处理一遍。我再把精力放在有分歧、需要取舍、或者出现了新东西的地方。同时，它也会把一些我没连起来的事情、没看清的前提带回来，让我调整自己的判断。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这也是我一直愿意投入时间的原因。有些讨论结束时，我们多了一份材料；有些是把原来的问题想深了一点，有些已经动手验证过了。而这些过程留下来以后，又能成为下一次工作的起点。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="324" data-backw="578" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="187" data-backw="578" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=628e9fbc&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804831%26idx%3D1%26sn%3Dbcfae266ff83331edd3f2a72643592d3">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 26 Oct 2026 17:32:00 +0800</pubDate>
    </item>
    <item>
      <title>腾讯员工下班后都在玩这么刺激的？？？</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804818&amp;idx=1&amp;sn=586605bd73d8e757fee932a5da596e9d</link>
      <description>1024福利放送！</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-23 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=c77e96e2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906uE9j1YwemkFok2K8GiccCnYvibsiaWYeNkRJ23EIib7D3Zdes59Cdc1HdDibvgFLGOfF8xqEq7ul2KerkhPER95lRn5Un9NRv71Ns%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>1024福利放送！</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="181" data-backw="558" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p></div><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;data-tool&#34;:&#34;mdnice编辑器&#34;,&#34;data-website&#34;:&#34;https://www.mdnice.com&#34;,&#34;style&#34;:&#34;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;&#34;,&#34;data-pm-slice&#34;:&#34;0 0 []&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null},&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;data-tool&#34;:&#34;mdnice编辑器&#34;,&#34;style&#34;:&#34;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">10月24日，是一年一度的程序员节。</span></p><p style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">平时在公司里，我们熟悉的同事可能是开发工程师、产品经理，也可能是项目管理者。但走出办公室，他们还有着许多不一样的身份。有人热爱摩托骑行，有人下班后体验送外卖，有人喜欢潜水、攀岩、冲浪，也有人把时间花在唱歌、阅读、徒步和布置自己的小家上。</span></p><p style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">这一次，我们采访了 9 位来自不同岗位的腾讯员工，聊了聊他们的工作、兴趣爱好，以及这些经历给生活带来的改变。在他们的回答里，有大胆的尝试，有长期的坚持，也有一些简单而真诚的感悟。下面一起来看看吧~</span></p><p style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">ps：文末大量Q币相送，先关注再看～</span></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-servicetype="0" data-verify_status="2"></mp-common-profile></p><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">老李-腾讯云架构师</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于北京邮电大学，腾讯工作5年</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><strong style="color: rgb(62, 71, 83);background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321072" data-ratio="1.3338545738858483" data-s="300,640" type="block" data-type="jpeg" data-w="1279" style="width: 292px;height: 389px;" src="https://wechat2rss.xlab.app/img-proxy/?k=9c27df58&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907qkz32MLCo5uBZn4gtHDQfZtkYGh6IR3QZ7y3jUgVfsjDtBx3B9p74ORauFdibTs6uLiarLlj7a4Bf0Abe2psnLjibMnqqCgyjMU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">主要支持北美客户使用腾讯云服务。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我有 6 年在北美大型科技企业从事开发的经历，见识过优秀的开发者和团队，也因此想看看不一样的世界。后来，我转型成为售前架构师，在加入腾讯之前，曾在美资和日资企业担任架构师。多年研发工作积累的严谨逻辑和系统的计算机知识，帮助我更好地服</span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">务客</span><span leaf="">户。2021 年，我怀着“让世界看看中国技术”的梦想加入腾讯云，希望用自己的知识和力量，与腾讯云一起成长，有朝一日能够比肩北美头部云服务商。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我有十多年的摩托车驾龄，也是 MotoGP 的忠实粉丝，尤其喜欢 93 号车手马尔克斯。骑过国产踏板车、黄龙 600，最终也拥有了自己的梦中情车。骑行让我深刻体会到，技术和经验都需要循序渐进地积累。从小排量车型开始，先熟悉道路情况，再逐步升级车辆和装备，才能更好地保障日常骑行安全。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321071" data-ratio="0.6666666666666666" data-s="300,640" type="block" data-type="jpeg" data-w="1080" style="width:558px;height:372px;" src="https://wechat2rss.xlab.app/img-proxy/?k=2495747d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905HYVrmH2bUZ5DsdTicFCudAclaC4bQLldKTpxqbgtCjHiaZDDmYBibCbQQ98ZD4kCpcMmSyx9hYSmbMKpd7rmJLKL6iaVKZOztB4I%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">40 多岁时，和一群 20 多岁的年轻人一起下赛道。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">以前做研发时，我总喜欢把事情做到极致：追求极致的性能、极致的用户体验。但骑行让我逐渐明白，做好一件事也需要合适的节奏。追求极致的同时，还要考虑自己的能力能否驾驭这种追求，在能力和安全允许的范围内尽可能做到最好。很多进步也不是一蹴而就的，需要在过程中不断体会、发现问题，再慢慢优化和提升。我始终提醒自己：一次摔车事故，就可能让此前的努力付诸东流。因此，在工作中，我也更加注重张弛有度、稳步前进。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">工作中，作为架构师，我需要同时处理多个客户的不同业务痛点，深入理解他们的场景，并利用现有服务体系满足业务需求；骑行时，我则需要全身心地投入赛道。两者对精力分配的要求完全不同。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但当我深入钻研某个领域时，两者对个人品质的要求又出奇一致：坚毅、果敢，以及持续改进和优化的能力。无论是提升产品竞争力，还是缩短赛道圈速，都离不开这些品质。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">安全是骑行的基石，经验的积累是安全的保障。道路骑行请遵规守法，只有在专业场地里，才适合挑战自己的极限。</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">kaikai-微信客户端开发</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于桂林电子科技大学信息科技学院，腾讯工作5年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz904QbMNHOVgms7gDe9hAGWv3bEIFuMtibQsG5tlickaCicHBhiaKG24NKLocaIIgxYyapsS0Q3vTOE9TJG9ngKIuzgvjE8yQviakFHo4/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="558" data-cropsely1="0" data-cropsely2="312" data-imgfileid="502321088" data-ratio="0.5583905789990187" data-s="300,640" data-w="2038" data-type="png" src="https://wechat2rss.xlab.app/img-proxy/?k=921ed5f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904QbMNHOVgms7gDe9hAGWv3bEIFuMtibQsG5tlickaCicHBhiaKG24NKLocaIIgxYyapsS0Q3vTOE9TJG9ngKIuzgvjE8yQviakFHo4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责微信客户端及内部运营系统的开发。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">小时候喜欢玩 FPS 游戏，还会在网上学习一些网络安全相关技术。后来进入腾讯，最初从事安全工作，之后转向了开发。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">之前尝试过下班后送外卖，平时也经常打羽毛球。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最疯狂的，应该是有一次送外卖送到了凌晨一点。跑单的时候，我经常想着“再送一单就回去”，但偏偏又来了一单距离近、价格不错的，就舍不得下线了。有意思的是，每次决定再接一单，我都觉得这是自己心甘情愿的选择，最后却远远超出了原来的计划。这也让我亲身体会了一把：诱惑是怎么让人不断跟自己讨价还价的。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321050" data-ratio="0.5574074074074075" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=24309b05&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906ANyWTXdV8sPjYKQtYia6lnddUicJl3Gn3hckuYSyyXXnXFcKMibDuV1C7cqZ6stCketyVZ6vo7h4sAAE2OAfCfKfiaXEFODHqiaA4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我变得更愿意尝试不熟悉的生活，也不再那么急着对别人下判断。自己跑过单才知道，疲惫会滋生冷漠和暴躁，我也会被一笔划算的订单诱惑，想着再多赚一点。现在遇到别人急躁，我会多想想对方的处境；自己情绪上来时，也会问一句：“我是不是累了？”</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">原来，有些自己曾经很笃定的看法，真正置身其中后，是会改变的。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321073" data-ratio="0.562037037037037" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=3a34910e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904bxKD7XsNfs9pzqiaXa5z5mSZEX4xFwkGROXibeJeoPUeRp2NdLKxFBvY6ibyAWJ6HGLMRyVqj9QhruRSib8jd1CibcnchKdoXJXKA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">工作时，脑子里经常同时装着好几个问题。忙了一天，事情也未必能有个明确的收尾。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">送外卖时，注意力则更集中在眼前：去哪儿取餐、往哪儿送，一单完成就有一单的结果。所以收工后虽然身体很累，脑子反而清爽。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果你好奇，就亲自去试试。</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">kiki-综合项目管理</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于南开大学，腾讯工作5年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz907mzktoXaNiauUicwg1CP4icjjcbjPIEbn5WDzMqAOm38avMshD2K56L1vBmicdwr1QxQ4ssQRSPFP3qWx5gB1oqY076dA09BSSMhc/640?wx_fmt=png&amp;from=appmsg" data-cropx1="6.428571428571429" data-cropx2="1080" data-cropy1="356.7857142857143" data-cropy2="1523.5714285714287" data-imgfileid="502321053" data-ratio="1.0865921787709498" data-s="300,640" type="block" data-type="png" data-w="1074" style="width:270px;height:293px;" src="https://wechat2rss.xlab.app/img-proxy/?k=ffb9cfae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9041xqsqAggsUaotuTibxPiawiaFXnnYDQCPOAmoQ9QLoFzPiciaAg8O1tmZ7DGaxoypUTUW62P9WXXpbcOtx3aenooO59mGa35xOEKA%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责微信</span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">部分</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">产品的安全交付</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">。</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;" data-pm-slice="0 0 []"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">我是校招进的腾讯，</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">5年时间里</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">陆续做过</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">职能、</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">流程、项目管理，到现在</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">的</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">客户交付。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">说是&#34;选择&#34;，其实这条路并不是一开始就规划好的</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，或是自主切换、或是偶然机会</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">。</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">这些岗位看起来有跨度，但做的事情一脉相承：和不同的人沟通、协调，把事情往前推。我把每个岗位当成一段新的体验，有担忧也有兴奋；也在一次次工作内容的切换中，越来越清楚自己擅长什么。</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;" data-pm-slice="0 0 []"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">这几年一直保持的爱好有两个：打麻将和潜水。</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">麻将是周末消遣，又菜又爱玩；要说大量使用年假的兴趣</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，还是潜水。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">我是那种喜欢上什么就会很投入的人。以前痴迷手账的时候，我到处在网上搜罗素材，自己打印了</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">快 500</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">张 A4 纸。</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">做</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">一页手账 2 个小时</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">起步</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，就这样连续写了</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">5</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">年</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，存了10本手账本，现在偶尔回头看，纯手工制作的记忆还是很珍贵的。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">现在，这份投入给了潜水</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，一般都是提前半年到一年规划行程，一个个打卡那些早就躺在收藏夹里的潜点。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321087" data-ratio="0.5625" width="359.831" data-type="jpeg" data-w="1280" height="202.493" style="margin-left:0px;margin-top:0px;width:558px;height:314px;" src="https://wechat2rss.xlab.app/img-proxy/?k=33c74b99&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904xodTib9QpwHsvVFc5YHg7WhIfh52icTs1hcXY9IygZS2ia8CYOQValpQib0jXBiadCan1vxpO2HAcEmHuEPVNaDschNfgrAKPvEQc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;" data-pm-slice="0 0 []"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">为了追鱼，我曾经独自下潜到 40 米</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，由于一直在卖力踢水没有回头观察环境，差点与潜伴走丢</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">。</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">另一次是</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">去一个偏远小岛</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">周五下午一下班我就去赶飞机，连夜辗转汽车、飞机，</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">凌晨 2点到达码头时还没开航，只能在码头的长椅上睡了3小时，躺下就立刻进入了深度睡眠， 5点醒来时天蒙蒙亮，开航后上船开</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">到目的地，马上就</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">像打了鸡血一样立刻</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">下水。</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="502321054" data-ratio="0.562962962962963" data-s="300,640" type="block" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=2c950d35&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904FuZuEiaOje1Jibk1OL6kibM9XRG0jFgxXGpUZrTVictw2NMZnAy8I6JW1fyiaupqDz9GbLcqlgY20C308XDNccYcuNbfCUyGJWIXU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;" data-pm-slice="0 0 []"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">主要有四点。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf=""><span textstyle="" style="font-weight: bold;">一是重新体会到放下手机的快乐</span>。潜水的那几天，生活特别规律：早起、出海、上岸、吃饭、睡觉。陆地上的时间好像被暂时忘掉了，每天只剩下身体的疲惫和心里的充实。简单的食物、足够的热量，再加上倒头就睡的好觉，就已经很满足了。</span></span></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf=""><span textstyle="" style="font-weight: bold;">二是心态更平静。</span>水下只能靠手势交流</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">，</span></span><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">潜导喊一声&#34;Go&#34;，海水没过头顶，整个世界像被按了静音键，岸上的一切都被隔在外面。在陆地上，我们几乎意识不到自己在呼吸；到了水下，每一次呼吸声都格外清楚。人会不自觉地慢下来，安安静静地看这个完全不同的世界。在海里，情绪会变得非常舒缓。</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321074" data-ratio="0.562962962962963" data-s="300,640" type="block" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f3c6b3c7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906HyMKjfCuh083VGtV9iaQwWDRdickaoPz4bNIlztSuE6sUNQPEmOTSRq9Sbt67ib49bRvPsCxOtaiaSoL0j1FXcZjALNUF31euibOg%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" data-pm-slice="0 0 []"><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" data-pm-slice="4 4 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;data-tool&#34;:&#34;mdnice编辑器&#34;,&#34;data-website&#34;:&#34;https://www.mdnice.com&#34;,&#34;style&#34;:&#34;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;&#34;,&#34;data-pm-slice&#34;:&#34;0 0 []&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]"><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;" data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;"><span textstyle="" style="font-weight: bold;">三是学会了接受计划之外的事。</span>我是一个典型的 J 人，凡事习惯提前安排好，以前遇到计划外的状况，很容易焦虑。可潜水偏偏是一件没法完全计划的事：天气、海况、能见度，还有能不能遇到想看的鱼，都由不得我。潜得多了，我慢慢学会了允许一切发生，也开始相信，发生的一切</span></span><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">都有意义。</span></span><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">现在回头看自己的职业经历，很多转变也不在计划里，但每一步都算数。</span></span></p><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;"><span textstyle="" style="font-weight: bold;">四是一直保有探索欲。</span>我们每个人都生活在一个巨大的&#34;回音壁&#34;里，身处什么样的环境，很大程度上决定了我们怎么看世界。从第一次去菲律宾潜水，到后来去印尼、帕劳，我看到了不一样的自然风光，也接触到了不同的风土人情</span></span><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">，那是一个个与我生活的地方完全不同的世界</span></span><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;">。我很珍惜自己到现在还想继续往外走、往深处看。</span></span></p></div></div><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p style="text-align:justify;line-height:1.75;margin-top:3pt;margin-bottom:3pt;margin-left:0pt;margin-right:0pt;" data-pm-slice="0 0 []"><span style="font-size:12pt;font-weight:normal;font-style:normal;color:#3E4753;letter-spacing:0pt;mso-font-width:100%;vertical-align:baseline;" data-font-family="default"><span leaf="">不同的是</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">，工作中需要</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">我发起</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">大量沟通</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">，</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">潜水时很安静，话也少。相同的是，都</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">需要勇气和高投入度</span></span><span style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;" data-font-family="default"><span leaf="" style="font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">。</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p style="text-align: justify;line-height: 1.75;margin: 3pt 0pt;" data-pm-slice="0 0 []"><span data-font-family="default"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;word-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;line-height: 1.75;font-size: 12pt;font-weight: normal;font-style: normal;color: rgb(62, 71, 83);letter-spacing: 0pt;vertical-align: baseline;">勇敢尝试，你会爱上水下的世界。</span></span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">jenny-产品策划</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于清华大学，腾讯工作1年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321047" data-ratio="1.3328125" data-s="300,640" type="block" data-type="png" data-w="1280" style="width:226px;height:301px;" src="https://wechat2rss.xlab.app/img-proxy/?k=a2f120af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907Dm8hgZSUnTxseNH1fn6IZ42dZ4UuSgVRDScfgyZPJaNj4yN3bP6ADmASR0CwE8qKXHozzjKQia2zR5icVK4AJfqumT87pU20BQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责云游戏 H5，以及《王者荣耀》精彩时刻相关产品工作。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我天生精力旺盛，是个典型的 E 人。从本科到研究生，实习做的都是产品相关工作，觉得自己挺适合做产品的，就来当产品策划了，哈哈哈。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">攀岩！自从开始攀岩，生活就一直挺“疯狂”的。周末和假期一到，我就往山里冲；出国落地后的第一件事，也常常是往山里冲。比起室内攀岩，我更喜欢野外岩壁。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">从上海出发，经历了约 50 小时的经济舱旅程才抵达秘鲁，又转乘 12 小时大巴前往库斯科。到达后的第一件事，居然是在海拔 4000 米的地方攀岩！（亲测快不行了，可能是一种“回光返照”？）</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321048" data-ratio="1.5" data-s="300,640" type="block" data-type="png" data-w="1080" style="width:363px;height:545px;" src="https://wechat2rss.xlab.app/img-proxy/?k=334007ec&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906evjGLYZFnjkrnJZ7jGp8qgpsl2MUFib5IVRHmxXIwyOS9I8jia2iaAcZ5FbOpxibkHpAB4cJWC5icIWWwX04waHzL4oPvjj9eHqTI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最大的改变，是让我以另一种视角感知“活着”！攀岩对我来说真的是一种哲学。尤其在自然岩壁上，身体承受着挑战，精神却极度专注。我需要一次次评估风险、做出决策，往下一看，又是极致的美景。那种感受让我无比真实地意识到自己正在“活着”。那个当下，只有我、岩壁和风声。面对恐惧时，我反而会突然很清楚，自己究竟是怎样的人。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我觉得基本上一样，哈哈哈！工作中的我看起来有点吊儿郎当，实际上做事非常靠谱；攀岩时的我虽然喜欢开玩笑、满嘴跑火车，但也是安全意识很强的攀岩者和保护员（climber/belayer）。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321067" data-ratio="0.562962962962963" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=24d3bd17&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9050qavU3ic9jukFrmeJ6QqGtM8Wy62Jd2rfeEiatWEHyPDZh5z4lVTaTt4nltSSicVAPGrkicMrtjDZ5dWHSe1RFUBeT5CmBqvHeqc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">不管是工作还是攀岩，我都很爱吐槽。攀岩时还会边爬边念叨：“这是什么难用的点啊！”但真到了需要认真负责的时候，绝不会含糊。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">爬就完事！</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">一斤木-综合项目管理</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于哥伦比亚大学，腾讯工作1年多</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321044" data-ratio="1.3333333333333333" data-s="300,640" type="block" data-type="png" data-w="960" style="width:254px;height:339px;" src="https://wechat2rss.xlab.app/img-proxy/?k=818b0432&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907HHEpWJicmR26Mltqsrg8cGupSMe1Mvic3pYGXOChgyLedG6MXx1naAd9XsRdOTO3zTOp9rLpxDUtYHkyhpzY18EPnU0LUq3ERc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责 IEG 孵化项目的项目管理，以及腾讯游戏学堂部分业务的对外商务合作。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">小时候玩得最多的游戏就是腾讯的产品，比如 DNF、CF、LOL、《QQ 飞车》等。长大以后居然还是一样：《王者荣耀》《和平精英》、“瓦”、《金铲铲之战》……很多现在的朋友，也是通过腾讯游戏认识或者保持联系的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">后来，我恰好在纽约参加了腾讯的宣讲会，感觉这里很有活力，于是来到 IEG 暑期实习。虽然之后辗转去过其他公司，但最后还是觉得腾讯有一种大学般的氛围：有爱、有趣、友善，所以又通过面试回来了。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">爱好挺多的，运动和音乐都喜欢尝试。说两个玩得比较深入的吧。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">第一个是唱歌。</span></strong><span leaf=""> 我学习声乐已经 15 年，曾待过 3 个世界冠军合唱团，登上过世界各地大大小小的舞台。最高光的经历，应该是跟着彩虹合唱团登上 2025 年央视春晚。工作之余，我还会做声乐老师，带带学生。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">第二个是骑行。</span></strong><span leaf=""> 3 年时间里，我骑公路车累计 10000 公里，相当于从企鹅岛到天安门往返两趟。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="502321045" data-ratio="1.5055555555555555" data-s="300,640" type="block" data-type="jpeg" data-w="1080" style="width: 281px;height: 423px;" src="https://wechat2rss.xlab.app/img-proxy/?k=a3d814ee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905Ww3rYmRmMTeRN0K5U2nymx2oo5ezaLkEzJ4qahtYM2cVWOELttwjk4Qq7iblaytzU8wezAf0lib7SN2tGr7Em5ZDzl9tvO4H1Q%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">疯狂的事做过不少。唱歌方面，从上海到深圳工作的这一年多时间里，我基本每隔两周就会在周末飞回上海，只为了坚持排练、争取登台演出的机会。骑行方面，最疯狂的是曾连续一年，基本每周都骑行 100 公里。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两个爱好都让我明白：如果想成长，就应该像游戏策划设计新手关卡一样，把一个大目标巧妙地拆成过程中的小目标，并敏锐地觉察自己完成每个小目标时的进步。比如唱歌，不能一上来就想着怎么把整首“歌”唱好，而是应该先训练身体协调性和声带机能，通过持续训练，一点点积累成长。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321075" data-ratio="0.6666666666666666" data-s="300,640" type="block" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=08181af6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907RRDZsDb9e9mSzAgHguF94uTYoibicQ2OMj3N1dNooYoNlsoL7vHicgunyHySpEp1qQm6XDicG2VTE2RPvzVpCZu0vxOwOeia6PiaO0%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">相同的是，我对细节都很敏感，也会对结果负责。比如唱歌时的气口、转音，骑行时换挡和蹬踏的时机；工作中则会反复检查流程里有没有遗漏关键细节。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">不同的是，唱歌和骑行更多关注自身，而工作需要考虑整个团队和项目，思考自己的处理方式是否足够妥帖。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">公司里对声乐感兴趣，或者想交流学习的小伙伴，可以在 hangjia 平台约我！我来和你一起找到最适合自己的声音和训练方法。</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">苏苏-运营开发</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于中南大学，腾讯工作6年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz905Qmx2Pa6REI1eQJufYvtCgmHmywEtxZ6WYibjRhfsUlhlke7u1PHgKl8G129jhEgEl7ibHxlPW8qibydj7Uv28kuZtWCDAuZaUsg/640?wx_fmt=png&amp;from=appmsg" data-cropx1="0" data-cropx2="1080" data-cropy1="236.99059561128522" data-cropy2="1621.6927899686518" data-imgfileid="502321051" data-ratio="1.2814814814814814" data-s="300,640" type="block" data-type="jpeg" data-w="1080" style="width:292px;height:374px;" src="https://wechat2rss.xlab.app/img-proxy/?k=6de2f1bc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905N05ibOiaYgQ6dkqUxicwjAVYtoBcCswzkMHpibnHibeWRZ0ZopGicc8T8BVTiabslBR49fF2hp7NLmkOgNcuvdbFJwY257icztIIFdUo%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责监控系统告警算法、日志系统前后端开发，以及智能化 Agent Skill、Agent 基础底座的开发。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">高中就开始学习信息学竞赛，那时便觉得编程这件事“手拿把掐”。大三寒假因为疫情待在家里，便广投简历，最后通过学长内推，顺利进入腾讯。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">喜欢冲浪。经常约不到搭子，就自己去玩。有段时间，只要浪况好，我就往西涌、惠州跑，刮风下雨也不碍事。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="502321052" data-ratio="1.506588579795022" data-s="300,640" type="block" data-type="png" data-w="1366" style="width: 339px;height: 511px;" src="https://wechat2rss.xlab.app/img-proxy/?k=c44ddb26&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz90575NFlpvyCbmYsnxG1eJ3Qn2q4x4ASVZia0Cd1iakrsZKOhOD7HQe2qexdTry2Kbia0l21ia7DYJ0ia2ltUyBnqXNV8P7tiahXYMNdM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">有一次从冲浪板上下来时，没注意踢到了海里的树桩，把腿磕破了。但当时浪况实在太好，我犹豫了两秒，还是回头进浪区继续冲浪。后来实在疼得影响体验，才上岸查看，发现小腿已经流了不少血。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">冲浪是一种非常直接的与自然连接的方式。平时太多时间困在城市的钢筋水泥里，身体很需要一片更广阔的空间。冲浪时，可以暂时放下工作中的琐碎与烦恼，只是简单地感受海浪起伏、风吹日晒。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz9068OPM13B09bKzk6UeXAYtNicoqQ0460plaqaq4lIfbUiaibFNWu59Kylymelf1q2LjUcyHyWZpgPgafgm5gKiaWWo81mKoU9qjMg8/0?wx_fmt=png&amp;from=appmsg" data-cropx1="0" data-cropx2="1280" data-cropy1="566.594982078853" data-cropy2="1920" data-imgfileid="502321076" data-ratio="1.0578125" data-s="300,640" type="block" data-type="png" data-w="1280" style="width:328px;height:347px;" src="https://wechat2rss.xlab.app/img-proxy/?k=1ac94c07&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904wa44Wcv2YiaYH5IK2iaYAmj8LUez1kEW7tT19yVQ77wLic75WYpYeKX9XXWQ1ZD55ylTOUxwKs9z6y1EhhrT1ceznVgx8oPibMS4%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">其实没有太大的不同，或许只是同一种思维方式在不同事情上的体现。看浪、抓浪时，需要观察远处海浪的起势和方向，让身体与冲浪板配合，完成划水、起身、调整重心和下浪。这和代码开发很像：需要对手头项目有长远的判断，分清事情的轻重缓急，通过流程和指标观察系统、分析问题，再决定下一步怎么做。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Don&#39;t think, just do.</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">大熊-应用开发</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于汕头大学，腾讯工作15年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321055" data-ratio="0.75" data-s="300,640" type="block" data-type="png" data-w="1080" style="width:378px;height:284px;" src="https://wechat2rss.xlab.app/img-proxy/?k=38e75873&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904NfSAWOhej7M1icWRqV2U3gutMFPlGPI3XhZCHuiahhScENn4wxGibnudar89FWqDPf98GBWibpDzwsohFgfucCb1nzgMciaraxIl8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责公司内部采购平台系统的建设与维护。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我一直觉得，应用系统能让使用它的人更方便、更开心，所以也憧憬着自己有一天能够做出这样的应用或产品。进入腾讯可能运气占了比较大的成分。印象中，当时腾讯刚上市不久，正处于快速扩张阶段。在大学同学的推荐下，我就这样加入了公司。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">喜欢户外徒步，因为简单、容易开展，一个人也能到处走走，不需要明确的目的地。周末还经常会参加一些志愿者活动。倒不一定是觉得自己多么有爱心，有时纯粹是想找点事情做，顺便看看别人是怎么做的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="502321056" data-ratio="0.7092592592592593" data-s="300,640" type="block" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=efc3b7fc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906nPRf254xGJOpLkwiagdEc2ibYnLLI37ujUiannrHbwBaMB5auGAWiam9EAb1cz5iaovHCPWLPia6X7UskOlvyVPQhIcNpLyUfghBeQ%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">徒步方面，一次是 2014 年，在 24 小时内走完深圳百公里；另一次是 2020 年，用一天时间完成冈仁波齐转山，全程 48 公里，海拔从 4600 米爬升到 5600 米。志愿者方面，如果非要说疯狂的事，那就是参加公司的腾格里沙漠植树活动，前后总共去了 10 次，每次利用五一假期的 5 天时间去种梭梭。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最大的改变，可能是变得更能接受孤独和平淡。徒步让我能够安静地完成一件事；参加志愿者活动，则让我看到许多平凡、无奈与无助，也让我明白，生活再普通，还是要继续往前走。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321078" data-ratio="0.75" data-s="300,640" type="block" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=5bc5dc4f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904gBCRODiczsibfHibicPl22jRDnKyAd4riazQ9ZBoJRVjQYQ4QEg1kaHhpjvSNjRAu1icZU9R2pFXL6t5K1YXUyeUIdX6icrFLKsknBk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">徒步和工作不一样。工作需要沟通协作，也需要对结果负责；参加志愿者活动，则在某种程度上补充了这种与人协作的体验。相同的是，无论做什么，要把一件事做好，都需要安静和耐心。而且这两个领域都在不断变化、向前发展。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">比如工作中，AI 的出现让人感叹技术变化之快；志愿者活动里，互联网带来的影响也让我刮目相看。以前去沙漠种树几乎无人问津，后来借助明星和粉丝的带动，竟然变成大家争着参与。有时觉得有点“荒诞”，但从另一个角度看，这也是一种积极的变化。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">徒步可能更多的是孤独，做志愿者可能更多的是平凡。不管怎样，重要的是找到适合自己的生活方式，而不是走别人的路。</span></p><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">宸佚-游戏后台开发</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于重庆师范大学，腾讯工作4年</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz9067jm2fu63b2fVY7hk9Sd7FiaRVianLgm2NIxF0vW165kqapRkRhLWgjJ5VNOD93HI8cSX8pvv5huqGnEn0dL8oIw78EsFPdATb0/640?wx_fmt=png&amp;from=appmsg" data-cropx1="0" data-cropx2="1080" data-cropy1="206.89655172413794" data-cropy2="1622.0689655172414" data-imgfileid="502321042" data-ratio="1.3092592592592593" data-s="300,640" type="block" data-type="png" data-w="1080" style="width:261px;height:342px;" src="https://wechat2rss.xlab.app/img-proxy/?k=6bc9fb36&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907aB3TD0Nd2kSXnmyf3R0sF7wr8OosXdaoUgh9ibfkEiaRcHsz7RMQbed76HSAm9picdtOzqg6s1icKT7Bc3WCuwTGiacamCQhMeymg%2F640%3Fwx_fmt%3Djpeg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责一款全球 IP 的 FPS 游戏后台开发工作。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">高考时选择了计算机专业，恰逢计算机行业蓬勃发展，便决定在这个领域深耕。从小我就是腾讯游戏的忠实玩家，小时候还常常偷偷跑去网吧玩游戏。加上自己很喜欢深圳开放、包容的氛围，所以腾讯一开始就是我的 dream company。为了能够加入梦想中的公司，在读书期间我就积极参加实习、积累经验，最终在毕业秋招时如愿加入了 IEG。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我的兴趣爱好比较广泛，包括摄影、架子鼓、室内设计、旅行、调酒、看演出、主持等。其中，室内设计是小时候看《交换空间》时就埋下的一颗种子。工作这几年，我陆续搬过 7 次家，也改造过很多套房子。每次都按照 dream house 的标准来布置。虽然住的是租来的房子，但还是要好好享受在家的生活。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321043" data-ratio="0.8864059590316573" data-s="300,640" type="block" data-type="png" data-w="1074" src="https://wechat2rss.xlab.app/img-proxy/?k=652fc62c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904Qwl4SQMibqXXR3QNA7gqIur5nhVNvrv4zx7MNgd7T7556JeYYekzxXxCiaIwAVfyiciaTr2EQJePc4J4vqac9Q5gribyNYicCWtkME%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">去年，我把自己改造的一套房子带到公司《新鹅学术酒吧》上分享，大家都很喜欢。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">5、这个兴趣爱好给你带来的最大改变是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">通过自己改造的房子，我认识了很多同样喜欢室内设计的朋友。后来又在家里举办过多次 home bar 活动，认识了更多公司里优秀的小伙伴。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321079" data-ratio="1.4583333333333333" data-s="300,640" type="block" data-type="png" data-w="1008" src="https://wechat2rss.xlab.app/img-proxy/?k=c7034644&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz90707PqgEHGibichaDnic7RbBVvgib3icBqvDicIpQXIcZJlXqh2xguQiblUHWuN7qU1Z7b08E69YicZfVa8jLdXPUd4iciaQVHnGSS4bcEYU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">工作中更强调严谨和专业，投入兴趣爱好时则更注重感受、创作和表达，所以两种状态还是很不一样的。但也有共同点：工作和爱好都需要投入，往往投入越多，收获也越大。兴趣和热情，在两者之中都特别重要。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">家永远是最舒适、最有安全感的地方。花一点时间和精力，打造属于自己的完美小窝，是一件回报非常高的事情。</span></p></div><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><h4 data-tool="mdnice编辑器" style="padding: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin: 10px 0px;text-align: center;"><span leaf="" style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span textstyle="" style="color: rgb(255, 76, 65);">左一-游戏工作室项目管理</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 14px;color: rgb(136, 136, 136);">毕业于西安交通大学，腾讯工作10年</span></span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321084" data-ratio="0.75" data-s="300,640" type="block" data-type="jpeg" data-w="1280" style="width:395px;height:296px;" src="https://wechat2rss.xlab.app/img-proxy/?k=5466144c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905hjKxgd8GicibahuPicUSibcEoxqrLsNQWbj9DM8v5quVEB68unjXyBgjdpdRweWQAVwia7ibGweJEp7H5KcJ0UqibDxDgeCxl7QN0M8%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">1、具体负责哪些工作？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">负责游戏版本的制作管理，包括范围划定、进度管理和风险管理等。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">2、当初为什么选择现在的职业？又是如何进入腾讯的？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最初我是以技术暑期实习生的身份加入腾讯的，因为大学读的是编程相关专业。但很快就发现，技术工作并不太适合自己，于是转岗做游戏运营，后来又转向了项目管理。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">3、你最突出的兴趣爱好是什么？投入到了什么程度？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">喜欢看书，平均每月读一本，在微信读书上已经累计阅读了 1000 小时。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">4、因为这个爱好，你做过最疯狂的一件事是什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">好像没有什么特别疯狂的事，更多的是坚持吧。这个习惯已经保持了五年多。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321041" data-ratio="0.6859375" width="604.733" data-type="jpeg" data-w="1280" height="414.938" style="margin-left: 0px;margin-top: 0px;width: 604.733px;height: 414.938px;" src="https://wechat2rss.xlab.app/img-proxy/?k=0354e7c3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906bMUVeb8ib2gGpN8XRs5h1avokdpYBbr9VjoQDomFWicmYXCQnPOhkQGF5qiaYCc577up5ic1mWp1udEudfnbKutmk7GGRmZgQA68%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf=""><span textstyle="" style="font-weight: bold;">5、这个兴趣爱好给你带来的最大改变是什么？</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">读书让我学到了很多知识，心智也变得更加成熟。同时，越读越觉得学海无涯，所以还去读了在职研究生，希望不断提升自己。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">6、工作中的你和投入兴趣爱好时的你，有哪些不同和相似之处？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">看书可以涉猎得很广，各个领域的书都愿意读；工作则相对专精。两者的共同点是，都需要专注。</span></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502321080" data-ratio="0.6666666666666666" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=4b21c351&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907FHjuiavlHxiaXNS3bK09JAGp7vhhpyVzPkMPEc3P5Dh9C2iaEl0duusjXIRP2RrtxPicgMcOZXGWcXzfFy3ibW92iaHRCbmmxLC4QI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">7、你想对其他想尝试这个爱好的人说些什么？</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">旅行和读书（学习），都是能够快速帮助自己增长见识的方式。</span></p><p data-start="198" data-end="231" style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 8px 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;background-color: rgb(255, 255, 255);color: rgb(62, 71, 83);line-height: 1.75;" data-pm-slice="0 0 []"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);font-weight: bold;">欢迎在评论区分享你的兴趣爱好</span></span></p><p data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 8px 0px;outline: 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;background-color: rgb(255, 255, 255);color: rgb(62, 71, 83);line-height: 1.75;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);word-break: break-word;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;color: rgb(62, 71, 83);line-height: 1.75;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">让我们一起发</span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);word-break: break-word;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;color: rgb(62, 71, 83);line-height: 1.75;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">现更多有趣的灵魂！</span></p><p data-pm-slice="0 0 []" style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 8px 0px;outline: 0px;max-width: 100%;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;background-color: rgb(255, 255, 255);color: rgb(62, 71, 83);line-height: 1.75;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span leaf="">预祝大家1024快乐！</span></p><p data-start="198" data-end="231" style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 8px 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;background-color: rgb(255, 255, 255);color: rgb(62, 71, 83);line-height: 1.75;"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">🎁关注公众号并且后台回复<span textstyle="" style="font-weight: bold;">【1024】</span></span></p><p nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="2" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p data-start="198" data-end="231" style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 8px 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;background-color: rgb(255, 255, 255);color: rgb(62, 71, 83);line-height: 1.75;"><span style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;color: rgb(255, 104, 39);"><strong style="-webkit-tap-highlight-color: transparent;margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);">我们将抽取 10</span></span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);word-break: break-word;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;line-height: 1.75;color: rgb(255, 104, 39);font-weight: bold;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);">0</span></span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);word-break: break-word;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;line-height: 1.75;color: rgb(255, 104, 39);font-weight: bold;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);">位 粉</span></span><span leaf="" style="background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);word-break: break-word;clear: both;min-height: 1em;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-indent: 0em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-family: &#34;Helvetica Neue&#34;, Helvetica, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei&#34;, Arial;font-size: 16px;letter-spacing: normal;text-align: center;line-height: 1.75;color: rgb(255, 104, 39);font-weight: bold;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);">丝，</span></span><span leaf="" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);margin: 0px;padding: 0px;outline: 0px;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span textstyle="" style="color: rgb(0, 82, 255);">各送出100Q币一张</span></span></strong></span></p><p nodeleaf=""><mp-common-miniprogram class="js_uneditable custom_select_card mp_miniprogram_iframe" data-pluginname="insertminiprogram" data-miniprogram-path="pages/index?id=8Xs85TgOWph" data-miniprogram-nickname="抽奖助手" data-miniprogram-avatar="http://mmbiz.qpic.cn/mmbiz_png/Vdys2e8jP1l1clbflznHYO7IRflCZWjPfD4NMn1Xqgr5gZbBy1qVc12cGVG1whLTXiafBT7kiaWRl38HCbqLnRzw/640?wx_fmt=png&amp;wxfrom=200" data-miniprogram-title="抽奖" data-miniprogram-imageurl="http://mmbiz.qpic.cn/mmbiz_jpg/KVER9adz90535RxvlVqEjRL8aibPKiaf0LxiaIJEoYITm2u3A9md6FWGnOB1gmSZ60onMu8tpxtZFj9mA7P1pB60icRgIO4rmp56pLrWDdWGViaY/0?wx_fmt=jpeg" data-miniprogram-type="card" data-miniprogram-servicetype="0" data-miniprogram-appid="wx01bb1ef166cd3f4e" data-miniprogram-applink="#小程序://抽奖/K6osc61kIkLizVj" data-miniprogram-imageurlback="http%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904E1qDge6cK89AYaiaQvBuclJSIArARFAolutribJvSxaPfeoOPy3YJPyyDSXcKicWKTiaKzCV7vHHZicLibzpicQ7w3VTWSQpRW5T3U8%2F0%3Fwx_fmt%3Djpeg" data-miniprogram-cropperinfo="%7B%22c%22%3A%7B%22x%22%3A0%2C%22y%22%3A14%2C%22x2%22%3A245%2C%22y2%22%3A210%2C%22w%22%3A245%2C%22h%22%3A196%7D%7D"></mp-common-miniprogram></p></div><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=155f6eb5&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804818%26idx%3D1%26sn%3D586605bd73d8e757fee932a5da596e9d">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 23 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>AI是什么？？？？？？</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804737&amp;idx=1&amp;sn=7b5f01ec5dc56913b0097ebec55e333a</link>
      <description>文末有礼</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-21 17:29</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=bdeed1e7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9070274FRq6iaJicEayP8bl4icibXAxv4Dtaekqp3vtiasiaWIQDZ8EcDHVlWRojOKU6truuhIicyk0FCMzKdQ4wCphWeRCicicTho8eWhWg%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>文末有礼</p>
  <div name="preview-1" style="-webkit-touch-callout:none;user-select:text;overflow: hidden;text-align: center;line-height: 0;" copyright="腾讯开发者&amp;JZCreative 版权所有 禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" wechat="Zhuoya_Work"><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=dd4c72be&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM7XxXSF1LibfowAggkVTRribF3kKaStZnZ6UBoHrRvIu4zdNKeyvElJrSguvsw0pIouzMiauo1TIiaFBCP6zNlWQDApqzceJhgicDO3pNMFicWicSuPA%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=7adeb722&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM6R5nNXRUBHib4f8xQxzgCibzsxsiapNUnbsSgMQVO8a58X5wKVxIlab283lticNmlSfia1UbTUqHT5MibJS970MhooW7kCbySBHe6d2BN1kHWM7DBg%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=feb5ec43&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM610loK4roZialP8npxwzwzFsEjPT7tDNzQ2Yl0nWEbhPVZuKhWlQWkEYib4FV9HFsSgxfSD1xPJicwceC64PdaSzbAH2AwicH38mcQr8G3kJQt3Q%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=5d9438b5&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM7JYvIUxEzNlGZCf2BFAaWtcILSLqUtu93rtkXsWohFIwNtAiciaYepO2HGVGVmVTObeggAJQy2eplFZul3ibOicIibibr3HG7mXHQvdajLr08QU7DA%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=c416d4a9&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM4z5Ogb2F5yJycOEbkyxUheem75HZQTlZiaA42AMR2CpECUhzLUne8JjO05ibCtFsibJrRCAmrlVTecqWUcO5OhLAzKX780KGBWWFTnB9jiaialRsg%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><p style="text-align: center;height: 0;line-height: 0;width: 100%;margin: 0px auto;overflow: visible;margin-top: 0px;" powered-by="e2.cool" label="404.tech_svg_E2编辑器_零高容器" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究"><svg label="本条SVG交互设计遵循融媒体技术标准T/CASME 1609—2024 执行并受其质量认证与知识产权保护" powered-by="e2.cool" copyright="E2.COOL 新媒体编辑器版权所有 模板禁止任何个人、机构、第三方编辑器出于商业目的案例化引用和复用以及二次模板化行为 违者必究" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=74296e25&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fmmecoa_svg%2FQ3auHgzwzM5WjibaKlPx3jE8kRZS0yibgIsIQfwvq4ibpxicKj9c1PFMznbZ73vkMZeAqjeJeeWt90M9FdmHILiaPELcLlpIW8XSoVVZ9eGIwQFnJibGF9czPnKQ%2F640%3Fwx_fmt%3Dsvg&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;transform:scale(1);margin-top: 0px;" viewBox="0 0 270 10255.75"></svg></p><svg label="404.tech_svg_E2编辑器_自动出现" powered-by="e2.cool" viewBox="0 0 1080 1440" style="display: block;margin-top:-1px;transform:scale(1);pointer-events:none;"><rect width="1080" height="1440" fill="#080B10"></rect><g transform="translate(-2160, 0)" opacity="0"><animate attributeName="opacity" values="0;1" begin="261s" dur="1s" fill="freeze" restart="never"></animate><foreignObject width="1080" height="1440"><svg name="fade-in-auto" style="background-image: url(&#34;https://wechat2rss.xlab.app/img-proxy/?k=4bdbb48a&amp;u=https%3A%2F%2Fmmecoa.qpic.cn%2Fsz_mmecoa_png%2F71l2J3h4wyg7t7kRicQibicYhTNXIqct4XkGib2icGajUUZnGBRLFhoRfknOWKsYbGVdRdBtz3r7rucbuomgwJrPWQa29svbVXOFy4RLzx6BOzyk%2F640%3Fwx_fmt%3Dpng&#34;);background-size: 100%;background-repeat: no-repeat;display: block;line-height: 0;opacity: 1;" viewBox="0 0 1080 1440"></svg></foreignObject><animateTransform attributeName="transform" type="translate" values="-2160 0;0 0" begin="261s" dur="0.001s" restart="never" calcMode="discrete" fill="freeze"></animateTransform></g></svg></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=62f58256&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804737%26idx%3D1%26sn%3D7b5f01ec5dc56913b0097ebec55e333a">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 21 Oct 2026 17:29:00 +0800</pubDate>
    </item>
    <item>
      <title>从0到1打造AI电影！基于WorkRally的创作实践</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804711&amp;idx=1&amp;sn=1add203ae7aaa06235a346eb6ee940e2</link>
      <description>1个人10晚用WorkRally做了部电影AI漫剧</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-20 17:48</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=a45f3ae3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907D6Hibk2icLMRHiaG1YGwJPQfKK7DlibhicZ23VGMicIvMyrHKtJKstBzCIY0N15GvSxw3QxCMWgcHgIyib3CmTPuibt3nzK1kRFlt1d8%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>1个人10晚用WorkRally做了部电影AI漫剧</p>
  <p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" style="width: 100%;" type="block" data-backw="578" data-backh="188" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><h1 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" data-pm-slice="0 0 []"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">作者：hangyh</span></h1><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1个人</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">10晚用WorkR</span><span leaf="">ally做了部电影AI漫剧【龙舟】，本文将全面分享电影AI漫剧【龙舟】的【AI制作技术全流程】，借助AI完成一场和老同学最后的告别吧。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">突然收到了老同学去世的消息，几周前还在和他聊下次来北京或者回老家要吃饭好好聚聚，连一句再见都没来得及说。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">想起上学一起参加学校比赛，我们说活着这一世，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">要给这个世界留下点什么自己存在过的痕迹</span></strong><span leaf="">，于是创作了这部电影AI漫剧【龙舟】，参加了【PCG·AI漫剧主题赛】，拿到 🏆【亚军】。</span></p><p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="425" data-backw="566" data-imgfileid="502320930" data-ratio="0.7508833922261484" data-s="300,640" type="block" data-type="png" data-w="566" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=81a1dcda&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905d5Fia8TSf9ic6icbGduibquGCs8UwfzibOR6jnRiaHNouUYyGumxrDRT44cv4yESibkfqiat1BXJHeykonNdo3EaNcDYnsZev9SjA1xc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1个人10晚用【WorkRally 我可接力】做了部电影AI漫剧【龙舟】，本文将全面分享电影AI漫剧【龙舟】的AI制作技术全流程，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">借助AI完成一场和老同学最后的告别吧。</span></strong></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf=""> 90s高燃预告 - 电影AI漫剧【龙舟】 </span></h2><p nodeleaf="" style="text-align: justify;"></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf=""> 全片 - 电影AI漫剧【龙舟】 </span></h2><p nodeleaf="" style="text-align: justify;"></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">海报 - 电影AI漫剧【龙舟】 </span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="龙舟海报" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320850" data-ratio="0.5622222222222222" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=7e5d0da2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905ibMWGDM0YlyVxdT6QBPHcTqAWgp9I9HtePB9LG3U09DUib6d9UiavDeiaaBcehREY14exXuBAaNOSA6swZchkiaIRibicydOdiaRPRCM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">【龙舟】AI原创主题曲</span></h2><p nodeleaf="" style="text-align: justify;"><p></p></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">👗 女声版：<a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=pgrli4q8Mmhf" textvalue="QQ音乐链接" data-itemshowtype="0" linktype="text" data-linktype="2">QQ音乐链接</a></span></strong></p><p nodeleaf="" style="text-align: justify;"><p></p></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">😄 童声版：<a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=Qn4vAWq8M1qG" textvalue="QQ音乐链接" data-itemshowtype="0" linktype="text" data-linktype="2"><span textstyle="" style="font-weight: bold;">QQ音乐</span></a></span></strong><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]"><a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=Qn4vAWq8M1qG" textvalue="QQ音乐链接" data-itemshowtype="0" linktype="text" data-linktype="2"><span textstyle="" style="font-weight: bold;">链接</span></a></span></p><p nodeleaf="" style="text-align: justify;"><p></p></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">🎩 男声版：<a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=OGC5ENq8MU1i" textvalue="QQ音乐链接" data-itemshowtype="0" linktype="text" data-linktype="2"><span textstyle="" style="font-weight: bold;">QQ音乐</span></a></span></strong><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;style&#34;:&#34;font-family: -apple-system, BlinkMacSystemFont, \&#34;Helvetica Neue\&#34;, PingFangSC, \&#34;Microsoft YaHei\&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]"><a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=OGC5ENq8MU1i" textvalue="QQ音乐链接" data-itemshowtype="0" linktype="text" data-linktype="2"><span textstyle="" style="font-weight: bold;">链接</span></a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=83vheQMJMHfG" textvalue="QQ音乐 - 龙舟电影原声带 - 专辑" data-itemshowtype="0" linktype="text" data-linktype="2">QQ音乐 - 龙舟电影原声带 - 专辑</a></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="龙舟电影原声带" class="rich_pages wxw-img" data-ratio="1.1121323529411764" data-type="jpeg" data-w="544" style="max-width: 100%;display: block;margin: 16px auto;border-radius: 4px;width: 100%;" data-backw="301" data-backh="335" data-imgfileid="502320848" src="https://wechat2rss.xlab.app/img-proxy/?k=90cc047a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907HM60tPBWF6ocTT68cwoxAtgIl3wiciaVlicHgjw5W2ialPVpvFcCQxhS6gDuFJ8JaibBDCR2DKrpxyRXFkpZn9wtoS5XwFFkPxcicw%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/><img data-aistatus="1" alt="QQ音乐专辑页面" class="rich_pages wxw-img" data-ratio="1.8835164835164835" data-type="jpeg" data-w="455" style="max-width: 100%;display: block;margin: 16px auto;border-radius: 4px;width: 100%;" data-backw="227" data-backh="428" data-imgfileid="502320847" src="https://wechat2rss.xlab.app/img-proxy/?k=f888926f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907WxFTyia8NwPHwKwPQkdMzaSWuLJqIhXXVOYYicITNVtQBMzRCP1jvZENh0Fia1kwt5whx1OmPZdatAZCo6MEMuBUQo8icc2vTQlo%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">更多6首原创【AI配乐】可在<a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=83vheQMJMHfG" textvalue="QQ音乐" data-itemshowtype="0" linktype="text" data-linktype="2">QQ音乐</a>上听。</span></strong></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">混元3D - 【龙舟】游戏场景AI生成 </span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">将【龙舟】电影中的教室场景设定图给到【混元3D世界模型】一键生成游戏场景建模，甚至可以在里面行走游玩。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="教室场景设定图" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320854" data-ratio="0.5622222222222222" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=c8a289ed&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905ZSR6JnN5nTyJGtDqGDficIjp8AiaV7FibqlgRWaicIkYR1ibiajDc9x0t6vZBaSBxmeQOmwsugFFt24ehSVYL0cRRds43AV2OocicibE%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p nodeleaf="" style="text-align: justify;"></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf=""> AI创作全流程 </span></h2><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 502.425px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">创作环节</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">使用工具</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">剧本创作</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">混元</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">人物文字设定</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">混元</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">人物画面设定</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">WorkRally 我可接力、Venus、即梦</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">场景与道具画面设定</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">WorkRally 我可接力、混元、即梦</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">分镜画面生成</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">WorkRally 我可接力</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">动画与音效</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">WorkRally 我可接力</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">配乐</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">Suno</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">游戏场景搭建</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">混元3D世界模型</span></p></td></tr></tbody></table><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">1. AI辅助剧本创作</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">整体剧本用</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">混元写了个大概，然后人工强参与改了3个晚上</span></strong><span leaf="">，一开始有些想法放进来发现有</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">些冗余，定</span><span leaf="">了剧本故事在做的时候也会发现很多不合理的地方，就一边做一边改，到最后几天剧本故事其实也是一直在微调，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">AI能给的是一个格式很好的基础剧本，但是亮点和逻辑细节还是需要人工自己的想法调整</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: left;"><span leaf="">【龙舟】详细剧本👇</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;"><a class="normal_text_link" target="_blank" style="border-color: rgb(227, 230, 235);border-style: solid;border-width: 0px;box-sizing: border-box;color: rgb(0, 82, 217);text-decoration: none;font-family: system-ui, -apple-system, system-ui, &#34;segoe ui&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;PingFang SC&#34;, &#34;Microsoft Yahei&#34;, sans-serif, &#34;apple color emoji&#34;, &#34;segoe ui emoji&#34;, &#34;segoe ui symbol&#34;;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: pre-wrap;background-color: rgb(255, 255, 255);" href="https://docs.qq.com/doc/DQ0FzU0tQVm9QRmRv" textvalue="" linktype="text" data-linktype="2"><a href="https://docs.qq.com/doc/DQ0FzU0tQVm9QRmRv" target="_blank">https://docs.qq.com/doc/DQ0FzU0tQVm9QRmRv</a></a></span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2. AI文字设定脚本</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里主要让元宝根据剧本给了我一些人物文字设定和人物关系图，方便后面的人物画面AI生成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: left;"><span leaf="">【龙舟】详细设定脚本档案👇<a class="normal_text_link" target="_blank" style="border-color: rgb(227, 230, 235);border-style: solid;border-width: 0px;box-sizing: border-box;color: rgb(0, 82, 217);text-decoration: none;font-family: system-ui, -apple-system, system-ui, &#34;segoe ui&#34;, &#34;Helvetica Neue&#34;, Helvetica, Arial, &#34;PingFang SC&#34;, &#34;Microsoft Yahei&#34;, sans-serif, &#34;apple color emoji&#34;, &#34;segoe ui emoji&#34;, &#34;segoe ui symbol&#34;;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: pre-wrap;background-color: rgb(255, 255, 255);" href="https://docs.qq.com/doc/DQ1Bha2NMUEtORXh1" textvalue="" linktype="text" data-linktype="2"><a href="https://docs.qq.com/doc/DQ1Bha2NMUEtORXh1" target="_blank">https://docs.qq.com/doc/DQ1Bha2NMUEtORXh1</a></a></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里是直接将剧本整理成文档发给元宝，让整理出剧本中的人物设定脚本方便下一步的角色形象生成，这方面的需求元宝的表现很好，在剧本确定的情况下，不但</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">给了我角色的详细人物小传，还自动补充了人物关系图，人物视觉倾向，人物心理弧光，以及人物表演建议</span></strong><span leaf="">，这些细节可以更好的帮助理清整个故事逻辑。</span></p><p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320946" data-ratio="0.7509259259259259" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=58964e65&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904hN7h5aSBIqiapSsdreNxcfwM81BVysxHvApOhsmX9UPJLI9DCicvvians3sdCvL1VzKOEhniaGLtBhQGJZiczbuicB2q17el61YYG0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""> 人物关系图谱</span></strong></p><p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="330" data-backw="578" data-imgfileid="502321019" data-ratio="0.5710843373493976" data-s="300,640" type="block" data-type="png" data-w="1660" style="width: 100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=89dc5c87&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904s5DibbASCak7kbvbxSUsDJTQGyzq9EPgxZvJR7FtGDrAvXyL18ZMibhPFyOSdM4S4suMdFQic1KUM9zKm8wicIRANy7bbia0ZUbpA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其他详细的部分放到了文档链接里，想仔细看的话可以直接访问链接。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">整体上看来，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">混元能够通过上传的剧本文件，比较好的归纳总结剧本的人物关系，并根据剧本内容给出画面的风格设计建议与比较生动的人物小传</span></strong><span leaf="">，这里我是挑选了一些比较符合自己想法的设定开始了人物的下一步画面设计生成。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">3. AI人物、场景、道具画面生成</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接下来我这先定的是人物角色卡，结合混元给到的人物小传建议，并自己的人工二次加工，开始确认每个角色长什么样子，穿什么服装。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">画面风格上这里选择了3D动画电影的风格，场景上主要想贴合真实的童年回忆，所以会比较写实。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">AI工具上主要是在WorkRally的无限画布中进行</span></strong><span leaf="">，做的时候是4月份，刚好GPT-image2开始火起来，刚好看到</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">司内的Venus平台接入了GPT-image2的接口，就结合着用了下</span></strong><span leaf="">。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3.1 AI参考搜索与画面风格确定</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">设定的画面参考利用了元宝的检索和画面生成功能，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">让元宝直接帮我搜索了很多05年左右的乡村稻田参考图、人物参考图</span></strong><span leaf="">，并结合着来生成人物与场景的设定画面。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-庄稼" class="rich_pages wxw-img" data-ratio="0.17530864197530865" data-type="jpeg" data-w="405" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320853" src="https://wechat2rss.xlab.app/img-proxy/?k=51b714ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904sCdoM1ooUTonBF2vWdt6VPkRczAa8kUPF7oE4BMJDBnjmvRmkB0Z4ysgh9T3aaNgAXsp8KKoXSVkygqvvpm7d95NP8WqrG2k%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="元宝检索-庄稼答案" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320855" data-ratio="0.8444444444444444" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=053d3c9c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907p5SU7NoJD0n0ZVoqHeAqRk5DL81BtIa5KdRUKmyc1SOWGVE3qMqI6ZNubfoLjYhPcdVpqtMlMM0YlQb4BCkSwtJRZndu8xl8%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-稻田" class="rich_pages wxw-img" data-ratio="0.1807511737089202" data-type="jpeg" data-w="426" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320852" src="https://wechat2rss.xlab.app/img-proxy/?k=95870585&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9076GK0dxnFBm8dRNZ8I8VdyZtiaHKMCHBxzaISZyWrUkcvxYcNwkRRmjbwFTWCKq8xFXEbicv0nArzcC4QUx3NnCzLcibvtbA7V0w%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-稻田答案" class="rich_pages wxw-img" data-ratio="0.7022222222222222" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320856" src="https://wechat2rss.xlab.app/img-proxy/?k=f89e3d86&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905hCnpS3Lc1H0Ax08vb7g4ia6tFok60s0UVYian0DfvUY1mGUTvTqKC0ly8iaiajCqBRwtsneCwibII9vIrZ0OdwwQSp0XhPDAHuic78%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-梯田" class="rich_pages wxw-img" data-ratio="0.17647058823529413" data-type="jpeg" data-w="510" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320858" src="https://wechat2rss.xlab.app/img-proxy/?k=a0063af0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905FKbzEKOWqLjkOuwqvhh5eubyBgxffuauMngZMOI7fuiaaN0X3n1wbTjFk0wS5C5Xh8Yib3KrNOphbJhAoysklE30qCekdrE2p8%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-梯田答案" class="rich_pages wxw-img" data-ratio="1.028888888888889" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320861" src="https://wechat2rss.xlab.app/img-proxy/?k=441f2bdc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9077U7ehyb7xYduiam3OcLJ5Z37BVyNH8Z9IzXpEwxE9HXtwtZKav7vWoeicmxSNdJgzWQjlgoJbhxuG45wTesFO6UuD34WibCPTyk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-收早稻" class="rich_pages wxw-img" data-ratio="0.20308483290488433" data-type="jpeg" data-w="389" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320857" src="https://wechat2rss.xlab.app/img-proxy/?k=68898b31&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz90671ISBiaypLDUiaP6YJIT45UpDG5uWnU1fmJrKFyKAtrBappYibiaL3oh8CcZygWjCsplT4WP2CscHGsT9MKU4eicHSJ0JQxlYu8DM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝检索-收早稻答案" class="rich_pages wxw-img" data-ratio="0.4444444444444444" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320859" src="https://wechat2rss.xlab.app/img-proxy/?k=eb8a49ba&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907396ds9aoH74xIQkgh1Gzs8Uh2C1wfKvcibbuLpHT4d6Jeicou2XH7yoCUic4sw7ubSFKfw8ibMoKPq6OQNA3kRicWNJ5p0Se7FibTA%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="元宝检索-梯田参考图" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320860" data-ratio="0.9340044742729307" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="894" src="https://wechat2rss.xlab.app/img-proxy/?k=fc62381a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907RWJvAiapSXVicZesDJlVSw7E7BiaEa7Pic0NflNSHNw8FGApGib16SDcibgulE23z7svtUXYSGI1MNYiahVicnC5t4nSIfqibTD6iclQZI%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="元宝检索-收稻人物参考图" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320862" data-ratio="0.33" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=7f2decbc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905wc5icAPZOcprt7LSRUnGklicvYvvATA8KlTHORJBWEnqNtYQejoTkTpWzEkBgGZ2FqNlv0l6EblHar1kJnTS4HgGah7ibjcpvpM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">搜索这些参考图主要是不想有基本的常识错误</span></strong><span leaf="">，比如6月的南方乡村的农作物长什么样子，稻田的颜色该是绿色还是黄色，人物和稻子的比例等等，为之后的人物设定图和场景道具设定图生成提供正确的细节方向。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">风格上，选取了3D动画风格。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;" data-pm-slice="0 0 []"><span leaf="">3.2 人物角色画面AI生成</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接下来就开始生成人物角色画面设定，工具上使用了<a class="normal_text_link" target="_blank" style="" href="https://workrally.qq.com/" textvalue="WorkRally" data-itemshowtype="0" linktype="text" data-linktype="2">WorkRally </a>我可接力、三谦（image2）等回切换。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="角色三视图全家福" class="rich_pages wxw-img" data-ratio="0.74" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320871" src="https://wechat2rss.xlab.app/img-proxy/?k=11c097a9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907zARdAicDIm5UTyqyBlpWGnlPeiaHmq7bdk00Yst8YhqXCL32RCKc7FXOibuxpqAgibrNMiciaN0AEP56b4oqKZEk1ibvMEtlpu0DXyc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5472222222222223" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="502320948" src="https://wechat2rss.xlab.app/img-proxy/?k=eba4df53&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907u8Qf2IXmEicsPgMls9eb8xy2QK53OOmiaTpEndOnhCSzhB0DcZDjjkiaBFdhRZCaIhd08bfOZEFo4HSbTJiacC8pg9M9bHt0puPo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">选好了基础的正面形象设定后，让AI继续生成人物的三视图备用</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="小航三视图1" class="rich_pages wxw-img" data-ratio="0.6633333333333333" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320869" src="https://wechat2rss.xlab.app/img-proxy/?k=4832f6a1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905iag9A6MDTGFblwJkEibI28LyP21icleoL9BxbYWUMEKP8Or1yJXM6NHz8lf46838aylypmD7lNwoJrEA90PaFqtbbn6LfG3824Q%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="小航三视图2" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320870" data-ratio="0.6444444444444445" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=33bed0e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9073M7mcGv3bBFRYonH8Gvu69N6tktMNYaRbzrw2s5HWRyoSS8xJicUDOtc4Hoc2MRjNib6lsbFnuOEmcLPiaeGYMxehhUy7nlsB0c%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf=""><img alt="场景设定1" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320872" data-ratio="0.5811111111111111" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=dfd75547&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906iao21w74oWKvetIwzSfmSibuFdpoGAFLMnO6tFEyMXicRYr42ibA6Lc4DrRBTo6AGEdEUkaIOlM0oBTwt90jNcIVJHbaHN5UtTjc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></h4><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">3.3 场景画面AI生成</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">场景画面主要想还原05年的真实乡村场景质感，刚好4月GPT出了image2，很多人用image2输出千禧年的照片图，看着就真的像是老照片，也它生成了很多场景设定图。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定2" class="rich_pages wxw-img" data-ratio="0.5822222222222222" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320868" src="https://wechat2rss.xlab.app/img-proxy/?k=bce17b75&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904DhicFlVe3LBxjBVVDiaq8BeupkHDnWcricIOTjwMYNtyJvoZsMy2Eo3dmturib1qFhicrbrue339NXBkwicYpUMhpc4aib0xI5wduEk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定3" class="rich_pages wxw-img" data-ratio="0.5388888888888889" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320873" src="https://wechat2rss.xlab.app/img-proxy/?k=ea9266bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906PFd1ejEjbo7oAcYSDStqukyYQQRxvmVC2ViawhWWPSFiaUR2p1DUVaiclcRhuHtC8PVOBianMQkBmSRygsTE7tiaI98d2e4nrnctk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定4" class="rich_pages wxw-img" data-ratio="0.5077777777777778" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320876" src="https://wechat2rss.xlab.app/img-proxy/?k=068b610c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz90757ztmAueI9fqiabUBvHdbTg51fIicH8MC1kXzH0gicSBbsXZfQEBjLb5LuoM0pcfQnIkBgq9dx8Jcszic7KBV1ySFjibOxcyjntM8%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定5" class="rich_pages wxw-img" data-ratio="0.5888888888888889" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320874" src="https://wechat2rss.xlab.app/img-proxy/?k=3d6002b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905W5DP95wnP0KzLciaWhptRUZiaZicxwkoZedibdj1jQzyyzibZkK7F3TX4niatEYpAHCw0TibBvzz5Bic1SX2wkFF1kZXnoxgFserqAwk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定6" class="rich_pages wxw-img" data-ratio="0.5188888888888888" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320875" src="https://wechat2rss.xlab.app/img-proxy/?k=0e65ac78&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906mTwjqV6DnQy9wVAsHAMnG1h8kbzXUQbsCicQiahE1PRTGnzIicLHa5A52XPvDu874QeIj4p5GAy938lFcC9xDMqSxVJrLzeLPCw%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定7" class="rich_pages wxw-img" data-ratio="0.5188888888888888" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320877" src="https://wechat2rss.xlab.app/img-proxy/?k=827e149f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907FicUtoicKOqL0qOZYpU825OqEic8VeRu3Jn1H5aI3Dg0icLLAURzRenM7vagbaemmPlJZzQEIKmNqPW2mDP4v3hg8ndt98gw0YdE%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定8" class="rich_pages wxw-img" data-ratio="0.5466666666666666" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320879" src="https://wechat2rss.xlab.app/img-proxy/?k=25ea66ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9064pyuEIicCibe16Pd3HBSaa3GVF9GQ9zR4icMlJWNkuMia7fkj9Asbmcxl5MY1ic7zibl7IQSTslCibfh0vkhzrwlllDlHNcmcaib8bXI%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="场景设定9" class="rich_pages wxw-img" data-ratio="0.53" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320878" src="https://wechat2rss.xlab.app/img-proxy/?k=ae5dc2c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904b1NMWROOMOmc2T9GO2MoicWlgLtAYqRUvByAkLjZuMvMTlhFU02MkOq77O8SiaqCYVzOxJ2Se3W6bIVCWFEROy8rTFU4tv9P2k%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="场景设定10" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320880" data-ratio="0.6077777777777778" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=d1c1048b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9071J0TYQA842ic8rUquoD2pNQxiaOeYy11ZuOH9sicwViaf1VNzHJc4L53n5Jq4374smDUKpyxGGbibTKgS2VViazgS9BZt0Wib0l9EmE%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;" data-pm-slice="0 0 []"><span leaf="">3.4 道具画面AI生成</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">龙舟剧本中比较重要的道具就是两个孩子做的手工龙舟，这里用元宝设计了很多平面的手工龙舟设定，然后用Nano Banana Pro转换成3D风格。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝-平面手工龙舟设定" class="rich_pages wxw-img" data-ratio="0.2388888888888889" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320881" src="https://wechat2rss.xlab.app/img-proxy/?k=fa380ab6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907oCctFLd2EPGe4aZVfaBR6pmetu2icOqgnPbaz26bZtoLfjiaOQjD4V4B3z0eaprOEq0LRkw86jc6f4UjiceZicoTHmUJV2v4tqbA%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="元宝-平面手工龙舟设定2" class="rich_pages wxw-img" data-ratio="0.5266666666666666" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320884" src="https://wechat2rss.xlab.app/img-proxy/?k=b896d992&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906QbgutyC3BCiaeqdogYSLNcsV6kAqNGENIjFqnFibLE87cgForTOWKbR8jBbicjqnxQx5mH2mV8W5G5WIzaKXgIKvJowqYV8PwQ4%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Nano Banana Pro-3D龙舟1" class="rich_pages wxw-img" data-ratio="0.5133333333333333" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320882" src="https://wechat2rss.xlab.app/img-proxy/?k=07d49c88&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904G9vQ0muicSfMyaicI34nGdRfbXH27VicAaCh88Bib58N1BTRWjj1oRIJUG5k1onK8icAmXIst2icSu6icW22J61GJSYCv55GrMUzMbU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Nano Banana Pro-3D龙舟2" class="rich_pages wxw-img" data-ratio="0.5222222222222223" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320883" src="https://wechat2rss.xlab.app/img-proxy/?k=a81eace5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9045A7eaGa7V9knSRnd86zzsIeiac51uTDnR090zOwGiat5ThWTywccvrHDyicJCqrtMAbiccRfEodysB6WkH57yDpD8hp9Ny3UDewo%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Nano Banana Pro-3D龙舟3" class="rich_pages wxw-img" data-ratio="0.48777777777777775" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320885" src="https://wechat2rss.xlab.app/img-proxy/?k=5dbac753&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905vnib78IFQGLpIbGHCvoQ8b9Vt12eBwR9FSVEp02oKIIW4oibgQqsAOobhm4UVow1ZwVg1DiculBicqhYU0X0oUw5Ouk4maIt5wA0%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Nano Banana Pro-3D龙舟4" class="rich_pages wxw-img" data-ratio="0.5333333333333333" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320886" src="https://wechat2rss.xlab.app/img-proxy/?k=ba1fe212&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907V8ibjePnhomCVzFkppEqzK8pFwuso8Wy15rYQnw4HiaHViaVibxibLxSvibnjHVouIJNXibrrrcSkJHBicIoVPYmZq22AeGMhnEyndqk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然废稿也很多，可能就需要人工强参与去选择抽卡调整提示词。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">片中最后的纸船道具是用GPT-image2进行生成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="GPT-image2-纸船" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320890" data-ratio="0.5177777777777778" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=1ba56952&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906g2pMTIyrXmH0sotTxic1IftZzb0iadF3JNPibW4fTp61qWR9lvZLib4xEq3HN47iby5zKShaPxC7aqQibx5LD4w7icDj4UUUf52D5LI%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">解释一下为什么要各个接口来回切，主要因为同样的指令不同的接口给到的图片效果不太一样，文字上 GPT-image2和Nano Banana就生成的比较好，但也不是百分百成功，当一个接口的效果始终达不到预想的时候，就切换接口尝试了。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4. 【WorkRally】资产库搭建</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">在所有的人物角色形象、主要场景画面、道具画面都确认后，我这里将要不断调用的资产导【WorkRally】的资产中进行统一管理，也方便后续的参考主体的AI动画视频生成。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="WorkRally资产库" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320889" data-ratio="0.43" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=05a85d91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906OKrCMfq1LQ6HViaxFOjsjaMKdpf01EFEvOhjYkdqe2qibPbR7NJ2zMrXlSRCww1f4R71n3DvJFVkheNibp3rcQqqribSS3iaTRc1I%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在创建角色的时候，先用WorkRally生成一段带角色说话的视频，然后将角色的音色导出为WAV格式放到WorkRally的角色资产库中，这样方便之后的主体参考生成视频的角色音色统一。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="参考主体生成角色说话视频" class="rich_pages wxw-img" data-ratio="0.4818713450292398" data-type="jpeg" data-w="855" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320887" src="https://wechat2rss.xlab.app/img-proxy/?k=d385ee97&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906tAZBqibIZ0ClaPvQmj5uhOibnDeSKZib29KrGibTCZGBgekJb9WAicN4n08eX1CE38lQSEd5vCJ2mM5UibVWSSg8gEgYp0QTKUrcS4%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="角色音色资产1" class="rich_pages wxw-img" data-ratio="0.5155555555555555" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320888" src="https://wechat2rss.xlab.app/img-proxy/?k=2e546132&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906TgdbWPsW9Eicxbm3bhWA40cL7gGSWEHK5kV6maunJENc2xy09cpRZR2mIicyFibyoYic88HBJegPm1ozwVdyxGv0Aj7rOvVLn6Ro%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同理可以把每个角色的资产库都按以上方法搭建好。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="角色音色资产2" class="rich_pages wxw-img" data-ratio="0.49444444444444446" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320893" src="https://wechat2rss.xlab.app/img-proxy/?k=6ac7a23e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9050T7xDEKv0S4LrqJvZkibw1b6WL1BDCuiaicexoy7g7DibjBlpyE9EV5PPr7jVqCZJE0nLzkaebiavSx7gmAW17JXnVwgR3a2sa7Jo%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为了保障龙舟化龙之后的一致性，这里把龙也当做了一个角色放到了角色资产库中。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="龙角色资产" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320891" data-ratio="0.7466666666666667" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=fea05cb9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9056XqueJciawMd7fLHoBtcls0lfYjzRgKtSmOECFypTtc8sMTicoxUuib4C4rQkNp0yiaubuCEAUdeVha4K7LlwRO5626I9qajNthM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同时这里也把很多画面中反复出现的道具和场景放到了资产库中，保证道具和场景的一致性。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="道具场景资产1" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320892" data-ratio="0.3688888888888889" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=7278a2af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906tDPaqibMvz7TDqryrPMwk6d4lUQyx9P66GjFHr4v3ltRyHicJia23I9JLRZg7JhaZ1QGD5dPHj3SNcfyzUkXBKTW1DmG5yG2J6M%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="道具场景资产2" class="rich_pages wxw-img" data-ratio="0.45555555555555555" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320894" src="https://wechat2rss.xlab.app/img-proxy/?k=507958d8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906phI3eQRHjrC7WTvicbro4BlLeyzh9bxY3CxrYMS914HgfENhz9JnG2LFwNkg76qdhO89aqiaibATWIH5AmQkpTLvj1pO8NPev8Y%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;" data-pm-slice="0 0 []"><span leaf="">5. 【WorkRally】动画视频生成</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当确定好了所有的角色画面、道具画面、场景画面，并在WorkRally中搭建好了资产库后，便开始根据剧本制作每个分镜的动画视频。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">总体上使用的是WorkRally的无限画布，方便将所有的视觉元素和生成结果放到一起进行统一管理查漏补缺。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">整个项目在WorkRally的无限画布中生成了【788张图和850段视频】。感谢WorkRally的大力支持，太好用了！！！</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="无限画布全貌1" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320898" data-ratio="0.4416961130742049" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="849" src="https://wechat2rss.xlab.app/img-proxy/?k=275ee6dd&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905InWkFzPeSmVbXpdxiaZWZiccVhQwX0fCrkmamiamEGAVA08bkYPrKaupu0lwIXJVne8T1awJiaYBtsLT8D0nHafNGMNHWg9DP89U%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="无限画布全貌2" class="rich_pages wxw-img" data-ratio="0.45222222222222225" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320896" src="https://wechat2rss.xlab.app/img-proxy/?k=b4583004&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904WU4SIbeGPlZib7R5l4D6Tw0icTEZP5R7vjiah0Ppxd3Rly4Ktc3yLkXhzP4hCGnib9cTjNy4yvBOAqTqe3np8Dlte6wCkMfyaw9E%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">整体上镜头数量太多了，这里就不一一详述了，这里选几个镜头进行详细的生成演示。想要详细看每个镜头的生成细节的可以直接访问我的无限画布观看。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">【龙舟WorkRally无限画布全工程】👇</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 16px 0px;padding: 12px 16px;border-width: 1px 1px 1px 4px;border-style: solid;border-color: rgb(230, 232, 235) rgb(230, 232, 235) rgb(230, 232, 235) rgb(3, 124, 230);border-image: initial;border-radius: 8px;background: rgb(247, 249, 252);"><span style="display: block;font-size: 14px;color: rgb(62, 71, 83);font-weight: 600;font-family: -apple-system, &#34;PingFang SC&#34;, sans-serif;"><span leaf="">【龙舟】无限画布全工程</span></span><span style="display: block;font-size: 13px;color: rgb(3, 124, 230);margin-top: 4px;word-break: break-all;"><span leaf=""><a href="https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j" target="_blank">https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j</a></span></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5.1 WorkRally动画生成演示1 - 化龙</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img alt="化龙-无限画布" class="rich_pages wxw-img" data-aistatus="1" data-backh="257" data-backw="578" data-imgfileid="502320895" data-ratio="0.4444444444444444" style="max-width: 100%;display: block;margin: 16px auto;border-radius: 4px;width: 100%;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=439654a2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904mdnL3HvG9hHBqVNdgh5ibB5SLlGkYPFia0iaibw8ILSvFAM0QMEsiccqstvx8S2UXfCHXeRRrRn90jLvicdABI5ibSjfvVYlKkraooo%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里先考虑一下整体的动画视频生成策略，AI生成的视频不管什么模型都可能自动配上背景音乐，但是对于长片来说，有了背景音乐在剪辑合成的时候反而很麻烦，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">于是在分镜片段生成的过程中，我这里加入了不要背景音乐只要人物说话声音和音效声音的限定。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那成片中化龙的动画视频桥段是怎么制作的呢，这里一开始的出场桥段是个人是想要一些夸张的形变，富有张力感一点，有一种无数稻子从四面八方汇聚成一个巨龙的感觉。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里尝试的模型接口就比较多了，可以看到</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">WorkRally的视频生成模型接口选择非常多</span></strong><span leaf="">，然后每个接口擅长的点都不太一样，也是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">看到标注说Zen-07接口会比较适合打斗动作场景</span></strong><span leaf="">，于是使用他做了一下首尾帧的变形尝试。</span></p><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.39614855570839064" data-s="300,640" data-type="png" data-w="1454" style="width: 100%;" type="block" data-backw="578" data-backh="229" data-imgfileid="502320949" src="https://wechat2rss.xlab.app/img-proxy/?k=843a59e4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907mhg6esyFavBxaBvmy4TbGmcfAkLeqFBNicC8wYu9QMysj0C29NwLJdmia4jK1QkRwrG6KlrG9rvPmjNORJL6ibo8YZKeic7xOVEk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">就视频生成结果来看，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">虽然视频的形变效果会比较有张力，但是没有声音…</span></strong></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那如何在保留这个动画视频效果的同时给配上音效呢？并同时在巨龙的头上加上两个主角？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里尝试了一个小技巧，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">将Zen-07生成好的动画视频作为主体参考视频，将WorkRally的模型换成Zen-SD2.0，采用参考主体的方式重新过一遍，就让AI在不改变原有视频动画效果的同时，加上了音效和小细节。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><img alt="化龙抽卡提示词1" class="rich_pages wxw-img" data-aistatus="1" data-backh="210" data-backw="257" data-imgfileid="502320904" data-ratio="0.8166666666666667" style="max-width: 100%;display: block;margin: 16px auto;border-radius: 4px;width: 100%;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=d4efc51c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz906xrvSia9ZuiaTyPWKuwsSMzw19pB9wPzplKhiaBAXZ5sL6wOibkxrBwzFQ8nEw7Kq1hSibIZDZCQFHmqXXJSb6wmnzHRAobWfped2U%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></strong></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-weight: normal;">当然目前的效果也无法做到直接用，少不了多抽点卡然后剪辑出可以用的镜头，下面是一些抽卡结果：</span></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="化龙抽卡提示词3" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320901" data-ratio="0.5996884735202492" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="642" src="https://wechat2rss.xlab.app/img-proxy/?k=bb1dc8a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907DIB7xMzFAnWNB7SKKrSOwNEBFSibg8E1M7kmzacfftfEDsRmcszBl9hkqTIPNMnlAyZ0ZNThf1xdIqJ83Vzyn0UNeIgjWnIfo%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="化龙抽卡提示词5" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320902" data-ratio="0.6443661971830986" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="852" src="https://wechat2rss.xlab.app/img-proxy/?k=fda1cc04&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9071RKcySw0o29Sng1r2ib3HKMicvZv6Oo7iaEjuI2Ij3MrkNia5VyYoDtdibQgnc6cR2qhceTy3dhUq2Sb6mfjLKBb2rd6eibTriaLQVw%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然不能只看选中的片段，AI生成的结果，还是需要不断的调整提示词，比如在生成过程中，AI总是自动给龙加上翅膀，于是总要在提示词中写上不要翅膀的限定词。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">以下就是一些AI生成的鬼畜视频👇</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><img data-aistatus="1" alt="化龙抽卡提示词6" class="rich_pages wxw-img" data-ratio="1.085820895522388" data-type="jpeg" data-w="536" style="max-width: 100%;display: block;margin: 16px auto;border-radius: 4px;width: 100%;" data-backw="285" data-backh="309" data-imgfileid="502320905" src="https://wechat2rss.xlab.app/img-proxy/?k=20b1eaf7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905zaRLKq4Mu4Jn1znicgZ91ydQaxGB7NGE2jOJInpwdqpRNjnwADeUJWKXzB4dgAsDp7Gc2n5cJKDs9KiaCOqibG8ks1riaLcH9RnI%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在WorkRally中的不断的抽卡后，才最终剪辑出了成片中的龙舟化龙成片，抽卡次数太多了这里就不一一展开演示了，想要详细看每次抽卡结果的话可以直接访问下面的WorkRally【龙舟】无限画布的全工程共享链接。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="化龙-无限画布抽卡过程" class="rich_pages wxw-img" data-ratio="0.28444444444444444" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320906" src="https://wechat2rss.xlab.app/img-proxy/?k=12e900fe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9043PJhlFb7aqqlOiaUziawaCCIf5MYPQ92vRrAbAicg3XWLyZ8hXLWqicEVxy1zYYtp9pwlKdZjjaDicksWpnYiaibFslOesia9Ua7q9ZU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="化龙-无限画布抽卡过程2" class="rich_pages wxw-img" data-ratio="0.5022222222222222" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320908" src="https://wechat2rss.xlab.app/img-proxy/?k=4c354552&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907A3EPj1nwIqAeunAHtBl7htLUQlth2x7f8HibwwiaibrQChmn79icIBpFQYx2fjz9408t5qsuDoSibQJjpt7oSPpZXgNSk83eZSAVk%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="化龙-无限画布抽卡过程3" class="rich_pages wxw-img" data-ratio="0.5022222222222222" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320909" src="https://wechat2rss.xlab.app/img-proxy/?k=8f21ded3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904mJ6EN2FPt6NCVGosF0UVY0T2R4HfT8Csjg7fSj6QyItphfZKHot5mvDCsOQSgw44YFybVuDfarYX8qBnG5LJeEKLeBJUcklA%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">【龙舟WorkRally无限画布全工程】👇</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 16px 0px;padding: 12px 16px;border-width: 1px 1px 1px 4px;border-style: solid;border-color: rgb(230, 232, 235) rgb(230, 232, 235) rgb(230, 232, 235) rgb(3, 124, 230);border-image: initial;border-radius: 8px;background: rgb(247, 249, 252);"><span style="display: block;font-size: 14px;color: rgb(62, 71, 83);font-weight: 600;font-family: -apple-system, &#34;PingFang SC&#34;, sans-serif;"><span leaf="">🔗 【龙舟】无限画布全工程</span></span><span style="display: block;font-size: 13px;color: rgb(3, 124, 230);margin-top: 4px;word-break: break-all;"><span leaf=""><a href="https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j" target="_blank">https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j</a></span></span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5.2 WorkRally动画生成演示2 - 龙消散</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">巨龙消散也是变片一个比较重要的桥段，角色和巨龙的交互，巨龙化作无数稻子消散出现手工龙舟，角色抓住手工龙舟下落，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">想想怎么给AI描述这个情节就有点头大，那下面来看看具体的描述内容。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><img alt="化龙-无限画布抽卡过程4" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320907" data-ratio="0.46" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=325bff6b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904QH6MzPBeqicFZ46A0ITHWQ4jQX5ia0DEHl9N8FwDl3yzPNxhXBjfXjeA4JsKIwZSudfKJpPEYvk0WSP84N9KWwtibmrKJ2kx7b4%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="龙消散-描述提示词1" class="rich_pages wxw-img" data-ratio="0.9685138539042821" data-type="jpeg" data-w="794" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320910" src="https://wechat2rss.xlab.app/img-proxy/?k=9874b956&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907BbWCsgeibVjNWd7sDicUoOkEU9TU46QyXvOicNyVL97BkV9VyeeqdTFD8Z4sFxLXnXjV3hPqUrNakHzrd3pb21IfWKWzrj43PrI%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="龙消散-描述提示词2" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320913" data-ratio="0.5584577114427861" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="804" src="https://wechat2rss.xlab.app/img-proxy/?k=887bc98c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz9048sTMrQfpWPUkFzyVjPR89kPqbibTicnZwNsXXqB9qTZdam1MBw1dZEoUOxWibCdRTEBofrRqbRVicDMD5CpYJzHzv4UnCukRHKFM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p nodeleaf="" style="text-align: justify;"></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">成功总不是一蹴而就的，就像AI动画需要不断的抽卡，可以看到抽卡结果有时候角色和龙的位</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">置不对了，有时候手工龙</span><span leaf="">舟的结构不一致了，角色眼泪乱飚了，都需要不断优化提示词去进行微调。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">5.3 WorkRally动画生成演示3 - 稻田海</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里想要的动画是纸船在水稻组成的海浪中乘风破浪，然后镜头推进展示在麦浪中的片名【龙舟】这里的工作流也主要是主体参考，使用Venus的image-2和 Nano Banana进行关键画面的生成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="稻田海-关键画面1" class="rich_pages wxw-img" data-ratio="0.5222222222222223" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320912" src="https://wechat2rss.xlab.app/img-proxy/?k=48670eab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904RibW6PFm7dXyGNqxyVkRRO91gAX0KQExju8rsn9DopXkdDyu3Mn3AiaV38ZS1dvFKpSnKyQxicdYTQMsmHb2tg5M1SHsbOvY04M%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="稻田海-关键画面2" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320911" data-ratio="0.8164464023494861" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="681" src="https://wechat2rss.xlab.app/img-proxy/?k=f0d568f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907XXE5hhpegMhVUOy9hOvbJeLaqRIJiaBZ21Q71tRwZRo6TibPWTsHibic23OUod67w09iaAOYQMaxcIbAs4sGYibnJbyVMY1icFPUPrU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">完成了关键画面的生成，然后再使用WorkRally进行画面视频生成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="稻田海-视频提示词1" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320915" data-ratio="1.0126422250316056" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="791" src="https://wechat2rss.xlab.app/img-proxy/?k=50fe5814&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907mwZW997InQQkkkKHu7I04Fuiao74RYGL4bfoTa1CQm4czBMS5GqX8ol2YppDibsMb2x7ZF06icqXJltMT7JqHGXE86wP8vbt1XM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p nodeleaf="" style="text-align: justify;"></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;" data-pm-slice="0 0 []"><span leaf="">6. 【龙舟WorkRally无限画布全工程】</span></h3><p data-renderer-start-pos="6248" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;"><a class="normal_text_link" target="_blank" style="" href="https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j" textvalue="【龙舟】" data-itemshowtype="0" linktype="text" data-linktype="2">【龙舟】</a>想要查看每个分镜制作具体细节的可以直接访问</span><strong data-renderer-mark="true"><span data-renderer-mark="true" data-text-custom-color="#0052d9"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">龙舟的WorkRally无限画布全工程。</span></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="无限画布-素材" class="rich_pages wxw-img" data-ratio="0.5327102803738317" data-type="jpeg" data-w="856" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320921" src="https://wechat2rss.xlab.app/img-proxy/?k=aa2491e9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904UkHdibH0X9bOv4TPdicXDW7D33S3Ys9GhdGibbWVmLka6ChKORHktQktFKBKic8oDCq5c4B3IJUmZjiasfwayl3PNzCcVrjXPImnc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="无限画布-全工程" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320919" data-ratio="0.5022222222222222" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=f48edc66&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905icTuanBeS0oHA92uCoQce8oQxXQQSghw666pV82U4hjuptS5Pxg16amvHicqtNY4JCU6uWicbbpQUJ35ItdwwgafWzkshicBTuJM%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">【龙舟WorkRally无限画布全工程】👇</span></strong></p><p style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 16px 0px;padding: 12px 16px;border-width: 1px 1px 1px 4px;border-style: solid;border-color: rgb(230, 232, 235) rgb(230, 232, 235) rgb(230, 232, 235) rgb(3, 124, 230);border-image: initial;border-radius: 8px;background: rgb(247, 249, 252);"><span style="display: block;font-size: 14px;color: rgb(62, 71, 83);font-weight: 600;font-family: -apple-system, &#34;PingFang SC&#34;, sans-serif;"><span leaf="">🔗 【龙舟】无限画布全工程</span></span><span style="display: block;font-size: 13px;color: rgb(3, 124, 230);margin-top: 4px;word-break: break-all;"><span leaf=""><a href="https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j" target="_blank">https://workrally.qq.com/toolbox/canvas/9m043p8x7sdsztvtqrxv15j</a></span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">想要查看每个分镜制作具体细节的可以直接访问</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">龙舟的WorkRally无限画布全工程。</span></strong></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">7. 原创【配乐】AI制作生成</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">龙舟全片的配乐一共用Suno生成了9首，其中3首主题曲用的同一套歌词，6首电影情节的纯音乐配乐。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">主题曲歌词上这里将整个剧本的文字内容上传给到元宝，然后让元宝根据剧本的内容，生成贴合故事的歌词：</span></strong></p><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这是一首为你量身定制的主题曲。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">去掉了宏大的管弦乐，只留下一架老旧的立式钢琴。没有押韵的执念，像是在聊天，又像是在叹气。歌词里全是剧本里那些琐碎的小事：绿舌头雪糕、粘手的米粒、生锈的水龙头。这种&#34;淡淡的忧伤&#34;来自于——我们当时以为那是全世界，后来发现那只是一下午的时光。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">主题曲：《还没做好的龙》</span></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">演唱</span></span></strong><span leaf=""><span textstyle="" style="font-size: 14px;">：清澈的少年音（介于童声和成人之间）　</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">伴奏</span></span></strong><span leaf=""><span textstyle="" style="font-size: 14px;">：单薄钢琴（不加混响，像在空荡荡的教室弹奏）　</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">风格</span></span></strong><span leaf=""><span textstyle="" style="font-size: 14px;">：民谣叙事 / 治愈系忧伤</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">【歌词】</span></span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Intro)（钢琴慢悠悠地响起，几个单音，像水滴落在讲台上）</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Verse 1) 放学铃 响过了　凳子 翻在 课桌上　你递给我 半根 绿舌头　说是 最后一支 奖励</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Verse 2) 那天下午 太阳 特别长　我们 躲在 角落里 忙　废纸壳 折的船 有点晃　你说 加上稻子 就不慌</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Chorus) 你拧上 那个 生锈的 水龙头　非说 那是 一条 活着的 龙　我笑得 趴在 地上 喘不过气　没敢说 其实 它长得 挺滑稽</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Verse 3) 手上 沾满了 黏糊糊的 胶水　那是 还没成型 的 夏天味　十块钱 的车票 好像 也不贵　只要 赢下 这场 比赛 就能 看见</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Bridge) 雪糕 化得 太快 还没 舔几口　龙舟 做得 太慢 还没 长出 头　那时候 我们 都不知道　有些 约定 其实 比纸 还薄</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Chorus) 你跳起来 把橡皮鸭 按在船头　嘎的一声 吓退了 窗外的 牛　你说 这就叫 乘风破浪　我说 这就叫 异想天开 的 朋友</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(Outro) 后来 那个水龙头 生锈得更厉害　后来 我再也没 吃过 那么甜的 冰　只有 那个 雪花球　还在 课桌上 孤零零地 转</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">(钢琴最后一个音 轻轻落下)（音效：风吹动破旧窗帘的 沙沙声）</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">🎹 制作与演唱笔记</span></span></strong></p><ol style="margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">钢琴触键：</span><span textstyle="" style="font-size: 14px;font-weight: normal;">要弹得&#34;笨&#34;一点。不要有太多技巧，就像一个小学生在音乐课上弹练习曲，左右手配合得不是很紧密，中间有空隙。左手甚至可以不弹和弦，只弹单音的根音（Do - So - Do - So）。</span></span></strong></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><span textstyle="" style="font-size: 14px;">歌词的通俗感：</span><span textstyle="" style="font-size: 14px;font-weight: normal;">特意用了&#34;绿舌头&#34;、&#34;滑稽&#34;、&#34;异想天开&#34;这些词，不是为了押韵，是为了真实。&#34;凳子翻在课桌上&#34;是剧本里的空镜，也是无数人童年的共同记忆。&#34;有些约定其实比纸还薄&#34;是全曲最扎心的一句，要唱得最平静，仿佛在陈述一个事实。</span></span></strong></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf=""><span textstyle="" style="font-size: 14px;">这首歌不需要惊艳，只需要耐听，像那个下午的夕阳一样，照在身上，有点暖，也有点凉。</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后将元宝中修改微调的内容复制到suno里面进行不断的调整提示词和抽卡。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Suno-提示词" class="rich_pages wxw-img" data-ratio="0.5328" data-type="jpeg" data-w="625" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320917" src="https://wechat2rss.xlab.app/img-proxy/?k=dbed9d82&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904hEBajRjGMsrUwGDgZtejQ4UyIjibWdMzrf561Z3cBBNxwqvsJMXlWia7Nf1SZibgX004dTI0ibRpTfgibBW69v76ibjEImVYTjKrJc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Suno-歌词界面1" class="rich_pages wxw-img" data-ratio="0.5944444444444444" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320920" src="https://wechat2rss.xlab.app/img-proxy/?k=1cdd9564&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz907NxZ6oIa9yZaARpiciccU1zRia1gicVuYric97h83YvgDPyqRdL5vZAvrHgPJ5cDWYgDmnSdiaPTtBibdtg6mWs0TDEViaCfz9ic1ZtzKc%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Suno-歌词界面2" class="rich_pages wxw-img" data-ratio="0.5155555555555555" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320918" src="https://wechat2rss.xlab.app/img-proxy/?k=e753e97b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904F8N7OOESzAepxFhCOTf2fp5erCiciap9WfDfyibcC4ssePwKn47xBJBU2iaNFRboSSxD1P4TCeppvwn04q3LygVdOXAdDZW1yh5U%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="Suno-歌曲列表" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320922" data-ratio="0.6888888888888889" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=5f0feb61&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz904OzFJyahG1dRLLnibwoSIebY9vib3JaQVOvMeq0cV0yp0F6MxapfD90xt6uK5icZofrTjPLu4fPicl73171Sp55pMKgZySZibR2HXU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">【龙舟】AI主题曲</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一些故事桥段的纯音乐，我这里是自己手写了点提示词，个人比较喜欢女高音的吟唱声音，就在提示词里加了很多女高音吟唱的元素。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="Suno-纯音乐提示词" class="rich_pages wxw-img" data-ratio="0.5577557755775577" data-type="jpeg" data-w="606" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320924" src="https://wechat2rss.xlab.app/img-proxy/?k=e980ac97&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904xtUba9CE4U07rOW9TGspZOTIYwcZWn4Diczv0O9dWE6XUCFUcia0GUU3Nn6XiaibwI64S7hvBX3NOZmWSwa3kfJLHeMnWgQIH6nU%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="Suno-曲目信息" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320923" data-ratio="0.5333333333333333" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=597b52cf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905ehYibxzPymxticVYRJ6VoicRmiaJ2BicMUyfNZB4wco7D2UFXDTjv1qOWYcu5xXosx6860Hz60dfCyPLRcKL9f7bVBXXaXAaoY1do%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">然后就是上传到QQ音乐做了个电影原声带专辑。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf=""><a class="normal_text_link" target="_blank" style="" href="https://c6.y.qq.com/base/fcgi-bin/u?__=83vheQMJMHfG" textvalue="QQ音乐 - 龙舟电影原声带 - 专辑。" data-itemshowtype="0" linktype="text" data-linktype="2">QQ音乐 - 龙舟电影原声带 - 专辑。</a></span></strong></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">8. 【海报等宣发物料】AI制作生成</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">海报这里的AI生成主要是用了一些成片中的关键帧和关键道具做了一个混合参考生成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="海报-提示词" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320925" data-ratio="0.6983154670750383" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="653" src="https://wechat2rss.xlab.app/img-proxy/?k=55be0a2a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904xJjnLmI9ucx1aibAAiaMibfeKK9whVb1QkupicPctaNd7nTdWVJ2OGl7wgtibob267zSLSCXVJygKWHIibMcZe7LdsRoNNUI0uDhw0%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="海报-混合参考1" class="rich_pages wxw-img" data-ratio="0.39555555555555555" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320926" src="https://wechat2rss.xlab.app/img-proxy/?k=9e57fb72&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904EtHrJWKwqB4aiblHxS346UYwDjXr77FqFUctPF3bx8toVtRicY9Y3ofR3CRYyGvEu6f7PvHd3hgbsupuck5q7RpOAhMBtUJnnA%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="海报-混合参考2" class="rich_pages wxw-img" data-ratio="0.4688888888888889" data-type="jpeg" data-w="900" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320929" src="https://wechat2rss.xlab.app/img-proxy/?k=f26fad5e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz90765fw7K6lOzfHUs3dG0yDlwOkChqKTrQhYDAVPBJ8poeoyyUbfC7sPibibvkutn4nxK1cTuA7QyiaBuOZKqGwa1HSY6SghIj6d9M%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然少不了优化提示词和抽卡。。。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">定好基础的横版海报，也顺手生成了竖版海报和带透明通道的名字图片。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="海报成品" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320927" data-ratio="0.6688888888888889" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=0afac3c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905D85DrBaCYIWEDRNkaoicoaXEkxkqia1I1hRFnBOvchgXZLf0Tbfzfqz7Yh8XBaxyPdribeibqHZ0RRS5yI1Pahicm6q9bdqCu5ryY%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">最后：希望我们都能好好告别 </span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">和小鹏最后的微信聊天界面停在了</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">他说：&#34;这次来北京出差太赶了，下次回重庆我们再好好聚&#34;</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">我说：&#34;好的，那下次来北京再请你吃饭&#34;</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这次AI漫剧大赛，希望能使用AI补上我们没来得及的告别吧。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img alt="结尾" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320928" data-ratio="0.5622222222222222" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="jpeg" data-w="900" src="https://wechat2rss.xlab.app/img-proxy/?k=88126010&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz907nZkBXb8FyIiciafN2PVBE5bXGPAugDSTZV4uMpj8LH6ucDkicKXr5rcHUuKNwjZJ9kDkk5X8ibNla0KepdoQHd4cb8tNxjl0gP5s%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf="" style="text-align: justify;"><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2eb690a2&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804711%26idx%3D1%26sn%3D1add203ae7aaa06235a346eb6ee940e2">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 20 Oct 2026 17:48:00 +0800</pubDate>
    </item>
    <item>
      <title>从 BERT、GPT 到 Jev：一文看懂大模型架构的演进与分化</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804707&amp;idx=1&amp;sn=9291fb648a66fa13fa295fc5a2156b84</link>
      <description>Jev</description>
      <content:encoded><![CDATA[<p><span>腾讯程序员</span> <span>2026-10-19 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=0bdf4aab&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz905wwJtxC6tmWW29O9XgPIbdOhWQlRdtuF5ozeMF5ib9Y8XpqfmfLNRkBLpJhvzDxknrIKTM5jak9OuYRwDbzGqXRJT5dv1zIRxM%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>Jev</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" type="block" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：leonjia</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2026 年 9 月，TypeSafe AI 发布了 Jev。与常见的语言模型不同，Jev 不生成文本，而是针对给定的输入材料回答三类限定形式的问题：从若干选项中选一个，在若干等级上评分，或判断一个陈述是否成立，并直接返回各个答案的概率。常见语言模型完成一次回答需要数秒到数分钟，Jev 完成一组判断在百毫秒量级。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">要说明 Jev 与主流大模型之间的关系，需要回到 Transformer 架构本身。从 2017 年的原始结构，到 BERT 与 GPT 所代表的两条主流技术路线，再到 DeepSeek、Qwen 等当前的前沿模型，模型读取输入和产生输出的方式经历了几次变化，Jev 的不同之处也正在这两个环节上。文末另以开源的 Laya 作为对照，它与 Jev 输出方式相近而底层网络不同。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">01 2017：Transformer 与机器翻译</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">提出 Transformer 的论文《Attention Is All You Need》针对的任务是机器翻译，因此原始结构是两段式的：Encoder 读取源语言句子，输出一组上下文向量；Decoder 通过 cross-attention 读取这组向量，同时逐词生成目标语言句子。Encoder 对源句子只运行一次，Decoder 每生成一个词运行一次，生成的词接回输入后再生成下一个。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3648148148148148" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320832" src="https://wechat2rss.xlab.app/img-proxy/?k=d1a34544&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906L84J58PaIiaCohGY0UF09OFZXlatWibO7MVVDIw1ylXnibvG34g5EED815bylt9D86R2CgEOFeDwg8b3nM3dviaE8apRUzegibhvw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两段式框架本身并不是这篇论文的贡献，RNN 时代的 seq2seq 模型已经采用同样的结构。它的贡献在于用注意力（attention）完全取代了循环结构。循环网络逐词读入，每一步的状态由上一步传来，第 n 个词必须等前 n−1 个词处理完；注意力则在处理每一个词时直接查看句子里的其他词，按相关程度加权汇总它们的信息，所有位置可以同时计算。一层注意力加一层前馈网络构成一个基本单元，堆叠数十层就是一个 Transformer。并行计算让 GPU 得以充分利用，后来模型规模扩展到千亿参数，这是工程上的前提。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.35" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320836" src="https://wechat2rss.xlab.app/img-proxy/?k=e3d4a85a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904tKf6Sw7TGw9KqwevvtrmrjXcd5KJY8sTgM39w5qD5dhUY4BKFibCGb5WoreEmf8R5LyPPP6yiaMfRwLoNgpSo0ccDiajYSHZPg0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Encoder 与 Decoder 的差别也在注意力上：Encoder 读取源句子时每个位置都能看到整句，注意力是双向的；Decoder 生成时每个位置只能看到自身及之前已生成的词，注意力是因果的（下一节的可见范围图会以具体句子展示这一区别）。模型实际处理的单位是分词器切出的 token，中文约对应一个字到一个词，英文约对应一个单词或其一部分。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">02 2018–2020：三条技术路线的分化</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">2018 年前后，研究者发现 Transformer 的两个部件可以拆开单独使用，并且各自适合不同的预训练任务。由此形成三条技术路线。它们在层结构上几乎相同，实质差异只有两点：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">注意力的可见范围</span></strong><span leaf="">，即读取输入时能否看到后文；以及</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">预训练任务</span></strong><span leaf="">，即训练时做的是填空还是续写。这两点决定了模型适合什么任务。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4166666666666667" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320835" src="https://wechat2rss.xlab.app/img-proxy/?k=2bc09894&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907CjhTHV3ek9jwKbp3wQZQN5hoNeOibAztSGjRJnDFzMEvDOIcKe7BoOwBPTvg1Uz1AZeCBWdG756L9ib0AiclxwibCqpcooiauYPtc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Encoder-only 路线由 BERT（2018 年 10 月）开创，只保留读的那一半，预训练任务是完形填空：随机遮住句子里的一部分词，让模型依据前后文还原。Encoder-Decoder 路线以 T5（2019 年 10 月）为代表，两半都保留，预训练任务是遮住一段话由 Decoder 补出来，适合翻译、摘要这类输入输出形态固定的任务。Decoder-only 路线由 GPT-1（2018 年 6 月）开创，只保留写的那一半，预训练任务就是续写：给定前文，预测下一个词。这里顺带说明一个容易混淆的名称：Decoder-only 模型中的 Decoder 已经不包含 cross-attention，因为没有 Encoder 可供读取，它在结构上等价于一个施加了因果掩码的 Encoder，沿用 Decoder 之名只是历史原因。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4740740740740741" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320833" src="https://wechat2rss.xlab.app/img-proxy/?k=05cd41c6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907n1BMQo5CHggq43SrxQJGT2HMaG7Lbas7dL61ldViccf8YxHlwbCPEqYJ8Z4mTsM27NicN6AJiatXjicBqt7Ay8gWeibnJo3c19MicI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Encoder-only 路线退出了通用能力的竞争，但一次前向、毫秒级延迟的特点使其在检索、推荐、内容审核等高吞吐判别场景中仍被广泛使用，2024 年发布的 ModernBERT 即为例证。这类模型的使用方式是“预训练加微调”：预训练得到的 BERT 本身只会填空，要让它做某个具体判断，需要在输出端接一个分类头，用该任务的标注数据微调整个网络。微调后的模型读取输入一次，直接输出各类别的概率，但它只会这一个任务，类别集合在训练时就已固定，换一个任务就要重新标注、重新微调。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">03 Decoder-only 成为主流</span></span></h3><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">推理过程：prefill 与 decode</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">对 Decoder-only 模型而言，“理解输入”与“生成输出”并不对应两个网络，而是同一个网络、同一套参数在推理时的两个阶段。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第一阶段称为 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">prefill</span></strong><span leaf="">：整段 prompt 一次性输入网络，所有 token 并行计算，各层的键、值向量存入缓存（KV cache），供后面的 token 查阅。这一阶段计算密集，对应用户感知到的首 token 延迟。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第二阶段称为 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">decode</span></strong><span leaf="">：网络基于 KV cache 逐 token 生成，每生成一个 token 就将其键、值追加进缓存。这一阶段串行且访存密集，每一步都要读取全部权重与全部缓存，对应用户感知到的生成速度。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.39166666666666666" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320834" src="https://wechat2rss.xlab.app/img-proxy/?k=f5ba8862&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905rZ1NN6RItwWhlJZrtvur3kYKs6chMVNKGFEpTGpOjn8opicrdwRhJaUibP4lPmREzaeGLBkvlStq8Tau6v9WnBnvYX7MSU5CTM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">“输出读取输入”这件事在 Decoder-only 结构里同样发生，只是不再通过 cross-attention，而是通过普通的自注意力：回答的每个 token 与 prompt 处于同一条序列，直接查看 prompt 各位置的键、值即可。代价是 prompt 内部只能单向可见，但经过数十层堆叠后，prompt 末尾位置已经聚合了前文的信息，实践中这一限制没有成为明显的短板。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">成为主流的原因</span></span></h4><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">训练信号更密集。</span></strong><span leaf="">续写任务在句子的每一个位置上都能出一道题，每个词都是前文的预测目标；填空任务只能在被遮住的少数位置上出题。同样一批文本，前者提供的训练信号要多得多。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">任务形态统一。</span></strong><span leaf="">对话、代码补全、思维链推理、工具调用都可以表述为“在同一序列上继续生成”，不需要为每类任务重新定义输入与输出的边界。GPT-3（2020，175B）展示的上下文学习能力，即仅在 prompt 中给出少量示例就能完成新任务，正是这种统一带来的。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">KV cache 可以复用。</span></strong><span leaf="">因果掩码保证已处理 token 的键、值不受后续内容影响，多轮对话与 agent 循环只需追加。双向 Encoder 不具备这一性质，每次新增输入都要重新计算。</span></p></li></ol><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Wang 等人 2022 年的系统对比给出了经验上的结论：在只做大规模无监督预训练、不做针对性微调的设定下，Decoder-only 配合续写目标的零样本泛化能力最强；双向可见性配合填空目标的优势要在多任务微调之后才体现。行业的投入方向恰好是前者。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">04 2022–2025：后训练与推理模型</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">ChatGPT 是 OpenAI 在 2022 年 11 月发布的对话产品，最初的底层模型是 GPT-3.5，此后随 GPT-4、GPT-4o、o 系列直到当前的 GPT-5.x 不断更新，OpenAI 自 GPT-4 起不再公开架构细节，但它们都是自回归、逐 token 生成的 Decoder-only 模型。ChatGPT 的对话能力并非来自结构上的变化，而是预训练之后的若干轮后训练。2024 年之后的推理模型，如 OpenAI o1 和 DeepSeek-R1，同样没有改变架构，而是通过强化学习使模型在给出答案之前先生成较长的思考过程。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.28425925925925927" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320839" src="https://wechat2rss.xlab.app/img-proxy/?k=bf80abe9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907GKm5bxFwZag7rTfm1n8A6jaEgTDFWoSUqpv5mWKRKEhn2ichm2cb0XpzJcoh437keIPKjr6jPmgonmHd2GV73dJdPKia0tg1icM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">RLHF 的做法是：由人对模型的多个回答排序，训练一个奖励模型去拟合人的偏好，再以强化学习使模型输出向高奖励方向偏移。这使模型的输出风格贴近标注者的偏好，但也带来两个已被证实的副作用。其一是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">校准性下降</span></strong><span leaf="">：OpenAI 在 GPT-4 技术报告里给过一组对照，预训练模型给出的置信度与实际正确率基本一致，自称八成把握的题目约有八成答对；经过后训练之后，这种一致性明显变差。其二是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">过度自信</span></strong><span leaf="">，因为标注者倾向于偏好语气确定的回答。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">推理模型的思考过程本身仍是逐 token 的自回归生成，只是不呈现给用户。它提高了模型在数学、代码等可验证任务上的能力，代价是单次回答的延迟从秒级提高到分钟级。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">05 2026：前沿模型与发展主线的关系</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">以 2026 年的两个开源模型为例，9 月发布的 DeepSeek-V4.1-Flash 与 8 月开源的 Qwen3.8-27B，可以看到前沿模型与上述主线的关系。两者仍然是自回归、逐 token 生成的 Transformer，prefill 与 decode 两阶段、后训练流程均原样适用。近几年的架构创新没有改变这一骨架，而是集中在骨架内部的组件上，目标基本一致：在同等能力下降低计算量与显存占用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">变化最集中的是两处。一是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">前馈网络改为 MoE（混合专家）</span></strong><span leaf="">：将每层的前馈网络拆分为数百个子网络，每个 token 只激活其中少数几个，使总参数量与每 token 的计算量解耦。DeepSeek-V4.1-Flash 总参数 552B、每 token 激活 16B，即属此类；Qwen3.8-27B 则是 27B 全部激活的密集模型。二是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">KV cache 的压缩</span></strong><span leaf="">：长上下文与 agent 场景下缓存占用超过权重本身，各家路径不同。DeepSeek 采用低维潜向量压缩加稀疏选择，并在 V4.1-Flash 中将前 20 层作为因果 encoder、后 20 层的键值由其投影得到，使 prefill 只需运行一半网络；Qwen 自 Qwen3-Next 起将每 4 层中的 3 层替换为线性注意力（Gated DeltaNet），以固定大小的状态替代逐 token 缓存。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4166666666666667" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320840" src="https://wechat2rss.xlab.app/img-proxy/?k=cf2cdbc5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907M0k5CAhKd46OwAZZsByico1BeJL7b9bdnibxxygPT7SibpZVg83W4sLX2wib7MSr9icsOyKIEwHJArBJKK9llHAPgIzWYwyiaNwVbI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">V4.1-Flash 的“encoder-decoder”与第 01 节面向翻译的两段式结构含义不同：它的 encoder 仍为因果掩码，整个模型仍是标准的自回归语言模型，只是 decoder 层不再自行计算全局键值。判断一个模型属于哪条路线，看的不是名称，而是两点：注意力是否为因果掩码，以及结果是否由逐 token 生成得到。DeepSeek 与 Qwen 在这两点上与 GPT-3 完全一致；Jev 在第二点上不同。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">06 Jev</span></span></h3><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">为什么要另做一类模型</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TypeSafe AI 于 2026 年 9 月 15 日发布 Jev。创始人 Diogo Almeida 是 InstructGPT 论文的作者之一，曾在 OpenAI 负责后训练，发布文章的第一句话是他们的问题所在：“Models have been superhuman at chat for years, so where is all the automation?”他们的解释是，RLHF 训练出来的模型从设计上就是为协助人而准备的：奖励模型拟合人类评分者的偏好，模型学会让回答看起来正确，而不是让概率反映真实的正确率。一个模型如果在 95% 的情况下能完成任务，却无法指出剩下的 5% 在哪里，就不能用于无人值守的自动化。TypeSafe 把自己的方法 RLCD（Reinforcement Learning for Calibrated Decisions）与 RLHF、RLVR 并列为第三种后训练范式：前两者分别优化人类偏好和可验证奖励，RLCD 优化校准的决策，训练出的模型“不生成文本，返回决策与概率”。“System One”一名取自卡尼曼的快慢两种思考，LLM 被归为慢的系统二，Jev 定位为快的系统一。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">状态与问题</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每次请求提供一段 </span><code style="color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;word-break: break-all;font-family: &#39;Microsoft YaHei&#39;;font-size: 16px;"><span leaf="">state</span></code><span leaf="">（待判断的材料，可以是字符串、JSON 对象或数组），再附上任意数量的问题。问题限定为三种原语：</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">原语</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">问题类型</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">返回</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">示例</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">Choice</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">从最多 255 个选项中选一个</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">各选项的概率，以及一个置信度</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">这张工单应交给哪个团队</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">Score</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">在 2–10 个有序等级中评级</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">概率加权的分数</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">客户的不满程度</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">Noul</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">判断一个陈述是否成立</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">一个 0–1 的概率</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">这条消息是否紧急</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">文档中的一个例子：对同一条客服消息同时问三个问题，返回的是每个问题上的概率分布，而不是文本。</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 请求</span></span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;state&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;Hi, I&#39;ve been trying to connect my Stripe account for 3 days</span><span leaf=""><br/></span><span leaf="">            and the integration keeps failing. I&#39;m losing sales. Please help ASAP.&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;questions&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;department&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;type&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;choice&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;instructions&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;Which team should handle this&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;criteria&#34;</span></span><span leaf="">: { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;billing&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;…&#34;</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;technical&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;…&#34;</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;sales&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;…&#34;</span></span><span leaf=""> }</span><span leaf=""><br/></span><span leaf="">    },</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;frustration&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;type&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;score&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;instructions&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;How frustrated the customer appears&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;criteria&#34;</span></span><span leaf="">: [ </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;Calm&#34;</span></span><span leaf="">, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;Frustrated but civil&#34;</span></span><span leaf="">, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;Very angry&#34;</span></span><span leaf=""> ]</span><span leaf=""><br/></span><span leaf="">    },</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;is_urgent&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;type&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;noul&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;instructions&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;The message conveys urgency&#34;</span></span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">  }</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 响应</span></span><span leaf=""><br/></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;answers&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;department&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;choice&#34;</span></span><span leaf="">: </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;technical&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;confidence&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.78</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;probabilities&#34;</span></span><span leaf="">: { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;technical&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.85</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;billing&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.15</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;sales&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.0</span></span><span leaf=""> }</span><span leaf=""><br/></span><span leaf="">    },</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;frustration&#34;</span></span><span leaf="">: {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;score&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1.0</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;probabilities&#34;</span></span><span leaf="">: { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;0&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;1&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1.0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;2&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0.0</span></span><span leaf=""> }</span><span leaf=""><br/></span><span leaf="">    },</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;is_urgent&#34;</span></span><span leaf="">: { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">&#34;noul&#34;</span></span><span leaf="">: </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1.0</span></span><span leaf=""> }</span><span leaf=""><br/></span><span leaf="">  }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><code style="color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;word-break: break-all;font-family: &#39;Microsoft YaHei&#39;;font-size: 16px;"><span leaf="">confidence</span></code><span leaf=""> 由概率分布的形状算出，分布均匀时为 0，完全集中时为 1，文档建议按它分流：高置信度自动执行，低置信度交给人处理。官方指标：多数查询约 100 ms，同一请求内增加问题几乎不增加延迟；每百万输入 token $0.042，输出免费；仅支持文本，英语为主；不开源。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">拆分问题</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">TypeSafe 主张的形态是代码掌握控制流，只在需要常识判断的地方调用模型，而且每个问题都要拆到原子。以垃圾邮件识别为例，不问“这是不是垃圾邮件”，而是对同一封邮件同时问六个 Noul：是否索要凭据、是否声称意外奖励、是否制造时间压力、发件人与域名是否冲突、链接域名是否冲突、链接文字是否掩盖目标。六个问题并行评估，返回六个概率，由代码加权合成风险分数并设阈值。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.48333333333333334" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320837" src="https://wechat2rss.xlab.app/img-proxy/?k=29946d21&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906ErlccQw6S5xHxXj5hxIX2icHNrFiabnyZv7ht5icdMBNialx4UOiabDYFAAQ1I9Fj0XAzmKctlicYpPdU5znnrTjpRicqla6QBmv1c8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">与语言模型的关系</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Jev 很可能以预训练的 Transformer 作为底层网络，它能理解任意自然语言问题的能力就来自这里，这一部分与 LLM 同源。不同的是结果的产生方式。LLM 无论输出普通文本还是 JSON，都要经过 decode 阶段逐 token 生成，再由调用方解析字符串；Jev 在 prefill 之后不进入 decode，而是直接从网络中读出每个问题在各选项上的概率分布。这与给 LLM 加一个强制 schema（JSON mode、structured output 之类）不是一回事：后者只是约束了生成出来的字符串的格式，逐 token 生成的过程一步没少；前者根本没有生成过程。发布文章里把这一区别写作“串行采样”与“并行采样”，所谓“类型安全”也由此而来：输出被限定在给定选项上，不可能出现选项之外的内容。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.49907407407407406" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320838" src="https://wechat2rss.xlab.app/img-proxy/?k=35db4fd9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904ffglojXy3b8raQABaHEpzKZXkzXm11gpZ0ok8Qut3eSRjJ7mESRiaxbdHIgRkam8ISeg1p74iaoVsfWgIUiaq4buLhOaJib1lo4I%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">另一个参照是第 02 节的 BERT 分类器。两者计算形态最接近，都是读取输入一次、直接给出类别概率。区别在任务怎么指定：BERT 分类器的任务在微调时写进参数，类别固定，换一个判断就要重新标注和训练；Jev 的问题与选项是请求的一部分，调用时用自然语言写出。这种通用性来自 LLM 级的底层网络，BERT 只做过填空预训练、规模数亿，读不懂“发件人显示名与邮箱域名是否冲突”这样的指令。代价也对应存在：在标注充足的固定任务上，专门微调的 BERT 往往更准。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">对 Jev 的理解</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">官方没有公开架构，只有“新的模型架构、并行采样器、RLCD 训练方法”几句。但从 API 的行为可以推断它的形态：同一请求里增加问题数量几乎不增加耗时，说明 state 只读取一次、各问题并行处理；255 个选项与 2 个选项耗时相同，说明没有逐 token 解码；选项的位置会影响准确率，符合因果 Transformer 的特征。较可能的实现是：以预训练的因果 Transformer 为底层网络，对 state 做一次 prefill，各问题连同选项作为并行分支同时前向，在每个选项末尾读出分数、对同一问题的选项做 softmax，并用合成数据训练概率的校准度。官方所称的“新架构”，更可能指这套分支、读出头与训练目标的组合，而不是新的注意力机制。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">由此可以给 Jev 一个整体的定位。它没有引入新的 Transformer 结构，而是把“向语言模型提选择题、只读概率不让它生成”这种长期以 hack 形式存在的用法做成了产品，并把概率的校准作为训练目标，这两件事恰好是面向对话的 LLM 长期不在意的。官方与独立评测都显示，在拆分好的判断类任务上，它的准确率与中等推理预算的前沿模型相当，成本与延迟低约两个数量级；同时在不熟悉的领域概率会失准，也不能做数值计算和多步推理。它保留了 LLM 的理解能力，去掉了生成，因此不能写、不能思考、不能作为 agent 运行，换来的是百毫秒级的延迟和可以直接用于程序判断的概率。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">07 一个对照：Laya</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第 06 节把 Jev 拆成两部分：一个 LLM 级的底层网络，和一种一次前向直接读出概率的输出方式。Jev 发布三天后的 9 月 18 日，Convai Innovations 的 Nandakishor M 以 Apache 2.0 开源了 Laya，定位是“33 ms 的开源 System 1 决策引擎”，作者称其思路源于自己 2025 年的研究，社区则普遍称之为开源版的 Jev。它的输出方式与本文对 Jev 的推断相近，底层网络则是一个公开的、小得多的 encoder。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Laya 的结构可以从开源代码直接读出。底层网络是 ModernBERT-large，一个 4 亿参数量级的双向 encoder，即第 02 节 Encoder-only 路线的当代版本；其上接一个小的决策头。每个问题被拼成一条序列：问题类型和指令在前，各个选项在中间，每个选项前放一个 [MASK] 标记，state 接在最后。序列经过 encoder 和决策头后，在每个 [MASK] 位置取出隐向量打一个分，对同一问题的所有选项做 softmax，就得到概率分布。三种原语与 Jev 相同，训练目标同样是概率的校准。它一次最多读入 512 个 token，约一封邮件的长度。发布版本给出的概率整体偏高，即声称的把握高于实际的正确率，作者建议使用者先在自己的数据上做一次校准，再依据这些概率做决策。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="Laya 的做法（据开源代码）：把选项写进输入序列，在每个选项前的 [MASK] 位置读出分数。读出方式与本文对 Jev 的推断相近，底层网络则是一个 4 亿参数的双向 encoder。" class="rich_pages wxw-img" data-ratio="0.4462962962962963" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320841" src="https://wechat2rss.xlab.app/img-proxy/?k=9d3e6dd0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9058gcSMtf8heiaU1vKWPIKATr2BldJmoEr2ic0V0ibrwWjKDXoFSQbWFsLDUNK2olyFpe8Xw9BkDbPX38KfYibQcMSfumVYOZPTlRo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">Laya 的做法（据开源代码）：把选项写进输入序列，在每个选项前的 [MASK] 位置读出分数。读出方式与本文对 Jev 的推断相近，底层网络则是一个 4 亿参数的双向 encoder。</span></figcaption></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">按前文的划分，Laya 是 BERT 分类器往前走了一步：把选项写进输入而不是写进参数，于是不必为每个任务重新训练。这一步正是第 06 节里 Jev 与 BERT 分类器之间的差别，Laya 用一个 4 亿参数的 encoder 走了同一步。就结果的产生方式而言，它与本文对 Jev 的推断相近：一次前向、按选项读出概率、以校准为训练目标。差别在底层网络。Jev 的参数量与结构均未公开，本文依据其零样本表现推断它以 LLM 级的因果 Transformer 为底层；Laya 的底层则是确定的，一个只做过填空预训练、4 亿参数的双向 encoder。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">同样的输出方式装在 4 亿参数的 BERT 上，零样本判断的表现远不及 Jev，作者公布的最好成绩也来自针对评测集微调后的版本；而输出方式本身，用开源 encoder 加一个读出头即可实现，Laya 和随后出现的多个类似项目都是例子。两相对照，Jev 与这些开源实现的差距不在读出方式，而在读出方式之下的网络：能在不训练的前提下读懂任意问题，依赖的是 LLM 级的理解能力。对使用者而言，在自己的数据上做固定判断，微调后的 Laya 是可用的开源方案；需要零样本处理任意问题，目前仍要 LLM 级的底层网络。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">08 全貌</span></span></h3><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.525" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="502320846" src="https://wechat2rss.xlab.app/img-proxy/?k=a7e6faee&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907D0icNOUsicRV5j16H5RRjxU2ga4yJbCTTibibKibab9LJiaWjhbAWqJahcxTBgzg7RXDaSbjgMNicYK3kficg8x4zGGU71KnoOrdKzE4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">回到开头的问题。从 Transformer 到今天，主流模型的骨架没有变过：ChatGPT 与推理模型改变的是训练方式，DeepSeek 与 Qwen 改变的是内部组件。Jev 保留了这套骨架的读取部分和 LLM 级的理解能力，去掉了生成部分；Laya 的对照则说明，去掉生成这一步本身并不难，难的仍是底层网络的理解能力。Jev 不是 LLM 的替代，而是同一底层网络在另一类任务上的另一种用法。是否适用，取决于任务本身需要的是自由的文本生成，还是在有限选项之间做出判断。</span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=84d992a5&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804707%26idx%3D1%26sn%3D9291fb648a66fa13fa295fc5a2156b84">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 19 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>3 个月用Harness重构90万行旧项目：实战经验与踩坑总结</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804394&amp;idx=1&amp;sn=e5c46efb358d97b9f327f49175a8da53</link>
      <description>聊Harness Engineering</description>
      <content:encoded><![CDATA[<p><span>腾讯技术工程</span> <span>2026-10-16 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=3346bae1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906tFDVS2WhhZEFiaPSxznjiaB0jrpII0FQaIQzFvLhnth4zGNbgX7du27JGuNx8k7tQ3iaORCTeUF7msHVuZXjWiaqHyYdIicyWHYTk%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>聊Harness Engineering</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" type="block" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：komahu</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如今程序员越来越离不开AI Coding。当AI有足够能力很快把代码实现写出来，而开发人员在此过程中应该干什么？我们在开发过程中遇到的几个问题：这个需求到底要做成什么样？做完效果如何？最终产物质量够不够好？以前手搓代码时代这三件事裹在日常开发流程里，开发过程中就定好了，开发人员靠专业素养和工具守住软件工程的”规矩“。而如今换成模型来写代码、去跑工具，Harness Engineering把这几个关键点仍然留给开发人员这里把控，整个开发流程严格约束AI，不轻易让AI糊弄过去。开发人员要确保整个流程运行在正确的轨道上。</span></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1、背景</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们目前在做一个内部视频在线剪辑类的重构项目，面对的用户是视频内容运营同学，日常音视频多轨道剪辑、预览、字幕编辑、合成发布。过去交接过好几个团队，今年交到我们手里，团队就2～3人全栈，加上AI一起把整套重写。3月份刚拿到项目后心态有点崩：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">代码体量失控</span></strong><span leaf="">：前后端代码大概90万行，多种风格且耦合严重，单个复杂组件超过6000行；</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">相关文档和单测几乎没有</span></strong><span leaf="">；</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">各种新需求又着急加入</span></strong><span leaf="">：任何一个改动都是牵一发而动全身，必须小心翼翼测试。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以打定主意利用AI把它好好重构一下，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">设定的目标：在3个月内把旧版本还在用的功能做上去，替换掉旧系统，然后再迭新功能，并且能输出一套Harness开发模式可以复用到其他业务场景。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最初评估过几个重构方案：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320652" data-ratio="0.2478793590951932" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="2122" src="https://wechat2rss.xlab.app/img-proxy/?k=32b6994e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907Ld0kRSILp209iciaPickGKV6ew1sdwARAFymSMDpNMqeahVFrgmlVcf8tHFbl1X219TRFnv03qe1iblBKk3f2kHiaHZqiaBBz02jUg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">通过快速简单的尝试，都觉得方案一和方案二不太可行，原因是旧项目结构乱、技术债重，代码量又大，搬过来很容易丢功能细节，而且人还得在不熟的旧代码反复确认逻辑和校对。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以最后我们选的重构方案是方案三：旧项目当需求功能说明书，只借鉴产品功能，利用Harness将代码全部重新写。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">6月底上了第一个试用版，随后转入功能持续迭新。截至8月底，重构版大约12万行代码、15万行文档、6000+测试用例，测试覆盖率86%。真正变了的是开发节奏：从旧项目半年只敢动不到3个需求或紧急Bug → 7、8两个月已经迭代了30+新功能需求。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3626062322946176" data-type="png" data-w="2118" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320653" src="https://wechat2rss.xlab.app/img-proxy/?k=90bf3758&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905nkNhibLibVl54WDppwXjnoJ9wP20rKmhTMnFgcLLZwow3qETobpWqKaAgaaybbovka4Qe1PSNN0SWxSk1JwfzVOrUjib1S7opB8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">通过摸索搭建Harness工作流，AI全部负责需求和设计文档编写和机审、业务代码实现和CR、质量测试验证和文档更新；开发人员定需求、确认需求边界、取舍合理开发方案、技术高风险点确认、人工CR和最终验收。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2、Harness工作流体系</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">视频剪辑类产品既有前端剪辑预览，也有后端视频处理和信息增删改查，所以多数需求要前后端并行开发。工作流节点跟大家现在用的差不多，但无论什么流程，都必须先回答一个问题：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">当AI写完代码，工程质量应该如何可靠验证，才敢合入上线呢？</span></strong><span leaf=""> 就拿“用户上传成功就能进剪辑”功能来说——AI两小时就能开发完成，单测全部通过，实际一看代码连覆盖率可能都它自己“圆”出来的。我们这套Harness工作流的目标就是希望把验证做可靠。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以除了要有AI审查，我们还要求人对需求、设计文档和最终代码做交叉审查。整体思路就两条：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">工程质量越往前控，越可控。</span></strong></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">把运动员和裁判员分开，抵抗人性里的惰性。</span></strong></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">为了方便讲解，我将工作流分为三个阶段：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.4764437689969605" data-type="png" data-w="2632" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:431px;height:205px;" data-imgfileid="502320654" src="https://wechat2rss.xlab.app/img-proxy/?k=0053e55c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907L5eYicL8qjXBKdH7tgMDuBeF0oPY1nslXfBLJoMhaiattozOpYCJXdnicsrxNaibhibptFo1sCGqojAg9jPDHvV8CFia4lIRAvs4vw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">立项设计阶段</span></strong><span leaf="">：主要处理执行写代码前相关工作，工作流节点包括：立项 → 需求澄清 → 需求审查 → 写验收标准 → 验收标准审查 → （前后端）代码架构设计 → 架构设计审查 → 人工需求/设计文档交叉审查。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">开发阶段</span></strong><span leaf="">：如果是跨端需求，前后端会并行同时执行：前后端分别代码实现 → 分别代码审查 → 后端冒烟测试或者前端链路自动化审查。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">开发人员验收和需求收尾工作</span></strong><span leaf="">：人工代码CR、验收、任务归档和发起代码MR等。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">接下来详细聊聊，除了上面标准节点外，在工作流执行中，我们和AI分别具体做了什么来保证工程质量。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.1、立项设计阶段</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7166666666666667" data-type="png" data-w="2400" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:402px;height:288px;" data-imgfileid="502320655" src="https://wechat2rss.xlab.app/img-proxy/?k=be2eed52&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904QQq6krdyAk6OMTcLJF6UQaBKAPjjb5vauhsPMsJnuuu7OwpL11jsn8BPWets0aB1iciaIF0v9ojBn0szmkElOau0TZibkGCiawoU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">此阶段目的写代码之前先把需求、验收标准、设计方案确定下来。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如图可以看到，我们在工作流（上图红和绿色方块）中间插了好几次审查，包括人审和AI审查，似乎多余浪费人的精力和Token的设计。但我们其实是在初期踩过坑之后才加上的，为的是确保需求、代码设计符合要求。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以需求澄清、验收标准、设计文档，要求开发同学都要自己看一遍，也需要对当前架构了熟于胸，以便做出一个程序员在以前手搓时代做过的必要判断。同时AI把产生的文档里能扫出来的文字类、一致性和设计类问题扫出来，人把注意力留在“这个需求合不合理、符不符合产品要求”。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">同时，我们也要求确认好可执行的需求、设计等相关文档在此阶段应该及时提前提出MR，要求非此需求负责人纳入执行review，尽可能将问题在设计阶段暴露。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">此步骤总的目的很简单：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">尽量在源头减少 AI 产生的目标漂移。</span></strong></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">需求审查</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求审查是通过人工校对和AI检查对需求文档是否能得上立项时沟通的要求，确保方向正确。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以开发人员必须把需求文档看明白，尤其是在需求比较大时，一旦有一些细节没有沟通清楚（可能是没有想到的细节点），AI很容易自己脑补它认为正确的常见做法。比如，在我们视频剪辑项目中：转码参数细节、超时了错误处理、老数据缺字段算不算坏数据等边界情况，部分情况AI并不会停下来跟人来确认，或者问了人没仔细看图快点了推荐确认，最终做出来的需求可能跟我们预想大相径庭。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 独立审查是把人看着累不容易发现、机器扫得快的问题找出来：如禁止含糊词（如：适当、尽量）、代词不知道指谁、章节或者链接引用是死链、补充缺失信息。而人把重点精力放在判断当前需求文档合不合理、符不符合产品要求。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">验收标准审查</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这里审查的是最终验收目标有没有写对</span></strong><span leaf="">。因为代码实现、审查、测试，AI都按这份文档当最终标准。一旦写得不清楚，或者只写“用户上传成功”这种大而不够细节的结果，AI一偷懒就容易把结果”做“通过。所以把什么算通过，什么算不过都写清楚，实现和测试才会覆盖到这些条件。同时也要把量化的尽量把验收数字也确定下来。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">架构设计审查</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">此步骤重点审查技术方案合理性、可行性和扩展性</span></strong><span leaf="">：当前目标变更代码设计是否合理、有没有复用或扩展现有已经类似功能代码、前后端协议是否对齐、字段表前后一致、后续扩展性、错误路径问题等等。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">例如，在我们工作流搭建初期阶段，代码质量扫描工具扫描重复代码出现概率高了很多。分析发现AI的工作原理带来的，它写的局部代码比较优，但对于全局是未必的。因为每次新需求对它都是一个新的开始，随着项目代码量的越来越大，它需要了解的内容和遵守的准则越来越多，如果检索词太窄或者根本没搜类似的实现代码，就着急开始自己着手实现。同时我们还发现一旦有”屎山“前兆，不加以控制，会导致问题快速堆积：例如，即使AI发现同一功能已经有多种实现时，它也不会自己收敛，反而去不停打各种奇怪的补丁，从而项目质量进一步恶化。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf=""><a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83);font-weight: bold;border-style: none none solid;border-width: 3px 3px 0px;border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2);border-radius: 0px;margin: 0px;padding: 0px;text-decoration: none;overflow-wrap: break-word;font-family: &#34;Microsoft YaHei&#34;;" href="https://www.gitclear.com/ai_assistant_code_quality_2025_research/" textvalue="" linktype="text" data-linktype="2">行业观察GitClear</a>对过去大量代码的质量研究里，发现AICoding逐步普及后，代码的重复率从8.3% 提升到了12.3%。所以我们设定AI架构设计审查环节，在设计文档阶段必须审视当前架构合理性。同时要求人也要对当前架构了解熟悉，能从设计文档上裁定新增或变更的代码能不能复用，架构合不合理，这样做性能够不够好。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.2、开发阶段</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.895010395010395" data-type="png" data-w="1924" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:353px;height:316px;" data-imgfileid="502320656" src="https://wechat2rss.xlab.app/img-proxy/?k=6d5b7f46&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904hzlGia4VKylLjwKHUM9ITR1hJX9iaoeytibAEhDuOHzWWQzCHcDvpkbLV5sVrZlzrI7186zZmDmmAlqqFoODphiap9lTs64QrkJs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">进入开发阶段，跨端需求会分前后端两条链路并行进实现。按照设计文档使用TDD先写契约测试再实现，同时通过Rules和宪章让AI遵守好的代码习惯。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">但即便如此，AI还是会出现写出烂代码的情况，因为这些在我们看起来应该是限制文件，但对于AI来说更像是叮嘱式的建议</span></strong><span leaf="">，随着Context使用越来越多时，信息被稀释，AI往往会忽略曾经的约定，所以代码自动化CR是必不可少的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">而在AI代码CR阶段，我们给各个SubAgent赋予架构、安全、契约、性能、接口契约、运行时、代码规范、测试几个维度的审查角色。这样设计的目的，是希望Agent专职审查同一类型的问题，确保注意力不会分散。前几天正好看到<a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83);font-weight: bold;border-style: none none solid;border-width: 3px 3px 0px;border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2);border-radius: 0px;margin: 0px;padding: 0px;text-decoration: none;overflow-wrap: break-word;font-family: &#34;Microsoft YaHei&#34;;" href="https://www.youtube.com/watch?v=zcLPGC-tvgk" textvalue="" linktype="text" data-linktype="2">行业大佬Uncle Bob的一个访谈</a>，他在Harness时会把实现、清理、强化、验收拆开，目的还是跟我们一样，就是给AI任务够细够聚焦，信息才不容易丢失。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">接着就是传统工程质量检查：单元测试、冒烟测试、E2E测试、测试覆盖率、质量指标。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">加入这些传统自动化工程质量检查的好处是能确认可靠的质量，提升我们对代码质量的信心，同时又不占 Context，AI只需要看结果是否通过即可</span></strong><span leaf="">。但跑下来我们仍然发现两个大的问题：</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">AI会作弊</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">例如，测试覆盖率阈值如果只写成“覆盖通过”，没写清超过多少覆盖率，甚至它为了过关会偷偷改条件而通过质量检查。所以现在相关阈值我们不放在脚本默认值里，放进单独的红线配置。改动会触发门禁，工作流会停下来等人工确认。</span></p><h5 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 16px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">测试用例的质量问题</span></span></h5><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 很容易把测试覆盖率写得很“感人”，部分代码轻轻松松能达到90%+，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">但测试覆盖率这项指标只能说明覆盖到没有，说明不了测试质量情况</span></strong><span leaf="">。当同一模型既写函数又写测试时，很容易出现定制化断言，错的行为或者参数也能通过测试，这时的测试用例覆盖率其实是没有什么说服力的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">所以我们在工作流里加入了变异测试环节，目的是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">通过得出变异测试得分来评估单元测试有效性和质量情况</span></strong><span leaf="">。它的原理是自动修改源码，故意把大于改成大于等于、把条件反转，再跑测试。每修改一次，它就会运行一遍完整的测试，通过把代码故意改坏，来预期测试用例应该失败。如果测试用例如果没有失败，就说明这个断言其实不够严谨，需要打回修改更正。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">从搜索到<a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83);font-weight: bold;border-style: none none solid;border-width: 3px 3px 0px;border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2);border-radius: 0px;margin: 0px;padding: 0px;text-decoration: none;overflow-wrap: break-word;font-family: &#34;Microsoft YaHei&#34;;" href="https://getautonoma.com/blog/mutation-testing-vs-code-coverage" textvalue="" linktype="text" data-linktype="2">行业观察数据</a>来看，AI生成测试的变异测试得分常在20~40分，而人写一般能得到60~80（搜索的参考数据，不一定完全正确，随着AI发展可能数据会变化，我实测下来一般在50~60）。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果你也想在自己工作流上加入变异测试，我认为有一个点还需要注意：假设原本跑完一次全量单测测试用例要1分钟，引入变异测试后，需要反反复复的修改源码来跑几百遍全量测试用例，全量跑完测试时间可能变成30分钟或者更久。如果你有时间效率要求，又想加入变异测试，建议对增量或者修改的单测跑。至于过去的旧单测，可以当个技术债需求来收就好。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3、人工验收和收尾</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.8981288981288982" data-type="png" data-w="1924" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:398px;height:357px;" data-imgfileid="502320657" src="https://wechat2rss.xlab.app/img-proxy/?k=d184be39&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906GSrLzZiauhIr1fbQ8AkRcTNOJJriajESVYpQOIFNHztknDye9NJjPYsOwrib6V5e6VrdgWiaowEDKcuJg1SoZD9GJrE6yto8lAVM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">工作流走到最后阶段，除了归置对应的工作流文档和开发功能自测外，我想聊一下我认为非常重要但目前容易忽略的最后一道门禁——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人工CR</span></strong><span leaf="">。但是随着AI写代码能力越来越强，越来越快，人工CR存在的必要性？如果要读，应该怎么读，读多少？甚至是不是应该放心全部交给AI来干CR？</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">”我“的责任心要求”我“对代码负责就必须理解它，但是AI代码产出快，而且量又大，“我”根本看不过来，整个工作流效率的瓶颈变成”我“读懂才能放心合入。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们目前的做法是&#34;验证需求和体系设计 + 问题分歧裁决 + 重要代码精读&#34;（不一定是最优，但看上去是适合我们目前的较优解法，如果有更好方法欢迎大家分享）。工作流搭建各种审查、角色检验等目标不是为了不读代码，而是把逐行阅读代码效率从机械性的内容中解放出来，所以我们集中阅读几个核心读物：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求文档</span></strong><span leaf="">：这个需求内容是什么，是不是我们或者产品同学需要的功能；</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">设计文档</span></strong><span leaf="">：当前技术方案是什么，是不是应该这样设计；</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">重要代码</span></strong><span leaf="">：重点关注的关键路径核心代码；</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">验收报告</span></strong><span leaf="">：确认设计到代码实现是否符合要求。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我个人认为，人工CR还是非常有价值的：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一、</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">团队对当前代码该不该合入而负责，应该具备应有的系统判断；</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">二、</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">CR对于个人是一种成长，通过优秀代码学习，提升专业素养的途径。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">业界里跟我们这个思路比较接近的，谷歌大佬Addy Osmani的文章《<a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83);font-weight: bold;border-style: none none solid;border-width: 3px 3px 0px;border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2);border-radius: 0px;margin: 0px;padding: 0px;text-decoration: none;overflow-wrap: break-word;font-family: &#34;Microsoft YaHei&#34;;" href="https://addyo.substack.com/p/agentic-code-review" textvalue="" linktype="text" data-linktype="2">Agentic Code Review</a>》中提到：程序员不是退出审查代码，是上移一层——抽查代码、审计方案，把有限的注意力花在更重要的地方。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但也搜到一些更极端的看法，Redis之父Antirez最近在文章《<a class="normal_text_link" target="_blank" style="color: rgb(62, 71, 83);font-weight: bold;border-style: none none solid;border-width: 3px 3px 0px;border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4) rgb(255, 53, 2);border-radius: 0px;margin: 0px;padding: 0px;text-decoration: none;overflow-wrap: break-word;font-family: &#34;Microsoft YaHei&#34;;" href="https://antirez.com/news/169" textvalue="" linktype="text" data-linktype="2">Control the ideas, not the code</a>》中写到：他现在基本不读代码，只控制AI的想法和设计。他的理由跟我们痛点一样：AI一天能产出成千上万行代码，逐行理解根本看不完，所以他选择不看。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但他说能这样做的前提是能看懂AI的设计描述，能判断对不对、哪里有问题、这个方向对不对，同时有可靠的检测机制。同时他也提了一个有意思的问题，如果没有经验的年轻工程师看不懂设计和没有发现问题的能力应该怎么办，他自己也没有答案。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">关于CR的最佳实践方案，我们也还在摸索中，团队中有人认为提升专业素养途径，与其CR AI产出可能的垃圾代码，更好的提升途径应该是认认真真花时间手搓代码学习和积累经验。如果大家有更好的做法，欢迎留言。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3、工作流里一些其它值得提的点</span></span></h3><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.1、多 Agent 协同</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在开发阶段AI CR时提到我们拆了好几个审查角色，这里说下为什么要这么拆。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">刚开始我们让Agent自己写完代码后，换个角色合约让Agent自己再CR一遍。很多时候CR报告都是通过状态，但发现还是会有遗漏。本质上还是AI自己审查容易陷入过度自信导致，觉得自己写的东西没问题。所以目前不管是CR还是方案审查，都有必要拆分SubAgent来独立执行验证角色 + 可程序化的验证命令。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这样做还能有2个好处：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">任务能拆得足够细、足够聚焦</span></strong><span leaf="">：每个专职SubAgent有自己的角色合约和审查清单，注意力能关注在一个维度上。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">SubAgent可以从创建 → 执行任务 → 消失，执行完就关掉，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">面对的是干净的上下文，不会被以前的内容所干扰</span></strong><span leaf="">。</span></p></li></ul><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.2、工作流状态机和防AI篡改</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">整个工作流进度由一个Python CLI管理，配合Hook守卫防篡改。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">核心思路：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">进度存文件，AI 只能通过命令推进，不能手动篡改</span></strong><span leaf="">。这样做目的是防止AI偷偷标记&#34;已完成&#34;跳过某些步骤。同时也可以记录当前执行需求每一步骤信息，用于冷启动时恢复上下文。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">相关工作流数据（每个步骤完成时间、由谁触发、相关报告等）还能用于任务审计。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.3、Token消耗的经济性设计</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当时设计此工作流时，很多国产AI的开发能力还没有完全起来，国外的又比较贵，而且Token预算有限，想用尽量少的Token做更多的事情。同时也想避免Context膨胀会导致AI注意力稀释和幻觉率上升。所以我们对工作流做了一些经济性设计：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Context分层加载</span></strong><span leaf="">：将各类工作流资产（包括Rules\Skills\角色合约文档等）设计为3档(L1/L2/L3)分时加载，具体如下：</span></p></li></ul><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">加载时机</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">具体行为</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p><span leaf="">内容</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">L1 会话常驻层</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">每次对话都在，提供任务路由入口和全局约束</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">AGENTS.md（99行 任务路由 + 团队红线 + 文档索引）、项目技术栈与结构约定，总共约 300 行，不抢占AI的&#34;工作记忆&#34;</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">L2 按阶段触发层</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">按当前工作流处于什么阶段来触发决定读取内容</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">按阶段需要注入自己相关的技能手册、SubAgent角色合约等</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">L3 按需查询层</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">该读什么由当前遇到问题决定</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p><span leaf="">跨服务调用的服务契约、Debug 指南等在调参或排查等。</span></p></td></tr></tbody></table></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">模型按需分配</span></strong><span leaf="">：可以通过配置按阶段指定使用不同的模型，一些步骤如文档同步、冒烟验证用弱推理，设计、CR、开发用强推理，简单任务不占用强模型配额，把好钢用在刀刃上。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">工作流冷启动重开</span></strong><span leaf="">：当对话轮数过多、AI响应明显变慢，Context 接近上限时可以利用工作流冷启动机制主动重启用于有效清除多余的对话上下文。但不能无差别使用，因为过早重启反而丢失已建立的理解成本，得不偿失。</span></p></li></ul><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">4、最后</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果你也有历史技术债很重并且还需要持续维护的旧仓库，靠手搓重构可能要花半年甚至一年时间，希望本文能给你带来一些借鉴意义。要是回到3月我们刚刚接手项目时，我个人认为工作流最值得的投入和走过的弯路是：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3032747982914096" data-type="png" data-w="4214" style=";" data-imgfileid="502320658" src="https://wechat2rss.xlab.app/img-proxy/?k=d12388d3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905YX7kudWNibsHIjwXH3nicTcibeGaUtZiaAAmhSzbb1zYicjMPACgNe5v3Lku2VnG7pdxj5Qiadlgj9EEic7MJzRcdksp8c3eOaX2Nmg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">Harness Engineering不是一次性工程，初步体系搭好只是开始，会跟着工程问题的出现或者AI模型能力的提升持续进化。而开发者充当的角色也在过程中逐渐发生变化，例如前后端的边界在淡化，从过去专精某一端的实现者到现在变成对整个需求全栈负责。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">随着AI越来越智能化，下一步开发者角色会变成什么样？我也说不准，但目前能确定的是：如今AI的代码产出越来越快，写代码的门槛也越来越低，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">能把需求想清楚，在开发过程中守住工程判断，把控好工程质量，同时把最终结果验清楚</span></strong><span leaf="">——做好这几件事，可能才是程序员的护城河。</span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=3502c239&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804394%26idx%3D1%26sn%3De5c46efb358d97b9f327f49175a8da53">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 16 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>把逆向工程交给 Agent：一文拆解爆火的 REA 技术原理</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804299&amp;idx=1&amp;sn=e1808d10ae74ddad4c3b38a9e77d2c54</link>
      <description>23 万星爆火的 REA 到底是什么？</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-15 17:40</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7deab1b3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz905tq5ncvs29eiaibRicdicuYQicnOSttQibXiaThVEuoOJpic4jiacTICibico5ME6FMR5MeiciaDYowY1ChJxCl14yWZ0ibdDdfYesyPicFrPIpE%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>23 万星爆火的 REA 到底是什么？</p>
  <p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="188" data-backw="578" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width: 100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">作者：</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">stevenzuo</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">引言</span></strong><span leaf="">：10 月上旬一周内，GitHub 上一个叫 REA 的项目 Star 从 1.5 万冲到 23 万+，凭什么这么火？</span></p><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf=""><span textstyle="" style="font-weight: bold;">REA</span> 全称 Reverse Engineer Anything——逆向一切，要啃的是计算机领域一个由来已久的硬骨头：没有源码，如何从编译好的二进制里反推出软件的实现逻辑。过去这是逆向工程师用 Ghidra、IDA、Hopper 纯手搓死磕的苦活。本文深入拆解 REA 的工作机制与架构——逆向工程从&#34;人用工具&#34;切换到&#34;Agent 用工具&#34;，究竟是如何实现的。</span></p></blockquote><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">一、背景与痛点：逆向工程是件手搓的活</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">大家遇到的一个最常见的场景：当你刷 App 时看到别人家有个功能做得不错，想在自己的产品里复刻一个，但人家不会给你源码。这时候想搞明白这功能到底怎么实现的，就只能从编译好的程序里反推逻辑，这件事就叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">逆向工程</span></strong><span leaf="">。它跟&#34;破解软件&#34;是两回</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">事，正经用途是恶意软件分析、漏洞研究、协议理解、旧系统兼容、恢复遗失源码</span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">问题在于，过去这件事全靠人肉：逆向工程师手动打开 IDA、Ghidra 这些工具一点点翻。工具本身很专业，但整条流程很原始，全靠手搓：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz904XpH0KH7LhiapNPAV4LEXqosGuJmCaG5wPXazX9h94cdVSleU7K1RoNSozL3yTtz22RauaTUEpQAu9icWsvVYrJvz0kEup0NJEM/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="353" data-imgfileid="502320644" data-ratio="0.6109839816933639" data-s="300,640" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-type="png" data-w="2622" src="https://wechat2rss.xlab.app/img-proxy/?k=50c36938&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904XpH0KH7LhiapNPAV4LEXqosGuJmCaG5wPXazX9h94cdVSleU7K1RoNSozL3yTtz22RauaTUEpQAu9icWsvVYrJvz0kEup0NJEM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">痛点</span></strong><span leaf="">：逆向的门槛不在&#34;工具难用&#34;，而在&#34;每一步怎么走、走到哪一步算完&#34;——这些全装在逆向工程师的脑子里，光会操作工具还不够，还得靠多年积累的经验。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">三个问题随之而来：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">痛点</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">表现</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">工具散、门槛高</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">IDA、Ghidra、Hopper、JADX 各有各的操作方式，入门要啃几个月的快捷键和概念</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">过程黑盒</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">一次逆向&#34;为什么追这个 XRef、为什么进这个函数&#34;，没有留档，别人无法复核</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">经验不沉淀</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">每个逆向工程师的套路是孤立的，换个目标、换个人，都要从头再来</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">说白了，逆向这活儿长期卡在两件事上：门槛高（得会熟练操作一堆专业工具），经验还带不走（全在人脑子里）。那能不能让 AI 编程助手自己来干？这正是 REA 在做的事。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">二、三大挑战：为什么逆向一直是 Agent 的禁区</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">过去不是没人想让 AI 做逆向，是三个坎一直迈不过去。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2.1 工具不可调用</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">编程 Agent 擅长&#34;读代码、写代码&#34;，但 Ghidra、Hopper 这些是 GUI 桌面软件，没有统一的编程接口。Agent 想分析一个二进制，要么没法调工具，要么得为每个工具写一套胶水代码。工具和 Agent 之间，缺一个标准接口。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2.2 过程不可追溯</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">逆向的产出应该是一份&#34;证据链&#34;：这个函数在哪个地址、被谁调用、反编译出来是什么。但传统逆向的产出往往只有结论，没有中间证据。Agent 如果直接给结论，没人敢信；要让它给证据，得先把&#34;发现&#34;结构化。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2.3 经验不可复用</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一个经验丰富逆向工程师——&#34;先搜字符串、再追 XRef、可疑点回汇编验证&#34;——是一套方法论。这套方法论写不进工具，也没法被另一个 Agent 复用。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">三层叠加</span></strong><span leaf="">：工具接不上、过程没留痕、经验不沉淀，让&#34;让 AI 做逆向&#34;这件事，在 REA 出现之前一直停在 demo 层面。</span></p></blockquote><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">2.4 问题本质：逆向不是算力问题，是编排问题</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这三道坎背后是同一个根子：逆向的本质，是一套</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">调查流程</span></strong><span leaf="">（search → XRef → call graph → decompile → 重建），不是单次算力调用。谁把这套流程标准化、接口化，谁就能让 Agent 跑起来。REA 做的就是这个。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">三、整体思路：把工具接成 MCP 接口</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.56640625" data-s="300,640" data-type="png" data-w="2560" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz904Qc1WEiaRDrMrnFINtwgxN1MYtapLMTibcic23sgm7xwwufTl14SpECh1rmzhPP5hQ4O1LN62DysRiaibVb5dRziaAJ0DmFKyiaZRiasM/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="328" data-imgfileid="502320645" src="https://wechat2rss.xlab.app/img-proxy/?k=eded62eb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904Qc1WEiaRDrMrnFINtwgxN1MYtapLMTibcic23sgm7xwwufTl14SpECh1rmzhPP5hQ4O1LN62DysRiaibVb5dRziaAJ0DmFKyiaZRiasM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">3.1 一句话概括</span></h3><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">逆向工程的本质，不是&#34;会用工具&#34;，而是&#34;能调用工具并拿到带证据的结论&#34;。</span></strong></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">REA 的定位很克制：它不自研反编译引擎，而是做一个 MCP（Model Context Protocol）服务器，把 Hopper、Ghidra、IDA、JADX 这些已有工具包装成 Agent 能直接调用的接口。Agent 通过 MCP 问一句&#34;这个搜索功能怎么实现的&#34;，REA 去查目标、追踪代码，返回</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">带证据的发现</span></strong><span leaf="">，Agent 再据此解释行为、写测试、重建实现。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">3.2 核心工作流闭环</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.7592446892210858" data-s="300,640" data-type="png" data-w="2542" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz907zQWC3cnynSkNV0lOibKC7lfrqpHFaOV2HUwyRia7el9nuUFlicfrbQXoEcfN13a913dGUAS6uRwfOQIpasFe3ibhtlQuUmibcACt0/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="439" data-imgfileid="502320646" src="https://wechat2rss.xlab.app/img-proxy/?k=0105f3d0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907zQWC3cnynSkNV0lOibKC7lfrqpHFaOV2HUwyRia7el9nuUFlicfrbQXoEcfN13a913dGUAS6uRwfOQIpasFe3ibhtlQuUmibcACt0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">标准流程就是一条固定的调查链：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">打开二进制 → 搜索字符串 → 追 XRef → 看 Call Graph → 反编译 → Agent 重建功能</span></strong><span leaf="">。Agent 自主决定下一步搜什么字符串、追哪个 XRef、进哪个函数、何时回汇编验证。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">3.3 一句话说清它解决了什么</span></h3><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">挑战</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">REA 的答案</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">工具不可调用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">MCP 标准化，把 GUI 工具接成编程接口</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">过程不可追溯</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">结果契约：每条发现都附带证据和局限说明</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">经验不可复用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">安装时注入工作流指令（skill），调查方法论变成可复用的资产</span></p></td></tr></tbody></table><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">四、架构拆解：四个关键设计</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">REA 的仓库是 TypeScript + Node.js，用 Turbo 管 monorepo，Vitest 做测试。真正值得说的是它的四层设计。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4.1 桥接层：一套接口，多引擎可插拔</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">🎯 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">挑战</span></strong><span leaf="">：Hopper、Ghidra、IDA 三家反编译器，各有各的 API 和启动方式，不可能让 Agent 记三套语法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">解决方案</span></strong><span leaf="">：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">bridge/</span></code><span leaf=""> 目录做统一桥接，把不同供应商的工具封装成一致的 MCP 工具接口。原生分析支持多 Provider 选择，用环境变量切换引擎：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf=""># 用环境变量切换反编译引擎、调整启动超时</span><span leaf=""><br/></span><span leaf="">REA_HOPPER_STARTUP_TIMEOUT_MS=60000</span><span leaf=""><br/></span><span leaf="">REA_GHIDRA_STARTUP_TIMEOUT_MS=60000</span></code></pre><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">敲重点</span></strong><span leaf="">：桥接即扩展——Bridge as Extensibility。加一个引擎，加的是桥接实现，不是改上层接口。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5661492978566149" data-s="300,640" data-type="png" data-w="2706" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz907hwej0cTHJOMMMlpIZC7mc8zF2Y65XCXulu2e3NI4ibSk1U9pQFfgXIs5UnD3fUmic1z4Ree03wdMsuHtBkDPncmwo9AiaH3cMbw/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="327" data-imgfileid="502320647" src="https://wechat2rss.xlab.app/img-proxy/?k=3eea63ba&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907hwej0cTHJOMMMlpIZC7mc8zF2Y65XCXulu2e3NI4ibSk1U9pQFfgXIs5UnD3fUmic1z4Ree03wdMsuHtBkDPncmwo9AiaH3cMbw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4.2 静态与运行时分层</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">🎯 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">挑战</span></strong><span leaf="">：不同的目标类型，分析方式完全不同。JavaScript、.NET 直接读文件就行，原生二进制要跑 Ghidra，Android 要上 JADX。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">解决方案</span></strong><span leaf="">：REA 按&#34;静态 / 运行时&#34;两层切。静态分析（JS、.NET、APK 解析）不运行目标、直接读文件；运行时捕获（进程行为、Frida 验证）才与目标交互。目标类型覆盖极广：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">类别</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">目标</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">引擎</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">原生二进制</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">ELF / PE / Mach-O</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">Hopper / Ghidra / IDA</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">托管代码</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">JavaScript / Electron / .NET</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">内置静态解析</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">移动端</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">Android APK / Flutter / Apple 包</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">JADX + JDK / Apktool</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">运行环境</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">SQLite / 进程行为 / 崩溃</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">Node.js / PTY / pwntools</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">网络固件</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">HAR / pcap / 固件 / 信号</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">TShark / Binwalk / sigrok</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5662472242783123" data-s="300,640" data-type="png" data-w="2702" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-croporisrc="https://mmbiz.qpic.cn/sz_mmbiz_png/KVER9adz907gkRWAmDdb68f6zy9zaUqiczP2Mnl3cA0UObVzHia4mNlMvg7oRLODtVpgDibeibvwDiaWUtzT5hEMJ4hFNhn2bTxBkx621LVKypuM/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="328" data-imgfileid="502320648" src="https://wechat2rss.xlab.app/img-proxy/?k=53e5c228&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907gkRWAmDdb68f6zy9zaUqiczP2Mnl3cA0UObVzHia4mNlMvg7oRLODtVpgDibeibvwDiaWUtzT5hEMJ4hFNhn2bTxBkx621LVKypuM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4.3 结果契约：发现必须带证据</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">🎯 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">挑战</span></strong><span leaf="">：Agent 给结论没用，得有证据支撑，否则不可信、不可复核。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">解决方案</span></strong><span leaf="">：所有分析结果都附带</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">证据和局限性说明</span></strong><span leaf="">。Agent 拿到的不只是一个&#34;函数是干这个的&#34;，而是&#34;这个函数在地址 X、被 Y 调用、反编译伪代码是 Z、结论的置信边界是 W&#34;。这直接对标工程里的&#34;结论可追溯&#34;。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">敲重点</span></strong><span leaf="">：证据即可信——Evidence as Trust。逆向的产出不是答案，是一条能回放的证据链。</span></p></blockquote><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">4.4 安装即注入：</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">npx rea-agents setup</span></code></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">🎯 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">挑战</span></strong><span leaf="">：怎么让 Agent &#34;学会&#34;逆向的调查方法论，而不是只会调工具。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">💡 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">解决方案</span></strong><span leaf="">：一条命令完成三件事——注册 MCP 服务器、安装工作流指令（skill）、备份现有配置：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">npx rea-agents setup</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">setup 之后重启 Agent，它就有了逆向的调查能力。官方支持 Claude Code、Codex、Cursor、Gemini CLI、Grok Build 等，其他客户端可手动注册 MCP。这也解释了为什么它爆火：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">接入成本一条命令，价值却是整套逆向工具链</span></strong><span leaf="">。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">决策</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">取舍理由</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不做引擎、只做桥接</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">复用几十年沉淀的 Ghidra/IDA，专注解决&#34;编排&#34;这个真问题</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">MCP 而非自建协议</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">借 MCP 生态，任何支持本地 MCP 的 Agent 都能用</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">结果带证据</span></strong></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">Agent 时代&#34;结论可追溯&#34;是硬门槛，不是可选项</span></p></td></tr></tbody></table><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">五、实战案例：社区已经逆向出什么了</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">REA 爆火的另一半原因，是社区案例足够硬核，每个都能验证&#34;它到底能不能干活&#34;。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">案例 1：DX-Ball 声音算法字节级还原</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1996 年的老弹球游戏，从编译好的 x86 二进制里抠出声音左右声道定位函数，用 C 重写后跑了 3205 个原始测试用例全部通过，63 个编译字节与原版完全一致。这是官方最硬核的 showcase，证明了&#34;不是看着像，是真的对上了&#34;。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">案例 2：Notion 剪贴板调用链全追踪</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从 Electron 渲染进程的剪贴板 API 出发，穿过 preload 脚本、IPC 通道，一路追到主进程，把 Notion 富文本剪贴板的完整数据格式和消息 payload 全部扒了出来。Electron 三层架构的逆向，社区里最经典的案例之一。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">案例 3：东方 TH04 弹幕角度计算恢复</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">PC-98 平台上的 16 位老游戏，从 16 位汇编指令里恢复了固定角度和瞄准角度两套弹幕计算逻辑，还把重建结果和历史编译器输出做了交叉验证。对 Mod 作者和老游戏保护者来说价值很大。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">案例 4：Sony Sound Connect 独立 Android App</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">社区开发者连接 Samsung S24 Ultra，让 Codex 用 REA 分析 Sony 官方 App，逆向出 Wind Noise Reduction 功能的实现链路，做了一个独立 App——打开就能直接开启降噪。这是目前最接近&#34;真实商业 App 功能提取&#34;的案例。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">案例 5：射击游戏 99% 函数还原为 C++</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">十几个 Agent 并行工作，把一款商业射击游戏 99% 的函数还原成了 C++，其中 83% 编译后和原程序逐字节一致。这个案例用的不是 REA 而是 Hex-Rays 官方 MCP，但同样属于这波 AI 逆向浪潮的代表作，说明了 Agent 并行逆向的可行性。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">另有社区案例：YuriRDev 不到 12 小时逆向自有家居 IoT 软件实现电脑控制、greco 逆向自家电视、BrOrlandi 逆向小米体脂秤并开源 dashboard。这些的共同点：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">发布者都不是专业逆向工程师，而是&#34;会提问的普通开发者&#34;</span></strong><span leaf="">。</span></p></blockquote><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">六、效果与方法论：从&#34;会用工具&#34;到&#34;会提问&#34;</span></h2><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">6.1 量化对比</span></h3><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">维度</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">传统逆向（人用工具）</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">Agent 逆向（REA）</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p style="text-align: justify;"><span leaf="">变化</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">入门门槛</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">啃几个月 GUI 工具</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">一条 </span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">npx rea-agents setup</span></code></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">月 → 分钟</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">分析过程</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">在脑子里，无留档</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">每条发现带证据可回放</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">从无到有</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">经验复用</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">靠人传帮带</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">工作流指令 + 社区案例</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">资产化</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">目标规模</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">单点分析</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p style="text-align: justify;"><span leaf="">可整体丢几十 MB 目标</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">量级跃升</span></strong></td></tr></tbody></table><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">6.2 价值跃迁三重突破</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.6257621951219512" data-s="300,640" data-type="png" data-w="2624" style="max-width:100%;display:block;margin:16px auto;border-radius:4px;width:100%;" data-croporisrc="https://mmbiz.qpic.cn/mmbiz_png/KVER9adz907bdomSzJ4O5LSdX0eINNibuicB4TWmtZhM0dk8ZkddUibMnia1GxGOuzWhgWqTu23nt7Tp2zsib363YZveVicoicNN5AGc4whqkc49BU/0?wx_fmt=png&amp;from=appmsg" data-cropselx1="0" data-cropselx2="578" data-cropsely1="0" data-cropsely2="362" data-imgfileid="502320650" src="https://wechat2rss.xlab.app/img-proxy/?k=c91ebb77&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907bdomSzJ4O5LSdX0eINNibuicB4TWmtZhM0dk8ZkddUibMnia1GxGOuzWhgWqTu23nt7Tp2zsib363YZveVicoicNN5AGc4whqkc49BU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">⚡ </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">量化提效</span></strong><span leaf="">：接入成本从&#34;啃几个月工具&#34;压到&#34;一条命令&#34;，社区案例从几小时到十几小时完成一个完整逆向闭环。</span><span leaf=""><br/></span><span leaf="">📥 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">能力下沉</span></strong><span leaf="">：逆向从专业工种，下沉到&#34;会提问的工程师&#34;——案例发布者里大量是普通开发者。</span><span leaf=""><br/></span><span leaf="">📚 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">模式升级</span></strong><span leaf="">：这件事真正的趋势意义，是&#34;人提出需求、Agent 用工具&#34;开始覆盖逆向这个原本最依赖人工经验的领域。</span></p></blockquote><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">6.3 方法论提炼</span></h3><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">6.3.1 桥接即扩展：Bridge as Extensibility</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">REA 不重写引擎，只做统一桥接。加一个反编译器是加桥接实现，上层接口不动。这比&#34;自研一套逆向引擎&#34;聪明得多——它站在 Ghidra、IDA 几十年沉淀的肩膀上，专注解决&#34;编排&#34;这个真正没被解决过的问题。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">6.3.2 证据即可信：Evidence as Trust</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Agent 时代的逆向产出不是&#34;一个答案&#34;，而是&#34;一条能回放的证据链&#34;。函数在哪、被谁调用、伪代码是什么、边界在哪，缺一样都不算可信。</span></p><h4 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-weight: 700;color: rgb(62, 71, 83);margin: 18px 0px 8px;"><span leaf="">6.3.3 提问即编排：Prompt as Orchestration</span></h4><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">逆向的调查流程（搜字符串 → 追 XRef → 反编译 → 重建）被固化进工作流指令，Agent 自主决定下一步，工程师只负责提问和核实。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">七、边界与局限：REA 现在还不能做什么</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，REA 并不是&#34;逆向一切&#34;的法宝。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">不适合的场景</span></h3><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">复杂混淆、反调试、虚拟机壳：</span></strong><p style="text-align: justify;"><span leaf="">遇到商业级加固，Agent 仍会卡住，这层是反编译引擎自身的边界，不是桥接能解决的。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">内核级逻辑、驱动逆向：</span></strong><p style="text-align: justify;"><span leaf="">需要的是更深层的动态调试能力，当前 REA 的静态优先路线覆盖不全。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">需要法律授权的目标：</span></strong><p style="text-align: justify;"><span leaf="">REA 明确声明只用于合法研究、教育、互操作性、软件保存，分析你拥有或被授权检查的软件。社区案例（逆向自家电视、自家体脂秤）都守着这条红线。</span></p></li></ul><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">核心判断</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">场景是&#34;分析一个有权检查的目标、想搞清功能怎么实现&#34;，用 REA 很合适；场景是&#34;破商业加固、碰 DRM&#34;，REA 既做不了，也不该做。</span></strong></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">结语</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">REA 爆火这件事，真正的信号不在&#34;逆向工程火了&#34;，而在它印证了一个已经发生多次的趋势：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Agent 的能力边界，正在从&#34;读代码、写代码&#34;，扩到&#34;调用任何工具&#34;</span></strong><span leaf="">。逆向只是最新被&#34;Agent 化&#34;的一个领域，前面有代码生成，后面还会有更多。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它的价值不在技术有多新——桥接、MCP、结果契约，都是成熟的东西——而在它把这几样成熟的东西组合起来，回答了那个一直没被回答好的问题：逆向这套高度依赖经验的流程，怎么才能被标准化、接口化、交给 Agent。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">逆向工程的门槛，从&#34;会用工具&#34;降到了&#34;会提问&#34;。这一降，降掉的不是门槛本身，而是一整个工种的经验壁垒。</span></strong></p></blockquote><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=28947902&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804299%26idx%3D1%26sn%3De1808d10ae74ddad4c3b38a9e77d2c54">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 15 Oct 2026 17:40:00 +0800</pubDate>
    </item>
    <item>
      <title>三万字长文：大语言模型从零入门</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804278&amp;idx=1&amp;sn=9e9c88b84f8188503c9862f9b226839b</link>
      <description>用一条线，讲清楚大语言模型是怎么回事</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-13 18:00</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=d4487018&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FKVER9adz904vHgB203ZibD7LYRFV1kFR47BbnRuBLnHEckzfoQlVXibnRzfIgXsb7UxtribftgiaITBHmS9StVcKhUbbWVTcyIJWLNicZEr2kZK4%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>用一条线，讲清楚大语言模型是怎么回事</p>
  <p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;" data-pm-slice="2 3 []"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="188" data-backw="578" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" style="width: 100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></span></p><p><span leaf="" style="text-align: justify;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">作者：</span><span data-v-7ee95ee2="" data-pm-slice="0 0 []"><span leaf="" style="text-align: justify;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">flyflywang</span></span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-align: justify;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;"><span data-v-7ee95ee2="" data-pm-slice="0 0 []"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;"><span textstyle="" style="color: rgb(0, 82, 255);">丨 导语</span> </span></span><span data-v-7ee95ee2="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;"><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">从图灵的模仿游戏到</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">香农的熵，从一个神经元到千亿参数的 Transformer。一个只会预测下一</span><span leaf="" style="text-align: justify;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">个词</span><span leaf="" style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;letter-spacing: 0.05em;">的程序，何以通向智能？</span></span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;text-align: justify;"><span leaf="">遍览诗书亿万行，唯将下字细思量。云山千里文中见，可识秋风一夜凉？</span></p></blockquote><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">导读</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这篇文章想用一条线，讲清楚 ChatGPT 这类大语言模型是怎么回事：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">它在做什么、为什么能做到、怎么做到的、做不好什么。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不需要机器学习背景。用到的数学只有加减乘除和对数，对数也会从“折半了几次”讲起。全文的例子尽量来自同一个猜数字游戏和同一句“他口渴了，于是喝了一杯____”，看懂一个例子，后面会一路用到。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每一章回答的问题：</span></strong></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-backh="275" data-backw="578" data-imgfileid="502320629" data-ratio="0.47547169811320755" data-s="300,640" type="block" data-type="png" data-w="1060" style="width:100%;" src="https://wechat2rss.xlab.app/img-proxy/?k=53900e62&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906dibWm9b150quGM5t90vbzLwd08sjRVXFUVGrycKia9b9sic8wFpriapHonE1V6PbwXhaib4apWZrficEhn4L84FwicXeib5GhmSXiaKUg%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">怎么读：</span></strong></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">全文近 3 万字，完整读完大约需要 1.5 小时，可以分两次读：前三章讲原理，最后一章讲从模型到产品。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">带计算过程的代码块和公式，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">跳过也不影响理解</span></strong><span leaf="">，只看加粗的结论就能读通。想真正弄懂的话，建议拿笔跟着算一遍，每个数字都能核对。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">全文大致沿着一串问题往下走，很多小节的结尾会抛出一个问题，由后面的内容来回答。读不下去的时候，回头找找前面留下的问题，就能找回主线。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">只关心怎么用、有什么局限的读者，可以先读「语言模型的本质」的前两节，再直接跳到最后一章「从模型到 ChatGPT」。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">最后的「总结」用十几行把全文串了起来，读完可以回头对照一下；末尾还留了几个问题供思考。</span></p></li></ul><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">语言模型的本质</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">小龙在之前的年会上给大家分享过一段话：“信息就是惊喜，就是你猜不到的程度。信息量是由内容的离谱程度来决定的，越离谱信息量就越高。”这句话中暗含了语言模型的本质原理。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">预测下一个 token</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在解释之前，我们先玩一个词语接龙游戏，请补全：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">床前明月____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所有人几乎都会填“光”，那再来看：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">今天天气很____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这次答案不唯一：好、热、冷、不错……但也不是毫无规律，很少有人会填一个跟天气八竿子打不着的词，比如“今天天气很贵”。如果把各种可能按把握大小写下来，大概是这样（示意）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">候选</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">概率（示意）</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">好</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">35%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">热</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">20%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">冷</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">15%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不错</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">10%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">其他所有候选合计</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">20%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果把这道题交给语言模型来做，它给出的也是这样一张表。注意表里的“不错”是两个字，却和“好”一样算作一个候选。这是因为语言模型处理文字的最小单位不是“字”，而是 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">token</span></strong><span leaf="">。一个 token 可能是一个字，也可能是由多个字组成的一个词。以“今天天气很好”为例，模型看到的可能是这样：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">今天 | 天气 | 很 | 好</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这 6 个字被切成了 4 个 token：“今天”“天气”各占一个 token，“很”“好”各自单独成一个 token。所以模型“接龙”时，每一步补上的是一个 token，而不一定是一个字。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">之所以要合并，一是省步数：模型每生成一个 token 都要完整算一遍，合并后“今天天气很好”只需算 4 步而不是 6 步。二是常一起出现的字本来就该当作整体，比如“今”后面经常跟着“天”，合成一个 token 后模型就不用反复去猜这种显而易见的搭配。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在回到上面那张概率表，它就是语言模型做的事：</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">语言模型，是一个给定前文、输出“下一个 token 概率分布”的程序。</span></strong></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">模型每次只预测一个 token，那一整段话是怎么写出来的？做法很简单：从概率分布里选出一个 token 接到前文后面，再把新的前文交给模型预测下一个，如此循环（示意）：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">今天天气很         → 好</span><span leaf=""><br/></span><span leaf="">今天天气很好       → ，</span><span leaf=""><br/></span><span leaf="">今天天气很好，     → 适合</span><span leaf=""><br/></span><span leaf="">今天天气很好，适合 → 出门</span></code></pre><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">为什么预测 token 能带来智能</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“预测下一个 token”听起来像高级版的输入法联想，它凭什么和“智能”扯上关系？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1950 年，图灵在论文《计算机器与智能》里讨论“机器能思考吗？”。他觉得“思考”太难定义，于是换了个问法，设计了一个“模仿游戏”，也就是后来所说的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">图灵测试</span></strong><span leaf="">：</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">1</span></sup></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">一位裁判通过打字，和两个看不见的对象聊天；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">其中一个是人，另一个是机器；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">裁判可以问任何问题，聊完后判断哪个是人、哪个是机器。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="图灵测试：裁判只通过文字和 A、B 聊天，判断哪个是机器" class="rich_pages wxw-img" data-ratio="0.6277777777777778" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320613" src="https://wechat2rss.xlab.app/img-proxy/?k=68f80224&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906j0I5sT9m91WObWDicAI3sibjlE56XXotYRUSzPRHNTyuD7NGa2sSUawpmjpe7riac3cPvvxRnT4x5nzKJaf93QOtZedr3ia9BeBE%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果裁判反复测试，也没法可靠地分辨出谁是机器，那就可以认为这台机器具备了人的智能。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">分不清机器写的文字和人写的文字，就可以认为机器有了人的智能。</span></strong></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意，这个测试里裁判能看到的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">只有文字</span></strong><span leaf="">。机器用什么做的、内部怎么运转，都不重要，重要的是它写出来的东西像不像人写的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再看语言模型做的事：它从海量人类文字中学习“给定前文，人接下来会写什么”。学得越准，它一个 token 一个 token 接出来的文字就越像人写的。如果它预测的概率分布和人写作时的分布完全一致，那它写出的文字和人写的就没有区别，裁判怎么看也分不出来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">所以，把预测下一个 token 做到极致，就是在通过图灵测试。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">而要预测得准，光记住字词搭配是不够的。看几个例子：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">法国的首都是____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要填“巴黎”，得有</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">知识</span></strong><span leaf="">。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">小明比小红高，小红比小刚高，三个人里最矮的是____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要填“小刚”，得会</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">推理</span></strong><span leaf="">。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">他打开冰箱，发现牛奶已经过期了，于是皱着眉头把它____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要填“倒掉”或“扔了”，得懂</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">常识</span></strong><span leaf="">和人的行为。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">人写下的文字里，藏着知识、逻辑、常识和情感。要把人接下来会写的 token 猜准，模型就不得不把这些东西学进去。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">“预测”这个看似简单的目标，逼着模型去掌握文字背后的东西。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当然，“分辨不出”只是图灵给出的一个行为标准，机器是否真的“理解”，至今仍有争论。但它给了我们一个清晰、可操作的目标：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">让模型预测的概率尽量接近人。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那“接近”该怎么衡量？预测得准不准，能用什么数字来表示？这就要从概率和信息的关系说起。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">概率对应了多少的信息？</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">我从 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1～8</span></strong><span leaf=""> 中等概率地选一个整数，不告诉你。你可以问问题，但我只能回答“是”或“否”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">你当然可以挨个问：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">是 1 吗？不是。</span><span leaf=""><br/></span><span leaf="">是 2 吗？不是。</span><span leaf=""><br/></span><span leaf="">是 3 吗？不是。</span><span leaf=""><br/></span><span leaf="">……</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但这种问法容易浪费机会：每次得到“不是”，只排除一个数字。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">更好的方式是，每次用一个问题把剩余候选分成数量相等的两组。假设我选的是 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">6</span></strong><span leaf="">：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">第几问</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">你的问题</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">我的回答</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">剩余候选</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">开始</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">—</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1、2、3、4、5、6、7、8</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第一问</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">大于 4 吗？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">是</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">5、6、7、8</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第二问</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">大于 6 吗？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">否</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">5、6</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">第三问</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">大于 5 吗？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">是</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">6</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">三个问题，确定答案。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这不是因为你碰巧猜中了 6，而是因为这种问法能够让</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">任何一个答案</span></strong><span leaf="">都在三次问答后被确定。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每得到一次回答，你都排除了一半候选：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">8 个候选 → 4 个候选 → 2 个候选 → 1 个答案</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">信息，就是帮助你消除不确定性的东西。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">在这个等概率游戏里，每次折半的回答提供 1 bit 信息，三次一共 3 bit。不要把 bit 想得太神秘，这里可以把它理解为：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">区分两个等概率可能性所需要的信息量。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再换几个范围试试：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">从 4 个等概率数字中确定一个，需要折半 2 次。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">从 8 个等概率数字中确定一个，需要折半 3 次。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">从 16 个等概率数字中确定一个，需要折半 4 次。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">候选越多，起初越不确定；要找到答案，需要获得的信息也越多。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">顺带说一句：折半问法的好，不只是“最多三次”肯定能问出来，还在于</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">它在平均意义上也是最省问题的</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">原因很直接：每次“是／否”回答最多只带来 1 bit 信息，而确定 8 个等可能候选中的一个至少需要 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">log</span><sub><span leaf="">2</span></sub><span leaf=""> 8=3</span></span><span leaf=""> bit，所以</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">任何问法平均都至少要问 3 次</span></strong><span leaf="">。折半问法每次都把候选对半分、每次都拿满 1 bit，平均下来正好 3 次，刚好踩在这个下限上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到这里，就可以把“概率”和“信息量”直接对上号。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">单个结果的信息量</span></strong><span leaf="">是：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">I</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)=log</span><sub><span leaf="">1/2</span></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为什么底数是 1/2？因为信息量本质上就是“折半了多少次”。概率为 1/2 的结果，相当于在一半的可能里确定它，折半 1 次，对应 1 bit；概率为 1/8 的结果，要在八分之一的可能里确定它，折半 3 次，对应 3 bit。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">log</span><sub><span leaf="">1/2</span></sub></span><span leaf=""> 正好把这个“折半次数”数出来：概率每缩小一半，对数就加 1。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">你只需要记住三点：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf="">p(x)</span></code><p><span leaf=""> 是结果出现的概率。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">概率越小，结果出现时带来的信息量越大。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">如果一个结果本来就百分之百确定（概率为 1），知道它发生并不会带来新信息，信息量为 0。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第二点，就是开头小龙那句话：“信息就是惊喜，就是你猜不到的程度……越离谱信息量就越高。”</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">越离谱，就是概率越小；概率越小，信息量越大。</span></strong><span leaf=""> 听到“明天太阳从东边升起”，你毫无惊喜，因为它的概率接近 1，信息量接近 0；听到“明天太阳从西边升起”，那才是天大的新闻。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过一般书面上更常见的写法，是把它写成负的以 2 为底。这两种写法其实是同一个式子（后面都采用这种写法）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">I</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)=-log</span><sub><span leaf="">2</span></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="单个结果的信息量：概率越小，信息量越大；概率为 1 时信息量为 0" class="rich_pages wxw-img" data-ratio="0.6" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320615" src="https://wechat2rss.xlab.app/img-proxy/?k=8dcd2b06&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904qTpiasvHJDRtITx6sJ3J7bmgdliaudDKicjCdVfeP6FTcYsNEFtHpnqrZ3UFEBX0ICvXI5ZBsx0S2OG3a48z0z936cvt5Qd2lds%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">熵：平均而言，答案有多难确定？</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在改变规则：我选 1 的概率是 90%，剩下 10% 的概率分给 2～8。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这时，“大于 4 吗”未必还是最有效的第一问。你可以先问：</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">是 1 吗？</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">90% 的时候，一问就结束了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这说明，难度不只由“有几个候选”决定，还与</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">各个候选出现的概率</span></strong><span leaf="">有关。同样是 8 个数字：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">如果每个数字都一样可能，你很难提前判断。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">如果几乎每次都是 1，你已经知道很多，剩余的不确定性就小。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">要描述游戏的平均难度，就得把每种结果的信息量，按照出现概率加权平均。这个平均值就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">熵</span></strong><span leaf="">，它衡量的是这种平均不确定性。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">2</span></sup></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">H</span></i><span leaf="">(</span><i><span leaf="">X</span></i><span leaf="">)=Σ</span><sub><i><span leaf="">x</span></i></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span><i><span leaf="">I</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)=-Σ</span><sub><i><span leaf="">x</span></i></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)log</span><sub><span leaf="">2</span></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用硬币对比一下：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">硬币的情况</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">熵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">为什么</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">正反各 50%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">两种结果同样可能，不好提前判断</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">正面 90%，反面 10%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 0.469 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">大部分时候可以预期是正面</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">必定正面</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">没有不确定性</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第二行是这样算的：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">正面：概率 0.9，信息量 −log₂0.9 ≈ 0.152 bit</span><span leaf=""><br/></span><span leaf="">反面：概率 0.1，信息量 −log₂0.1 ≈ 3.322 bit</span><span leaf=""><br/></span><span leaf="">熵 = 0.9 × 0.152 + 0.1 × 3.322 ≈ 0.137 + 0.332 ≈ 0.469 bit</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">罕见的反面信息量很大（3.3 bit），但它只占 10%，拉不高平均值。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把正面概率从 0 连续变到 1，就能看到熵的整体形状：正反各半时最不确定（1 bit），越偏向某一面，熵越低，到必定正面或必定反面时降为 0。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="硬币的熵：越接近正反各半，熵越高，越难预测；必定正面或反面时熵为 0" class="rich_pages wxw-img" data-ratio="0.6018518518518519" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320612" src="https://wechat2rss.xlab.app/img-proxy/?k=09992851&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905o5jGG0ib0qt2LhAdLg66m6eYwI34iaS3M8aVbstZuZqzLA3vJenCXssObpu4F72DbVAeJy76xTW1fq1MB6cTTcYppTqN511fHA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">回到猜数字游戏，用同样的方法算一下两种规则下的熵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1～8 等概率</span></strong><span leaf="">：每个数字的概率都是 1/8。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">每个数字：概率 1/8，信息量 −log₂(1/8) = 3 bit</span><span leaf=""><br/></span><span leaf="">熵 = 8 × (1/8 × 3) = 3 bit</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">正好对应折半问法需要的 3 个问题。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1 的概率为 90%</span></strong><span leaf="">：剩下的 10% 平分给 2～8，每个数字的概率是 0.1 / 7 = 1/70 ≈ 0.0143。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">数字 1：概率 0.9，信息量 −log₂0.9 ≈ 0.152 bit</span><span leaf=""><br/></span><span leaf="">数字 2～8：每个概率 1/70，信息量 −log₂(1/70) ≈ 6.129 bit</span><span leaf=""><br/></span><span leaf="">熵 = 0.9 × 0.152 + 7 × (1/70 × 6.129)</span><span leaf=""><br/></span><span leaf="">   ≈ 0.137 + 0.613</span><span leaf=""><br/></span><span leaf="">   ≈ 0.750 bit</span></code></pre><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">猜数字的情况</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">熵</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1～8 等概率</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1 占 90%，2～8 平分 10%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 0.750 bit</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同样是 8 个候选，概率一旦集中到 1 上，平均不确定性就从 3 bit 降到约 0.75 bit，只剩原来的四分之一左右。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">熵不只是一个“难度分数”，它还有一个很实在的含义：平均最少要用多少 bit 才能把答案记下来，也就是数据能被压缩到的极限，任何无损编码的平均长度都不可能低于熵。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">3</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">规律掌握得越准，编码就越短；能压到熵，说明数据里所有能被利用的规律都已经挖出来了，剩下的只是真正无法预测的随机性。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">语言也是一样。下一个 token 的真实概率里，藏着语法、常识、逻辑和人的意图。模型预测得越准，就越能把文字压缩到接近它的熵；而要做到这一点，就不得不把文字背后这些深层的规律学进去。这就是 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">「压缩即智能」</span></strong><span leaf=""> 的核心思路：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">能把数据压缩得越短，说明对数据背后规律的掌握越深。</span></strong><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">4</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这和前面的图灵测试，是同一件事的两面：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">图灵测试给出的是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">标准</span></strong><span leaf="">：预测得和人一样，就可以认为有了人的智能。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">压缩即智能给出的是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">原因</span></strong><span leaf="">：要预测得和人一样，就得把文字压缩到接近它的熵；而要压得这么短，最有效的办法就是学会文字背后的规律。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过要注意，“预测越准、压缩越短”是数学事实；“压缩得好就是智能”只是一个有启发的研究视角，而不是已被证明的定理。比如“一万个 A”可以写成“A 重复一万次”，一个简单程序就能压得极短，但不能因此说它会推理。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为什么“压得短”意味着“学到了规律”，而不是把文字死记硬背下来？这个问题留到后面「背答案还是学方法」一节再细说。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那么，如果模型对概率的估计不准，编码会比熵多花多少？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">交叉熵</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先说清楚一点：熵是数据本身的性质。只要我选数字的规则不变，熵就一直是 0.75 bit，模型估计得准不准都改变不了它。会变的是：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">按模型的估计去编码时，实际要花多少 bit。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设真实规则还是“1 占 90%，2～8 平分 10%”，但模型以为 8 个数字等概率。用 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf=""> 表示真实概率，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf=""> 表示模型认为的概率。模型会按自己的判断安排编码：认为谁常见，就给谁短编码，结果 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf=""> 的码长就是模型眼中的信息量 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">-log</span><sub><span leaf="">2</span></sub><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">模型认为每个数字都是 1/8，于是给每个数字都分配 3 bit。可实际上 90% 的时候出现的都是 1，本来 0.152 bit 就够了，却每次都花了 3 bit：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">数字 1：真实出现 90%，模型给的码长 −log₂(1/8) = 3 bit</span><span leaf=""><br/></span><span leaf="">数字 2～8：真实一共出现 10%，模型给的码长也都是 3 bit</span><span leaf=""><br/></span><span leaf="">平均码长 = 0.9 × 3 + 0.1 × 3 = 3 bit</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">比熵多花了 2.25 bit，这些都是估计错了概率而白白浪费的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把这个算法写成公式，就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">交叉熵</span></strong><span leaf="">：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">H</span></i><span leaf="">(</span><i><span leaf="">p</span></i><span leaf="">,</span><i><span leaf="">q</span></i><span leaf="">)=-Σ</span><sub><i><span leaf="">x</span></i></sub><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)log</span><sub><span leaf="">2</span></sub><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">和熵的公式相比，只是把对数里的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf=""> 换成了 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf="">：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><p><span leaf="">（真实概率）负责</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">加权</span></strong><span leaf="">：这个结果实际多常出现。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><p><span leaf="">（模型概率）负责</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">定价</span></strong><span leaf="">：这个结果每出现一次要花多少 bit。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">当模型的估计和真实完全一样（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">q</span></i><span leaf="">=</span><i><span leaf="">p</span></i></span><span leaf="">）时，交叉熵就等于熵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再换几种模型对比一下（真实规则都是 1 占 90%）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">模型认为的概率</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">交叉熵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">比熵多花</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">和真实一样：1 占 90%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 0.75 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">等概率（什么规律都不知道）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.25 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2 占 90%，其余平分（自信地猜错）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 6.04 bit</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 5.29 bit</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从这张表可以看出两点：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">交叉熵永远不低于熵</span></strong><p><span leaf="">，只有模型的概率和真实概率完全一致时才相等。模型估计得越偏，多花的就越多。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">自信地猜错，比什么都不知道还糟。</span></strong><p><span leaf=""> 等概率的模型每次都花 3 bit；认定是 2 的模型，在真正的 1 出现时（90% 的情况），每次要花约 6.13 bit。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不过，交叉熵公式里要用到真实概率 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">p</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf="">，可人写作时的真实概率，谁也不知道。好在并不需要知道：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">真实概率已经体现在真实数据里了。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把猜数字玩 1000 局，记下每局真实出现的数字，再把模型给这个数字的码长 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">-log</span><sub><span leaf="">2</span></sub><i><span leaf="">q</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf=""> 取平均。1 大约出现 900 次，2～8 一共大约出现 100 次，平均的时候自然就按真实概率加了权，结果会接近交叉熵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">语言模型也是这样算的。拿一段人写的真实文本，在每个位置上看模型给</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">真实下一个 token</span></strong><span leaf=""> 的概率：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">今天天气很____      真实下一个 token：好</span><span leaf=""><br/></span><span leaf="">模型给“好”35%     → −log₂0.35 ≈ 1.51 bit</span><span leaf=""><br/></span><span leaf="">模型给“好”5%      → −log₂0.05 ≈ 4.32 bit</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把海量文本里每个位置的值取平均，就是模型在这批文本上的交叉熵。它就是训练语言模型时用的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">损失函数</span></strong><span leaf="">，越低说明模型预测得越准。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">交叉熵还有一种更直观的说法，叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">困惑度</span></strong><span leaf="">，等于 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">2</span><sup><span leaf="">交叉熵</span></sup></span><span leaf="">，意思是：模型的犹豫程度，相当于在几个等可能的候选里猜一个。比如等概率模型的交叉熵是 3 bit，困惑度就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">2</span><sup><span leaf="">3</span></sup><span leaf="">=8</span></span><span leaf="">，正好对应“从 8 个数字里猜”；掌握了规律的模型（约 0.75 bit），困惑度只有约 1.7，相当于只在不到 2 个候选里犹豫。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">实际训练中，对数通常以 e 为底，单位叫 nat，和 bit 只差一个固定倍数（1 nat ≈ 1.44 bit），不影响结论。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到这里，前面的问题就有了答案：要“让模型预测的概率尽量接近人”，“接近”就用交叉熵来衡量。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">交叉熵越低</span><span leaf=""><br/></span><span leaf="">= 模型的概率越接近人写作时的真实概率</span><span leaf=""><br/></span><span leaf="">= 用模型压缩文本越短，越接近文本本身的熵</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">训练语言模型，就是在海量的人类文本上，不断降低交叉熵。</span></strong></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">香农的实验</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">交叉熵告诉了我们怎么给模型打分。但还有一个问题：人类语言本身的熵大概是多少？模型的交叉熵最低能降到哪里？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">1951 年，香农在论文《印刷英语的预测与熵》里估算了这个数。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">5</span></sup><span leaf=""> 英文有 26 个字母，加上空格，一共 27 种符号；已知的信息越多，下一个字符越好猜：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">已知的信息</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">每个字符的熵（约）</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">什么都不知道，27 种符号等可能</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">4.75 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知道每个字母各自出现的频率</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">4.03 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知道前 1 个字母</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.32 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知道前 2 个字母</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.1 bit</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知道前面约 100 个字母</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.6～1.3 bit</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一行就是“等概率猜数字”（</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">log</span><sub><span leaf="">2</span></sub><span leaf=""> 27 ≈ 4.75</span></span><span leaf="">）；第二行像“1 占 90%”那一局：E 比 Z 常见得多。从第三行开始用上了</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">上下文</span></strong><span leaf="">：看到 Q，下一个几乎一定是 U；中文里看到“床前明月”，下一个字几乎是确定的。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">已知的上下文越多，下一个字越好猜，熵就越低。</span></strong><span leaf=""> 这也是语言模型要尽可能看长前文的原因。</span></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前几行可以靠数数统计，最后一行不行：前文一长，组合多到数不过来。香农的办法是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">直接让人当预测者</span></strong><span leaf="">：遮住一段英文，让受试者一个字符一个字符地猜，记下每个字符是第几次猜中的。懂英语的人大多一次就中，论文的一次实验里，102 个字符有 79 个是第一次猜中的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">设想发送方和接收方各有一个一模一样的预测者：发送方只传这份“第几次猜中”的记录，接收方按同样的顺序去猜，就能还原原文。所以这份记录就是压缩后的文本。它里面满是 1，能压得很短；能压到多短，就反映了英文本身的熵。香农由此估算出：英文每个字符的熵只有 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">0.6～1.3 bit</span></strong><span leaf="">，大约相当于抛一次硬币。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">七十多年前，香农用人脑当预测者；语言模型则是一个机器预测者，而且给出的不只是猜测的先后顺序，而是每个候选的概率。由于交叉熵永远不低于熵，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">模型在真实文本上的交叉熵，就是语言熵的一个上界</span></strong><span leaf="">：模型越好，这个上界压得越低，越接近语言真实的熵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个机器预测者，该用什么来做？</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">神经网络</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最先想到的办法，可能是让人来写规则：“口渴”后面接“水”，“困了”后面接“咖啡”，主语后面接动词……可语言里的规律实在太多，搭配、语法、常识、语气，还处处有例外，靠人一条条写，永远写不完，也写不对。早年的机器翻译走过这条路，最后都卡在这里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">规则只能让机器自己从海量文本里统计和学习出来。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最简单的统计办法是：把海量文本翻一遍，数一数某段前文后面都跟过什么。比如“一杯”后面跟“水”出现过 600 次、跟“茶”300 次、跟“咖啡”100 次，那下次再看到“一杯”，就预测“水”60%、“茶”30%、“咖啡”10%。把各种前文的统计结果记成一张大表，用的时候去查，早期的语言模型基本就是这么做的。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可前文一长，这张表就建不出来：词表有 10 万个 token，只看前 10 个，可能的组合就有 10 万的 10 次方，也就是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">10</span><sup><span leaf="">50</span></sup></span><span leaf=""> 种，绝大多数从没在文本里出现过。比如“他在沙漠里走了三天三夜，终于喝到了一杯____”，文本里很可能找不到一模一样的句子，查表只能得到“没见过”；人却一眼就能看出，这和“口渴了想喝水”是同一类情境。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">表的问题在于只会死记：见过的前文能查到，没见过的就毫无办法。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">我们需要的是像人一样能举一反三：从见过的句子里学到规律，再用到没见过的句子上。</span></strong><span leaf=""> 神经网络就是这样一种工具。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">下面先看神经网络长什么样，再看它怎么学，最后看怎么判断它是真学会了，还是只是背下来了。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">神经元</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">神经网络的基本单元叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">神经元</span></strong><span leaf="">。先看一个最简单的神经元：只有一个输入 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf="">，一个输出 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">y</span></i></span><span leaf="">。它做两件事：</span></p><ol style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">算一个一次函数 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">wx</span></i><span leaf="">+</span><i><span leaf="">b</span></i></span><span leaf="">。</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">w</span></i></span><span leaf=""> 叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">权重</span></strong><span leaf="">，决定输入对结果的影响有多大、是正还是负；</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">b</span></i></span><span leaf=""> 叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">偏置</span></strong><span leaf="">，是一个固定的加减量。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">把结果“弯折”一下，也就是送进一个非线性函数。最常用的叫 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">ReLU</span></strong><span leaf="">：负数变成 0，正数保持不变，即 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">ReLU(</span><i><span leaf="">z</span></i><span leaf="">)=max(0,</span><i><span leaf="">z</span></i><span leaf="">)</span></span><span leaf="">。</span></p></li></ol><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">合起来，一个神经元就是：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">y</span></i><span leaf="">=ReLU(</span><i><span leaf="">wx</span></i><span leaf="">+</span><i><span leaf="">b</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">举个例子，取 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">w</span></i><span leaf="">=2</span></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">b</span></i><span leaf="">=-1</span></span><span leaf="">：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">x = 0：   2 × 0   − 1 = −1  → ReLU(−1) = 0</span><span leaf=""><br/></span><span leaf="">x = 0.5： 2 × 0.5 − 1 = 0   → ReLU(0)  = 0</span><span leaf=""><br/></span><span leaf="">x = 2：   2 × 2   − 1 = 3   → ReLU(3)  = 3</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf=""> 小于 0.5 时，输出一直是 0；超过 0.5 之后，才开始随 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf=""> 增大。所以可以把神经元想象成一个</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">开关</span></strong><span leaf="">：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">b</span></i></span><span leaf=""> 决定它在哪里打开（这里是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i><span leaf="">=0.5</span></span><span leaf="">），</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">w</span></i></span><span leaf=""> 决定打开之后增长得多快。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="一个最简单的神经元：输入乘以权重、加上偏置，再经过 ReLU 弯折；w = 2、b = −1 时，它像一个在 x = 0.5 处打开的开关" class="rich_pages wxw-img" data-ratio="0.35462962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320616" src="https://wechat2rss.xlab.app/img-proxy/?k=4061eda5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9070mVNq2AIw2qHZDRzkshtYbtHiaqDEckhWfw9pb2iaE0JqfDa92fkuHCmczIphwXyXuYMVoic0gKzGYaYA6xAicAt9FmYNia2sO3nw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">真实的神经元有很多个输入。</span></strong><span leaf=""> 一个 token 会被表示成一串几千个数字，这样一串数字叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">向量</span></strong><span leaf="">（Transformer 一章的「嵌入」一节会细讲）；上一层也有几千个神经元，每个都产生一个输出。所以一个神经元面对的通常不是一个 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf="">，而是一组 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub><span leaf="">, </span><i><span leaf="">x</span></i><sub><span leaf="">2</span></sub><span leaf="">, ⋯, </span><i><span leaf="">x</span></i><sub><i><span leaf="">n</span></i></sub></span><span leaf="">。做法是给每个输入配一个自己的权重，乘完加起来，这就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">加权求和</span></strong><span leaf="">：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">y</span></i><span leaf="">=ReLU(</span><i><span leaf="">w</span></i><sub><span leaf="">1</span></sub><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub><span leaf="">+</span><i><span leaf="">w</span></i><sub><span leaf="">2</span></sub><i><span leaf="">x</span></i><sub><span leaf="">2</span></sub><span leaf="">+⋯+</span><i><span leaf="">w</span></i><sub><i><span leaf="">n</span></i></sub><i><span leaf="">x</span></i><sub><i><span leaf="">n</span></i></sub><span leaf="">+</span><i><span leaf="">b</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只有一个输入时，它就退回到 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">ReLU(</span><i><span leaf="">wx</span></i><span leaf="">+</span><i><span leaf="">b</span></i><span leaf="">)</span></span><span leaf="">。举个两个输入的例子（示意，真实神经元的含义通常没这么好解释）：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub></span><span leaf=""> 表示“有多口渴”，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i><sub><span leaf="">2</span></sub></span><span leaf=""> 表示“刚喝过多少水”，这个神经元衡量“想喝水的程度”：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">输入：  x₁ = 2（挺渴的）       x₂ = 1（刚喝过一点）</span><span leaf=""><br/></span><span leaf="">权重：  w₁ = 0.5（越渴越想喝）  w₂ = −1（刚喝过就没那么想）</span><span leaf=""><br/></span><span leaf="">偏置：  b = 0.5</span><span leaf=""><br/></span><span leaf="">加权求和：0.5 × 2 + (−1) × 1 + 0.5 = 0.5</span><span leaf=""><br/></span><span leaf="">弯折：    ReLU(0.5) = 0.5</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="多个输入的神经元：两个输入各自乘上权重，加起来再加偏置，最后经过 ReLU 弯折" class="rich_pages wxw-img" data-ratio="0.46111111111111114" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320614" src="https://wechat2rss.xlab.app/img-proxy/?k=f3b2180c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907y5vwia3lku81lMbHpvIMrtOmRTBtE8g3ib0iblUdsEp47w4El7hCpb7ABvKRFYvMdhUOq1iczYI71icfn7hrKvHrUKWR7QuFl8icWk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">为什么叫“神经元”？</span></strong><span leaf=""> 名字借自大脑：大脑里的神经元接收许多其他神经元传来的信号，汇总起来超过某个阈值才会放电。加权求和对应汇总，ReLU 对应“过了阈值才放电”。1943 年 McCulloch 和 Pitts 按这个思路提出了最早的神经元数学模型，名字就沿用了下来。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">6</span></sup><span leaf=""> 不过只是借个名字，今天的神经网络并不追求像大脑。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">很多个神经元并排是一</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">层</span></strong><span leaf="">，一层的输出作为下一层的输入，一层层叠起来就是神经网络。所有的权重和偏置统称</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">参数</span></strong><span leaf="">，它们决定了这个网络算的是什么函数。所谓“训练”，就是去调这些参数。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="一层是多个神经元并排，每个都连着全部输入；多层是一层的输出作为下一层的输入，一层层叠起来" class="rich_pages wxw-img" data-ratio="0.4305555555555556" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320619" src="https://wechat2rss.xlab.app/img-proxy/?k=c959f868&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905G2aMLm01XyYTdbOW8Od3xw37wzskaMiaxCqx1Qic3zAfaqpbh2e5HKaBdGuRpib83qWZoJjlWlV3KcWTO7q3BMoEzx7icoia9iahg4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">为什么一定要弯折？</span></strong><span leaf=""> 因为一次函数套一次函数，还是一次函数：比如先算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">z</span></i><span leaf="">=2</span><i><span leaf="">x</span></i><span leaf="">+1</span></span><span leaf="">，再算 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">3</span><i><span leaf="">z</span></i><span leaf="">-2</span></span><span leaf="">，结果是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">6</span><i><span leaf="">x</span></i><span leaf="">+1</span></span><span leaf="">。如果只有加权求和，叠多少层都等价于一层，只能表示直线式的简单关系。加上 ReLU 这样的弯折，网络才能表示弯弯曲曲的复杂关系。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">Softmax：从分数到概率</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">网络搭好了，可它算出来的只是一堆数字，而语言模型要给出的是下一个 token 的概率。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">语言模型的最后一层比较特殊：词表里的每个 token 都对应一个神经元，这个神经元算出的加权求和 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">w</span></i><sub><span leaf="">1</span></sub><i><span leaf="">x</span></i><sub><span leaf="">1</span></sub><span leaf="">+⋯+</span><i><span leaf="">w</span></i><sub><i><span leaf="">n</span></i></sub><i><span leaf="">x</span></i><sub><i><span leaf="">n</span></i></sub><span leaf="">+</span><i><span leaf="">b</span></i></span><span leaf="">，就是这个 token 的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">分数</span></strong><span leaf="">（常称为 logits）。最后一层不再做 ReLU 弯折，否则所有负分都会变成 0，分不出高低。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但分数还不能直接当概率用：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">加权求和的结果可正可负，而概率不能是负数；</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">所有 token 的分数加起来，也不等于 1。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以还需要 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Softmax</span></strong><span leaf=""> 把分数变成概率：先对每个分数取指数（保证都是正数，而且分数越高、指数越大），再除以总和（保证加起来等于 1）。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">q</span></i><sub><i><span leaf="">i</span></i></sub><span leaf="">=(</span><i><span leaf="">e</span></i><sup><i><span leaf="">s</span></i><sub><i><span leaf="">i</span></i></sub></sup><span leaf="">)/(Σ</span><sub><i><span leaf="">j</span></i></sub><i><span leaf="">e</span></i><sup><i><span leaf="">s</span></i><sub><i><span leaf="">j</span></i></sub></sup><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设只有三个候选（示意）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">候选</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">分数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">取指数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">概率</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">水</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 20.09</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 69%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">茶</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 7.39</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 25%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">书</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.5</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 1.65</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 6%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">分数越高，概率越大；而且每个候选的概率都大于 0，即使模型猜错了，交叉熵也不会变成无穷大。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到这里，语言模型的骨架就有了：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">前文 → 神经网络（很多层“加权求和 + 弯折”）→ 每个 token 的分数 → Softmax → 下一个 token 的概率</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">接下来的问题是：这样一层层叠起来的网络，能力上限在哪里？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">通用逼近定理</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">答案出奇地好：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">只要神经元足够多，哪怕只有一层，神经网络也能以任意精度逼近任意连续函数。</span></strong><span leaf=""> 这就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">通用逼近定理</span></strong><span leaf="">（Universal Approximation Theorem），1989 年前后由 Cybenko、Hornik 等人证明，后来又被推广到 ReLU 这类激活函数上。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">7</span></sup><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">8</span></sup><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">9</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">听起来很抽象，但用 ReLU 可以很直观地看出为什么。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第一步：3 个 ReLU 拼出一个“小帐篷”。</span></strong></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">ReLU(</span><i><span leaf="">x</span></i><span leaf="">)-2ReLU(</span><i><span leaf="">x</span></i><span leaf="">-1)+ReLU(</span><i><span leaf="">x</span></i><span leaf="">-2)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">逐段看：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">x ≤ 0：      三项都是 0                    → 0</span><span leaf=""><br/></span><span leaf="">0 ≤ x ≤ 1：  只有第一项起作用              → x，从 0 升到 1</span><span leaf=""><br/></span><span leaf="">1 ≤ x ≤ 2：  x − 2(x − 1) = 2 − x          → 从 1 降到 0</span><span leaf=""><br/></span><span leaf="">x ≥ 2：      x − 2(x − 1) + (x − 2) = 0    → 0</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">结果是一个在 x = 1 处达到顶点、两边都为 0 的小帐篷。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第二步：把很多帐篷并排摆放。</span></strong><span leaf=""> 每个帐篷的位置和宽窄由权重和偏置决定，高度由下一层的权重决定。按目标曲线在各处的高度调好每个帐篷，加起来就是一条贴着目标曲线的折线。帐篷越多、越窄，折线就越贴近。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="通用逼近：3 个 ReLU 拼出一个小帐篷；帐篷越多，折线越贴近目标曲线" class="rich_pages wxw-img" data-ratio="0.3638888888888889" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320620" src="https://wechat2rss.xlab.app/img-proxy/?k=01c13e12&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904HdmpiaubLkhJ5dA9GIeCdmuib4DuoLg7kibIicK7j49Q5OyzlEgEj2h2GNyTlibMmqKXUibu9sLH9dP2PupdVe6yBByPmU79saQty4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“输入前文，输出下一个 token 的概率”也是一个函数，只不过输入和输出都是成千上万维的。通用逼近定理告诉我们：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">神经网络有能力表示它。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但这个定理有三件事没说：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没说要多少神经元。</span></strong><p><span leaf=""> 在复杂的高维问题上，如果只用一层，需要的神经元可能多到天文数字。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没说参数怎么找。</span></strong><p><span leaf=""> 它只保证好参数“存在”，不保证训练能找到。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没说能不能推广。</span></strong><p><span leaf=""> 能拟合见过的数据，不等于能在没见过的数据上做对。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一个问题，引出了“深度”；后两个问题，留到讲模型怎么学习时再回答。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">深层网络的优势</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">通用逼近定理说一层就够，可实际的大模型都很深：GPT-3 有 96 层，Llama 3 的 80 亿参数版本也有 32 层。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">10</span></sup><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">11</span></sup><span leaf="">为什么不用一层很宽的网络？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">原因一：同样多的神经元，深网络能表示复杂得多的函数。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">看一个“折纸”的例子。下面这个函数只用 2 个神经元，在 0～1 之间是一个尖顶：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">t</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)=2ReLU(</span><i><span leaf="">x</span></i><span leaf="">)-4ReLU(</span><i><span leaf="">x</span></i><span leaf="">-0.5)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">x 从 0 走到 0.5，t(x) 从 0 升到 1；x 从 0.5 走到 1，t(x) 又从 1 降回 0。相当于把 0～1 这段线对折了一次。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把它的输出再送进一层同样的 t，就是再对折一次。每多一层，折线的段数就翻一倍：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="同一个“折纸”动作叠一层，折线段数就翻一倍" class="rich_pages wxw-img" data-ratio="0.25833333333333336" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320617" src="https://wechat2rss.xlab.app/img-proxy/?k=4de11a6c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905VfO9VfHVFvgGJLIQmzicM8h0GAZwlxQnmqOHgz0XgxznlKA1El45776DmlLm8fDj3m8Ej6s9iakx2gUgQU4VpZKgspUABkgibJQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">层数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">用掉的神经元</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">折线段数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">只用一层，至少要多少神经元</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">4</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">8</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">16</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">15</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">10</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">20</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1024</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1023</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">20</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">40</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 105 万</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 105 万</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">差别在于：一层网络里，每个神经元只能贡献一个“拐点”，拐点只能一个一个地加；深网络每一层都在上一层的结果上</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">重复使用</span></strong><span leaf="">同一个操作，拐点成倍增长。这个例子来自 Telgarsky 2016 年关于深度优势的研究。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">12</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">原因二：复杂的规律，本来就是一层层搭起来的。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">理解一句话，也是逐层进行的：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">字 → 词 → 短语 → 句子的意思 → 上下文中的意图</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">深网络可以分工：前面的层处理拼写、搭配这类表层模式，后面的层在前面结果的基础上，组合出语义、指代和推理。研究者在真实模型里也观察到了类似的趋势：较低的层更多捕捉表层模式，较高的层更多捕捉语义。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">13</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就像写程序：一层网络相当于把所有情况写进一张巨大的 if-else 表；深网络相当于先写一些小函数，再用小函数组合出大函数。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">中间结果能被反复复用，所以省得多。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">代价：越深越难训练。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">数值要一层层往后传，训练时调整参数的信号还要一层层往回传，层数一多，两个方向都容易出问题。2015 年之前，主流网络大多只有十几到二十几层，再深就很难训练好。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">让几十上百层的网络也能稳定训练的，主要靠两项技术：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">归一化</span></strong><span leaf="">和</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">残差连接</span></strong><span leaf="">。要看清它们为什么管用，得先知道网络是怎么学习的。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">梯度下降</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">刚搭好的网络，参数都是随机的，输出的概率表也是乱的，交叉熵很高。训练要做的，就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">在海量文本上把交叉熵降下来。</span></strong><span leaf=""> 通用逼近定理只保证好参数“存在”，没说怎么找。问题是参数有几十亿个，每个该往哪个方向调、调多少？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先看只有一个参数的情况。模型是“输出 = w × 输入”，只有一条数据：输入 2，正确答案 6。损失用误差的平方（语言模型用交叉熵，道理相同）。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">设 w 一开始是 1：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">预测 = 1 × 2 = 2，误差 = 2 − 6 = −4，损失 = 16</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把 w 调大一点点，从 1 调到 1.01：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">预测 = 2.02，误差 = −3.98，损失 ≈ 15.84，下降了约 0.16</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">参数增加 0.01，损失减少约 0.16，变化的比例约为 −16，这个比例就叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">梯度</span></strong><span leaf="">：参数往某个方向微微一动，损失会怎么变。梯度为负，说明调大参数损失会下降，应该调大；梯度为正，就应该调小。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以把损失想象成一片山地，参数是你站的位置，梯度告诉你脚下的坡朝哪边、有多陡。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">看不到整座山，但每一步都往下坡走，就能走到谷底附近。</span></strong><span leaf=""> 这就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">梯度下降</span></strong><span leaf="">：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">新参数 = 旧参数 − 学习率 × 梯度</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">减号表示往梯度的反方向走，也就是下坡。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">学习率</span></strong><span leaf="">控制每一步迈多大。实际训练中，梯度不用一点点试，而是用微积分里的求导直接算出来，这里不展开。取学习率为 0.05，反复更新：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">步数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">w</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">预测</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">损失</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">梯度</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">16</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">−16</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1.8</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.6</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">5.76</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">−9.6</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.28</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">4.56</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 2.07</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">−5.76</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.568</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">5.136</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 0.75</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 −3.46</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">……</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">越来越接近 3</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">越来越接近 0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把每一步的 w 画成直线 y = wx，就能看到直线一步步转向数据点 (2, 6)，预测和正确答案的差距越来越小：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="梯度下降：w 从 1 出发，每更新一次，直线 y = wx 就往数据点 (2, 6) 转一点，逐渐接近 w = 3" class="rich_pages wxw-img" data-ratio="0.6324074074074074" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320621" src="https://wechat2rss.xlab.app/img-proxy/?k=0d449ac2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907LDAUfZZVVlricV8Uorq4u1ib91X0ZolcmLdo8ZWDzbP6ib8A9D61Fia6ITcylzoHk9bib4RD33rXkloQrtVtFQuawYSnGWFHO6WgU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">学习率太小，走得慢；太大，会一步迈过头，在谷底两边来回震荡。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="梯度下降：从 w = 1 出发沿坡往下走；学习率太小走得慢，合适时很快接近谷底，太大则来回震荡" class="rich_pages wxw-img" data-ratio="0.3212962962962963" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320618" src="https://wechat2rss.xlab.app/img-proxy/?k=730400d9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906bBU3eo1GUmTyuOSHF1S19bYG7yzUWLm6Dq09rEvicmr0KsT7IgHGceoibicAMYOekhtVibthAgOGoIib7UibE4PeRbibPYfanXicQLGM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就是“参数怎么找”的答案。要说明的是，梯度下降只看脚下的坡，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不保证找到整片山地最低的那个谷底</span></strong><span leaf="">，可能停在某个局部的小坑里。但实践表明，对参数极多的大网络，它找到的参数通常已经足够好。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">语言模型的梯度：预测减去答案</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Softmax 配上交叉熵，梯度有一个特别简洁的形式：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">每个候选分数的梯度 = 模型给它的概率 − 实际答案（实际出现的记为 1，其他记为 0）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还是“水、茶、书”的例子（分数沿用上一节 Softmax 那张表），前文是“他口渴了，于是喝了一杯____”，真实答案是“水”：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">候选</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">分数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">预测概率</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">实际答案</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">梯度（概率 − 答案）</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">新分数（分数 − 梯度）</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">水</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.69</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">−0.31</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">3.00 − (−0.31) = 3.31</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">茶</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.25</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">+0.25</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2.00 − 0.25 = 1.75</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">书</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.5</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.06</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">+0.06</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.50 − 0.06 = 0.44</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用学习率 1，按“新参数 = 旧参数 − 学习率 × 梯度”更新一次，就得到最后一列的“新分数”（梯度为负，减掉它就等于加上，分数被拉高）。“水”的概率从 69% 升到约 79%，交叉熵从约 0.54 bit 降到约 0.34 bit。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">实际出现的 token 被往上拉，其他 token 按原本的概率被往下压。</span></strong><span leaf=""> 模型原来越看好某个错误答案，它被压得越狠。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">为什么纠错能变成学规律？</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">真实训练时，每次取一批文本，把所有位置的梯度平均起来，再更新一次参数，如此重复。GPT-3 最大的版本每批约 320 万个 token，一共更新了 9 万多次。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">10</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">关键在于：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">所有句子的预测，共用同一套参数。</span></strong><span leaf=""> 每个句子的梯度都在把参数往“对自己更好”的方向推。只对个别句子有用的调整，会被其他句子的梯度抵消；对大量句子都有用的调整，比如“口渴和喝水有关”，会被反复加强。</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">一种内部计算方式，如果能在大量不同的句子上减少错误，就会在反复的梯度更新中被保留和强化。</span></strong></p></blockquote><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">剩下的问题是：几十亿个参数，每个参数的梯度怎么算？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">反向传播</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对一个参数求导不难，难的是数量：大模型有几十亿个参数，一层套一层。如果每个参数单独去求，或者像前面那样逐个试探，每求一个都要把整个模型算一遍，根本算不完。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">反向传播</span></strong><span leaf="">只需要正向算一遍、反向推一遍，就能得到所有参数的梯度。它利用的是微积分里的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">链式法则</span></strong><span leaf="">，1986 年由 Rumelhart、Hinton 等人推广开来。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">18</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">一个两层的例子</span></strong></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">输入 x = 1</span><span leaf=""><br/></span><span leaf="">第 1 层：h = a × x       （参数 a = 2）  → h = 2</span><span leaf=""><br/></span><span leaf="">第 2 层：y = b × h       （参数 b = 3）  → y = 6</span><span leaf=""><br/></span><span leaf="">损失：   L = (y − 9)²                    → L = 9</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在从损失出发，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">一层一层往回推</span></strong><span leaf="">：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">① 损失对 y 的梯度：2 × (y − 9) = −6</span><span leaf=""><br/></span><span leaf="">   （平方的求导结果。试探验证：y 从 6 调到 6.01，损失从 9 降到约 8.94，约为 −6 × 0.01）</span><span leaf=""><br/></span><span leaf="">② 第 2 层：y = b × h</span><span leaf=""><br/></span><span leaf="">   b 的梯度      = h × (−6) = 2 × (−6) = −12</span><span leaf=""><br/></span><span leaf="">   传给 h 的梯度 = b × (−6) = 3 × (−6) = −18</span><span leaf=""><br/></span><span leaf="">③ 第 1 层：h = a × x</span><span leaf=""><br/></span><span leaf="">   a 的梯度      = x × (−18) = 1 × (−18) = −18</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="反向传播：正向算出每一步的值；反向从损失出发把梯度一层层传回，每层乘上自己的局部系数，顺便算出本层参数的梯度" class="rich_pages wxw-img" data-ratio="0.39351851851851855" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320624" src="https://wechat2rss.xlab.app/img-proxy/?k=3bca0182&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz9042dyz88ibYI0VokWgzp5oRpMK6jvppViajcCiaas9IQ9hTxzFiaUjbLgdpgicRrJ7QQFOU5TlPGywE1wmPMRXIBupvibBNsia7iaM0KQo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以用试探法验证：把 a 从 2 调到 2.01，损失从 9 降到约 8.82，下降约 0.18，正好是 −18 × 0.01。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意每一层做的事：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">拿到后面传回来的梯度，乘上自己这一层的局部系数，算出自己参数的梯度，再把梯度继续传给前一层。</span></strong><span leaf=""> 每一层只需要知道自己的输入和后面传来的梯度，不用了解整个网络。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">直观地说，这就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">分摊责任</span></strong><span leaf="">：最终结果错了，先看最后一层“贡献了多少错误”，再把这份责任分摊给更前面的层，直到每个参数都分到自己的一份。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">算一遍所有参数的梯度，计算量大约只是正向计算的两倍。PyTorch 等深度学习框架会自动完成这件事，写模型的人只需定义正向怎么算。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">19</span></sup><span leaf=""> 有了梯度，具体怎么更新参数由</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">优化器</span></strong><span leaf="">决定，实际常用的是 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Adam</span></strong><span leaf="">：它参考最近几步梯度的平均方向（像滚下山的球有惯性），还会给每个参数单独调整步子大小。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">20</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">梯度消失：深网络为什么难训练</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">从上面的例子能看出，梯度每往回传一层，就要</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">乘上</span></strong><span leaf="">这一层的局部系数。层数一多，就是一长串连乘：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">每层系数 0.5，传 30 层：0.5³⁰ ≈ 0.000000001  → 梯度消失，前面的层几乎学不动</span><span leaf=""><br/></span><span leaf="">每层系数 1.5，传 30 层：1.5³⁰ ≈ 19 万        → 梯度爆炸，参数一更新就乱套</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这就是深网络难训练的根本原因。前面提到的归一化和残差连接，正是为了解决这个问题。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">归一化</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">同样的连乘，在数值往后传时也会出现。假设每过一层，数值的整体大小变成原来的 1.1 倍，看起来只多了 10%。可叠上 96 层之后：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">每层放大 10%：1.1⁹⁶ ≈ 9400       （放大了近一万倍）</span><span leaf=""><br/></span><span leaf="">每层缩小 10%：0.9⁹⁶ ≈ 0.00004    （几乎缩没了）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">数值太大，Softmax 会把几乎全部概率都给分数最高的那一个，计算还可能溢出；数值太小，有用的信息就淹没在误差里。而且每次调整参数后，前面各层输出的大小都会跟着变，后面的层得不停地适应，训练很不稳定。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">归一化</span></strong><span leaf="">的做法很直接：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每层计算之前，先把向量的数值调回标准的大小范围。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最常用的是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">层归一化</span></strong><span leaf="">（LayerNorm）：对每个位置的向量，先减去平均值，再除以标准差。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">14</span></sup><span leaf="">以向量 (2, 4, 6, 8) 为例：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">平均值 = 5</span><span leaf=""><br/></span><span leaf="">减去平均值 → (−3, −1, 1, 3)</span><span leaf=""><br/></span><span leaf="">标准差 = √[(9 + 1 + 1 + 9) / 4] = √5 ≈ 2.24</span><span leaf=""><br/></span><span leaf="">除以标准差 → (−1.34, −0.45, 0.45, 1.34)</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">如果输入变成 (200, 400, 600, 800)，归一化之后结果完全一样。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">数值的整体大小被去掉了，各分量之间的相对关系保留了下来。</span></strong><span leaf=""> 这就像录音时的自动音量调节：不管说话人离麦克风多远，录下来的音量都差不多，说的内容却不变。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归一化之后，还会再乘上一组可学习的缩放系数（并加上一组偏移），让网络在需要时自己决定合适的大小，而不是被硬性固定。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">每层数值的大小稳住了，梯度往回传时，每层的局部系数也就不至于离 1 太远。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现代大模型常用一种更简单的变体 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">RMSNorm</span></strong><span leaf="">：不减平均值，只除以“均方根”（各分量平方的平均值再开根号），效果差不多，计算更省。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">15</span></sup></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">残差网络</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">有了归一化，深网络还是有一个怪现象。2015 年，何恺明等人发现：在 CIFAR-10 图像数据集上，56 层的普通网络，连</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">训练误差</span></strong><span leaf="">都比 20 层的更高。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">17</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这不是过拟合（过拟合是训练误差低、测试误差高），而是更深的网络连训练数据都学不好。这很奇怪：56 层的网络完全可以让前 20 层照搬 20 层网络的参数，后 36 层“什么都不做”，原样输出，效果至少不会更差。问题恰恰出在“什么都不做”上：一堆加权求和加弯折，要恰好学成“原样输出”，并不容易。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">他们的解决办法是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">残差连接</span></strong><span leaf="">：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每一层不再输出一个全新的结果，而是算出对输入的修改，再加回到输入上。</span></strong></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">y</span></i><span leaf=""> = </span><i><span leaf="">x</span></i><span leaf=""> + </span><i><span leaf="">F</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i></span><span leaf=""> 是这一层的输入，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">F</span></i></span><span leaf=""> 是这一层的计算。这样，“什么都不做”只需要让 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">F</span></i></span><span leaf=""> 输出 0，非常容易；需要修改时，</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">F</span></i></span><span leaf=""> 也只用学“差多少”，而不必从头生成。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">没有残差：向量 → 第 1 层重写 → 第 2 层重写 → ……（每层都重抄一遍）</span><span leaf=""><br/></span><span leaf="">有残差：  向量 → 加上第 1 层的修改 → 加上第 2 层的修改 → ……</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">好比在原稿上做批注，而不是每层都重抄一遍。抄得越多越容易走样；批注再多，原稿都还在。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把残差连接一层层展开：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">x</span></i><sub><i><span leaf="">L</span></i></sub><span leaf=""> = </span><i><span leaf="">x</span></i><sub><span leaf="">0</span></sub><span leaf=""> + </span><i><span leaf="">F</span></i><sub><span leaf="">1</span></sub><span leaf=""> + </span><i><span leaf="">F</span></i><sub><span leaf="">2</span></sub><span leaf=""> + ⋯ + </span><i><span leaf="">F</span></i><sub><i><span leaf="">L</span></i></sub></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">其中 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">F</span></i><sub><i><span leaf="">l</span></i></sub></span><span leaf=""> 是第 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">l</span></i></span><span leaf=""> 层算出的修改。最终的结果，就是最初的输入加上每一层的修改。可以想象每个位置都有一条贯穿所有层的“信息通道”，叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">残差流</span></strong><span leaf="">：每一层从通道里读出当前内容，算出一点修改，再写回通道。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="残差流：没有残差时每层重写一遍；有残差时每层从通道读出内容、算出修改再加回去，梯度也能沿通道直接传回" class="rich_pages wxw-img" data-ratio="0.5546296296296296" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320625" src="https://wechat2rss.xlab.app/img-proxy/?k=f45fe5ce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904B6blA5AOLzKyMF5QzwBKdodLGVDktwRGqM2InTwW19u5JaCvBEXg3hRRsvKjSfemT4caaftM72fHHroiaeQbURjicH2ePf0QOw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">残差连接对训练还有一个更关键的好处：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">它给梯度修了一条“直通路”。</span></strong><span leaf=""> 残差层的输出是 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">y</span></i><span leaf=""> = </span><i><span leaf="">x</span></i><span leaf=""> + </span><i><span leaf="">F</span></i><span leaf="">(</span><i><span leaf="">x</span></i><span leaf="">)</span></span><span leaf="">，梯度往回传时，局部系数是“1 加上 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">F</span></i></span><span leaf=""> 的系数”：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">没有残差：y = F(x)，      局部系数 = F 的系数，比如 0.01</span><span leaf=""><br/></span><span leaf="">有残差：  y = x + F(x)，  局部系数 = 1 + F 的系数，比如 1.01</span><span leaf=""><br/></span><span leaf="">传 30 层：0.01³⁰ = 10⁻⁶⁰（彻底消失）；1.01³⁰ ≈ 1.35（完好传回）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不管中间的层学成什么样，梯度总有一条“乘以 1”的路，能从损失一路传回最前面的层。</span></strong><span leaf=""> 这就是残差网络能叠到上百层的关键。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用上残差连接后，他们训练出了 152 层的网络，拿下了 2015 年 ImageNet 图像识别比赛的冠军。今天的大语言模型，每一层都用了残差连接。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">背答案还是学方法：过拟合与泛化</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">通用逼近定理没回答的最后一个问题是：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">在训练数据上做得好，换成没见过的数据，还能做好吗？</span></strong><span leaf=""> 回答它，也就回答了熵一节留下的问题：为什么“压得短”意味着“学到了规律”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">假设给两个学生看一万道乘法题和答案：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">23 × 17 → 391</span><span leaf=""><br/></span><span leaf="">46 × 12 → 552</span><span leaf=""><br/></span><span leaf="">81 × 35 → 2835</span><span leaf=""><br/></span><span leaf="">……</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">学生 A 把一万道题的答案全背下来，学生 B 学会了乘法的方法。然后出一道没见过的题：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">67 × 24 → ?</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">A 答不出来，B 能算出来。我们会说：B 不只是记住了，而是学会了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">再换个角度问：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">要把这一万道题的答案存下来，谁需要记的东西更少？</span></strong><span leaf=""> A 要存一万个答案；B 只需要记一套乘法规则，答案都能现算出来。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">发现一条可复用的规律</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    ├── 不用逐条记住所有答案 → 压缩</span><span leaf=""><br/></span><span leaf="">    │</span><span leaf=""><br/></span><span leaf="">    └── 能处理没见过的新题   → 泛化</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">压缩和泛化来自同一个源头：不是先压缩、然后突然变聪明，而是找到了规律，就同时获得了压缩能力和解决新问题的能力。</span></strong><span leaf=""> 把学习看作寻找数据最简洁的描述，正是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">最小描述长度原则</span></strong><span leaf="">的核心思想。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">21</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">神经网络也会面临这两条路。参数足够多时，它完全可以像学生 A 那样，把训练数据硬记下来。这时训练数据上的交叉熵很低，换成新文本就不行了，这叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">过拟合</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以训练时通常会留出一部分模型从没见过的文本，叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">验证集</span></strong><span leaf="">，只用来检查、不参与训练。比较两条损失曲线：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">训练集上的交叉熵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">验证集上的交叉熵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">说明</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">下降</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">同步下降</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">学到的东西能推广，训练正常</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">继续下降</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">不降反升</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">开始死记训练数据，过拟合了</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">都很高</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">都很高</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">模型太小或训练不够，没学会</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">大语言模型的预训练有个特点：数据量极大，大部分文本只被看一遍或几遍，模型根本来不及逐条背诵，硬记的办法走不通，只能去找可复用的规律。所以经典意义上的过拟合相对少见。但对训练数据里重复出现很多次的内容，模型仍可能逐字记住，这会带来隐私和版权问题。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">判断模型学没学会，要看它在没见过的文本上的表现，而不是训练数据上的分数。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到这里，网络怎么搭、怎么学、怎样才算学会都有了。剩下的问题是：具体用什么结构，才能把一整段前文读进去，算出下一个 token 的概率？</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">Transformer</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2017 年，Google 的论文《Attention Is All You Need》提出了 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Transformer</span></strong><span leaf=""> 架构。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">25</span></sup><span leaf=""> 如今主流的大语言模型几乎都基于它。原始的 Transformer 是为翻译设计的，分成两半：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">编码器</span></strong><span leaf="">负责读懂原文，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">解码器</span></strong><span leaf="">负责一个词一个词地写出译文。语言模型只需要“接着往下写”，所以只用了解码器这一半。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先看整体结构，后面逐个解释：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">token 编号序列</span><span leaf=""><br/></span><span leaf="">   ↓ 嵌入：每个编号换成一个向量</span><span leaf=""><br/></span><span leaf="">   ↓ 加入位置信息</span><span leaf=""><br/></span><span leaf="">   ↓ Transformer 块 × N 层，每块包含：</span><span leaf=""><br/></span><span leaf="">   │     注意力：各个位置之间交换信息</span><span leaf=""><br/></span><span leaf="">   │     前馈网络：每个位置各自加工</span><span leaf=""><br/></span><span leaf="">   │     （每个子层前做归一化，外面套着残差连接）</span><span leaf=""><br/></span><span leaf="">   ↓ 输出层：把最后一个位置的向量变成每个 token 的分数</span><span leaf=""><br/></span><span leaf="">   ↓ Softmax</span><span leaf=""><br/></span><span leaf="">下一个 token 的概率</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="只用解码器的 Transformer：嵌入、加入位置信息，经过 N 个“注意力 + 前馈网络”的块，再由输出层和 Softmax 得到下一个 token 的概率" class="rich_pages wxw-img" data-ratio="1.2351851851851852" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320626" src="https://wechat2rss.xlab.app/img-proxy/?k=4b154e1c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905PPETOpaPxibr58BwdhU1Kx1DPDnl6mticghI9PZSqRr1dXAmWl6SqtDqjtOQIh8xfa5dPcgJOQXwcX7w5kpBVrLhiaCKaT19MWw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归一化、残差连接、前馈网络（就是前面讲的“加权求和 + 弯折”）都已经讲过。下面顺着数据流动的方向，先讲文字怎么变成向量，再讲真正的核心：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">注意力</span></strong><span leaf="">。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">嵌入：把编号变成有含义的向量</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前面一直说“输入前文”，可神经网络只会做加减乘除，输入必须是数字。分词之后，每个 token 都有一个编号，比如“水”是 452，“茶”是 25。能不能直接把编号送进网络？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">不行。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">编号本身没有含义</span></strong><span leaf="">：452 并不比 25“更大”，编号相邻的两个 token 意思也未必相近。直接用编号，网络会误以为 token 之间有大小关系。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">用一串属性来描述</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">想让机器分清苹果和梨，只给它们编号是不够的，得把各种属性都拉出来，列成一张清单，每项打个分（示意）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">甜</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">脆</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">红</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">圆</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">是水果</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">能喝</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">苹果</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.7</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.8</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.8</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.9</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">梨</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.8</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.6</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.6</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">水</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">对着清单，机器就能“看出”：苹果和梨大部分属性都接近，差别主要在红不红、圆不圆；它们和水几乎没有一项相同。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这样一串数字就是前面说过的向量，每一项属性是一个维度。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">嵌入就是这个思路：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">给每个 token 分配一个向量</span></strong><span leaf="">，大模型里通常有几千维。所有 token 的向量存在一张</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">嵌入表</span></strong><span leaf="">里，查表就能把编号换成向量。以 Llama 3 的 80 亿参数版本为例，词表约 12.8 万个 token，每个向量 4096 维，嵌入表就有约 5.25 亿个数字。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">11</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">和上面的清单不同，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每一维代表什么，不是人定的。</span></strong><span leaf=""> 这些向量也是参数，和网络里的其他参数一样，一开始是随机的，靠反向传播一起训练出来。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">训练会让意思相近的 token 靠在一起</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用二维向量做个示意：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">token</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">向量（示意）</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">水</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.9, 0.1)</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">茶</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.8, 0.2)</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">书</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.1, 0.9)</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把向量看成从原点出发的箭头，“水”和“茶”方向接近，“书”指向别处。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="意思相近的 token，向量方向也相近：水和茶的夹角约 8°，水和书的夹角约 77°" class="rich_pages wxw-img" data-ratio="0.9018518518518519" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320622" src="https://wechat2rss.xlab.app/img-proxy/?k=fdfcd304&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905AEZVrJ7QialSyeia2OaB0esF0vE34MXthiamrKuF6iaNXVd0VZMGN9xTnMouskib5Np7iakGdJ9OQjNh3qcPIK1cbGwiaAxafGz1CmU%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这些位置不是人安排的。“水”和“茶”经常出现在相似的上下文里，比如“喝了一杯</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><em><span leaf="">_”“</span></em></strong><span leaf="">_凉了”，让它们的向量相近，对这些位置的预测都有帮助，梯度就会把它们推到一起。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这正好解决了神经网络一章开头的难题：没见过的前文，统计表里查不到。</span></strong><span leaf=""> 模型在“口渴了喝一杯水”里学到的东西，会自然地迁移到向量相近的“茶”“饮料”上。“沙漠里走了三天三夜，终于喝到了一杯____”虽然从没见过，但“沙漠”“三天三夜”在别的文本里常和“口渴”“缺水”一起出现，它们的向量会带上相近的特征，模型就能把“喝水”的规律用过来。这正是 2003 年神经网络语言模型被提出时的核心想法。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">22</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">向量的常见操作</span></strong></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">操作</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">怎么算</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">代表什么</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">点积</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">对应位置相乘，再加起来</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">两个东西有多像</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">加法</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">对应位置相加</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">把两组特征叠在一起</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">减法</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">对应位置相减</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">两者差在哪，也就是一种“关系”</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数乘</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每个位置乘同一个数</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">方向不变，特征整体变强或变弱</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">点积</span></strong><span leaf="">衡量方向有多接近：方向越接近，点积越大；两个方向垂直时，点积为 0，表示毫不相干。点积在后面的注意力里会反复出现。</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">水 · 茶 = 0.9 × 0.8 + 0.1 × 0.2 = 0.74   （方向接近，点积大）</span><span leaf=""><br/></span><span leaf="">水 · 书 = 0.9 × 0.1 + 0.1 × 0.9 = 0.18   （方向不同，点积小）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">加法</span></strong><span leaf="">是把两组特征叠在一起。按前面的属性清单来理解：两个向量相加，每项属性的强度各自相加，结果同时带有两边的特征。这样加之所以有意义，是因为网络读取向量的方式就是点积（加权求和），而点积对加法可以拆开：</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">(</span><i><span leaf="">a</span></i><span leaf="">+</span><i><span leaf="">b</span></i><span leaf="">)· </span><i><span leaf="">w</span></i><span leaf="">=</span><i><span leaf="">a</span></i><span leaf="">· </span><i><span leaf="">w</span></i><span leaf="">+</span><i><span leaf="">b</span></i><span leaf="">· </span><i><span leaf="">w</span></i></span><span leaf="">。两个向量加在一起，后面的层读出的正好是两部分各自的贡献之和，谁也没抹掉谁。前面讲的残差流，就是靠这一点把每层的修改直接加回去；后面的注意力和位置信息，也都会用到加法。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">减法</span></strong><span leaf="">取出的是两者的差别，也就是一种关系。word2vec 展示过：“国王” − “男人” + “女人”，结果最接近“女王”。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">23</span></sup><span leaf=""> 换个写法就是“女王” − “国王” ≈ “女人” − “男人”：从男性到女性，是空间里一个大致固定的方向。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="关系是一个固定方向：从“男人”到“女人”的箭头，和从“国王”到“女王”的箭头几乎一样" class="rich_pages wxw-img" data-ratio="1.1680327868852458" data-type="png" data-w="976" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320623" src="https://wechat2rss.xlab.app/img-proxy/?k=4c2ec7f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905JWlKKuXGJiaDAngzG1mEKd0ibUV4bKk1aKQwicWWqf15ftaJhxhkE2KDINRib07Q3sU5jW2BQmsibQT3nMvu1gvdqlG4ibGJ8ia6stw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">向量的大小重要吗？</span></strong><span leaf=""> 含义主要在方向上，大小更像“音量”。把“茶”乘以 2 变成 (1.6, 0.4)，它和“水”的点积从 0.74 变成 1.48，意思却没变。所以比较两个词像不像，通常只看夹角，把点积除以两个向量的长度，这叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">余弦相似度</span></strong><span leaf="">：“水”和“茶”约 0.99，“水”和“书”约 0.22，向量放大多少倍都不变。不过在网络内部，大小会跟着点积一起放大，影响 Softmax 分配得有多集中，而且容易失控，这正是每层都要先做归一化的原因。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">几千维够用吗？</span></strong><span leaf=""> 语言里的概念远不止几千个。如果每个概念都要占一个和其他概念严格垂直的方向，4096 维最多只能放 4096 个。但只要允许一点误差，比如夹角在 88°～92° 之间，情况就完全不同：高维空间里随便取两个方向，几乎总是接近垂直。三维空间里，随机两个方向的夹角落在这个范围的概率只有约 3.5%；在 GPT-3 的 12288 维里，超过 99.98%。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这种“几乎垂直”的方向能放下的数量随维度指数增长，远远超过维度本身。于是模型可以把远多于维度数的概念，各自放在一个几乎互不干扰的方向上，这叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">叠加</span></strong><span leaf="">（superposition）。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">24</span></sup><span leaf=""> 代价是读一个概念时，会混进一点其他概念的噪声；好在一段话里同时用到的概念很少，这点噪声通常可以容忍。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两点提醒：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">真实向量的某一维，通常不能单独解释成“甜”“是不是水果”这类含义。概念对应的是方向，又彼此叠加，往往分散在许多维度的组合里。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">嵌入表给每个 token 的是一个固定的向量，不管上下文是什么。</span></strong><p><span leaf=""> “苹果”在“吃苹果”和“苹果手机”里拿到的是同一个向量。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">让向量随上下文改变，需要每个位置都能看到前文的其他位置。这正是注意力要做的事。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">注意力</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">先看两句话：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">他口渴了，于是喝了一杯____</span><span leaf=""><br/></span><span leaf="">他困了，于是喝了一杯____</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">第一句大概率填“水”，第二句更可能是“茶”或“咖啡”。可在“一杯”这个位置上，决定答案的“口渴”和“困”在好几个 token 之前。再看：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">奖杯放不进箱子，因为它太大了。  → “它”指奖杯</span><span leaf=""><br/></span><span leaf="">奖杯放不进箱子，因为它太小了。  → “它”指箱子</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">只改一个字，“它”指的对象就变了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">每个位置都必须能从前文的其他位置收集信息。</span></strong><span leaf=""> 最简单的办法是把前面所有位置的向量平均一下，但这样有用的信息会被大量无关的词冲淡：“口渴”和“了”“，”“于是”的分量一样重。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">真正需要的是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">有选择地收集</span></strong><span leaf="">：对当前位置有用的，多收一点；无关的，少收或不收。而且“什么有用”要随当前位置和上下文而变。这就是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">注意力机制</span></strong><span leaf="">：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">1. 给前文的每个位置打一个“相关程度”分数</span><span leaf=""><br/></span><span leaf="">2. 用 Softmax 把分数变成权重（都是正数，加起来等于 1）</span><span leaf=""><br/></span><span leaf="">3. 按权重对各位置的信息加权平均</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意力的结果会加回到当前位置的向量上（残差连接）。经过注意力之后，“一杯”这个位置的向量里就融进了“口渴”的信息；“苹果”的向量也会因为旁边是“吃”还是“手机”而变得不同。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">只能往前看：因果掩码</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">生成时，模型只知道已经写出的内容，训练时也必须保持一致：每个位置只能看它自己和前面的位置，否则就是偷看答案。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">当前位置 ＼ 能看到</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">他</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">口渴</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">喝了</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">一杯</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">他</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">口渴</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">喝了</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">一杯</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">✓</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">做法是把“未来位置”的分数设为负无穷，经过 Softmax 后权重就是 0。这叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">因果掩码</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它还带来一个好处：一段文本只需算一次，每个位置都同时在预测自己的下一个 token，互不偷看。一段 1000 个 token 的文本，一次就能提供约 1000 道练习题，这是 Transformer 训练效率高的重要原因。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“相关程度”的分数具体怎么算？这就要用到查询、键和值。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">查询、键、值（QKV）</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">可以把注意力想象成每个位置都在做一次小型检索。每个位置根据自己的向量，算出三样东西：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">名称</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">直观含义</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">类比：在图书馆找书</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">查询 Q（Query）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">我在找什么信息？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">你想查的主题</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">键 K（Key）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">我这里有什么信息？</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">每本书书脊上的标签</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">值 V（Value）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">如果你关注我，我能提供的内容</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">书的正文</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">计算过程：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">1. 当前位置用自己的查询，和每个可见位置的键做点积，得到分数</span><span leaf=""><br/></span><span leaf="">2. Softmax，把分数变成权重</span><span leaf=""><br/></span><span leaf="">3. 按权重对各位置的值加权平均</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Q、K、V 都是用 token 的向量，分别乘以三个参数矩阵 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">W</span></i><sub><i><span leaf="">Q</span></i></sub></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">W</span></i><sub><i><span leaf="">K</span></i></sub></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">W</span></i><sub><i><span leaf="">V</span></i></sub></span><span leaf=""> 算出来的。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">矩阵</span></strong><span leaf="">就是一张排成行和列的数字表；向量乘以矩阵，相当于一层神经元同时做很多组加权求和（不做弯折），得到一个新的向量。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">这三个矩阵是训练出来的</span></strong><span leaf="">：训练决定了每个位置该“找什么”、该“贴什么标签”、该“提供什么内容”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">手算一次</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前文是“他 口渴 喝了 一杯”，现在要为最后一个位置“一杯”收集信息，以便预测下一个 token。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">为了便于理解，假设向量只有两维，第 1 维大致表示“和饮水有关”，第 2 维大致表示“指人物”（真实模型的维度不能这样简单解释）。各位置的键和值如下（教学构造）：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">位置</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">键</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">值</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">他</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0, 2)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0, 1)</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">口渴</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(2, 0)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(1, 0)</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">喝了</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(1.5, 0)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.8, 0)</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">一杯</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.5, 0)</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">(0.3, 0)</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“一杯”的查询是 (1, 0)，意思大致是“我在找和饮水有关的信息”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第 1 步：查询和每个键做点积，得到分数。第 2 步：Softmax，把分数变成权重。</span></strong></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">位置</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">点积</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">分数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">他</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1×0 + 0×2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">6.9%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">口渴</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1×2 + 0×0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">50.9%</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">喝了</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1×1.5 + 0×0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1.5</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">30.9%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">一杯</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1×0.5 + 0×0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.5</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">11.4%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第 3 步：按权重对值加权平均。</span></strong></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">第 1 维 = 6.9%×0 + 50.9%×1 + 30.9%×0.8 + 11.4%×0.3 ≈ 0.79</span><span leaf=""><br/></span><span leaf="">第 2 维 = 6.9%×1 + 50.9%×0 + 30.9%×0   + 11.4%×0   ≈ 0.07</span><span leaf=""><br/></span><span leaf="">输出 ≈ (0.79, 0.07)</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="注意力的三步：查询和每个键做点积得到分数，Softmax 变成权重，再按权重对值加权平均（数字即上面的手算）" class="rich_pages wxw-img" data-ratio="0.5027777777777778" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320628" src="https://wechat2rss.xlab.app/img-proxy/?k=eae4940f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905Xd7khwUQpMjicAYM69BicSl3uia10CvROBIwo9W2ibQUFv2xsa3QLl95CWFuiabFowuVtr2NcicnznoUiclX422D8KAIL5cuO28rsk4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">“一杯”收集到的信息主要来自“口渴”和“喝了”，“和饮水有关”这一维很强。带着这些信息，预测“水”就容易多了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没有人规定“应该关注口渴”。</span></strong><span leaf=""> 是训练中这样关注有助于降低交叉熵，相应的 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">W</span></i><sub><i><span leaf="">Q</span></i></sub></span><span leaf="">、</span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">W</span></i><sub><i><span leaf="">K</span></i></sub></span><span leaf=""> 才逐渐形成。真实模型的注意力权重，通常也没有这么整齐易读。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">一个细节：缩放。</span></strong><span leaf=""> 实际计算时，分数要先除以向量维度的平方根 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">√(</span><i><span leaf="">d</span></i><span leaf="">)</span></span><span leaf="">。维度越高，点积是越多项相加，数值越大；分数差距太大时，Softmax 会把几乎全部权重给一个位置，梯度也会变得非常小。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">25</span></sup><span leaf=""> 在上面的例子里，除以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">√(2)</span></span><span leaf=""> 之后，“口渴”的权重从 50.9% 变成约 43.6%，分布更平缓一些。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把所有位置写成矩阵，整个注意力就是一行公式：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background: transparent;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;width: 677px;margin: 20px 0px;border-collapse: collapse;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;"><tbody><tr><td style="text-align: center;border-width: medium;border-style: none;border-color: currentcolor;border-image: none;padding: 0px;background: transparent;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">Attention</span></i><span leaf="">(</span><i><span leaf="">Q</span></i><span leaf="">,</span><i><span leaf="">K</span></i><span leaf="">,</span><i><span leaf="">V</span></i><span leaf="">)=softmax((</span><i><span leaf="">QK</span></i><sup><i><span leaf="">T</span></i></sup><span leaf="">)/(√(</span><i><span leaf="">d</span></i><span leaf="">)))</span><i><span leaf="">V</span></i></span></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">QK</span></i><sup><i><span leaf="">T</span></i></sup></span><span leaf=""> 是所有查询和所有键两两做点积，除以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><span leaf="">√(</span><i><span leaf="">d</span></i><span leaf="">)</span></span><span leaf=""> 是缩放，softmax 把分数变成权重，最后乘以 </span><span style="font-family: &#34;Cambria Math&#34;, &#34;STIX Two Math&#34;, &#34;Times New Roman&#34;, serif;"><i><span leaf="">V</span></i></span><span leaf=""> 就是按权重对值加权平均。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">多头注意力</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一句话里同时存在多种关系：谁做了什么、词语搭配、指代、话题……一组 Q、K、V 只能按一种“查询”去找。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还是上面的例子，如果“一杯”的查询换成 (0, 1)，意思大致是“这件事是谁做的”：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">位置</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">分数</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">权重</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">他</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">71.1%</span></strong></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">口渴</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">9.6%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">喝了</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">9.6%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">一杯</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">9.6%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这次注意力集中到了“他”身上。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以 Transformer 会</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">同时使用多组独立的 Q、K、V 矩阵</span></strong><span leaf="">，每组叫一个</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">注意力头</span></strong><span leaf="">。每个头各自算一遍注意力，最后把所有头的结果拼接起来，再用一个矩阵混合成一个向量。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;" nodeleaf=""><img data-aistatus="1" alt="多头注意力：头 1 的查询找和饮水有关的信息，主要看向“口渴”“喝了”；头 2 的查询找这件事是谁做的，主要看向“他”；两个头的输出拼接后乘以 W_O 混合成一个向量（数字即上面的手算）" class="rich_pages wxw-img" data-ratio="0.48055555555555557" data-type="png" data-w="1080" style="max-width: 100%;height: auto;display: block;margin: 16px auto;border-radius: 4px;" data-imgfileid="502320627" src="https://wechat2rss.xlab.app/img-proxy/?k=99a13449&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905ZicofBeIhtnw9RLoG9VQHP336MXFymFcRQco5nc9C6dRBSrOkjRy4nx4ibUbe9Ypg5y0sAHibqq0pLyb9jLvNqgOI6ciagJpe0mo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">研究者在真实模型里找到过一些功能清晰的头。例如</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">归纳头</span></strong><span leaf="">：前文出现过“A B”，之后再遇到“A”时，它会去关注上次“A”后面的“B”，从而预测下一个是“B”。比如前文出现过“哈利·波特”，后面再写到“哈利·”，它就能把“波特”找出来。有研究认为，这类头是模型能从提示里“现学”规律的重要机制之一。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">26</span></sup></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">位置信息</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意力只看“相关程度”，本身并不知道顺序。在上面的计算里，把“他”和“口渴”交换位置，权重结果完全不变。可“狗咬人”和“人咬狗”用字完全相同，意思却截然相反。所以必须额外加入位置信息。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">原始 Transformer 的做法：</span></strong><span leaf=""> 给每个位置生成一个特定的向量（用不同频率的正弦、余弦函数算出来），加到 token 的向量上。这样同一个“狗”出现在第 1 位和第 3 位时，向量就不一样了。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">现代模型的常见做法：旋转位置编码（RoPE）。</span></strong><span leaf=""> 它不改 token 向量本身，而是在算注意力时，把查询和键按“和位置成正比的角度”旋转一下。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">27</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用二维向量看最直观。假设每往后一个位置，就多转 10°：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">第 3 个位置的查询，转 30°</span><span leaf=""><br/></span><span leaf="">第 5 个位置的键，  转 50°</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">两个向量的点积只取决于它们的长度和夹角。旋转后，两者之间多出来的夹角是 50° − 30° = 20°，只和</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">两个位置相差 2</span></strong><span leaf=""> 有关。换成第 103 和第 105 个位置，各自转 1030° 和 1050°，多出来的夹角还是 20°，点积结果完全一样。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以 RoPE 让注意力分数只取决于</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">相对距离</span></strong><span leaf="">，而不是绝对位置。这通常更有用：紧挨着“一杯”的词，往往比 500 个 token 之前的词更相关，不管这句话出现在文章的哪一行。真实的 RoPE 会把向量分成很多对二维分量，每一对用不同的旋转速度：转得快的对近距离敏感，转得慢的能感知远距离。Llama 等许多模型都使用了 RoPE。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">前馈网络</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意力完成了“位置之间交换信息”，接下来每个位置还要各自经过一个</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">前馈网络</span></strong><span leaf="">，也就是神经网络一章讲的“加权求和 + 弯折”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">它的结构很简单：先把向量放大到约 4 倍宽，经过非线性函数，再压回原来的宽度。以 GPT-3 为例，向量宽度是 12288，前馈网络中间层宽度是 49152。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">10</span></sup><span leaf=""> 现代模型常把 ReLU 换成带“门控”的变体（如 SwiGLU），但思路不变。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">28</span></sup></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">组件</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">作用</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">类比</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">注意力</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">从其他位置收集信息</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">开会交流</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">前馈网络</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">加工收集到的信息</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">回到工位各自消化</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">注意力主要是在做加权平均，真正“弯折”、做复杂变换的，主要是前馈网络。通用逼近定理说的那种表达能力，很大程度上就来自这里。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">前馈网络约占 Transformer 参数的三分之二。有研究发现，它的行为类似“键-值记忆”：一部分参数负责识别输入中的某种模式，另一部分据此提高某些后续 token 的概率。比如识别出“法国的首都是”这个模式，就提高“巴黎”的分数。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">13</span></sup><span leaf=""> 但知识分散在大量参数中，不能指着某个参数说“这里存着‘巴黎是法国首都’”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">把所有部件拼起来</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">一个 Transformer 块由两个</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">子层</span></strong><span leaf="">组成：注意力和前馈网络。每个子层前做归一化，外面套着残差连接：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">x = x + 注意力(归一化(x))      ← 各位置交换信息，写回残差流</span><span leaf=""><br/></span><span leaf="">x = x + 前馈网络(归一化(x))    ← 各位置各自加工，写回残差流</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归一化放在子层的</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">前面</span></strong><span leaf="">（叫 Pre-Norm），而不是像最初的 Transformer 那样放在残差相加之后，训练更稳定，如今的大模型基本都这么做。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">16</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把这样的块堆叠几十层（GPT-3 有 96 层），完整走一遍：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">输入：“他口渴了，于是喝了一杯”</span><span leaf=""><br/></span><span leaf="">   ↓ 分词：他 | 口渴 | 了 | ， | 于是 | 喝了 | 一杯</span><span leaf=""><br/></span><span leaf="">   ↓ 嵌入：每个 token 换成一个几千维的向量，放进各自的残差流</span><span leaf=""><br/></span><span leaf="">   ↓ 第 1 层：注意力（各位置交换信息）→ 前馈网络（各自加工）</span><span leaf=""><br/></span><span leaf="">   ↓ 第 2 层：在上一层的结果上继续加工</span><span leaf=""><br/></span><span leaf="">   ↓ ……共几十层</span><span leaf=""><br/></span><span leaf="">   ↓ 取最后一个位置的向量，算出每个 token 的分数</span><span leaf=""><br/></span><span leaf="">   ↓ Softmax</span><span leaf=""><br/></span><span leaf="">输出：水 69%，茶 25%，……（示意）</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">越往后的层，每个位置的向量融合的上下文就越多。到最后一层，“一杯”这个位置的向量，已经在很大程度上代表了“读完前面整句话之后，接下来该说什么”。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">参数都在哪里？</span></strong><span leaf=""> 设向量宽度为 d，一个 Transformer 块的主要参数是：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">部分</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">矩阵</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">参数量</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">注意力</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Q、K、V、输出，4 个 d × d 矩阵</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">4d²</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">前馈网络</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">d → 4d、4d → d，2 个矩阵</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">8d²</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">合计</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">12d²</span></strong></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">代入 GPT-3 最大版本的数字，d = 12288，96 层，词表约 5 万：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">每层：  12 × 12288² ≈ 18.1 亿</span><span leaf=""><br/></span><span leaf="">96 层： 18.1 亿 × 96 ≈ 1739 亿</span><span leaf=""><br/></span><span leaf="">嵌入表：50257 × 12288 ≈ 6.2 亿</span><span leaf=""><br/></span><span leaf="">合计 ≈ 1746 亿，与公布的 1750 亿基本一致</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">归一化层、偏置等参数很少，可以忽略。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">参数的大头在每层的矩阵里，其中前馈网络约占三分之二。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到这里，模型本身就讲完了：给它一段前文，它能算出下一个 token 的概率表。可我们在聊天框里看到的，是一个能一问一答的助手。从一张概率表到 ChatGPT，中间还隔着好几步。</span></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">从模型到 ChatGPT</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这一章依次回答五个问题：一张概率表怎么变成一段话？只会续写的模型，怎么变成聊天助手？它怎么联网、看图、用工具？模型为什么越做越大？它又有哪些做不好的地方？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">自回归生成</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">开头说过，生成就是一个循环：从概率表里选出一个 token，接到前文后面，再交给模型预测下一个。自己的输出成为下一步的输入，这种方式叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">自回归生成</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">什么时候停？模型选出了表示“结束”的特殊 token，或者达到了预设的最大长度。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这个循环有一个重要的推论：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">已经写出的 token 不会撤回。</span></strong><span leaf=""> 如果前面选了一个不太好的词，后面只能顺着它往下写。例如模型一开头就写了“答案是 A”，即使后面的推理发现 A 不对，它也常常会想办法为 A 圆场，而不是推翻重来。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">采样：从概率表里挑一个</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">还是“他口渴了，于是喝了一杯____”，模型给出水 69%、茶 25%、书 6%。挑法有好几种：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">策略</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">做法</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">特点</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">贪心</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">永远选概率最高的</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">稳定，但容易单调、重复</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">随机采样</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">按概率抽签</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">更多样，但偶尔会抽到离谱的低概率 token</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Top-k</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">只在概率最高的 k 个里抽</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">截掉长尾，但 k 是固定的</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">Top-p（核采样）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">从高到低累加概率，达到 p 就停，只在这些里抽</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">候选数量随情况自动变化</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">随机采样的风险在长尾。</span></strong><span leaf=""> 词表有十几万个 token，单个离谱 token 的概率也许只有十万分之一，可成千上万个加起来，就可能占到几个百分点。生成几百个 token，碰上几次离谱选择几乎是必然的，而一旦选错，后面只能顺着写。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Top-p</span></strong><span leaf=""> 以 p = 90% 为例：水 69% + 茶 25% = 94%，已经超过 90%，所以只在“水”和“茶”里抽，按比例重新分配后约为 73% 和 27%，“书”被排除。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">29</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">Top-p 比 Top-k 灵活的地方在于，候选数量会随情况变化：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">前文是“床前明月____”时，“光”一个就占了 99%，Top-p 只留下它；Top-k 却仍然硬留 k 个，可能把不该有的候选也放进来。</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><p><span leaf="">前文是“我今天想吃____”时，合理的候选有几百个，每个都不高，Top-p 会留下很多；Top-k 却可能只留几个，把合理的也砍掉了。</span></p></li></ul><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">那为什么不干脆每次都选最高的？研究发现，在开放式写作和对话里，一味追求“最可能”的文本往往平淡、重复，甚至陷入同一句话反复出现的循环；而人写的文字，恰恰包含不少“不那么可能”的词。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">29</span></sup><span leaf=""> 这和信息量一节说的一致：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">完全猜得到的文字，没有信息。</span></strong></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">温度：保守还是大胆</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">温度</span></strong><span leaf="">是另一个常用的旋钮：先把每个分数除以温度，再做 Softmax。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">温度</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">水</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">茶</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">书</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">效果</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">0.5</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 88%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 12%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 0.6%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">更集中、更保守</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">1</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 69%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 25%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 6%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">原始分布</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">2</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 53%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 32%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">约 15%</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">更平均、更多样，也更容易出错</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">温度 0.5 相当于把分数翻倍，原本“差 1 分”变成“差 2 分”，Softmax 之后差距被放大；温度 2 相当于把分数减半，差距被缩小。温度趋近 0 时，最高分拿走几乎全部概率，相当于贪心；温度很高时，分数差距几乎被抹平，接近在所有候选里随便抽。</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">任务</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">通常的设置</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">写代码、回答事实问题、提取信息</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">低温度，结果稳定</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">日常对话、写作</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">中等温度</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">头脑风暴、写诗、起名字</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">较高温度，多样性更重要</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这也解释了</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">为什么同一个问题，每次回答不一样</span></strong><span leaf="">：同样的前文得到同样的概率表，但每次抽出的 token 可能不同；一旦某一步不同，后面整段都会走向不同的方向。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">最后要注意：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">采样只能在模型给出的概率里挑，改变不了模型本身的理解能力。</span></strong><span leaf=""> 概率表本身错了，怎么挑都救不回来。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">基座模型：只会续写</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">到目前为止，模型学的都是“人写的文本接下来通常是什么”。这一步叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">预训练</span></strong><span leaf="">，得到的是</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">基座模型</span></strong><span leaf="">。它只会续写，不会“回答”：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">输入：法国的首都是哪里？</span><span leaf=""><br/></span><span leaf="">基座模型可能的续写（示意）：德国的首都是哪里？英国的首都是哪里？请在括号内填写答案……</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">因为网上类似的文字常常出现在习题列表里。它其实“知道”答案，只是不知道自己应该扮演回答问题的人。把问题伪装成“一段通常后面跟着答案的文本”，它就能答对：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">问：日本的首都是哪里？</span><span leaf=""><br/></span><span leaf="">答：东京。</span><span leaf=""><br/></span><span leaf="">问：法国的首都是哪里？</span><span leaf=""><br/></span><span leaf="">答：____                    → 巴黎</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这说明</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">知识在预训练里已经学到了，缺的是“以助手身份回应”的行为方式。</span></strong><span leaf=""> 基座模型还可能一直写下去不知道停，模仿网上的粗鲁语气，或者对有害请求照单全收。把它变成助手的这一系列训练，统称</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">后训练</span></strong><span leaf="">。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">监督微调：看示范学回答</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">监督微调（SFT）</span></strong><span leaf=""> 的做法是：收集大量“指令 + 优质回答”的示范，用同样的“预测下一个 token”方式继续训练。对话会被整理成带特殊标记的格式（示意，不同模型的标记各不相同）：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">&lt;|系统|&gt;你是一个乐于助人的助手。</span><span leaf=""><br/></span><span leaf="">&lt;|用户|&gt;法国的首都是哪里？</span><span leaf=""><br/></span><span leaf="">&lt;|助手|&gt;法国的首都是巴黎。&lt;|结束|&gt;</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">训练时通常只对“助手”部分计算交叉熵：模型要学的是怎样回答，而不是怎样提问。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">对模型来说，对话仍然是一段连续的文本，“对话”只是用特殊标记组织起来的格式。</span></strong><span leaf=""> 所谓“系统提示词”，就是放在最前面的一段文字；多轮对话中，之前每一轮的问答都会拼在一起，作为下一轮的前文；模型学会了在回答完时生成“结束”标记，所以知道什么时候停。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">数据质量比数量更重要。</span></strong><span leaf=""> InstructGPT 的监督微调只用了约 1.3 万条提示；</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">30</span></sup><span leaf=""> LIMA 的研究只用 1000 条精心挑选的示范，就让一个 650 亿参数的基座模型有了相当不错的对话能力。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">31</span></sup></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">RLHF：从人类偏好中学习</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">示范有两个局限：写高质量示范成本很高；而且很多时候，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">人更擅长比较，而不是创作</span></strong><span leaf="">，你可能写不出一首好诗，但给你两首，你大概能分辨哪首更好。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">基于人类反馈的强化学习（RLHF）</span></strong><span leaf=""> 就利用了这一点。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">强化学习</span></strong><span leaf="">是和“看示范”不同的另一种训练方式：不给标准答案，只给打分，让模型自己尝试，往得分高的方向调整。RLHF 分三步：</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">30</span></sup></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">1. 收集比较数据：对同一个问题让模型生成几个回答，请标注员选出更好的</span><span leaf=""><br/></span><span leaf="">2. 训练奖励模型：用这些比较数据，训练另一个模型给回答打分</span><span leaf=""><br/></span><span leaf="">3. 强化学习：模型生成回答 → 奖励模型打分 → 让高分回答更可能被生成，低分的更不可能</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这里有一个关键约束：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不能让模型偏离原来太远。</span></strong><span leaf=""> 奖励模型只是人类偏好的近似，有盲点。放开优化的话，模型会找到钻空子的办法，比如奖励模型略微偏爱长回答，模型就越写越长、越写越空。这叫</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">奖励投机</span></strong><span leaf="">。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">效果如何？InstructGPT 的研究中，标注员更喜欢 13 亿参数的 InstructGPT 的回答，而不是 1750 亿参数的 GPT-3 的回答。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">30</span></sup><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">就“好不好用”而言，后训练可能和模型规模一样重要。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">后来还出现了更简单的 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">DPO（直接偏好优化）</span></strong><span leaf="">：跳过奖励模型，直接用“较好／较差”的回答对去调整模型，提高较好回答的概率、降低较差回答的概率。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">32</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">人类偏好只能告诉模型“哪个回答更好”。可有些问题本来就有标准答案，能不能直接拿“对不对”来训练？</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">推理强化学习：只告诉它对不对</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">数学题、编程题的答案可以自动检查。于是可以让模型自己反复解题，答对就给奖励，答错就不给，不再需要人来比较。DeepSeek-R1 的报告显示，直接在基座模型上用这种方式训练（他们称这个版本为 R1-Zero），模型在 AIME 2024 数学竞赛题上的正确率从 15.6% 提升到 71.0%；而且训练中，模型自发地学会了先写出推理过程、中途检查、发现问题再回头修正。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">33</span></sup><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">没有人教它“怎么想”，只告诉它“结果对不对”，它却自己摸索出了“多想一会儿”的策略。</span></strong></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">把从预训练到聊天助手的几个阶段放在一起看：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">阶段</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">数据</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">得到什么</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">预训练</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数万亿 token 的普通文本</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">基座模型：知识多，但只会续写</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">监督微调</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数千到数十万条示范</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">能按指令回答</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">偏好对齐（RLHF、DPO）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">人类或 AI 的比较数据</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">更有用、更得体、更安全</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">推理强化学习</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">可自动判对错的题目</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">更强的推理能力</span></p></td></tr></tbody></table><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">联网、看图、用工具</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">现在的聊天助手还能联网搜索、看懂图片、运行代码。可模型只会预测下一个 token，这些是怎么做到的？</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">工具调用：模型只负责写出“要做什么”。</span></strong><span leaf=""> 训练时，让模型学会在需要的时候，输出一段特定格式的文字（示意）：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">&lt;|用户|&gt;今天北京天气怎么样？</span><span leaf=""><br/></span><span leaf="">&lt;|助手|&gt;&lt;|调用工具|&gt;搜索：北京 今天 天气&lt;|结束|&gt;</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">模型写完这一行就停下，它自己并不会联网。外部程序看到这个格式，就去真正执行搜索，再把结果作为一段新文字拼到上下文后面，交还给模型：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">&lt;|工具结果|&gt;北京今天晴，最高气温 22℃……</span><span leaf=""><br/></span><span leaf="">&lt;|助手|&gt;北京今天是晴天，最高 22℃，适合出门。&lt;|结束|&gt;</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">模型读到搜索结果，接着往下预测，就写出了回答。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">34</span></sup><span leaf=""> 算数、运行代码、查资料、读文件，都是同一个套路：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">模型写出要做什么，外部程序去做，结果再变回文字交给模型。</span></strong><span leaf=""> 平时说的 </span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">Agent（智能体）</span></strong><span leaf="">，就是让这个循环自动跑很多轮：想好下一步 → 调用工具 → 看结果 → 再决定下一步，直到任务完成。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">看图：把图片也变成 token。</span></strong><span leaf=""> 把图片切成许多小方块，再用一个专门的网络把每一块转成一个向量，和文字 token 的向量排在一起，送进同一个 Transformer。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">35</span></sup><span leaf=""> 对模型来说，一张图就是一串特殊的 token。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">所以，不管是聊天、用工具还是看图，</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">对模型来说，一切都是一串 token</span></strong><span leaf="">。它做的始终只有一件事：根据前文，预测下一个。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">规模定律</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">标题叫“大语言模型”，到底“大”在哪里，为什么要大？先看影响模型能力的三个核心量：</span></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">量</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">含义</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">类比</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">参数量 N</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">模型里可调的数字有多少</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">脑容量</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">训练 token 数 D</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">训练时读过多少文本</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">读过多少书</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">计算量 C</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">训练一共做了多少次运算</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">花了多少学习时间</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">三者之间有一个常用的估算：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">训练计算量 ≈ 6 × N × D</span></strong><span leaf="">。每个 token 经过模型一次，每个参数大约参与 1 次乘法和 1 次加法，正向约 2N 次运算；反向传播约是正向的两倍，约 4N 次，合起来约 6N。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">36</span></sup><span leaf=""> 代入 GPT-3：6 × 1750 亿 × 3000 亿 ≈ 3.15 × 10²³，和论文报告的 3.14 × 10²³ 几乎一样。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">10</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">2020 年的一项研究系统地测量了交叉熵和规模的关系，发现在跨越多个数量级的范围内，交叉熵随参数量、数据量、计算量的增加，按</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">幂律</span></strong><span leaf="">平稳下降：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">规模每扩大相同的倍数，交叉熵就下降一个大致固定的比例。</span></strong><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">36</span></sup></p><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">只扩大这一项</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">扩大 10 倍后，交叉熵约变为原来的</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">参数量</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">84%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数据量</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">80%</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">计算量（最优分配时）</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">89%</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">画在横纵轴都取对数的图上，这几乎是一条直线。这带来一个很实用的结果：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">先用小模型做一批便宜的实验，把直线延长，就能预测大模型大约能达到多低的交叉熵</span></strong><span leaf="">，再决定要投入多少资源。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">但也要注意：每扩大 10 倍只降一点，所以想明显降低交叉熵，规模往往要扩大好几个数量级。这就是模型越做越大的原因。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">参数和数据要一起涨。</span></strong><span leaf=""> 2022 年的 Chinchilla 研究发现，此前很多大模型“参数多、数据少”；在固定的计算预算下，每个参数大约对应 20 个训练 token 比较划算。他们用和 2800 亿参数的 Gopher 相当的算力，训练了一个只有 700 亿参数、但读了 1.4 万亿 token 的模型，结果在许多任务上都超过了 Gopher。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">37</span></sup><span leaf=""> 后来很多模型还会用远超这个比例的数据去训练较小的模型，比如 Llama 3 的 80 亿参数版本读了约 15 万亿 token，</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">11</span></sup><span leaf=""> 因为模型只训练一次，却要被使用无数次，而使用成本取决于参数量。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">损失降不到零</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">交叉熵会一直降到零吗？不会。Chinchilla 研究把交叉熵拆成三部分来拟合：</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">37</span></sup></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">交叉熵 ≈ 不可约的部分 + 模型不够大带来的部分 + 数据不够多带来的部分</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">模型越大，第二项越小；数据越多，第三项越小。但</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">第一项无论如何都消除不了</span></strong><span leaf="">，他们拟合出的值约为每个 token 1.69 nat（约 2.4 bit）。论文的解释是：它对应的是自然文本本身的熵。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">这和前面完全接上了：</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">交叉熵永远不低于熵。</span></strong><span leaf=""> 文本里有真正的随机性，比如作者下一句想写什么、一个人叫什么名字、明天的新闻是什么，再聪明的模型也不可能百分之百猜中。规模定律描述的，正是模型的交叉熵如何一步步逼近语言本身的熵，也就是香农当年想测量的那个数。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">（这个数值按 token 计算，依赖于具体的数据集和分词方法，不能和香农按字母估算的 0.6～1.3 bit 直接比较。）</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">规模能把交叉熵一步步压低，但模型的能力终究来自“在海量文本上预测下一个 token”，它的局限也大多来自这里。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">幻觉</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">幻觉</span></strong><span leaf="">指模型生成流畅、自信，但与事实不符的内容，比如编造不存在的论文、网址、引语，或者给出一个精确但错误的数字。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">38</span></sup><span leaf=""> 用前面讲过的东西，可以从四个角度理解：</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">1. 训练目标是“像”，不是“真”。</span></strong><span leaf=""> 交叉熵衡量的是“像不像人写的文本”。遇到不确定的内容时，最“像样”的续写，往往仍是一段流畅、自信的文字：一篇论文的引用格式应该长什么样，模型非常清楚；但这篇论文是否存在，它未必知道。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">2. 零散的事实没有规律可循。</span></strong><span leaf=""> 模型靠找到可复用的规律来压缩数据，但“某个普通人的生日是哪天”这类事实没有规律，只能逐条记住，而只在训练数据里出现一两次的事实很难记牢。有研究指出：如果训练数据中 20% 的生日信息只出现过一次，那么可以预期，基座模型在这类问题上至少有约 20% 会答错。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">39</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">3. 评测奖励“猜”。</span></strong><span leaf=""> 很多评测只看答案对不对，回答“不知道”和答错一样得零分。就像考试不倒扣分时，蒙一个总比空着强。在这种激励下优化出来的模型，自然倾向于猜一个答案，而不是承认不确定。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">39</span></sup></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">4. 写出的字收不回来。</span></strong><span leaf=""> 模型一旦开头写了“这篇论文发表于 2019 年的……”，后面只能顺着编下去。</span></p><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">越是冷门、越是具体（人名、数字、日期、引用、网址），越容易出错。</span></strong><span leaf=""> 应对办法：提供资料让它依据资料作答；明确允许它说“不知道”；要求注明出处并自己核实；关键信息一定多方验证。</span></p><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">其他常见局限</span></h3><table style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-collapse: collapse;width: 677px;margin: 18px 0px;font-size: 14px;"><thead><tr><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">局限</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">根源</span></p></th><th style="border: 1px solid rgb(217, 217, 217);background: rgb(3, 124, 230);color: rgb(255, 255, 255);padding: 8px 10px;text-align: center;font-weight: 600;"><p><span leaf="">应对</span></p></th></tr></thead><tbody><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">知识有截止日期</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">只知道训练数据收集之前的内容，而且可能不知道自己不知道</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">涉及“最新”“现在”的问题，让它联网检索或自己核对</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">上下文有限</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">一次能看的 token 数有上限，注意力的计算量随长度的平方增长；窗口之内，放在中间的信息也容易被忽略</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">40</span></sup></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">重要要求放在开头或结尾，长对话适时总结</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">数字母、精确计算出错</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">看到的是 token 而不是一个个字符，比如 strawberry 可能被切成几块</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">让它写代码来算，或调用计算工具</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">迎合用户</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">人类评价时更容易给“同意我”的回答打高分，RLHF 把这种偏好也学了进去</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">41</span></sup></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">中立地提问，直接要求它指出问题</span></p></td></tr><tr><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">学到关联，不等于掌握因果</span></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">学的是文本里的方向性关联：学到“A 的母亲是 B”，不一定能答出“B 的儿子是谁”</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">42</span></sup></p></td><td style="border: 1px solid rgb(217, 217, 217);padding: 8px 10px;text-align: left;color: rgb(62, 71, 83);"><p><span leaf="">换个角度追问，关键推理自己检查</span></p></td></tr></tbody></table><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">最后，模型的能力往往参差不齐。</span></strong><span leaf=""> 它可能解得出一道复杂的数学竞赛题，却在一个简单的常识问题上犯错。</span><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">判断它可不可靠，最终要看它在没见过的、你自己的真实任务上表现如何。</span></strong></p><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">总结</span></h2><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">回头看，整篇文章其实只回答了一串问题：</span></p><pre style="font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;background: rgb(40, 44, 52);color: rgb(230, 230, 230);padding: 16px;border-radius: 6px;overflow-x: auto;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;line-height: 1.6em;margin: 16px 0px;"><code style="background: none;color: inherit;padding: 0px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 13px;"><span leaf="">语言模型做什么？        给定前文，输出下一个 token 的概率</span><span leaf=""><br/></span><span leaf="">怎么衡量做得好不好？    交叉熵：越低，越接近人写作时的真实概率，压缩得也越短</span><span leaf=""><br/></span><span leaf="">预测的极限在哪里？      语言本身的熵：交叉熵永远不低于它</span><span leaf=""><br/></span><span leaf="">用什么来做预测？        神经网络：参数加非线性，能逼近任意函数；深度、归一化、残差让它能叠得很深</span><span leaf=""><br/></span><span leaf="">怎么把参数调好？        梯度下降 + 反向传播：在海量文本上一步步降低交叉熵</span><span leaf=""><br/></span><span leaf="">怎样才算学会？          在没见过的文本上也预测得好：找到可复用的规律，压缩和泛化同时发生</span><span leaf=""><br/></span><span leaf="">具体用什么结构？        Transformer：注意力收集上下文，前馈网络加工信息，几十层堆叠</span><span leaf=""><br/></span><span leaf="">一段话怎么写出来？      自回归生成：从概率里挑一个，接上，再预测；温度和 Top-p 决定怎么挑</span><span leaf=""><br/></span><span leaf="">怎么变成聊天助手？      后训练：监督微调学格式，RLHF 学偏好，可验证奖励练推理</span><span leaf=""><br/></span><span leaf="">怎么联网、用工具？      写出调用工具的文字，外部程序去执行，结果拼回上下文；图片也变成 token</span><span leaf=""><br/></span><span leaf="">为什么要大？            规模定律：交叉熵随规模平稳下降，一步步逼近语言的熵</span><span leaf=""><br/></span><span leaf="">它做不好什么？          幻觉、知识截止、上下文有限……大多能从“预测下一个 token”里找到根源</span></code></pre><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">用一首诗，再把全文串一遍：</span></p><blockquote style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;border-left: 3px solid rgb(207, 207, 207);background: rgb(247, 247, 247);color: rgb(102, 102, 102);padding: 10px 16px;margin: 16px 0px;font-size: 15px;line-height: 1.7em;"><p style="margin: 0px;font-size: 15px;color: rgb(102, 102, 102);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">万卷人言化作丝，层层网络织新辞。</span><span leaf=""><br/></span><span leaf="">前文照应千般意，概率权衡一句诗。</span><span leaf=""><br/></span><span leaf="">梯度回传修旧失，人间偏好亦为师。</span><span leaf=""><br/></span><span leaf="">纵然出口皆成锦，几处真知几处疑。</span></p></blockquote><h3 style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 17px;font-weight: 700;color: rgb(3, 124, 230);margin: 22px 0px 10px;"><span leaf="">留给读者的问题</span></h3><p style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;color: rgb(62, 71, 83);line-height: 1.8em;margin: 14px 0px;letter-spacing: 0.05em;text-align: justify;"><span leaf="">上面这串问题都有了答案。最后留几个还没有定论的问题，供读者思考：</span></p><ul style="color: rgb(0, 0, 0);font-family: -apple-system, &#34;system-ui&#34;, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: medium;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">现在的架构是最优的吗？</span></strong><p><span leaf=""> 人脑里没有反向传播，没有 Q、K、V，思考时也不是一个 token 一个 token 地往外蹦；一个孩子到十几岁接触的词不到 1 亿个，</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">43</span></sup><span leaf=""> 大模型却要读十几万亿个 token。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">11</span></sup><span leaf=""> 这说明现在的做法还有很大的改进空间，还是飞机本来就不必像鸟一样扇翅膀？</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">不靠人类的语言数据，能达到同样的智力吗？</span></strong><p><span leaf=""> AlphaGo Zero 不看人类棋谱，只靠自己和自己下，就超过了所有人类棋手。</span><sup style="font-size: 12px;line-height: 0;color: rgb(3, 124, 230);text-decoration: none;font-weight: 600;padding: 0px 1px;margin: 0px 1px;vertical-align: super;"><span leaf="">44</span></sup><span leaf=""> 可围棋有明确的规则和输赢，语言和现实世界里，谁来当裁判？</span></p></li><li style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 16px;color: rgb(62, 71, 83);line-height: 1.8em;margin: 6px 0px;text-align: justify;"><strong style="color: rgb(0, 0, 0);font-weight: 700;"><span leaf="">大模型有自我意识吗？</span></strong><p><span leaf=""> 如果有，它在哪里：在训练好就不再改变的参数里，在每一场对话里，还是在每生成一个 token 的那一次计算里？一次对话结束，算不算一个意识的消亡？</span></p></li></ul><h2 style="color: rgb(0, 0, 0);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;font-size: 18px;font-weight: 700;margin: 28px 0px 14px;padding-left: 12px;border-left: 6px solid rgb(3, 124, 230);line-height: 1.3em;"><span leaf="">参考资料</span></h2><hr style="border-width: 1px medium medium;border-style: solid none none;border-color: rgb(229, 229, 229) currentcolor currentcolor;border-image: none;margin: 28px 0px;"/><ol style="margin: 10px 0px;padding-left: 24px;" class="list-paddingleft-1"><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">A. M. Turing, </span><em><span leaf="">Computing Machinery and Intelligence</span></em><span leaf="">, Mind, 59(236), 433–460, 1950。模仿游戏（图灵测试）。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1093/mind/LIX.236.433" target="_blank">https://doi.org/10.1093/mind/LIX.236.433</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Claude E. Shannon, </span><em><span leaf="">A Mathematical Theory of Communication</span></em><span leaf="">, 1948。信息量、熵与通信编码。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf" target="_blank">https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">MIT 18.310, </span><em><span leaf="">Shannon’s Noiseless Coding Theorem</span></em><span leaf="">。熵是无损编码平均长度的下界。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://math.mit.edu/~goemans/18310S15/noiseless-coding.pdf" target="_blank">https://math.mit.edu/~goemans/18310S15/noiseless-coding.pdf</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Hutter Prize 官方 FAQ。用无损压缩研究智能的动机。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="http://prize.hutter1.net/hfaq.htm" target="_blank">http://prize.hutter1.net/hfaq.htm</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Claude E. Shannon, </span><em><span leaf="">Prediction and Entropy of Printed English</span></em><span leaf="">, Bell System Technical Journal, 30(1), 50–64, 1951。不同上下文长度下的英语熵、逐字预测实验与猜测序号编码。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://www.princeton.edu/~wbialek/rome/refs/shannon_51.pdf" target="_blank">https://www.princeton.edu/~wbialek/rome/refs/shannon_51.pdf</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Warren S. McCulloch, Walter Pitts, </span><em><span leaf="">A Logical Calculus of the Ideas Immanent in Nervous Activity</span></em><span leaf="">, Bulletin of Mathematical Biophysics, 5, 115–133, 1943。最早的人工神经元数学模型。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1007/BF02478259" target="_blank">https://doi.org/10.1007/BF02478259</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">George Cybenko, </span><em><span leaf="">Approximation by Superpositions of a Sigmoidal Function</span></em><span leaf="">, Mathematics of Control, Signals and Systems, 2, 303–314, 1989。单隐层网络的通用逼近。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1007/BF02551274" target="_blank">https://doi.org/10.1007/BF02551274</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Kurt Hornik, Maxwell Stinchcombe, Halbert White, </span><em><span leaf="">Multilayer Feedforward Networks are Universal Approximators</span></em><span leaf="">, Neural Networks, 2(5), 359–366, 1989。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1016/0893-6080(89)90020-8" target="_blank">https://doi.org/10.1016/0893-6080(89)90020-8</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Moshe Leshno, Vladimir Ya. Lin, Allan Pinkus, Shimon Schocken, </span><em><span leaf="">Multilayer Feedforward Networks with a Nonpolynomial Activation Function Can Approximate Any Function</span></em><span leaf="">, Neural Networks, 6(6), 861–867, 1993。通用逼近对 ReLU 等非多项式激活函数同样成立。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1016/S0893-6080(05)80131-5" target="_blank">https://doi.org/10.1016/S0893-6080(05)80131-5</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Tom B. Brown et al., </span><em><span leaf="">Language Models are Few-Shot Learners</span></em><span leaf="">, NeurIPS 2020。GPT-3 的层数、向量宽度、注意力头数、批次大小、参数量与训练计算量。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2005.14165" target="_blank">https://arxiv.org/abs/2005.14165</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Llama Team, AI @ Meta, </span><em><span leaf="">The Llama 3 Herd of Models</span></em><span leaf="">, 2024。模型层数、向量宽度、词表大小与训练数据量。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2407.21783" target="_blank">https://arxiv.org/abs/2407.21783</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Matus Telgarsky, </span><em><span leaf="">Benefits of Depth in Neural Networks</span></em><span leaf="">, COLT 2016。深层网络用少量神经元表示浅层网络需要指数级神经元的函数。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1602.04485" target="_blank">https://arxiv.org/abs/1602.04485</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Mor Geva et al., </span><em><span leaf="">Transformer Feed-Forward Layers Are Key-Value Memories</span></em><span leaf="">, EMNLP 2021。前馈层的“键-值记忆”解释，以及低层偏表层模式、高层偏语义模式。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2012.14913" target="_blank">https://arxiv.org/abs/2012.14913</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Jimmy Lei Ba, Jamie Ryan Kiros, Geoffrey E. Hinton, </span><em><span leaf="">Layer Normalization</span></em><span leaf="">, 2016。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1607.06450" target="_blank">https://arxiv.org/abs/1607.06450</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Biao Zhang, Rico Sennrich, </span><em><span leaf="">Root Mean Square Layer Normalization</span></em><span leaf="">, NeurIPS 2019。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1910.07467" target="_blank">https://arxiv.org/abs/1910.07467</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Ruibin Xiong et al., </span><em><span leaf="">On Layer Normalization in the Transformer Architecture</span></em><span leaf="">, ICML 2020。归一化放在子层之前（Pre-Norm）训练更稳定。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2002.04745" target="_blank">https://arxiv.org/abs/2002.04745</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Kaiming He et al., </span><em><span leaf="">Deep Residual Learning for Image Recognition</span></em><span leaf="">, CVPR 2016。深层网络的退化现象与残差连接。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1512.03385" target="_blank">https://arxiv.org/abs/1512.03385</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">David E. Rumelhart, Geoffrey E. Hinton, Ronald J. Williams, </span><em><span leaf="">Learning Representations by Back-Propagating Errors</span></em><span leaf="">, Nature, 323, 533–536, 1986。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1038/323533a0" target="_blank">https://doi.org/10.1038/323533a0</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">PyTorch 官方教程，</span><em><span leaf="">Optimizing Model Parameters</span></em><span leaf="">。损失、梯度、反向传播与参数更新。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://docs.pytorch.org/tutorials/beginner/basics/optimization_tutorial.html" target="_blank">https://docs.pytorch.org/tutorials/beginner/basics/optimization_tutorial.html</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Diederik P. Kingma, Jimmy Ba, </span><em><span leaf="">Adam: A Method for Stochastic Optimization</span></em><span leaf="">, ICLR 2015。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1412.6980" target="_blank">https://arxiv.org/abs/1412.6980</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Peter Grünwald, Teemu Roos, </span><em><span leaf="">Minimum Description Length Revisited</span></em><span leaf="">, 2019。从描述长度理解学习与模型选择。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1908.08484" target="_blank">https://arxiv.org/abs/1908.08484</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Yoshua Bengio et al., </span><em><span leaf="">A Neural Probabilistic Language Model</span></em><span leaf="">, JMLR 3, 2003。用词向量和神经网络缓解统计方法“没见过就查不到”的数据稀疏问题。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://www.jmlr.org/papers/volume3/bengio03a/bengio03a.pdf" target="_blank">https://www.jmlr.org/papers/volume3/bengio03a/bengio03a.pdf</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Tomas Mikolov et al., </span><em><span leaf="">Efficient Estimation of Word Representations in Vector Space</span></em><span leaf="">, 2013。词向量及其类比关系。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1301.3781" target="_blank">https://arxiv.org/abs/1301.3781</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Nelson Elhage et al., </span><em><span leaf="">Toy Models of Superposition</span></em><span leaf="">, Transformer Circuits Thread, 2022。高维空间中“几乎垂直”的方向数量随维度指数增长（Johnson–Lindenstrauss 引理），以及模型如何用叠加表示多于维度数的特征。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2209.10652" target="_blank">https://arxiv.org/abs/2209.10652</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Ashish Vaswani et al., </span><em><span leaf="">Attention Is All You Need</span></em><span leaf="">, NeurIPS 2017。Transformer、缩放点积注意力、多头注意力与位置编码。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1706.03762" target="_blank">https://arxiv.org/abs/1706.03762</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Catherine Olsson et al., </span><em><span leaf="">In-context Learning and Induction Heads</span></em><span leaf="">, 2022。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2209.11895" target="_blank">https://arxiv.org/abs/2209.11895</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Jianlin Su et al., </span><em><span leaf="">RoFormer: Enhanced Transformer with Rotary Position Embedding</span></em><span leaf="">, 2021。旋转位置编码。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2104.09864" target="_blank">https://arxiv.org/abs/2104.09864</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Noam Shazeer, </span><em><span leaf="">GLU Variants Improve Transformer</span></em><span leaf="">, 2020。SwiGLU 等门控前馈网络。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2002.05202" target="_blank">https://arxiv.org/abs/2002.05202</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Ari Holtzman et al., </span><em><span leaf="">The Curious Case of Neural Text Degeneration</span></em><span leaf="">, ICLR 2020。Top-p（核采样），以及追求高概率导致文本重复、平淡的现象。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/1904.09751" target="_blank">https://arxiv.org/abs/1904.09751</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Long Ouyang et al., </span><em><span leaf="">Training Language Models to Follow Instructions with Human Feedback</span></em><span leaf="">, NeurIPS 2022。InstructGPT、监督微调与 RLHF 的三步流程。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2203.02155" target="_blank">https://arxiv.org/abs/2203.02155</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Chunting Zhou et al., </span><em><span leaf="">LIMA: Less Is More for Alignment</span></em><span leaf="">, NeurIPS 2023。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2305.11206" target="_blank">https://arxiv.org/abs/2305.11206</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Rafael Rafailov et al., </span><em><span leaf="">Direct Preference Optimization: Your Language Model is Secretly a Reward Model</span></em><span leaf="">, NeurIPS 2023。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2305.18290" target="_blank">https://arxiv.org/abs/2305.18290</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">DeepSeek-AI, </span><em><span leaf="">DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning</span></em><span leaf="">, 2025。用可验证奖励的强化学习训练推理能力。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2501.12948" target="_blank">https://arxiv.org/abs/2501.12948</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Timo Schick et al., </span><em><span leaf="">Toolformer: Language Models Can Teach Themselves to Use Tools</span></em><span leaf="">, NeurIPS 2023。模型在文本中写出工具调用，由外部执行后把结果放回文本。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2302.04761" target="_blank">https://arxiv.org/abs/2302.04761</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Alexey Dosovitskiy et al., </span><em><span leaf="">An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale</span></em><span leaf="">, ICLR 2021。把图片切成小方块，当作 token 送进 Transformer。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2010.11929" target="_blank">https://arxiv.org/abs/2010.11929</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Jared Kaplan et al., </span><em><span leaf="">Scaling Laws for Neural Language Models</span></em><span leaf="">, 2020。规模定律与训练计算量估算。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2001.08361" target="_blank">https://arxiv.org/abs/2001.08361</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Jordan Hoffmann et al., </span><em><span leaf="">Training Compute-Optimal Large Language Models</span></em><span leaf="">, 2022。参数量与数据量的最优配比，以及包含不可约损失的拟合公式。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2203.15556" target="_blank">https://arxiv.org/abs/2203.15556</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Lei Huang et al., </span><em><span leaf="">A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions</span></em><span leaf="">, ACM TOIS。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2311.05232" target="_blank">https://arxiv.org/abs/2311.05232</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Adam Tauman Kalai, Ofir Nachum, Santosh S. Vempala, Edwin Zhang, </span><em><span leaf="">Why Language Models Hallucinate</span></em><span leaf="">, 2025。零散事实与幻觉率的关系，以及评测机制如何鼓励“猜测”。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2509.04664" target="_blank">https://arxiv.org/abs/2509.04664</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Nelson F. Liu et al., </span><em><span leaf="">Lost in the Middle: How Language Models Use Long Contexts</span></em><span leaf="">, TACL 2024。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2307.03172" target="_blank">https://arxiv.org/abs/2307.03172</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Mrinank Sharma et al., </span><em><span leaf="">Towards Understanding Sycophancy in Language Models</span></em><span leaf="">, 2023。人类反馈训练与迎合行为。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2310.13548" target="_blank">https://arxiv.org/abs/2310.13548</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Lukas Berglund et al., </span><em><span leaf="">The Reversal Curse: LLMs Trained on “A is B” Fail to Learn “B is A”</span></em><span leaf="">, ICLR 2024。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2309.12288" target="_blank">https://arxiv.org/abs/2309.12288</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">Alex Warstadt et al., </span><em><span leaf="">Call for Papers – The BabyLM Challenge: Sample-efficient Pretraining on a Developmentally Plausible Corpus</span></em><span leaf="">, 2023。儿童到 13 岁左右接触的词不到 1 亿个。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://arxiv.org/abs/2301.11796" target="_blank">https://arxiv.org/abs/2301.11796</a></span></code></p></li><li style="margin: 6px 0px;padding-left: 4px;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;"><p style="margin: 0px;font-size: 13px;color: rgb(122, 130, 140);line-height: 1.7em;font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, PingFangSC, &#34;Microsoft YaHei&#34;, sans-serif;"><span leaf="">David Silver et al., </span><em><span leaf="">Mastering the Game of Go without Human Knowledge</span></em><span leaf="">, Nature, 550, 354–359, 2017。AlphaGo Zero 不用人类棋谱，只靠自我对弈训练。</span><code style="background: rgb(242, 242, 242);color: rgb(199, 37, 78);padding: 2px 5px;border-radius: 3px;font-family: Consolas, &#34;Courier New&#34;, monospace;font-size: 14px;"><span leaf=""><a href="https://doi.org/10.1038/nature24270" target="_blank">https://doi.org/10.1038/nature24270</a></span></code></p></li></ol><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301122" data-ratio="0.5609375" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=3fd9c9a3&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804278%26idx%3D1%26sn%3D9e9c88b84f8188503c9862f9b226839b">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 13 Oct 2026 18:00:00 +0800</pubDate>
    </item>
    <item>
      <title>Agent、MCP、Skill、Cli、Model 一次讲透：老系统接入 AI 的概念地图与三条路径</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804252&amp;idx=1&amp;sn=073e0806e5a950fae374c9e5f7a2a8b6</link>
      <description>概念关系总图</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-12 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=285cf7d7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz9052vUx6YaS3ThgHjhibe8LfLXQlUOc02ygjB7wSgfEQsE4nNgLbhoD7DrxN1uTfka3NSu269tfkclD3I0WckmZ753jjgugK1jwE%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>概念关系总图</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.325" data-type="gif" data-w="640" type="block" data-imgfileid="502301126" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：robinji</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这篇文章尝试回答两个问题：一是 Agent、Skill、MCP、CLI、Model 这五个概念到底是什么关系，谁调用谁；二是企业里跑了多年的老系统，该从哪里切入，AI 才用得起来。内容包括五概念的关系总图、一次工具调用的完整接力、老系统接入的三条路径（API 封装、CLI 包装、RPA 兜底）、MCP 实现形式的完整分类，以及 BS 和 CS 两种架构的实战案例。</span></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">一、事情的起因</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">客户是国内某大型整车集团研究院的 IT 团队。集团管理层给他们下了一个课题，「让 AI 深入老业务系统」。这个提法里没有「上一套新的 AI 系统」。这两个说法差别很大，做过企业 IT 的人都懂，上新系统是采购问题，深入老系统是工程问题。管理层点了名，这道题躲不掉。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">IT 同学犯难的地方，先出在概念层。Agent、Skill、MCP、CLI、Model，这些词现在满天飞。它们之间到底是什么关系，谁调用谁，标准和工具各是哪几个，平时没人系统讲过。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">更实际的问题是，手里那些跑了十年八年的老系统，请假销假、PLM、各种内部平台，到底该从哪里下刀，AI 才用得起来。客户的需求很朴素，先讲明白，再谈怎么改。于是有了这场交流和那份 42 页的 PPT。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">二、五个概念构成一支团队</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">客户的第一个问题是，这些概念到底是什么关系。我们的办法是打比方。别背技术名词，把整套 AI 系统想象成公司新入职的一支数字化团队。</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">概念</span></strong></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">团队角色</span></strong></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">干什么</span></strong></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Model（大模型）</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">大脑</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">负责想，推理与生成引擎</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Agent</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">数字员工</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">负责干，目标驱动、自主规划、调用工具的闭环执行体</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Skill</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">岗位技能手册</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">负责会，把流程和经验封装成 Agent 能加载的技能包</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">MCP</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">万能转接头</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">负责接，连接 AI 与外部系统的开放标准协议</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CLI</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">对讲机</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">负责说，指令清晰、回执明确、可记录的交互通道</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这里来逐个展开说说。</span></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Model 是大脑。它有参数量、上下文窗口、多模态这些属性，但大脑再聪明，没有手脚也干不了活，模型本身碰不到你数据库里的一行数据。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Agent 是数字员工。你给它一个目标，它自己拆任务、找工具、执行、看结果、再调整，感知、规划、行动、观察、再规划，这是个闭环。最容易混的一点先说掉，Agent 是一套系统，Model 只是它的一个部件。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Skill 是岗位手册。新员工入职发一本手册，通用员工就变成领域熟手。Skill 干的就是这件事，触发条件加操作流程加领域知识加工具清单，工程化、可以版本管理的流程资产。它和 Prompt 不一样，Prompt 是随口叮嘱一句，Skill 是写进员工手册的 SOP。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">MCP 是万能转接头，也是整场的重点。官方名字 Model Context Protocol，一个开放标准协议。一边是 Agent，一边是任意系统，数据库、API、文件、设备，不管什么插头，统一接口标准。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">CLI 是对讲机，命令行接口。它有双重身份，给工程师用是高效操作，给 Agent 用是结构化调用。</span></p></li></ol><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">五个概念摆完，还有一对关系容易被漏掉。MCP 和 CLI 可以嵌套。一个 MCP Server 的内部实现，常常就是封装了一个 CLI。最小的例子，把 git bash 封装成 MCP Server，Agent 通过 MCP 协议间接调用 git 命令。对 Agent 来说，它只看到 MCP 这个标准外壳，背后是 CLI、API 还是脚本，它不需要知道。说得再直白一点，CLI 管工具怎么执行，MCP 管怎么把工具标准地暴露给 AI。记住这个嵌套关系，后面讲老系统改造会反复用到。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320597" src="https://wechat2rss.xlab.app/img-proxy/?k=80527449&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz907ZtoN0B55qWKlUULznIwkW5ZJtwFcx7tJym0JlicG83ibCfUu3mj5jYhtqu2mORxpZxo0RxuicB1v2xcicMhQhhJpykEbGtdI7c7U%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure></div><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"></figure><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">三、它们怎么协同</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">概念讲完，第二个问题很自然。用户说一句话，背后到底发生了什么。就拿「帮我查一下上周的请假记录」这句话来说，这句话进去以后，背后是一场接力。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">用户在 CLI 或者随便什么对话入口里说出这句话。Agent 接到目标，把任务交给 Model 规划。Model 判断这事要查 HR 系统，员工手册里有标准流程。Agent 加载对应的 Skill，按流程找到该调用的工具，通过 MCP 协议向请假销假 MCP Server 发起调用。MCP 服务器再去调老系统的 REST API。结果沿原路逐层返回，Agent 用人话告诉用户，你上周请了两天年假，剩余额度 8.5 天。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320598" src="https://wechat2rss.xlab.app/img-proxy/?k=57264e78&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz906MelLhvhNMTIObpCH4iazsrCGqIrypT48e20hgQUUuTBCib8NdEoiakcBWw4W7ic73UFr61rcAGqLoVibPUaoyicBHtribNzLVRwFuWY%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这里也把传统软件和AI里的属于尝试做个映射方便理解。</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">传统软件世界</span></strong></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AI 世界</span></strong></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">微服务</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Agent</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">OpenAPI / REST</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">MCP</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内部 Wiki / SOP</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Skill</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SDK / 命令行</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CLI</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">看明白这张表，所谓 AI 架构就不再是黑话。它是你画了十几年的架构图，只是上面换了一层内容而已。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四、老系统怎么改</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这是客户最关心的部分，也是管理层课题的核心。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们的第一个建议有点扫兴，没有银弹。方案取决于体检结果。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">体检看四个维度，API 开放程度、文档完整性、鉴权体系、变更风险承受度。体检完走决策树，一共三条路。</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">第一条，API 封装为 MCP，首选。系统有开放 API，直接在前面加一个 MCP Server 薄封装层。改动最小，最稳定，可灰度。纪律只有一条，封装层只做协议转换，不碰业务逻辑。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">第二条，CLI 包装，次选。没有 API 但有命令行、有运维脚本，把脚本封装成结构化 CLI，外面再包一层 MCP。前面 git bash 的例子就是这条路的最小样本，技术上的要求是 CLI 输出要结构化，最好是 JSON，Agent 才消费得动。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">第三条，浏览器自动化或者 RPA，兜底。只剩一个网页界面，连脚本都没有，用浏览器自动化模拟人操作。能用，但脆，页面一改版就失效，它是过渡方案，别当终态。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">三条路优先级从上到下，改造深度递减，脆弱性递增。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320596" src="https://wechat2rss.xlab.app/img-proxy/?k=028de3e8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904e6K6PtGA8gLTLgtxfCWcrwdV7ZzRDwtvibmDBq0XgJAXZicUHLjFVm67OSgQLTb18gTKMiaRycp0b4FbxvgS4oRlJHGeob5qdV4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">然后这里要泼一盆关于安全的冷水。鉴权和安全，一案一议。Agent 代替人去操作系统，身份怎么从用户传到 Agent 再传到系统，权限怎么收到最小，操作怎么审计，敏感动作要不要人工确认，行业目前拿不出通用标准方案，每个系统都得单独评审。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">谁跟你打包票说有现成方案，谁就没干过企业级落地。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">最后是怎么排序。画一张&#34;使用频次-业务价值&#34;的四象限图，从高频、低风险、有 API 的系统先动手。理由很现实，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">第一场仗必须赢，还得赢得便宜。</span></strong></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">五、MCP 的实现形式</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">交流前客户做过功课，问我们 MCP 是不是有 stdio、HTTP、SSE 三种实现。对，但不全对。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这里有个连很多技术文章都搞错的事实。MCP 官方规范里只有两种标准传输方式，stdio 和 Streamable HTTP。SSE 从 2025 年 3 月起就被取代了，是历史方案。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">完整的版图分四类。官方标准两种，stdio 和 Streamable HTTP，默认选项。历史遗留一种，HTTP 加 SSE，只做存量迁移，别新建。社区扩展一批，WebSocket、WebRTC、进程内 RPC，这些是生态在标准之外长出来的，按需采用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">还有一类最容易混，MCP Gateway、Proxy、托管 MCP，它们属于部署架构，和新协议无关，偏偏最容易跟传输方式搅在一起。一个认知先立住，MCP 是传输无关的，协议逻辑不变，变的只是消息怎么跑腿而已。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320595" src="https://wechat2rss.xlab.app/img-proxy/?k=801f7881&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905icnQCRw7EHLxickAbRfpNkIHPC0nWpfPzDBJdhrnaZO5ErTCV6EM0hfYj9bS9q0eGM8iajAnIIoic2GvxhbxtQqbhfVQhMW59mE8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">几种形式各说几句简要展开。</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">stdio，宿主程序直接拉起本地子进程，走标准输入输出，本地开发和桌面 Agent 的标准姿势，代价是单机单客户端，信任关系只在进程级。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Streamable HTTP，单个 HTTP 端点，POST 发请求，GET 建流收推送，支持会话保持和断线恢复，配 OAuth 2.0，企业内集中部署、多团队共享，官方推荐的远程方式只有它。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">SSE，双端点的早期方案，见到它只有一个动作，规划迁移。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">WebSocket，全双工低延迟，典型场景是浏览器桥接，比如 Agent 连 Chrome 扩展做浏览器自动化，代价是负载均衡要做粘性会话，企业防火墙可能拦升级握手。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">选型可以压成四句话。本地开发用 stdio，企业共享用 Streamable HTTP 加 OAuth，SSE 只做存量迁移，WebSocket 留给实时和浏览器场景。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">六、两个案例</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">光讲方法论客户不认，得有实战。我们选了两个，一个 BS 架构，一个 CS 架构。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第一个，某头部车企的请假销假系统，BS 架构，走第一条路。Java Web 系统，有 REST API，HR 高频场景。痛点很具体，员工查个假期余额要登录系统点五步，HR 每月还要人工对账。改造做法很直接，REST API 前面加一个 MCP Server，Streamable HTTP 集中部署，鉴权对接企业 SSO，老系统一行代码没动。改完以后，员工在对话窗口说一句帮我请明天下午半天年假，五步变成一句话。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第二个，某欧洲商用车企的 PLM 系统，CS 架构，走第二条路。传统桌面客户端，没有开放 REST API，但客户端自带 API 和 SDK。痛点是数据孤岛，工程师在系统之间人工搬运 BOM 和图纸信息。改造时在 PLM 客户端旁边部署一个本地封装服务，把客户端 API 包装成结构化接口，再包一层 MCP，会话和权限沿用客户端已有的登录态。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320594" src="https://wechat2rss.xlab.app/img-proxy/?k=e2d7f215&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905nTAxOUn2N0BpIiajYOLp3U3YUxzb7AY04icsQR7HSUoewuIEgWOiaL4rI9AgSh0OXzscPPSCYn65OEbPhOLpibq1DPdmQkP6ZKwI%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="img" class="rich_pages wxw-img" data-ratio="0.5207792207792208" data-type="png" data-w="1540" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320599" src="https://wechat2rss.xlab.app/img-proxy/?k=8be07e53&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz904eibHoVRibFRwBKKU6nRTr63wEpDS5e8MRG7pS9MA2TF3Y3epKPtqvzGCcTrOxyialc6ffwEN1X9n26CUTJepr38EA55427icgSk4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">两个案例对照着看，有三条经验可以复用。先体检再选路径，别拿着锤子找钉子。封装要薄，不碰业务逻辑，封装层越薄项目死得越慢。鉴权一案一议，把它写进项目计划，别当意外处理。</span></p><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">七、效果</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">交流结束后，客户给了好评。用他们的话说，这场分享把 Agent、MCP 这些词的关系讲清楚了，三档路径的决策树拿回去就能对着自己的存量系统用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们自己复盘，一场对客户的技术交流做到这一步就算及格。标准只有一个，对方听完觉得这事我们自己就能干。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: center;text-indent: 0em;padding: 8px 0px;margin: 0px;"><span leaf=""><span textstyle="" style="font-size: 18px;color: rgb(255, 76, 65);font-weight: bold;">关于腾讯智慧出行</span></span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">腾讯智慧出行已合作超过100家车企和出行科技公司，与长安、上汽、广汽、零跑等多家车企在AI领域开展探索，围绕腾讯Workbuddy、Codebuddy、ADP和乐享等AI产品，以FDE模式与车企共同落地研发、销售、企业服务等多个场景应用。</span></strong></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=b0fcb3bb&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804252%26idx%3D1%26sn%3D073e0806e5a950fae374c9e5f7a2a8b6">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 12 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>别只盯着AI Coding，真正的变化发生在整个研发流程</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804241&amp;idx=1&amp;sn=9938f93cb8517ac9dafb033f20535936</link>
      <description>AI 驱动的端到端研发实践</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-10-09 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=af5cc2f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz90696fT1g1Za79yHWtZ7n54oMe9VjwyGA88Fs9F5jlyTHXxayjjtxAYMp5wpCuJ6EUnjT7sicpXe2lBibb3zwp2efO3STFAibAV29k%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>AI 驱动的端到端研发实践</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301126" data-ratio="0.325" type="block" data-type="gif" data-w="640" src="https://wechat2rss.xlab.app/img-proxy/?k=7e68c71f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">作者：danteyang</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当 AI 开始自动完成需求评审、技术方案、编码、审查和部署，研发流程会发生什么变化？本文基于 OK 平台端到端自动交付的真实运营数据，探讨从零基思维出发重建研发流程的实践路径——AI 不只是提升编码速度，而是重新定义「人」与「代码」之间的协作方式。</span></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">一、零基思维：要不要重构研发流程</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">各种 AI 编程工具层出不穷——司内的 CodeBuddy、Cursor、Claude code，写代码的能力确实强，日常开发任务基本都能 cover。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但你有没有想过一个问题：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">为什么还是不能直接把需求丢给 AI？</span></strong><span leaf=""> 为什么大量工作仍然需要开发坐在旁边辅助 AI 一起做？到底缺了什么？</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果把 CI/CD 看成一个圈，从 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Human-in-the-Loop</span></strong><span leaf=""> 的思想出发想一件事：人在这些开发环节里到底在做什么？这些事情能不能不需要人来参与？能不能让需求端到端地解决——从提出端一路跑到交付端？</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">先从一个最熟悉的场景说起。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">「用户反馈帖子列表加载太慢，需要优化一下。」</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果你原封不动地喂给 AI，它只能问：「你想让我改哪部分？」「你想要我怎么改？」「或者自己就按认为可行的想法开始改起来了」</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但往往效果不及预期，并且开发还需要去回滚AI的开发，我们经常吐槽某某AI是劣质AI，某某AI是捣蛋鬼，其实不是 AI 笨，是它不知道：帖子列表走的是哪个接口、下游查的是 MySQL 还是 ES、这个月刚换过一次分页逻辑、慢查询日志指向的其实是一个没加索引的关联表。这些背景存在你脑子里或是文档里，AI 每次对话都是「失忆」重新开始。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">现实中你是怎么做的？先在脑子里想清楚根因，把「加载慢」翻译成「关联查询缺索引 + N+1 问题」，再喂给 AI。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">你是翻译和决策官，AI 是执行者。</span></strong><span leaf=""> 这个模式跑得顺，编码速度提升了。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但回到开头那个问题——</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这个「翻译」「决策」的动作，真的只有人能做吗？如果把这个环节也交给 AI，需求能不能端到端地自己跑完？</span></strong></p></blockquote><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">人在研发链条上到底在做什么</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">把研发流程拆开来看，每个阶段「人还在做什么」其实很清晰：</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">阶段</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">AI 现在能做的</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">人还在做的</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">需求分析</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">整理需求文档</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">判断需求是否真实、优先级、和业务目标的对齐</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">方案设计</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">给架构建议、写设计文档</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">做 trade-off 判断：性能 vs 成本、速度 vs 稳定性</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">编码</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅ 核心能力，已经很强</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">代码审查、确保符合团队规范</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">测试</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">生成单测、集成测试</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">设计测试策略、判断边界 case 是否覆盖</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">部署</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">写 CI/CD 配置</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">判断什么时候该发、什么时候该回滚</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线上运维</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">监控告警、日志分析</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">判断告警是否真实、影响范围</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">规律很清晰：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AI 擅长「执行」，人擅长「判断」。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人做的核心事情是在每一个岔路口做决策。这些判断对人来说是「无感的」——因为我们有常识、经验、对系统的整体理解。AI 没有，所以它要么问你（打断节奏），要么猜（容易猜错）。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这张表还藏着一个更深的问题：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人在「判断」上的参与，到底有多少是不可替代的，又有多少只是信息没有流通造成的？</span></strong></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">真正的断点在哪里</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">一个功能需求从用户反馈到最终上线，通常要走这条链路：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.1" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320489" src="https://wechat2rss.xlab.app/img-proxy/?k=fa8cdf8b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904pZejVJSBnDxsSvLKxniaNBG3ZynGSOmCibfDJUBdKD9gAMjZLLliaSzKq2hsjuia96GA66BWYMqpHt6ibT5824icQq9CkE9pRs3lq4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每一次传递都是一次信息衰减。用户说「操作太麻烦了」，运营整理成「简化流程」，PM 写成「减少点击步骤」——最终上线的东西，未必是用户真正想要的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">对抗衰减的方式是反复开会确认：需求评审会、接口对齐会、联调周——这些环节的本质都是在弥补信息在人和人之间传递时产生的损耗。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">它们因为人的局限而存在，不是因为问题本身需要它们。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果 AI 可以持有整条链路的上下文，用结构化的规格替代口头传递，让信息不再被「翻译」——这些摩擦就不是被优化，而是直接消失。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">零基思维的核心追问只有一句话：这个环节，是因为人的局限而存在的，还是因为问题本身需要它？</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">前后端需要专门开会「对协议」？——协议何必人来对。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">需求评审要 PM 和开发来回拉会？——信息对齐何必靠会议。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">联调阶段要等两侧各自完成再凑在一起跑通？——这段等待是节奏问题，不是技术问题。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">如果这些环节都能被 AI 消除，那么问题就不再是&#34;在每个环节装一个 AI 助手来提高效率&#34;——那只是把旧流程加速了一遍。真正的变化在于：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">流程本身需要被重新设计。</span></strong><span leaf=""> 当 AI 可以同时持有前后端上下文、持续理解需求意图、自动完成联调验证时，前后端分离的壁垒、人工对齐的传递链、等待联调的时间窗口——这些曾经天经地义的东西，变成了不必要的摩擦。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">换句话说：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">真正的问题是流程结构，不是执行速度。</span></strong><span leaf=""> 这是&#34;重构&#34;和&#34;插件&#34;的根本区别。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">结论：从零基思维出发，重建而非嵌入</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每一次技术跃迁，都会让一批曾经理所当然的流程变得荒诞。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">电话普及之前，企业靠信使传递指令。电子邮件出现后，层层审批的纸质公文成了笑谈。今天 AI 编程能力的爆发，正在以同样的方式审判我们习以为常的研发协作模式——那些因为「人做不到」而设计出来的流程，正在一个接一个地失去存在的理由。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统研发流程里很多环节，其实都是在补偿人的局限：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">前后端分离</span></strong><span leaf="">——一个人很难同时精通两端。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">接口文档</span></strong><span leaf="">——沟通成本太高，必须有书面契约。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求评审会</span></strong><span leaf="">——需求传递链条太长，理解偏差需要人工对齐。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">联调阶段</span></strong><span leaf="">——双方开发节奏不同，必须凑在一起跑通。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">简单来说：这些环节的存在不是因为问题本身需要它们，而是因为</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人做不到才需要它们</span></strong><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当 AI 可以同时持有前后端的完整上下文，当需求从提出到开发的时间窗口压缩到分钟级——</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">追问得出的结论：不是在旧流程里插 AI 工具，而是用 AI 重新定义流程本身。从零基思维出发，端到端地重建。</span></strong></p></blockquote><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">二、什么是真正的端到端：九阶段全链路</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台是一个 AI 驱动的端到端研发平台，核心理念是「需求即交付」——用户只需提交需求描述，AI Agent 自动走完需求评审→仓库匹配→技术方案→编码→Code Review→部署的全链路。先看数据，再聊怎么做到。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">真实数据</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">以下是 OK 平台从 2026 年 4 月下旬上线至 6月的真实运营数据：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img alt="▲ OK 平台运营数据概览（2026.04 ~ 2026.06）" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320487" data-ratio="0.22592592592592592" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=b838068c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907ib3DMWyVf0nvWx5X1kJHiaqRiaGZdMKIVz54WmyxoKu8icwyvK62HHjQ2sjmyK6B53sZOmgtKc3n1OPaNU7kfTmZvCzWarBvwicxA%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台运营数据概览（2026.04 ~ 2026.06）</span></figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="▲ OK 平台需求列表" class="rich_pages wxw-img" data-ratio="0.6388888888888888" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320491" src="https://wechat2rss.xlab.app/img-proxy/?k=06de20ce&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9068s5E2BfBia52gJKWGBP6epHqNicia27ubTCUH0vhsfgtSRhiaZKGiaveQFicsrwia9BLNtmWc3iaM6nKf5bpDnaL8z42w0ZE2SXicWxbk%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台需求列表</span></figcaption></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">安全中心项目空间 4 月至 6 月共提交 254 条需求，AI 端到端完成 </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">172 条（68%）</span></strong><span leaf="">，其余为策略需求或数据需求，或需求超出端到端能力范围，转人工处理。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">对比基线：传统模式下，一个简单需求从提出到合并代码，中位耗时 3~5 个工作日。而 OK 平台上，51% 的需求在 2 小时内完成。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这意味着在人力不变的情况下，团队可以承接更多需求——常规需求由 AI 自动消化后，人得以从重复性开发中抽身，将精力集中在转人工的需求上：那些更复杂、更高风险、也更有价值的策略需求和架构决策。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这不是一个「AI 写了一点代码」的故事。这是一个「整个研发流程里大多数环节都由 AI 完成」的事实。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">九阶段全链路</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">整个流程九个阶段，每个阶段有明确的 AI 角色、输入、输出和质量门：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="1.8534798534798536" data-type="png" data-w="546" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:353px;height:654px;" data-imgfileid="502320488" src="https://wechat2rss.xlab.app/img-proxy/?k=ff5ffe81&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz905DINIufChc9x9ricNj1Wcib1TU6TzuDZBeXkcY7u1lqicTtmnCoExmARQ9eib7ISpCChIRR9nEpNDCpcibDk4z6RdB74s4YtLeEhNM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">三、第一道门：需求质量决定交付成败</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 开发最大的失败模式是什么？——</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求模糊导致大量返工。</span></strong><span leaf=""> 这条认知反直觉，但真实运营数据反复印证了它：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">瓶颈不在开发侧，在需求侧。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">很多人第一反应是：AI 开发这么快，瓶颈怎么可能在需求侧？</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但真实运营下来的规律很清楚：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求写得多清楚，AI 就能做得多准确；需求描述一旦模糊，哪怕 AI 代码写得再快，最终也是返工。</span></strong><span leaf=""> 需求质量不过关，开发流水线等于在沙地上建楼——跑得越快，返工成本越高。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">换句话说：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">在 AI 端到端里，「怎么提需求」这件事的权重被大幅放大了。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但这不意味着需求提出者要变成技术专家、把每个细节都写清楚——这不现实，也不公平。真正的问题是：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">如何让 AI 在需求不完整时主动追问补背景，而不是闷头干、最后漏东西。</span></strong></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">需求评审 AI 怎么工作</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台的需求评审 AI 用的不是「检查清单式」的完整性校验，而是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">访谈式逐层深挖</span></strong><span leaf="">：</span></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">先复述理解</span></strong><span leaf="">。在任何追问之前，AI 先用自己的话把需求的核心意图重新表述一遍，让提需求的人确认有没有理解偏。这一步看起来简单，却是最高效的纠偏点——大量返工的根源，就是 AI 带着错误的初始理解一路执行到底。</span></p></div></li><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">顺着回答继续挖</span></strong><span leaf="">。不走预设清单式的机械流程，而是基于用户上一轮的回答，挖出回答里新暴露的模糊点。这更接近一个资深 PM 和用户做访谈的方式。</span></p></div></li><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对极模糊需求做发散收敛</span></strong><span leaf="">。当需求描述模糊到无法判断意图时，AI 会列出 2~3 种「这个需求可能是想要什么」的合理解释，让用户选择或补充，而不是直接驳回。</span></p></div></li><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">区分「必须明确」和「建议明确」</span></strong><span leaf="">。做什么、为谁做、关键业务规则、验收标准——这四项是放行的必要条件。优先级、异常场景等是建议补充但不强制。</span></p></div></li></ol><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">PM 需求收集池：从想法到开发，一站式</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台为 PM 单独设计了一条需求收集池，独立于端到端开发流水线：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320492" data-ratio="0.8704318936877077" style="display:block;margin-top:10px;margin-right:auto;margin-bottom:10px;margin-left:auto;max-width:100%;border-top-style:none;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-width:3px;border-bottom-width:3px;border-left-width:3px;border-right-width:3px;border-top-color:rgba(0, 0, 0, 0.4);border-bottom-color:rgba(0, 0, 0, 0.4);border-left-color:rgba(0, 0, 0, 0.4);border-right-color:rgba(0, 0, 0, 0.4);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;object-fit:fill;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px;width:326px;height:284px;" data-type="png" data-w="602" src="https://wechat2rss.xlab.app/img-proxy/?k=3f776644&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904ib61fibMbQCTQvs8LXmaUaa3J91ebmggKtWnib9cP0kAv3w1E0UWUW9y7mk1CZMFYbbjtWbh2AKcqdk3gX2EvaBvwFmunOjGrus%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这套流程让 PM 可以提一个很粗的想法，由 AI 负责补全到「可以开发」的质量。把需求变成 AI 可执行的规格，本身就是 AI 能做的事——不需要人来填充每一个细节。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">什么样的需求会通过可行性评估</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">平台的可行性评估 AI 对 7 个维度打分（0~100）：需求清晰度 20%、仓库匹配度 20%、改动范围 15%、技术复杂度 15%、外部依赖 10%、风险等级 10%、交付形态 10%。总分 ≥60 才能进入开发流水线。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">简单来说：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不是通关游戏，是保护机制——把注定会在开发阶段卡住的需求拦在上游。</span></strong></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四、第二道门：技术方案是质量的前置卡口</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">方案阶段改方向，成本最低；开发阶段发现方向错了，代价最高。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">通过需求评审的需求，进入技术方案阶段。这个环节对最终代码质量的影响，是整个链路最大的。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">简单来说：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">一个好方案不是提纲，是施工图。</span></strong></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">方案质量决定开发能不能一次通过</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台技术方案 AI 在生成方案时遵循几条硬纪律：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">按依赖图排序，不按重要性排序</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">实现步骤必须按依赖关系自底向上：数据库表 / 存储模型 → 协议 / 接口 → 业务逻辑 → 调用方 / 前端。「先建地基，再建上层」——任何步骤都不能用到尚未在前序步骤中创建的东西。这一点听起来像常识，但大量 AI 生成的方案会按「从重要到次要」排列，结果开发 AI 在执行时频繁撞上「步骤 2 依赖步骤 5 才创建的东西」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">垂直切片优先</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">按一条完整功能路径切分步骤（建表 + 接口 + 最小可用逻辑 = 一个可验证切片），而不是「先把所有表建完、再把所有接口写完」。每个切片完成后系统应处于可编译、可验证的状态。这样开发 AI 每完成一步都能立刻验证，不用等到最后一步才跑通。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">任务粒度控制</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">单个实现步骤如果预计触碰超过 5 个文件，或跨 2 个以上独立子系统，必须拆成更细的子步骤。步骤标题里出现「并且 / 同时」，往往意味着它其实是两步。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">插入检查点</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每 2~3 个步骤后，明确写一个验证节点（「此处应能 </span><code style="color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;word-break: break-all;font-family: &#39;Microsoft YaHei&#39;;font-size: 16px;"><span leaf="">go build ./...</span></code><span leaf=""> 通过」「此处接口应能跑通基本 CRUD」）。让开发阶段的 AI 有明确的阶段性验证锚点，不会一路闷头跑到最后才发现早期出了问题。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">对自己的方案做一次找茬</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">对于方案里的关键决策——跨模块修改、断言编译器无法验证的属性（并发安全 / 幂等 / 不变量）、不可逆变更——技术方案 AI 会在确认前做一次找茬式自审：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">站在「假设作者过度自信」的视角：这个方案最可能错在哪？有没有未言明的假设？未处理的边界？</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">价值在于把问题消灭在「方向还便宜修正」的时候。等开发完在代码审查才发现，修复成本高好几倍。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">待确认的问题提前暴露</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">方案里不确定的、需要人拍板的点，统一收到「待确认问题」里，按产品 / 技术两类展示。用户在管理端逐题回答（支持选择题和开放题），系统收完答案进入下一轮评审。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不确定的事提前暴露，不让模糊进入开发——这是整条链路质量最核心的原则。</span></strong></p></blockquote><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">五、让 AI 写代码：手术刀式编码的三条纪律</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AI 写代码最大的坑：写得出，但写得不对、写得过度。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">方案对了不代表代码就对了。从方案到可运行代码之间，有大量细节可以出错。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">技术方案经用户确认后，开发 AI 开始在 feature 分支上编码。编译 + 单测 + 创建 MR 通过，才算一次开发结束。几个月运营下来，我们总结了三条硬纪律：</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">纪律一：简单优先，抵抗过度设计</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 和人一样，有强烈的把事情复杂化的冲动，而且 AI 写代码时更明显——它会为一个只用一次的操作设计一套「通用框架」，为三行逻辑抽象出一个「可扩展的策略模式」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们在开发阶段注入了明确的简单优先原则：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">先写最简单、显而易见正确的版本。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">写完自问：能不能更少行？这个抽象值不值？</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">三行重复代码，好过一个过早的抽象。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">只为当前需求写，不为臆想中的未来需求过度设计。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这条原则直接作用于代码审查的通过率。注入「简单优先」约束后，审查中</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">架构过度复杂类问题出现频次下降了约一半。</span></strong></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">纪律二：范围纪律，只碰该碰的</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">方案里列出了需要改动的文件。开发 AI 必须且只能改动方案列出的文件。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这在纸面上理所当然，实际运行中 AI 非常容易「顺手清理」相邻代码——「这里的命名不规范，顺手改一下」「这个函数可以优化，顺手重构一下」。每一个顺手，都是一个潜在的 bug 引入点，也是代码审查的噪声。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们加入了「发现但不碰」机制：AI 在开发过程中发现范围外值得改进的点，必须记录到变更摘要的「发现但不碰」部分，而不是自行动手。这样既保留了发现问题的价值，又避免了顺手改出问题的风险。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">纪律三：关键路径先写测试，再实现</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">不是所有代码都需要先写测试。但对于核心业务逻辑——新增的判断分支、关键计算、状态流转、幂等逻辑——开发 AI 必须遵循「先写一个会失败的测试 → 再实现使其通过」的顺序。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这不是在追求测试覆盖率数字，而是把验收标准固化成测试。当测试通过时，不是「感觉对了」，而是「确实对了」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">现实中 AI 写的代码，通过 </span><code style="color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;word-break: break-all;font-family: &#39;Microsoft YaHei&#39;;font-size: 16px;"><span leaf="">go build</span></code><span leaf=""> 很容易，通过单测有时会暴露出真实的逻辑漏洞。约 49 条需求（约 17%）在自动开发阶段经历了超过 1 轮的代码审查 + 修复，其中相当一部分是因为「编译通过但单测失败」而在早期暴露了问题，避免了进入代码审查阶段后更大的返工。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">六、代码审查的正确姿势：改善即批准</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">审查对象变了，但审查标准没变——AI 写的代码和人的代码，应该用同一套标准审吗？</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">人工审查时代有一个顽疾：追求完美，而非追求改善。每个 Reviewer 都有自己的风格偏好，当审查对象变成 AI 写的代码，这个问题更突出——大量「建议修改」其实是风格差异，不是真实问题。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">过度严苛的直接后果是无谓返工。每一轮修复 + 重新审查，都是纯时间成本。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">改善即批准的判断标准</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台的代码审查 AI 遵循一条明确标准：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当一次变更确实改善了整体代码健康度时就应通过，即使它并不完美。完美的代码不存在，目标是持续改进。不要因为「这不是我会写的风格」就阻塞一个变更。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">问题被严格分为两档：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">关键问题（必须修复）= 阻塞性问题</span></strong><span leaf="">：会导致 bug、崩溃、安全漏洞、数据损坏、功能缺失、越权。只有存在这类问题才给「建议修改后合入」。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">改进建议（建议优化）= 非阻塞性问题</span></strong><span leaf="">：命名、注释、风格、可选性能优化。只有改进建议时，verdict 必须为「通过」。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这听起来像对质量妥协？实际上不是。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">90 分的代码今天上线，在很多场景下优于追求 95 分但多返工两轮、明天才上线。</span></strong></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">安全审查是硬底线</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在「改善即批准」的基调之外，安全维度没有商量余地。OK 平台的代码审查 AI 对六项做强制核对：</span></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">用户维度操作的 UID/UIN 是否从登录态获取，而非信任入参（越权防护）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">新增接口是否正确接入鉴权中间件</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">SQL 是否参数化，无字符串拼接</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">敏感信息是否硬编码进了代码或日志</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">外部入参是否在协议边界校验</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">资源访问是否校验归属，防止访问他人数据</span></p></li></ol><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这些条目不是建议。命中即为关键问题，必须修复后才能合入。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">前面四章讲了 AI 怎么做好需求、方案、编码、审查这四件事——需求评审打磨质量、技术方案做对抗自审、编码遵守三条纪律、审查坚持改善即批准。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但一个自然的问题是：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">当这四件事都由 AI 完成了，人还做什么？</span></strong></p></blockquote><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">七、人在哪介入：决策者而非执行者</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">做了 AI 端到端，人就没事情可做了——这是一个常见的误解。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">实际情况恰好相反：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人的角色没有消失，是升级了——从执行者变成决策者和知识供给者。</span></strong></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">人不可替代的四个节点</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">决策与方案选型</span></strong><span leaf="">。当存在多种技术路径时，人来做权衡和选择。AI 可以枚举选项、分析利弊，但「我们的系统更需要可维护性还是性能？这个场景值不值得引入缓存？」这类判断需要人来拍板。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">补充隐性上下文</span></strong><span leaf="">。架构背景、历史包袱、团队约定、业务逻辑的边界——这些往往存在于人的头脑中，没有写进任何文档。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">上下文质量决定输出质量</span></strong><span leaf="">，这是 AI 研发中最核心的一条规律。给 AI 足够的背景信息，比反复调整 Prompt 更有效。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">异常识别与干预</span></strong><span leaf="">。当 AI 的行为偏离预期，人来识别并纠正。一个真实的例子：舆情管理端的标签拆分需求，需求描述本身足够清晰，AI 顺利完成了前端显示和后端接口存储的修改——但遗漏了一个关联的巡检 Skill，这个 Skill 也需要同步修改，否则会产生入库 Bug。这个遗漏不是 AI 能力不足，而是它缺乏全局视角，不知道系统里有这个关联。这种类型的问题，需要人在代码审查时识别和补充。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">最终的价值判断</span></strong><span leaf="">。什么对用户有价值，什么符合产品方向，这些是人类的判断领域。AI 可以高效实现，但「该实现什么」的判断不应该交给 AI。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">代码 Review 从行级向意图级升级</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当 AI 承担了语法、格式、命名规范的检查，人的代码 Review 也在发生质变：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">不再纠结于「这个变量名是否足够好」，而是关注「这个改动是否准确实现了需求意图」。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">不再逐行阅读，而是重点审查跨模块交互是否正确、边界条件是否处理、安全影响面是否评估。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">Review 的颗粒度，从行上升到意图。</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这才是真正有价值的 Review，是人类判断力无法被替代的部分。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">八、知识飞轮：让平台越用越聪明</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">端到端 AI 研发有一个传统模式不具备的优势：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">每一次交付都在积累，每一次积累都让下一次交付更好。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但飞轮也有风险——如果老化退场机制没做好，飞轮会变成垃圾循环。过期的知识污染上下文，比没有知识更危险。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">为什么上下文质量决定输出质量</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 不像人。它没有上过 100 次项目的经验，也没有在这个仓库里踩过这些坑的记忆。如果每次给 AI 的上下文都是「一张白纸 + 需求描述」，它每次都要从零开始理解系统，就会重复犯同样的错误，忽略相同的边界条件。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">知识飞轮要解决的就是这个：把团队过去积累的知识，以结构化的方式注入到 AI 的工作上下文中。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四步飞轮</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img alt="image-20260907144008221" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320497" data-ratio="0.37735849056603776" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1060" src="https://wechat2rss.xlab.app/img-proxy/?k=676790d0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz904j47dahoyoDUWTpf3bLXqRibP6a8MR5UQBibPHF6P0pV0AnWGDmRzfPiayUyJ1zxAWjkGDsdjrRNU2xkOGibO5XXUCS8Cccu9NqM4%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">简单来说：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">每次交付都在积累，每次积累都在让下一次交付更好。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当前 OK 平台知识资产分布：</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">类型</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">数量</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">技术方案模板</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">223 条</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">经验复盘</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">111 条</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">踩坑记录</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">112 条</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">PRD 模板</span></p></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">101 条</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">合计</span></strong></td><td style="font-size: 14px;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">547 条</span></strong></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">近 7 天新增资产 200+ 条，「沉淀飞轮价值（资产 × 复用 × 时效）」指标持续增长。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="▲ OK 平台知识资产中心" class="rich_pages wxw-img" data-ratio="0.5731481481481482" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320493" src="https://wechat2rss.xlab.app/img-proxy/?k=28a82667&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz905rW2sjxMmRzNoXotcqw4cvUXNyqZHTBjMQjAseThXQRGUFiaLByZg0ibMwULutib4vib82DIicwEleaPjXpZel6u6pwVX9ibPjLbOSc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台知识资产中心</span></figcaption></figure><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">前置强注入 vs 被动召回</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">早期的做法是让 AI 需要时自己去查——由 AI 决定是否查、查什么。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">问题很明显：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AI 不知道自己不知道什么</span></strong><span leaf="">，它意识不到「我现在该查一下历史踩坑」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">现在改成平台侧前置强注入：调用 AI 前，平台根据需求类型、仓库、关键词，把最相关的知识打包好直接塞进 AI 的入参。AI 不需要「知道该去查」，相关知识已经在那了。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这一改变将</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">知识注入率（本次调用注入的相关知识条数 / 相关可注入总条数）</span></strong><span leaf="">从 Agent 自主决定的不稳定状态，提升到了超过 90% 的确定性覆盖。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">知识蒸馏：踩过的坑不再踩第二次</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">每一次需求完成后，平台触发知识蒸馏 AI，把这次交付过程中：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">代码审查指出的问题 → 沉淀为该仓库的踩坑记录</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">通过的技术方案骨架 → 沉淀为技术方案模板</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">需求评审的问答过程 → 沉淀为 PRD 模板</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">端到端的完整复盘 → 沉淀为经验复盘</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">知识蒸馏 AI 遵循一条硬原则：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">只保留跨需求可复用的结论，丢弃一次性业务细节。</span></strong><span leaf=""> 每条知识有置信度（0~1），高的直接入库，低的进人工审核。</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img alt="▲ OK 平台我的知识库" class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502320496" data-ratio="0.8361111111111111" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=cc4dd30c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9045tvjeWYiabrH3GITSARc5tEJZlpsBicxDNebX14iaJloiapHFQwW8enXFIw2mrs0GPxljiaTtuiaD3HJ8CSyhYSOMOwHR9oA9JVHib8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台我的知识库</span></figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="▲ OK 平台自主沉淀项目知识：每完成一个需求，协作平台就更强一点，形成良性的组织级飞轮" class="rich_pages wxw-img" data-ratio="0.6351851851851852" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320494" src="https://wechat2rss.xlab.app/img-proxy/?k=8a0f72c9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FKVER9adz9066u2OqQicmicQvDAw2GibqrgNXaQgG6zX2vXcCfpOdsdTAS64dR5FRz5GcHSH6wpx4KcuDOAgxJWa4ofHC83uicmrIHsM8uKNiajCs%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台自主沉淀项目知识：每完成一个需求，协作平台就更强一点，形成良性的组织级飞轮</span></figcaption></figure><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">知识老化与退场</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">知识库最大的风险，是过期的知识污染 AI 上下文。代码在更新，架构在演进，一年前正确的做法，今天可能已经不再适用。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台用三道防线应对：</span></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">TTL（有效期）</span></strong><span leaf="">：每条知识有设定的有效期，到期自动进入待复核队列，未复核则降低可信度。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Agent 反馈通道</span></strong><span leaf="">：每个 AI 在工作中如果发现注入的知识与实际代码 / 架构不符，会在输出中填写 </span><code style="color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;word-break: break-all;font-family: &#39;Microsoft YaHei&#39;;font-size: 16px;"><span leaf="">knowledge_feedback</span></code><span leaf="">，平台据此自动降低该条知识的置信度或触发人工复核。</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">仓库知识随代码更新刷新</span></strong><span leaf="">：代码仓库有新的 commit 合入主干时，仓库架构分析 AI 自动做增量刷新，更新架构描述文档。</span></p></li></ol><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这三道防线确保知识库不只是越来越大，而是越来越准。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">九、能力边界：哪些需求适合端到端</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">端到端 AI 研发不是万能的。清醒认知能力边界，比过度宣扬能力更重要。</span></strong></p></blockquote><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">四象限能力分布</span></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="▲ OK 平台试点发现：常规需求研发周期从周级提升到小时级，安全中心当前约 30% 的需求可通过 OK 平台开发实现" class="rich_pages wxw-img" data-ratio="0.5935185185185186" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320500" src="https://wechat2rss.xlab.app/img-proxy/?k=57668235&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907ibjSUcGibycFovBK9rTmsPGuib35t6w9WyTcM09ngAtGPBnnhmbDRgYAUmXQDPibNicEZJ43sYibeascKgGiaCoLkV30fvvibibQVwv0Q%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ OK 平台试点发现：常规需求研发周期从周级提升到小时级，安全中心当前约 30% 的需求可通过 OK 平台开发实现</span></figcaption></figure><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">象限①（直接做）</span></strong><span leaf="">：AI 100% 端到端，人只需做最终验收确认。目前这是 OK 平台承接的主体类型，占完成需求的绝大多数。包括 Bug 修复、前端页面的增改、标准 CRUD 接口、简单业务逻辑迭代。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">象限②（人机协同 · 风险侧）</span></strong><span leaf="">：AI 完成 60~80% 的编码工作，人负责风险评审和审批流程推进。比如需要 DBA 审批的简单 DDL 变更，AI 出代码 + MR，人负责推进审批。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">象限③（人机协同 · 复杂度侧）</span></strong><span leaf="">：AI 完成 50~70% 的编码工作，人负责前期架构决策和模块拆分。比如涉及多文件改动的完整功能模块，人做前期拆解，AI 按方案逐文件实现。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">象限④（暂不支持）</span></strong><span leaf="">：当前暂不介入端到端，AI 仅辅助分析。涉及资金流、核心安全链路、跨仓库复杂联动的需求，仍需全程人工主导。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">当前支持与不支持的清单</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">支持（直接做）</span></strong><span leaf="">：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">标准 RESTful / RPC 接口的增删改查</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">在已有架构上增加或修改业务逻辑</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">配置项变更（增加配置、修改默认值等）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">明确定位的 Bug 修复</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">纯前端 UI / 交互变更</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">单仓库内闭环的改动</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不支持（当前）</span></strong><span leaf="">：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">跨仓库 / 跨服务联动（需要同时修改多个独立仓库）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">大规模架构重构（目录调整、分层变更）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">需要接入新中间件（Kafka、ES、新 Redis 集群等）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">数据库 Schema 重大变更（需 DBA 审批的建表、大批量字段变更）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">涉及资金 / 支付 / 核心安全链路的改动</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">需要数据迁移或灰度发布的交付形态</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">能力边界是动态的。随着更多仓库注册接入、AI 能力升级、平台新增自动化环节（如自动申请外部资源），边界会持续扩展。这份清单每月会被回顾和校准。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">十、组织提效：从个人加速到乘数效应</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这是本文最想聊的话题，也是 OK 平台和大多数 AI 研效实践最大的差异所在。</span></strong></p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" alt="▲ 行业普遍：AI Coder 单次执行，用完即弃；OK 平台做法：通过 AI 协作串联各角色，自动化沉淀驱动组织级飞轮" class="rich_pages wxw-img" data-ratio="0.5294117647058824" data-type="png" data-w="680" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320498" src="https://wechat2rss.xlab.app/img-proxy/?k=dde14efe&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz906q6iaHV8uqsXTRjzEIMleiaKaOsicqGnCboSGeM4J0l73ntictWntGSCAZxCI6PcxRSaIEwOL83GtPYT1CsAcHAf4dkRMEqbcfKNc%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span><figcaption style="display: block;font-family: PingFangSC-Light;color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><span leaf="">▲ 行业普遍：AI Coder 单次执行，用完即弃；OK 平台做法：通过 AI 协作串联各角色，自动化沉淀驱动组织级飞轮</span></figcaption></figure><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">个人提效 vs 组织提效——本质区别在哪？</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">绝大多数 AI 工具提升的是个人效率：我写代码更快了、我查资料更快了、我生成文档更快了。这是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">加法效应</span></strong><span leaf="">——各环节各省一点时间。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">组织提效不是做加法，是</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">消除环节间的等待、沟通和返工成本</span></strong><span leaf="">——这是乘数效应。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统流程里，开发等产品澄清需求、测试等开发完成联调——根据我们对多个团队的调研反馈，</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">角色间等待往往占交付周期的 40~60%。</span></strong><span leaf=""> 把每个人编码速度提升 50%，也解决不了这个等待问题。但如果 AI 在产品提出需求和研发开始动代码之间，就把需求评审、技术方案、可行性评估都做了呢？等待直接消失。</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">这就是为什么端到端的提效倍数，远大于单点工具的加总。</span></strong></p></blockquote><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">用 Spec 替代口头传递</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">第一章讲了信息衰减的问题。端到端 AI 研发的答案是：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">用结构化的 Spec（规格说明）替代口头传递链。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">需求评审 AI 产出的精炼需求描述，包含完整的功能点、业务规则、验收标准——这不是给人看的摘要，而是给后续所有 AI 用的精确输入。每一个 AI 都基于同一份 Spec 工作，信息不再被翻译，不再衰减，也不再需要人在各个环节之间做「翻译官」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这一机制让原本需要会议对齐的内容，变成了结构化数据在流水线上的流转。等待时间不是被压缩了，而是直接消失了。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">质量门禁前置：把问题消灭在产生时</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统模式下，很多问题是在最后时刻才被发现的——代码审查阶段发现需求理解错了、测试阶段发现接口设计有歧义、上线后发现遗漏了某个关联系统。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">端到端 AI 研发把这些发现点前移：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">需求不清晰 → 需求评审 AI 在进入开发前追问清楚</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">方案有盲区 → 技术方案 AI 在开发前做对抗式自审</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">代码有问题 → 代码审查 AI 在合并前把关</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">历史踩坑 → 知识库在开发前注入</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">越前期发现的问题，修复成本越低。TAB 实验平台的数据很有说服力（数据来自 TAB 平台团队对外分享材料）：在需求阶段引入 AI 质量检查后，研发周期从 5 天缩短到 2 天（↓60%），额外发现了 30% 的遗漏影响点——这些遗漏如果在开发完成后才发现，代价是现在的数倍。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">从部门协作到流程协作</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统组织按职能分部门——产品、设计、研发、测试。一个需求要跨多个部门移交，每次移交都有等待和沟通成本。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 端到端把协作粒度从「部门」降到了「环节」：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">不再是「产品写完 PRD 交给研发」，而是「AI 需求评审通过 → 进入技术方案」</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">不再是「研发写完代码交给测试联调」，而是「AI 完成开发+自测 → 自动触发代码审查」</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">每个环节等的是质量门通过，不是某个部门干完活</span></p></li></ul><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">流程能自动接力时，部门间的摩擦成本自然消失。</span></strong></p></blockquote><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">组织知识沉淀：打破「人走知识没」的魔咒</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">传统团队的痛点：人走了，知识也跟着走。一个资深离职，带走的不仅是技能，还有大量隐性知识——为什么这么设计、那个模块有什么历史包袱、这类需求以前踩过什么坑。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">OK 平台的知识飞轮在每次交付中把这些隐性知识显式化、结构化地沉淀下来。</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">知识不再存在于某人脑子里，而在知识库里——任何 AI 包括服务新人的 AI 都能访问。</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这意味着：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(62, 71, 83);text-align: justify;" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">新同学通过 OK 平台做第一个需求，可以直接站在团队过去几个月积累的知识上工作</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">资深离职了，他参与的踩坑记录和技术决策仍然留在库里</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(62, 71, 83);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">随着时间推移，平台越来越懂这个团队的系统和业务，AI 输出质量持续提升</span></p></li></ul><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">十一、行业在哪、我们在哪</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">做了这么多实践，也值得放到更大的坐标系里看一下：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">行业整体在哪里？我们在哪里？差距在哪里？</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">我们对司内 AI 研效项目做了一次系统调研，数据如下：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.35648148148148145" data-type="png" data-w="1080" style="display: block;margin-top: 10px;margin-right: auto;margin-bottom: 10px;margin-left: auto;max-width: 100%;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;object-fit: fill;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;" data-imgfileid="502320499" src="https://wechat2rss.xlab.app/img-proxy/?k=0a147ebb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FKVER9adz907TAKLmOuenXqcz0DtRcctPnUACvicQxse7J5AmSxpppAyIHBptV3ibracvDEPT8gwbibPmLeNmsNAD5FeRsq3PffQMNLsbFVyb24%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></span></figure><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">约 85% 的团队，仍停留在「个人编码加速」这一层。</span></strong></p></blockquote><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">底层：个人编码加速——红海，且有结构性缺陷</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">CodeBuddy、Copilot、Cursor 已经把个人编码加速卷到了极致。赛道已是红海。更深层的问题是：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">写得快，但改得多。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">个人编码加速只解决了「编码」这一个环节。需求理解偏差、影响范围遗漏、角色间等待——这些问题没消失，反而因为编码加快暴露得更快。AI 写代码更快了，但需求返工成本可能比以前更高。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">中层：团队全流程提效——微蓝海，但仍由开发者驱动</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">少数团队已经把 AI 从编码延伸到了「需求理解 → 开发 → 审查」全链条。数据很亮眼：研发周期压缩 60~72%，需求理解效率提升约 80%。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但有个共同的局限：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">流程起点仍是「研发收到需求」，终点仍是「代码合并」。</span></strong><span leaf=""> 产品侧的需求质量、测试侧验收标准，还得靠人工跨团队协调。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">顶层：多角色全流程协同——蓝海，几乎空白</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">真正把产品、研发、测试用 AI 串起来、一站式协同交付的，在司内几乎找不到。AI Meetup 闭门研讨会上管理层有句共识：</span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">「Agent 擅长单任务，跨职能协作仍是信息孤岛。」</span></strong></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">OK 平台的目标就是顶层这 3%。</span></strong><span leaf=""> 目前能做到的是从「一句话需求」到「代码合并+测试环境部署」的全链路自动化，在低复杂度+低风险类型上实现了端到端交付。多角色协同、产品和测试深度接入，正在拓展中。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这个调研的意义更多是在指明方向——</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">在「个人编码加速」已经饱和的今天，真正的价值在于能否打通角色间信息壁垒，让 AI 驱动整条链路而非单个节点。</span></strong></p></blockquote><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">十二、未来：组织形态会跟着变吗</span></span></h3><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">开放性问题，没有确定答案。但有一些正在发生的变化，值得认真想。</span></strong></p></blockquote><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">正在发生的变化</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">🔭Review 的角色正在升维</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 写代码后，人的 Review 从纠错变成了意图确认。一个懂业务的人，在这种模式下的价值远大于一个只懂语法的人。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">🧩全栈化趋势加速</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 同时持有前后端上下文，让「全栈」从「要求精通两端」变成「人主导业务，AI 补足技术边界」。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">👥「特性团队」可行性提升</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">AI 承担大量执行性工作后，2~3 人小团队就能覆盖需求→设计→开发→测试→上线的完整链路。</span></p><h4 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;font-size: 17px;color: rgb(3, 124, 230);margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">未来可能发生什么</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">以下是基于现有数据和观察的趋势判断：</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">① </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">需求提出者和交付物之间的距离会大幅缩短</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">「小需求的提出约等于解决」，在工具类需求上已接近现实。产品侧的决策速度和描述质量，会越来越成为研发效能的决定性因素。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">② </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">「协调成本」类岗位的价值会重新定义</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">中间层协调角色的工作被 AI 大量替代后，需要承担更高阶的事：知识沉淀、AI 质量监督、边界 case 判断、业务策略。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">③ </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">团队人效会提升，但人不会变少——产出会变多</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">更快的交付催生更多迭代，更快的迭代产生更多需求。历史上每次技术革命最终都在提升产出，不只是减少投入。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">④ </span><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">吃自己的狗粮加速演进</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当工程师用 AI 平台开发 AI 平台的新功能，反馈回路极短。OK 平台本身很多迭代就是在 OK 平台上完成的。</span></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: linear-gradient(to right, rgba(248, 57, 41, 0), rgb(14, 136, 235), rgba(248, 57, 41, 0));background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;border-top-width: medium;border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: currentcolor;border-right-color: currentcolor;border-bottom-color: currentcolor;border-left-color: currentcolor;border-image-source: none;border-image-slice: 100%;border-image-width: 1;border-image-outset: 0;border-image-repeat: stretch;text-align: center;"/><h3 data-tool="mdnice编辑器" style="padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;text-align: left;margin-top: 0px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;"><span style="font-family: &#39;Microsoft YaHei&#39;;padding-left: 10px;border-left-width: 5px;border-left-style: solid;border-left-color: rgb(14, 136, 235);font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">十三、结语：流程是手段，交付是目的</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">端到端和零基思维，指向同一个核心：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不要把流程本身当成目标。流程是手段，解决问题才是目的。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">当 AI 让某个环节变得多余，这个环节就该消失。当 AI 能承接执行层的工作，人就该把精力放到判断和创造上。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">回看 OK 平台运营至今的数据——170 条需求端到端自动交付、66% 实现率、51% 在 2 小时内完成、491 条知识资产在积累。这些数字还在涨。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">但比数字更重要的是一个变化：</span></p><blockquote style="font-style: normal;line-height: 1.8;color: rgb(14, 136, 235);margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;display: inline;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(62, 71, 83);background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">人的角色，从写代码的执行者，变成了提方向的决策者和积累知识的供给者。</span></strong></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">这种转变不只是提效，是在重新定义「研发工作」的价值创造方式。</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">在 AI 已经足够强大的今天——</span></p><p data-tool="mdnice编辑器" style="color: rgb(62, 71, 83);font-size: 16px;line-height: 1.75;text-align: justify;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">从零基思维出发，端到端地重建。</span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5609375" data-type="gif" data-w="640" type="block" data-imgfileid="502301122" src="https://wechat2rss.xlab.app/img-proxy/?k=8c3ff6f1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYjZ7Hx6Udjjk2BGLzC9ahJq7ibxDd1RGA0c9NYZc1husEsvb3tY4FcWPQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg"/></p><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/0?wx_fmt=png" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-service_type="1" data-verify_status="2"></mp-common-profile></p><p style="text-align: center;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-imgfileid="502301121" data-ratio="0.3234375" data-s="300,640" type="block" data-type="png" data-w="1280" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=3194e83f&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804241%26idx%3D1%26sn%3D9938f93cb8517ac9dafb033f20535936">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 09 Oct 2026 17:36:00 +0800</pubDate>
    </item>
    <item>
      <title>好看的2026中秋红包封面来抢！！</title>
      <link>https://mp.weixin.qq.com/s?__biz=MjM5ODYwMjI2MA==&amp;mid=2649804240&amp;idx=1&amp;sn=6cf94a9aedf58c1e90ad2b630e00f009</link>
      <description>10000+个封面！</description>
      <content:encoded><![CDATA[<p>原创 <span>腾讯程序员</span> <span>2026-09-24 17:36</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=48dcd62b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FKVER9adz906XoDZJH0Ty9ANEGTTZBhEwTMibF81C6UuOibMaXzO2X8tOA752XrPgJycneicjCUiaoHoLLJ8RjjFs0eKQwjibMSuF3k3LPhYicqNrU%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>10000+个封面！</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;margin-left: 8px;margin-right: 8px;font-size: 16px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;" data-mpa-powered-by="yiban.io" class="js_darkmode__0"><p style="text-align: center;"><span leaf=""><img data-aistatus="1" class="rich_pages wxw-img js_img_placeholder wx_img_placeholder __bg_gif" data-ratio="0.325" data-type="gif" data-w="640" data-imgfileid="502301978" src="https://wechat2rss.xlab.app/img-proxy/?k=5e78eb3d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_gif%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj79H3xfgvsqK9TDxOBlcUa6W0EE5KBdxacd2Ql6QBmuhBJKIUS4PSZQ%2F640%3Fwx_fmt%3Dgif%26from%3Dappmsg%23imgIndex%3D0"/></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);" class="js_darkmode__1"><span leaf="">中秋、国庆双节马上就要到了。节日惯例</span><span style="letter-spacing: 0px;"><span leaf="">，我们设计了几款全新的红包封面，送</span></span><span leaf="">给大家免费领取，过节给亲朋好友发红包使用：</span></p><h4 data-tool="mdnice编辑器" style="font-weight: bold;font-size: 17px;color: rgb(14, 136, 235);margin-top: 10px;margin-bottom: 10px;text-align: center;"><span style="color: rgb(255, 76, 0);font-size: 18px;"><span leaf="">6000+ 个直接抢</span></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);" class="js_darkmode__2"><span style="color: rgb(62, 71, 83);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;" class="js_darkmode__3"><span leaf="">这个拼手速，第一时间打开这篇文章你就有可能抢到。</span></span><span style="color: rgb(62, 71, 83);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;" class="js_darkmode__4"><span leaf="">也说明你是我们的忠实读者，谢谢一直以来的关注。</span></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);text-align: center;" class="js_darkmode__5"><span style="color: rgb(62, 71, 83);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;" class="js_darkmode__6"><span style="color: rgb(255, 76, 0);font-size: 14px;text-align: center;"><span leaf="">点击领取第1款</span></span></span></p><p class="mp_redpacket_iframe_wrp" nodeleaf=""><mp-common-redpacket class="js_redpacketcover redpackage_iframe js_uneditable custom_select_card" data-pluginname="redpacketcover" data-name="%E8%85%BE%E8%AE%AF%E6%8A%80%E6%9C%AF%E5%B7%A5%E7%A8%8B" data-synthetic="0" data-receiveimg="https%3A%2F%2Fsnssvp.video.qq.com%2Fsvid%2FpHxXm4GmO7eBZ5SYmFIaM4dyF1oEKtSGC3tiuQay5K9bXknmpHfN3h2S9BUtmtYjH82uIuBiKnQltKnpfzXi43w%3Fhy%3DSH" data-openimg="https%3A%2F%2Fsnssvppicc.video.qq.com%2Fsvid%2Fp2jbiko3DNyiL2vaBXX62CvRAOV-kXvnzR7px13-XpWNSA_lOggrddaft7Sh44O8GCN6eR3Q06LhD5gsTWDxLQA%3Fhy%3DSH" data-orderid="15013190568330529408" data-coveruri="ndjMJ9hSvo79Toxv" data-bizuin="2398602260"></mp-common-redpacket></p><p style="text-align: center;"><span style="color: rgb(255, 76, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;"><span leaf="">点</span></span><span style="color: rgb(255, 76, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;"><span leaf="">击领</span></span><span style="color: rgb(255, 76, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;"><span leaf="">取第2款</span></span></p><p class="mp_redpacket_iframe_wrp" nodeleaf=""><mp-common-redpacket class="js_redpacketcover redpackage_iframe js_uneditable custom_select_card" data-pluginname="redpacketcover" data-name="%E8%85%BE%E8%AE%AF%E6%8A%80%E6%9C%AF%E5%B7%A5%E7%A8%8B" data-synthetic="0" data-receiveimg="https%3A%2F%2Fsnssvp.video.qq.com%2Fsvid%2FpFCtXvCG-CKA8ujrL-ccNza-VWLKAQWtbsUBn1SK5btbivIfSaEoqHL_-eiroDsSH82uIuBiKnQltKnpfzXi43w%3Fhy%3DSH" data-openimg="https%3A%2F%2Fsnssvppicb.video.qq.com%2Fsvid%2Fp2jbiko3DNyiL2vaBXX62CmrUYB8el3kOltMTiBWTUrGItyPnWn3xUs0V-zAafcB1CN6eR3Q06LhD5gsTWDxLQA%3Fhy%3DSH" data-orderid="15013195150792184640" data-coveruri="ccmBJ7SWoaPWnn5x" data-bizuin="2398602260"></mp-common-redpacket></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);text-align: center;" class="js_darkmode__11"><span style="color: rgb(62, 71, 83);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;" class="js_darkmode__12"><span style="text-align: center;color: rgb(255, 76, 0);font-size: 14px;"><span leaf="">点</span></span><span style="text-align: center;color: rgb(255, 76, 0);font-size: 14px;"><span leaf="">击领</span></span><span style="text-align: center;color: rgb(255, 76, 0);font-size: 14px;"><span leaf="">取第3款</span></span></span></p><p class="mp_redpacket_iframe_wrp" nodeleaf=""><mp-common-redpacket class="js_redpacketcover redpackage_iframe js_uneditable custom_select_card" data-pluginname="redpacketcover" data-name="%E8%85%BE%E8%AE%AF%E6%8A%80%E6%9C%AF%E5%B7%A5%E7%A8%8B" data-synthetic="0" data-receiveimg="https%3A%2F%2Fsnssvp.video.qq.com%2Fsvid%2FpR1LUvqqMakMQlZJlAhFRi5ztlFk00supPkkYKl6yw9_JdVtwkZ0BqPWaav6gHipX82uIuBiKnQltKnpfzXi43w%3Fhy%3DSH" data-openimg="https%3A%2F%2Fsnssvppicc.video.qq.com%2Fsvid%2Fp2jbiko3DNyiL2vaBXX62Cg628AewoX7pLgHOCOYcpASG7ETqg4bFroP7jPbu79xX82uIuBiKnQltKnpfzXi43w%3Fhy%3DSH" data-orderid="15013243487184571584" data-coveruri="es0BGMqlcGoM2B1N" data-bizuin="2398602260"></mp-common-redpacket></p></div><div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;margin-left: 8px;margin-right: 8px;font-size: 16px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;margin-bottom: 0px;" class="js_darkmode__26"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);" class="js_darkmode__27"><span leaf="">如果你手速够快，可以一下领到三款。要是发现红包封面全被抢光了，别急，还有下面的获取方式。</span></p><h4 data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;font-weight: bold;font-size: 17px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;white-space: normal;color: rgb(14, 136, 235);text-align: center;"><span style="font-size: 18px;"><strong><span style="font-size: 18px;color: rgb(255, 76, 0);"><span leaf="">6000个直接抽奖</span></span></strong></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);text-align: justify;" class="js_darkmode__28"><span style="letter-spacing: 0px;"><span leaf="">点击下面小卡片进入到我们公众号后台，然后回复消息：</span></span><span style="letter-spacing: 0px;color: rgb(255, 76, 0);"><strong><span leaf="">2026红包封面</span></strong></span><span style="letter-spacing: 0px;"><span leaf="">，打开抽奖小程序，就可以点击抽封面了，马上抽马上中！</span></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);" class="js_darkmode__39"><span leaf="" data-pm-slice="1 1 [&#34;para&#34;,{&#34;tagName&#34;:&#34;section&#34;,&#34;attributes&#34;:{&#34;data-tool&#34;:&#34;mdnice编辑器&#34;,&#34;data-website&#34;:&#34;https://www.mdnice.com&#34;,&#34;style&#34;:&#34;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;margin-left: 8px;margin-right: 8px;font-size: 16px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, \&#34;PingFang SC\&#34;, Cambria, Cochin, Georgia, Times, \&#34;Times New Roman\&#34;, serif;margin-bottom: 0px;&#34;,&#34;class&#34;:&#34;js_darkmode__26&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null},&#34;para&#34;,{&#34;tagName&#34;:&#34;p&#34;,&#34;attributes&#34;:{&#34;data-tool&#34;:&#34;mdnice编辑器&#34;,&#34;style&#34;:&#34;padding-top: 8px;padding-bottom: 8px;line-height: 1.75;color: rgb(62, 71, 83);&#34;,&#34;class&#34;:&#34;js_darkmode__39&#34;},&#34;namespaceURI&#34;:&#34;http://www.w3.org/1999/xhtml&#34;,&#34;data-layout-id&#34;:null}]">就是这样，祝大家节日快乐！继续多多关注我们！！</span></p><p class="mp_profile_iframe_wrp" data-action-id="muaw3ni024qz"><span leaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe js_wx_tap_highlight" data-pluginname="mpprofile" data-nickname="腾讯技术工程" data-alias="Tencent_TEG" data-index="0" data-from="0" data-headimg="http://mmbiz.qpic.cn/sz_mmbiz_png/j3gficicyOvauPPfL7J2AVERiaoMJy9NBIwbJE2ZRJX7FZ2Dx7IibtTwdlqYSqTZTCsXkDS2jvNF8wWJKcibxXtOHng/300?wx_fmt=png&amp;wxfrom=19" data-signature="腾讯技术官方号。腾讯技术创新、前沿领域发布解读平台。" data-id="MjM5ODYwMjI2MA==" data-is_biz_ban="0" data-origin_num="681" data-biz_account_status="0" data-verify_status="2"></mp-common-profile></span></p><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.3234375" data-s="300,640" data-type="png" data-w="1280" type="block" data-imgfileid="502301121" src="https://wechat2rss.xlab.app/img-proxy/?k=cc74ace1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2Fj3gficicyOvasVeMDmWoZ2zyN8iaSc6XWYj5q5PQEOc5ibURPb03vnRibrxC3UR8xzdyATfiawTYRV2vJvBnAIcE1FeQ%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p></div><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2607ea86&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5ODYwMjI2MA%3D%3D%26mid%3D2649804240%26idx%3D1%26sn%3D6cf94a9aedf58c1e90ad2b630e00f009">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 24 Sep 2026 17:36:00 +0800</pubDate>
    </item>
  </channel>
</rss>