Abstract
Pre-trained language models (PLMs) have demonstrated a remarkable ability to encode factual knowledge. However, the mechanisms underlying how this knowledge is stored and retrieved remain poorly understood, with important implications for AI interpretability and safety. In this paper, we disentangle the multifaceted nature of knowledge: successfully completing a knowledge retrieval task (e.g., “{The capital of France is __”) involves mastering underlying concepts (e.g., France, Paris), relationships between these concepts (e.g., capital of) and the structure of prompts, including the language of the query. We propose to disentangle these distinct aspects of knowledge and apply this typology to offer a critical view of neuron-level knowledge attribution techniques. For concreteness, we focus on Dai et al.'s (2022) Knowledge Neurons (KNs) across multiple PLMs (BERT, OPT, Llama and Gemma), testing 10 natural languages and additional unnatural languages (e.g. Autoprompt). Our key contributions are twofold: (i) we show that KNs come in different flavors, some indeed encoding entity level concepts, some having a much less transparent, more polysemantic role, and (ii) we address the problem of cross-linguistic knowledge sharing at the neuron level, more specifically we uncover an unprecedented overlap in KNs across up to all of the 10 languages we tested, pointing to the existence of a partially unified, language-agnostic retrieval system. To do so, we introduce and release the Multi-ParaRel dataset, an extension of ParaRel, featuring prompts and paraphrases for cloze-style knowledge retrieval tasks in parallel over 10 languages.
Introduction
Large Language Models (LLMs) are proficient at storing factual knowledge, yet the internal mechanics of this storage remain opaque. When a model completes "The capital of France is ___," it is unclear whether it is performing simple string matching or accessing a deeper conceptual representation. Furthermore, in multilingual contexts, it is unknown if models maintain separate knowledge bases for different languages or utilize a shared, universal representation. Understanding these mechanisms is vital for AI safety and interpretability; for instance, correcting a hallucination in one language should ideally propagate to others.
Methodology and Datasets
This study builds upon the Knowledge Neuron (KN) hypothesis, utilizing integrated gradients to identify specific neurons in the Feed-Forward Networks (FFNs) of Transformers that contribute most to factual retrieval.
To facilitate this research, the authors introduced Multi-ParaRel, a new benchmark extending the English ParaRel dataset. Multi-ParaRel provides parallel cloze-style prompts and paraphrases across 10 natural languages (English, French, Spanish, Catalan, Danish, German, Italian, Dutch, Portuguese, and Swedish). The study also utilizes TREx for relational triplets and AutoPrompt for machine-generated, non-human-readable prompts.
A Typology of Knowledge Neurons
The researchers propose a novel typology to categorize the roles of identified neurons:
- Concept Neurons: These neurons activate for specific entities (e.g., "Paris") regardless of the surrounding context.
- Relation Neurons: These neurons respond to specific relationships (e.g., "is the capital of") across various entity pairs.
Validation was performed through Boosting Experiments, where neuron activations were manually doubled or nullified. Doubling a "Concept Neuron" for "Paris" predictably increased the model's likelihood of predicting that specific entity.
Key Results: Cross-Linguistic Knowledge Sharing
The most significant finding is the unprecedented overlap of KNs across languages. A substantial portion of neurons used for fact retrieval in English are identical to those used in other languages, including "unnatural" AutoPrompts.
- Neuron Overlap: In Llama-2-7b, over 25% of neurons are shared between any two language pairs for the same fact. In mBERT, this overlap reaches nearly 33%.
- Power Law of Sharing: The number of shared neurons follows a decay pattern as the number of languages increases, yet remains significantly higher than random chance. Some neurons are active for a specific fact across all 10 tested languages.
- Causal Impact: Boosting "Concept Neurons" improved precision for the correct answer (P@1). "Relation Neurons" primarily influenced "Category Precision," helping the model identify the correct type of answer (e.g., a city) even if the specific entity was incorrect.
- Decoupling from Language: An overlap of up to 87% was observed between neurons triggered by English prompts and those triggered by AutoPrompts, suggesting that knowledge retrieval is largely decoupled from human-readable linguistic forms.
Discussion and Future Work
While the KN framework provides a powerful lens for analysis, it relies on gradient-based attribution, which serves as a proxy for importance. The authors acknowledge that many neurons are "polysemantic," playing multiple roles depending on the task, which complicates knowledge editing.
Future research could explore these patterns in more complex, naturalistic knowledge settings. Additionally, the discovery of a language-agnostic "shared knowledge base" suggests potential for more efficient training strategies, particularly for low-resource languages.
Summary updated