What does the Knowledge Neuron Thesis Have to do with Knowledge?

Jingcheng Niu, Andrew Liu, Zining Zhu, Gerald Penn

Introduction

As large language models (LLMs) become ubiquitous, researchers are eager to understand how they store information. A popular theory, the Knowledge Neuron (KN) Thesis, posits that factual associations (e.g., "Ottawa is the capital of Canada") are localized within a few specific neurons in the Multi-Layer Perceptron (MLP) modules, acting much like key-value memories. If true, this implies we could "surgically" edit a model’s brain to correct misinformation without expensive retraining.

However, this paper argues that the KN Thesis is a major oversimplification. By investigating whether these neurons truly represent "knowledge" in a philosophical or logical sense, the authors reveal that "knowledge neurons" often govern purely syntactic rules (like grammar) and respond to shallow statistical patterns. Furthermore, current model-editing techniques inspired by this thesis prove surprisingly brittle when tested on logical symmetry or synonyms.

Methodology and Evaluation

To rigorously test the KN Thesis, the authors employed several interpretability frameworks and introduced new robustness metrics:

  • KN-Edit Evaluation: Using integrated gradients, the authors identified specific neurons responsible for certain outputs. Crucially, they applied this technique not just to factual recall, but to syntactic phenomena (such as singular/plural agreement).
  • Causal Tracing: They replicated the causal mediation analysis used in the ROME (Rank-One Model Editing) paper to test if the widely accepted "early-site MLP, late-site attention" pattern for factual recall holds across different linguistic tasks.
  • New Robustness Metrics: The authors introduced two criteria for a "successful" model edit:
  • Bijective Symmetry: If a model is edited to believe "Rome is the capital of Canada," it should automatically infer that "Canada’s capital is Rome."
    1. Synonymous Invariance: If a fact about a "dentist" is edited, the model should reflect the updated belief when asked about a "tooth doctor."

These tests were run across standard benchmarks (ZsRE, CounterFact, PARAREL) and linguistic datasets (BLiMP) to isolate syntactic rules from factual knowledge.

Key Insights

The "Plural Neuron" and Syntactic Localization

The authors successfully localized purely grammatical rules to specific neurons, challenging the idea that these structures are reserved for factual "knowledge." For example, they identified a "plural neuron" and a "singular neuron." When these specific neurons are suppressed or erased, the model's ability to use corresponding modifiers (like these/those vs. this/that) drastically changes.

Identifying and erasing singular and plural neurons

This suggests that "knowledge neurons" aren't uniquely special; they are part of a broader, general mechanism for pattern matching. Furthermore, contrary to previous theories suggesting syntax is processed in lower layers and semantics in higher layers, both syntactic and factual neurons were found clustered in the topmost layers of models like BERT.

Shallow Cues vs. Deep Knowledge

The identified neurons often respond to "shallow" co-occurrence rather than deep semantic understanding. For instance, the "plural neuron" was heavily triggered by the word "scattered." While "scattered" is not inherently plural, it frequently appears near plural nouns in training data (e.g., "scattered rioting").

Effect of suppressing singular and plural neurons on various words

The Symmetry Failure

Current state-of-the-art editing methods like ROME proved to be brittle. While they can successfully alter a specific sentence (achieving near 100% reliability on the exact edited prompt), the "knowledge" fails to generalize. On LLaMA-2, symmetry scores were only around 33%, and synonymy scores hovered around 58%. If you change the capital of a country, the model fails to recognize the reciprocal relationship, proving it has learned a new token association rather than a new fact.

Conclusion and Future Work

The findings indicate that KN-style editing has a low success rate for genuinely overturning categorical predictions (only ~5.2% success in syntactic tasks). The "clean" division of labor previously reported—where MLPs fetch a fact and attention copies it—was found to be unstable, often disappearing entirely for syntactic tasks.

While the authors demonstrate that the KN Thesis is an oversimplification, they note that a complete alternative map of an LLM's circuitry is still needed. Manipulating only MLP weights is insufficient for true model editing. Future work must move beyond the MLP-centric view and investigate the entire decision-making circuit, including complex interactions between attention mechanisms and layer structures, abandoning human-like metaphors for a more mechanistic understanding of token processing.

Summary updated

BibTeX
@inproceedings{niu2024what,
  author = {Jingcheng Niu and Andrew Liu and Zining Zhu and Gerald Penn},
  title = {{What does the Knowledge Neuron Thesis Have to do with Knowledge?}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=2HJRwwbV3G},
}
Figure