解释专家在混合专家大语言模型个性化中的作用

·

研究论文 · 2026/10/16

大语言模型(LLM)的个性化对以用户为中心的应用日益重要,但现有方法主要针对稠密LLM,其多义神经元(每个编码多个无关概念)阻碍了定位个性化背后的组件,从而难以理解和控制个性化。我们提出对混合专家(MoE)LLM进行个性化,MoE将每个token稀疏路由到少数专家,减少多义性并实现定位。我们在大规模个性化数据集上适配三个开放权重MoE LLM,并在个性化与非个性化模型的配对激活上训练交叉编码器,以学习可解释的个性化潜在变量,从中识别编码不同个性化特征的专家。个性化MoE LLM在仅激活部分参数的情况下与稠密LLM性能相当,比类似激活参数量的稠密LLM具有更低的多义性,并且在同模型家族内,其个性化潜在变量与非个性化模型共享更少。因果干预表明,这些潜在变量足以恢复个性化模型的行为,且增强其关联专家可使非个性化模型向其移动,揭示了不同个性化特征的不同路由路径。

该研究首次将混合专家架构用于大语言模型个性化,通过稀疏路由和可解释潜在变量,提升了模型个性化的可理解性与可控性,同时保持高效推理,为个性化LLM的设计提供了新思路。

Personalization of Large Language Models (LLMs) is increasingly important for user-centric applications, yet prior methods mainly adapt dense LLMs, whose polysemantic neurons, each encoding multiple unrelated concepts, hinder localizing the components behind personalization, and thus understanding and controlling it. We propose to personalize Mixture-of-Experts (MoE) LLMs, which sparsely route each token to a few specialized experts, reducing polysemanticity and enabling such localization. We adapt three open-weight MoE LLMs on a large-scale personalization dataset and train crosscoders on paired activations of the personalized and non-personalized models to learn interpretable personalized latents, from which we identify the experts encoding distinct personalization features. The personalized MoE LLMs perform competitively with dense LLMs while activating only a fraction of their parameters, exhibit lower polysemanticity than dense LLMs with similar active parameters, and, within the same model family, yield personalized latents that are less shared with the non-personalized model. Causal interventions show that these latents suffice to recover the personalized model's behavior and that boosting their associated experts moves the non-personalized model toward it, revealing distinct routing paths for different personalization features.

阅读原文

参与讨论