Sparse Reward Subsystem in Large Language Models

Guowei Xu, Mert Yuksekgonul, James ZouNeurIPS 2026

TL;DR

Inside the massive neural Soup of Large Language Models (LLMs), less than 1% of neurons act like a miniature biological reward system. Just like in mammalian brains, one tiny subset ("value neurons") tracks how likely the model is to succeed, while another ("dopamine neurons") fires in sudden peaks and troughs when the model stumbles upon an insight or commits a logical blunder. Tapping directly into these sparse circuits lets us predict model confidence before a single token is generated and steer step-by-step reasoning on the fly.

Figure 1: Overview of the sparse reward subsystem in LLMs. The left panel illustrates a computational analogy with biological value and dopamine neurons. Value neurons encode the value of the current state, while dopamine neurons encode step-level TD errors. The signal illustrations show value estimates tracking the chance of success (§3) and dopamine-neuron activations exhibiting peaks and troughs at unexpected progress and reasoning errors (§4). We apply value neurons to confidence prediction (§5.1) and dopamine neurons to process-reward-guided search (§5.2).

What Problem Does This Paper Address?

We already know that LLMs "know" more than they say out loud—their internal hidden states contain rich signals about whether an upcoming answer will be right or wrong, or whether they are hallucinating. Usually, researchers extract this knowledge by slapping a black-box classifier (a probe) onto the entire hidden layer—thousands of dimensions at once.

While that works, it tells us nothing about how that reward signal is structured inside the network. Is confidence smeared thinly across every coordinate, or does the model dedicate specific, specialized wiring to track its own progress? Figuring this out matters both for understanding how LLMs reason under the hood and for building lightweight, targeted tools to guide them.

Methods

Instead of treating hidden layers as monolithic blocks, the authors hunt for individual coordinates (which they call "neurons") responsible for reward tracking, combining standard probing with aggressive input pruning:

  1. Finding Value Neurons: They train a simple two-layer MLP probe on hidden states using Temporal Difference (TD) learning—a staple of reinforcement learning where each step's estimated value is bootstrapped from the next step, anchored by a binary reward (correct or incorrect) at the very end. Then comes the twist: they prune away input dimensions with the smallest $L_1$ weight norms until over 99% of the LLM's neurons are ignored.
  2. Finding Dopamine Neurons: To capture step-by-step "surprises" (TD errors), they segment responses into paragraphs and run Monte Carlo rollouts from each boundary to measure how much a single paragraph changes the odds of eventual success. They train a second probe to predict these jumps and drops, applying the same $L_1$ pruning to isolate the responsible sparse subset.
  3. Causal Interventions: To test if these neurons actually drive reasoning rather than passively observing it, they zero out the activations of the top 1% of value neurons and measure what breaks.

Datasets

The authors do not introduce new benchmarks, instead validating their findings across a suite of established datasets spanning different domains:

  • Mathematical & Scientific Reasoning: MATH500, GSM8K, and ARC.
  • Coding & Instruction Following: MBPP+ and IFEval.
  • Factual Recall (for control experiments): PopQA and EntityQuestions.

Key Insights and Ideas

  • Extreme Sparsity: You can throw away more than 99% of an LLM’s hidden state dimensions, and the remaining <1% of neurons predict expected success and step-level surprises just as accurately as the full layer.
Figure 2: AUC curves for layers 2–4 of the Qwen-2.5-14B-SimpleRL-Zoo model on the GSM8K and MATH500 datasets. The curves indicate that the value probe can accurately predict the value by relying on only a very small number of value neurons. Shaded regions indicate uncertainty.
  • Artificial "Aha!" and "Oops!" Moments: Watching a single dopamine neuron (like neuron 1517 in layer 5) during a math problem looks remarkably like a neurobiology textbook. When an uncertain model hits a clever algebraic setup, the neuron spikes ("positive surprise"). When a confident model makes a subtle polynomial error, activation plunges into a sharp trough ("negative surprise").
  • Reasoning vs. Memorization: Zeroing out the top 1% of value neurons craters math reasoning performance, yet leaves factual recall (like PopQA) completely untouched. These neurons aren't just general "smartness" hubs; they appear specifically wired for multi-step reward tracking.
  • Universal Coordinates: The exact physical locations of value neurons remain surprisingly consistent across different tasks (math vs. science) and even across different RL-tuned models derived from the same base model.
Figure 3: IoU as a function of the pruning ratio. The IoU values for value neurons across different datasets and models are significantly higher than the random baseline.

Key Results

  • Causal Necessity: In Qwen-2.5-7B-SimpleRL-Zoo, zeroing out the top 1% of value neurons in single early layers drops MATH500 accuracy from 75.2% down to an average of 20.3% (and down to 1.2% in layer 5). Zeroing out random neurons or next-token-prediction neurons barely makes a dent (74.6% and 76.4%).
  • Pre-Generation Confidence: Reading only the sparse value neurons at the end of the prompt—before generating a single answer token—achieves an average AUC of 0.67 across four models on MATH500 and ARC, beating full-layer linear probes (0.60) and verbalized confidence (0.52).
  • Intrinsic Process Reward Model (PRM): Using dopamine neuron activations to score and pick the best among 4 candidate paragraphs at each reasoning step boosts MATH500 accuracy to an average of 72.3% across three models—leaping over greedy decoding (61.3%), majority voting (65.0%), and self-evaluation P(true) (67.3%). On Qwen-2.5-14B, accuracy jumps from 67.0% (greedy) to 82.7%.

Limitations and Future Work

The authors are candid that their zero-ablation experiments offer preliminary insights rather than ironclad causal proof. Specifically, they point out potential confounds: we don't yet know how stable the selected neuron sets are if probes are retrained on entirely different sets of sampled rollouts, nor how much these neurons simply overlap with coordinates that naturally carry massive activation magnitudes in the model's residual stream. Untangling those confounds—and mapping out the exact circuit-level mechanics connecting value neurons in early layers to dopamine neurons deeper in the network—remains open territory for future work.

Summary updated

Abstract

Recent studies show that LLM hidden states encode reward-related information, such as answer correctness and model confidence. However, existing approaches typically fit black-box probes on the full hidden states, offering little insight into how this information is structured across neurons. In this paper, we show that reward-related information is concentrated in a sparse subset of neurons. Using simple probing, we identify two types of neurons: value neurons, whose activations predict state value, and dopamine neurons, whose activations encode step-level temporal difference (TD) errors. Together, these neurons form a sparse reward subsystem within LLM hidden states. These names are drawn by analogy with neuroscience, where value neurons and dopamine neurons in the biological reward subsystem also encode value and reward prediction errors, respectively. We demonstrate that value neurons are robust and transferable across diverse datasets and models, and provide causal evidence that they encode reward-related information. Finally, we show applications of the reward subsystem: value neurons serve as effective predictors of model confidence, and dopamine neurons can function as a process reward model (PRM) to guide inference-time search.
BibTeX
@inproceedings{xu2026sparse,
  author = {Guowei Xu and Mert Yuksekgonul and James Zou},
  title = {{Sparse Reward Subsystem in Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3dZL4FURuU},
}
Figure