NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Grammatical "grandmother neurons" are rare in LLMs

Linyang He, Nima Mesgarani

TL;DR

By introducing a probe-free metric called the Neuron Separability Index (NSI), this paper reveals that large language models (LLMs) rarely rely on single "grandmother neurons" to process specific grammatical rules. Instead, grammatical competence is sparse, weak, and distributed across many narrowly tuned neurons, showing a stark dissociation between what can be decoded from a model's representations and how the model actually behaves.

What Problem Does This Paper Address?

A long-standing debate in neuroscience and AI interpretability is granularity: is a specific concept or grammatical rule processed by a few highly specialized units (the "grandmother neuron" hypothesis), or is it spread thinly across a massive network?

To answer this, researchers typically train auxiliary neural networks called "diagnostic classifiers" or "probes" to read out information from LLM activations. However, probing introduces a major confound: does the high accuracy mean the LLM intrinsically uses that grammatical rule, or is the probe just a good learner? Mechanistic interpretability methods can look at individual neurons, but they are usually limited to studying one or two linguistic phenomena at a time.

This paper introduces a systematic, probe-free framework to quantify linguistic selectivity at the single-neuron level across dozens of diverse grammatical structures.

Methods

The authors propose the Neuron Separability Index (NSI), a method that requires no training or parameter updates.

  1. Minimal Pairs: The method feeds pairs of sentences that differ by only a single token to flip the grammaticality (e.g., "A spotlight worries Jason" vs. "A spotlight worry Jason"*).
  2. Raw Separability: For every individual neuron, they extract the activation vectors across these sentence pairs and compute a raw separability score based on Pearson correlation.
  3. Permutation Normalization: To ensure the score isn't just picking up on lexical overlap or random noise, they run a permutation test. They randomly swap the grammatical/ungrammatical labels within half the pairs 500 times to build a null distribution. The final NSI measures how many standard deviations the true raw separability sits above this baseline.
Figure 1: Minimal-pair neuron separability pipeline. Minimal pairs from BLiMP/COMPS are fed into a transformer LM (here, Qwen3-0.6B). For each minimal pair, we extract last- token activations, then focus on a single neuron and assemble paired activation vectors across items for the grammatical (positive) and ungrammatical (negative) sentences. We compute a raw separability score from the correlation between the two paired vectors. To control for lexical effects, we construct a null distribution by randomly swapping the gram- matical/ungrammatical labels within half of the pairs and recomputing separability across many permutations; the observed raw score is then converted into a neuron separability index (NSI) value.

Datasets

The framework evaluates models using a combined suite of 116,300 English minimal pairs structured into a three-level hierarchy (4 domains $\rightarrow$ 13 phenomena $\rightarrow$ 68 paradigms):

  • BLiMP (Benchmark of Linguistic Minimal Pairs): 67 paradigms covering morphology, syntax, and syntax-semantics interfaces.
  • COMPS (Conceptual Minimal Pair Sentences): 1 pooled paradigm focusing on conceptual and semantic compositional properties.

Key Insights and Ideas

  • "Grandmother Neurons" are Mythical: Out of tens of thousands of neurons across multiple models, only a tiny handful of neurons met the threshold for strong selectivity. Grammatical processing is fundamentally distributed.
  • Early vs. Late Layer Specialization: Raw grammatical separability peaks early to mid-network for basic syntax and morphology, whereas conceptual and semantic distinctions peak much later.
  • Decodability $\neq$ Behavioral Reliance: Just because a linear probe can perfectly decode a grammatical feature from a layer's representation does not mean the model uses that information to drive its behavior. The paper uncovers a complete dissociation between representation, localization, and behavior.

Key Results

The authors tested seven different LLMs (including Qwen3, Pythia, TinyLlama, and Llama-3.1). The results consistently showed:

  • Extreme Sparsity: On average, only 2.5% to 3.9% of neurons in a model show any positive sensitivity (NSI > 0) to a given linguistic paradigm.
  • Narrow Tuning: Individual neurons are highly specialized; an average sensitive neuron responds to only 1.7 to 2.7 out of the 68 tested paradigms.
  • Causal Irrelevance via Ablation: In the rare cases where a neuron showed high selectivity (NSI > 2), zeroing out that neuron (ablation) caused no more damage to the model's performance than zeroing out completely random neurons.
Layer-wise average raw separability across different linguistic phenomena, showing syntax peaking earlier than concepts.

Limitations and Future Work

While NSI provides a clean, probe-free lens, the authors note several boundaries to their current work:

  • Scope of Models and Data: The study evaluates only decoder-only models and relies entirely on templated English datasets, which under-represent natural, messy discourse and typologically diverse languages.
  • Coarse Interventions: Zeroing out individual residual-stream coordinates is a blunt instrument for causal testing. It can miss features hidden by superposition or redundancy.

Future work aims to move beyond coordinate-level ablation toward circuit-level interventions like activation patching to map out the exact causal pathways of distributed grammar processing.

Summary updated

BibTeX
@inproceedings{he2026grammatical,
  author = {Linyang He and Nima Mesgarani},
  title = {{Grammatical "grandmother neurons" are rare in LLMs}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=sME6dZIWww},
}
Figure