跳到正文
arXiv (AI + Vision + Imaging)· Lucas Bandarkar, Alan Ansell, Trevor Cohn·· 7 天前AI 评分22

利用跨语言不一致性定位MoE大模型中的知识专家

Knowledge Localization in Mixture-of-Experts LLMs Using Cross-Lingual Inconsistency

AI 导读

研究提出用跨语言不一致性作为MoE大模型可解释性工具,通过对比模型在不同语言下正确与错误回忆事实时的路由差异,定位对特定知识起功能作用的专家。方法分两步:先用多语言难题生成成功与失败激活桶,再对MoE路由logits做统计对比分析。仅停用约6000个专家中的20个,模型在超过40%的情况下便无法正确作答。

正文 · 原文

arXiv:2603.17102v3 Announce Type: replace Abstract: Modern LLMs continue to exhibit significant variance in behavior across languages, such as being able to recall factual information in some languages but not others. While typically studied as a problem to be mitigated, in this work, we propose leveraging this cross-lingual inconsistency as a tool for interpretability in mixture-of-experts (MoE) LLMs. Our knowledge localization framework contrasts routing for sets of languages where the model correctly recalls information from languages where it fails. This allows us to isolate model components that play a functional role in answering about a piece of knowledge. Our method proceeds in two stages: (1) querying the model with difficult factual questions across a diverse set of languages to generate "success" and "failure" activation buckets and then (2) applying a statistical contrastive analysis to the MoE router logits to identify experts important for knowledge. To validate the necessity of this small number of experts for answering a knowledge question, we deactivate them and re-ask the question. We find that despite only deactivating about 20 out of 6000 experts, the model no longer answers correctly in over 40% of cases. Generally, this method provides a realistic and scalable knowledge localization approach to address increasingly complex LLMs.

来源:arXiv (AI + Vision + Imaging) · arxiv.org