arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22798cs.CL
收藏

相同的 Token 是否意味着相同的状态?MoE 路由作为推理控制的信号

Does the Same Token Mean the Same State? MoE Routing as Signal for Reasoning Control

Fudan University(复旦大学);Shanghai Innovation Institute(上海创新研究院)

Kang Chen, Minshen Yu, Junjie Nian, Yaoning Wang, Yixin Cao, Yugang Jiang

AI总结:

研究发现稀疏 MoE 语言模型中相同 token 的路由状态因上下文而异,基于此提出 RAD 方法,通过路由一致性选择输出,无需解析答案字符串,在数学、GPQA 和代码任务上表现与多数投票相当。

摘要:

在稀疏混合专家语言模型中,相同的 token id 是否意味着相同的路由器状态和相同的专家生成它?在重复锚点处固定生成的 token id,我们发现并非如此:生成它的专家仍然区分任务上下文、轨迹历史和推理努力模式。这种残差结构支持测试时控制:在接近边界锚点(最终响应转换)和分隔锚点(打开答案,例如 \ exttt{\ extbackslash boxed\{} 或代码围栏)处,路由邻域已经与仅标记读取的最终答案盆地对齐,并且在答案打开处读取路由时最强。我们将其实现为 \ extbf{RAD}(路由一致性解码),一种无需答案字符串的多轮次选择器:它定位一个固定锚点,通过其锚点窗口的 MoE 路由状态表示每个轮次,并返回最密集的加权 Jaccard $K$-NN 路由盆地中心,无需解析、归一化、执行或对答案字符串进行投票。在 10 个稀疏 MoE 配置(gpt-oss、Qwen3-MoE)和跨越数学、GPQA 和代码的 6 个数据集上,RAD 在字符串投票适当时与多数投票相当,具有小的正配对差异(RAD $73.9$ / RAD+DC $74.2$ 对比多数投票 $73.6$)。与多数投票一样,RAD 不是验证器:密集的错误盆地仍然可能获胜。其价值在于接口:相同的选择器在代码上直接给出 pass@1,其中精确字符串投票定义不明确,并且相同的路由密度原则,重新锚定到代理边界,改进了 SWE-bench Verified 上最佳 16 个补丁选择(相对于随机),其中补丁没有可投票的答案字符串。

英文摘要:

In sparse Mixture-of-Experts language models, does the same token id imply the same router state and the same experts producing it? Holding the emitted token id fixed at repeated anchors, we find it does not: the experts that produce it still separate task context, trajectory history, and reasoning-effort mode. This residual structure supports test-time control: near \emph{boundary} anchors (the final-response transition) and \emph{delimiter} anchors (which open the answer, e.g.\ \texttt{\textbackslash boxed\{} or code fences), routing neighborhoods already align with final-answer basins at a marker-only readout and strongest when the routing is read at the answer opening. We operationalize this as \textbf{RAD} (Routing Agreement Decoding), an answer-string-free multi-rollout selector: it locates a fixed anchor, represents each rollout by its anchor-window MoE routing states, and returns the densest Weighted-Jaccard $K$-NN route-basin center, without parsing, normalizing, executing, or voting over answer strings. Across 10 sparse-MoE configurations (gpt-oss, Qwen3-MoE) and 6 datasets spanning math, GPQA, and code, RAD is on par with Majority where string voting is well-posed, with small positive paired deltas (RAD $73.9$ / RAD+DC $74.2$ vs.\ Majority $73.6$). Like majority voting, RAD is not a verifier: a dense \emph{wrong} basin can still win. Its value is the interface: the same selector gives direct pass@1 on code, where exact-string voting is ill-defined, and the same routing-density principle, re-anchored to the agentic boundary, improves best-of-16 patch selection on SWE-bench Verified over random, where patches have no answer string to vote on.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑