atlas

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

Benford’s Curse: Tracing Digit Bias to Numerical Hallucination in LLMs

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Task vectors and steering

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.

Shows that LLMs overgenerate small digits in a uniform-digit numerical benchmark, traces the bias to highly digit-selective FFN neurons in late layers, and shows that pruning a tiny set of digit-1 neurons corrects some erroneous outputs.

Problem

LLMs fail on basic numerical problems; it is unclear whether skewed (Benford-like) digit distributions in pretraining corpora induce digit generation bias that contributes to numerical hallucination.

Approach

Connects Benford's-law digit skew in the OLMo-mix-1124 pretraining corpus to model output bias, using a Digit Bias Benchmark with uniform ground-truth digits, logit-lens tracing, a Digit Selectivity Score for FFN neurons, and neuron pruning as a causal probe.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Prune the top 0.01% of digit-1-selective neurons during digit generationLlama2-7B, Mistral-7B, Qwen2.5-7B, and Gemma2-9B · Digit Bias Benchmark: Evaluate, Linear_1d, Nearest Integer root, and Sequence Next termproportion of all samples corrected from incorrect to correct: Llama2-7B: 1.36%, 0.76%, 0.19%, 0.18%; Mistral-7B: 1.22%, 1.94%, 0.35%, 0.54%; Qwen2.5-7B: 3.49%, 5.05%, 4.96%, 4.73%; GHelped
Prune the top 0.01% of digit-1-selective neurons during digit generationLlama2-7B, Mistral-7B, Qwen2.5-7B, and Gemma2-9B · GSM8k and SVAMPproportion of all samples corrected from incorrect to correct: Llama2-7B: GSM8k 2.35%, SVAMP 1.60%; Mistral-7B: GSM8k 1.97%, SVAMP 1.40%; Qwen2.5-7B: GSM8k 2.12%, SVAMP 0.70%; Gemma2-Helped

Surprising findings

Limitations

Experimental setup

Datasets: OLMo-mix-1124 DeepMind Mathematics Dataset GSM8K SVAMP

Benchmarks: Digit Bias Benchmark GSM8K SVAMP

Metrics: digit output frequency first-error digit distribution corrected proportion after pruning Spearman correlation of DSC Pearson correlation with corpus digit frequency

Builds on: logit lens Benford's Law Mathematics Dataset key-value memory view of FFN (Geva et al.)

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