TL;DR
This paper introduces CULNIG, a gradient-based attribution pipeline that pinpoints the exact neurons responsible for cultural understanding in Large Language Models (LLMs). The authors discover that cultural knowledge is highly localized, occupying less than 1% of the model's total neurons and concentrated primarily in shallow-to-middle MLP layers. Suppressing these sparse neurons degrades cultural benchmark performance by up to 30% while leaving general language understanding completely intact.
What Problem Does This Paper Address?
As LLMs are deployed globally, ensuring they understand diverse cultural contexts, values, and etiquette is critical. However, because most LLMs are trained on English-dominant, Western-centric text corpora, they exhibit significant cultural bias and lack awareness of underrepresented cultures.
While researchers have built benchmarks to evaluate this bias, the internal mechanisms of how LLMs store and process cultural information have remained a black box. Previous attempts to locate "cultural neurons" relied on activation-based methods, which are often imprecise because cultural concepts aren't neatly encoded in every single token of a text. This paper addresses this gap by providing a precise, neuron-level map of cultural understanding in transformer architectures.
Methods
The authors propose CULNIG (CULture Neuron Identification Pipeline with Gradient-based Scoring), which uses first-order Taylor expansion gradients to measure how much each neuron's activation impacts the model's output probability on cultural questions.
To ensure they are capturing pure cultural knowledge rather than superficial patterns, CULNIG applies two clever filtering steps:
- Task-Understanding Filter: It subtracts the attribution scores of a control dataset ($s_{\text{ctrl}}$) where the question text is removed, leaving only the answer choices. This filters out neurons that merely handle format or task structure.
- Superficial Token Filter: It filters out neurons that simply fire whenever a specific country name appears, using a custom-built reading comprehension dataset.
CULNIG categorizes neurons into two types: culture-general (contributing to cultural understanding broadly) and culture-specific (tied to a single culture, isolated via z-score filtering).
Datasets
The study leverages several existing cultural and natural language understanding (NLU) benchmarks, alongside one newly introduced dataset:
- BLEnD: Everyday cultural knowledge across 16 countries (split into
BLEnDneurfor neuron identification andBLEnDtestfor evaluation). - CountryRC (CRC): Newly introduced in this paper. A reading comprehension dataset designed to filter out superficial country-name-responsive neurons.
- CulturalBench (CultB): Multiple-choice questions evaluating broad cultural knowledge.
- NormAd: Evaluates understanding of daily-life cultural etiquette and social norms.
- WorldValuesBench (WVB): Predicts survey responses regarding human values across diverse demographic backgrounds.
- General NLU Benchmarks: CommonsenseQA, QNLI, and MRPC used as baselines to ensure general language capabilities are preserved.
Key Insights and Ideas
- Extreme Sparsity: Cultural understanding is driven by a tiny fraction of the network—fewer than 1% of all neurons.
- MLP-Driven Localization: Culture-general neurons are heavily concentrated in the Multi-Layer Perceptron (MLP) modules of shallow-to-middle layers, rather than attention heads or deep layers. This aligns with the theory that MLPs act as key-value memories for factual knowledge recall.
- Geographical and Historical Overlap: Culture-specific neurons are not entirely isolated. Masking neurons specific to one country (e.g., Mexico) significantly degrades performance on historically or geographically related countries (e.g., Spain), showing that the model shares underlying parameters for related cultures.
- The Fine-Tuning Risk: When fine-tuning models on standard NLU tasks, updating layers that contain a high density of culture-general neurons causes severe "catastrophic forgetting" of cultural knowledge.
Key Results
The authors validated CULNIG across six state-of-the-art open-source models (including Gemma 3, Qwen 3, and Llama 3.1).
- Targeted Degradation: Masking the identified culture-general neurons dropped accuracy on the
BLEnDtestbenchmark by up to 30%, while general language understanding benchmarks (like MRPC) saw virtually zero change. - Attention vs. MLP: Ablation experiments confirmed that masking MLP neurons caused far more substantial cultural performance drops than masking attention neurons.
- Safe Fine-Tuning: By sorting modules by their "cultural density," the authors demonstrated that engineers can fine-tune LLMs on new tasks by updating only the "bottom-culture" modules (the lowest 10% of cultural neuron density). This achieves the desired task performance boost while completely preserving the model's original cultural awareness.
Limitations and Future Work
While the paper successfully maps out where cultural knowledge resides, the authors note a few limitations:
- Scope of Fine-Tuning: The engineering application of freezing culture-dense modules was only tested on two NLU benchmarks (QNLI and MRPC). More extensive testing is required for broader instruction-tuning setups.
- Discrepancy with Prior Work: The findings contradict some previous activation-based studies (like CAPE) which claimed cultural neurons reside in deeper layers. The authors hypothesize this is due to the difference between gradient-based attribution (salience) and activation-based tracking (token patterns), leaving a deeper investigation of this discrepancy to future work.
- Knowledge Editing: The authors suggest that these localized "top-culture" modules are prime targets for future knowledge-editing techniques to inject or fix cultural knowledge, though they did not implement this application in the current study.
Summary updated