Introduction
For years, researchers have tried to "peek under the hood" of Large Language Models (LLMs) to find exactly where factual knowledge lives. A dominant theory is the Knowledge Neuron (KN) thesis, which posits that facts are stored in specific weights of the multi-layer perceptron (MLP) modules. This leads to the Knowledge Localization (KL) assumption: if you want to change a fact, you simply find its specific neurons and edit them.
However, this paper challenges that widely held assumption, demonstrating that knowledge storage and expression are far more dynamic than previously thought.
The Flaws in Knowledge Localization
The authors identify two major limitations in the traditional KL assumption:
- Rigidity: It assumes that no matter how you ask a question (e.g., "What is the capital of France?" vs. "Paris is the capital of..."), the exact same neurons will fire. In reality, rephrased "neighbor queries" often activate entirely different sets of neurons.
- Neglect of Attention: The KL assumption focuses almost entirely on MLPs, ignoring the attention module's critical role in how the model actually retrieves and expresses that knowledge.
A New Paradigm: Query Localization
To move beyond the old theory, the researchers propose the Query Localization (QL) assumption. This new framework relies on two pillars:
- Query-KN Mapping: Neurons are associated with the query context rather than a static, underlying fact.
- Dynamic KN Selection: The attention module acts as a "switchboard," actively selecting which MLP neurons to activate for a specific query phrasing.
To validate this, the authors developed a KN-Consistency Score (CS) to measure how much the neurons activated by different versions of the same question overlap. Using datasets like ParaRel (containing thousands of paraphrased factual relations), they categorized facts into Consistent Knowledge ($K_C$) and Inconsistent Knowledge ($K_I$).
Key Insights: Inconsistency is the Norm
The most striking finding is that the majority of factual knowledge in modern LLMs is "inconsistent."
Across models like GPT-2, Llama 2, and Llama 3, the authors proved that $K_I$ (inconsistent knowledge) is prevalent. In Llama 3-8b, a staggering 77% of facts do not adhere to the traditional Knowledge Localization assumption. Most facts fall below the consistency threshold, proving that we shouldn't think of a fact like "Paris is the capital of France" as living in one static spot. Instead, it is a collection of related neurons, where the specific query determines which subset is used.
Furthermore, experiments manipulating "Knowledge Synapses" in the attention layers proved that attention acts as a gatekeeper. By suppressing specific attention scores, the researchers could effectively "dim" the activation of corresponding knowledge neurons in the MLP layers.
Practical Impact: Better Model Editing
Understanding this dynamic routing allows for safer, more effective model editing. Traditional methods that try to edit all neurons related to a fact (the "Union" approach) often cause the model's perplexity to skyrocket, essentially breaking the model's general reasoning capabilities.
The authors introduce the Consistency-Aware KN (CAS) modification method. This new approach selects neurons by penalizing those with low consistency across rephrasals. On Llama 3-8b, CAS achieved an 8% to 9% performance improvement over traditional baselines in "knowledge erasure" tasks, ensuring that edits generalize better without degrading the model's overall health (measured via WikiText2).
Future Directions
While this work successfully proves that inconsistency exists and offers a better way to edit models around it, the authors note they haven't fully unraveled why some facts are mastered consistently while others are not. They speculate it may be linked to how frequently a fact appeared during pre-training. Future research could also explore directly editing the attention "synapses" to achieve even more precise and dynamic knowledge management.
Summary updated