atlas

Research map / Large language models / Language, safety and interpretability

Confidence Regulation Neurons in Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Identifies entropy neurons that regulate output confidence via the final LayerNorm scale by writing to an effective unembedding null space, and discovers token frequency neurons that shift outputs toward or away from the unigram distribution, with an induction case study.

Problem

How large language models internally represent and regulate uncertainty (confidence) in next-token predictions remains largely unexplored; prior neuron findings (entropy neurons) lacked mechanistic explanation and no general-purpose confidence mechanisms were identified.

Approach

Entropy neurons have high weight norm but low logit composition because they write onto an effective null space of the unembedding matrix, so their effect is mediated mainly through the final LayerNorm scale; token frequency neurons instead directly modulate logits along the log-unigram-frequency direction, moving the output toward or away from the unigram distribution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
clip neuron 11.2378 activation to its mean from the first occurrence (ablation)GPT-2 Small · Synthetic induction (duplicated 200-token C4 sequences)entropy: up to a 70\% reduction in entropyHurt
clip mean-ablate neuron 11.2378 (ablation)GPT-2 Small · Natural induction (C4)entropy: entropy decreases by up to 20\% of its original valueHurt
ablate entropy neuron 11.2378 (ablation)GPT-2 Small · Correct predictionslossHurt
ablate entropy neuron 11.2378 (ablation)GPT-2 Small · Confidently incorrect predictionslossHelped
ablate entropy neuron 31.3228 (ablation)LLaMA2 7B · Next-token predictionentropyHurt
ablate entropy neuron 31.3228 (ablation)LLaMA2 7B · Incorrect predictionslossHurt
ablate entropy neuron 31.3228 (ablation)LLaMA2 7B · Correct predictionslossHelped
ablate induction head L5H1 (ablation)GPT-2 Small entropy neuron 11.2378 · Synthetic inductionmean neuron activationHurt
ablate induction heads L5H5 or L6H9 individually (ablation)GPT-2 Small entropy neuron 11.2378 · Synthetic inductionmean neuron activationNo clear effect
ablate L5H5 and L6H9 alongside L5H1 (ablation)GPT-2 Small entropy neuron 11.2378 · Synthetic inductionmean neuron activationHurt
replace induction-head outputs with their mean induction output (ablation)GPT-2 Small entropy neuron 11.2378 · Synthetic inductionmean neuron activationNo clear effect
clip-mean-ablate token frequency neuron 23.417 (ablation)Pythia 410M · Correct predictionslossHurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 Corpus The Pile OpenWebText

Benchmarks: C4 Corpus

Metrics: total effect direct effect LayerNorm-mediated effect entropy change KL divergence from token frequency distribution loss change reciprocal rank

Baselines: random neurons

Builds on: entropy neurons (Stolfo et al.) direct logit attribution induction heads causal mediation analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy