语义专家,单一语义路径:在混合专家模型中路由作为控制
Polysemantic Experts, Monosemantic Paths: Routing as Control in MoEs
AI总结:
本文提出一种无参数分解方法,将MoE模型的隐藏状态分为控制信号和内容通道,发现专家路径变得单一语义,而控制信号在层间旋转,从而实现组合专业化。
摘要:
语言模型的残差流同时包含状态和指令:它编码当前上下文并决定下一步转换。我们提出了一种无参数分解方法,将MoE模型的每个层的隐藏状态分解为一个因果驱动路由的控制信号和一个正交的内容通道,该通道对路由器不可见。在六个MoE架构中,我们发现模型在内容通道中保留表层特征(语言、标记身份、位置),而控制信号编码一个抽象函数,从层到层旋转。由于每个路由决策都是低带宽的,这种交接迫使各层实现组合专业化。尽管单个专家仍保持多语义,但专家路径变得单一语义,跨语言和表层形式聚类标记。同一个标记(例如:)根据其作为类型注释、引导冒号或时间分隔符的不同功能,会遵循不同的轨迹。我们的分解识别出这种结构的来源:控制子空间中的聚类比完整表示中的聚类更单一语义。因此,MoE中的自然可解释单位不是专家,而是轨迹。
英文摘要:
An LLM's residual stream is both state and instruction: it encodes the current context and determines the next transformation. We introduce a parameter-free decomposition for Mixture-of-Experts models that splits each layer's hidden state into a control signal that causally drives routing and an orthogonal content channel invisible to the router. Across six MoE architectures, we find that models preserve surface-level features (language, token identity, position) in the content channel, while the control signal encodes an abstract function that rotates from layer to layer. Because each routing decision is low-bandwidth, this hand-off forces compositional specialization across layers. While individual experts remain polysemantic, expert paths become monosemantic, clustering tokens by semantic function across languages and surface forms. The same token (e.g., ":") follows distinct trajectories depending on whether it serves as a type annotation, an introductory colon, or a time separator. Our decomposition identifies the source of this structure: clusters in the control subspace are substantially more monosemantic than those in the full representation. As a result, the natural unit of interpretability in MoEs is not the expert but the trajectory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。