Knowledge Localization in Mixture-of-Experts LLMs Using Cross-Lingual Inconsistency
Lucas Bandarkar, Alan Ansell, Trevor Cohn
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › LLM Knowledge Editing · Type: new method · Keywords: knowledge localization, cross-lingual inconsistency, mixture-of-experts LLMs, interpretability, expert identification
Areas: LLM Reasoning › Efficient Reasoning › Memory and Forgetting; Multilingual › Cross-Lingual Methods › Cross-Lingual Representation
Summary
The paper introduces a knowledge localization framework that leverages cross-lingual inconsistency in mixture-of-experts LLMs to pinpoint the few experts essential for factual knowledge recall.
Explained to a 5-year-old
Some big computer programs called language models sometimes remember facts in one language but forget them in another. The researchers thought maybe they could use this forgetting to figure out which tiny parts of the program are really important for remembering things. They asked the program lots of tricky questions in many languages and watched what happened when it got the answer right or wrong. By looking at how the program decides which parts to use, they found a few special parts that are needed for the answers. When those special parts were turned off, the program often gave the wrong answer, showing those parts are key.
Explained to a 5-year-old, longer
Big computer brain models called language models can remember facts, but sometimes they remember them in one language and not in another. The researchers noticed this difference and thought it could be useful for understanding how the model works. They asked the model many difficult questions in lots of different languages to see when it got the answer right and when it got it wrong. They collected the moments when the model succeeded and the moments when it failed into two groups. Then they looked at how the model chose which parts to use when answering, comparing the successful and failed cases. By comparing these choices, they found a few special spots in the model that seemed very important for getting the right answer. They tested these spots by turning them off and asking the same questions again. When those spots were turned off, the model often gave the wrong answer, showing that those spots are key. The study shows that even though the model has many parts, only a small number actually hold the important knowledge. This helps us understand how knowledge is stored inside big language models. It also suggests that knowledge is spread out and not all in one place. The method gives a new way to look inside these models and see what they really know.
For a technical reader
The paper shows how to find which small parts of a mixture-of-experts language model are responsible for storing specific factual knowledge. It does this by asking the model hard questions in many languages, recording when it answers correctly and when it fails, and then comparing the internal routing decisions of the experts. A statistical analysis highlights a handful of experts whose activation strongly correlates with correct answers, and disabling those experts dramatically reduces accuracy. The approach provides a practical way to interpret large models without needing to redesign them, revealing that knowledge is spread across many experts rather than concentrated. This insight can help engineers debug model behavior, improve reliability across languages, and design more efficient model architectures.
Problem
Large language models sometimes recall factual information correctly in some languages but not in others, creating cross-lingual inconsistency in knowledge retrieval.
Method
The approach queries the model with difficult factual questions across many languages to collect success and failure activation buckets, then applies a statistical contrastive analysis of the MoE router logits to identify key experts, and finally deactivates those experts to verify their necessity.
Results
Deactivating roughly 20 out of 6000 experts causes the model to answer incorrectly in over 40% of cases, showing that a small subset of experts is crucial for knowledge recall.
Contributions
It demonstrates that cross-lingual inconsistency can be used for interpretability in MoE LLMs, provides a scalable two-stage localization method, and reveals that knowledge is redundantly and dispersedly parameterized across many experts.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction