# The Unembedding Bottleneck: A Mechanistic Analysis of Single Digit Counting in LLMs

*Satwik Sunnam, Raghav Magazine, Vatsalya Singh, Lavanya Kotha, Xingjian Li, Min Xu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149581) · [OpenReview](https://openreview.net/forum?id=p2sbwRiO7X) · [Open on the map](../papers.html#p149581)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [LLM Internal Representation Bottlenecks](../pgroup/491.md) · Type: new method · Keywords: LLM counting, unembedding bottleneck, geometric analysis, single digit counting, language model failures

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Mechanisms › Internal Representation Geometry; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Reasoning Trace Analysis; [Interpretability](../areas/interpretability.md) › Mechanistic Interpretability › Geometric Mechanistic Interpretability

## Summary
The paper identifies a geometric unembedding bottleneck that prevents LLMs from correctly reading out count information and demonstrates that a targeted correction to the unembedding matrix restores single-digit counting accuracy by up to 80-95 % with minimal parameter updates.

## Explained to a 5-year-old
Big computer programs called language models sometimes have trouble counting tiny numbers like one or two. The authors looked inside the program and found that the part that reads numbers is not pointing in the right direction. Because of this, even though the program knows the answer, it cannot say it correctly. They made a tiny fix that helps the reading part point better, so the models can count again. This fix helps the models count better without changing much of the program.

## Explained to a 5-year-old, longer
Language models are computer programs that can talk and write. They are really good at many tricky tasks, but sometimes they cannot count simple numbers like one or two. The researchers looked inside the model to see why it fails at counting. They discovered that the part of the model that reads numbers is not aligned with the part that holds the answer. This misalignment means the model cannot turn the correct answer into the right output. To fix this, they adjusted the reading part so it points to the answer more accurately. The adjustment is very small, changing only a tiny fraction of the model's parameters. After the fix, the models can count single digits correctly much more often. The improvement is huge, raising accuracy by about 80 to 95 percent. Importantly, the fix does not hurt the model's other abilities. This shows that many problems in language models are not about knowing the answer but about accessing it. The work helps us understand and improve how models handle basic reasoning.

## For a technical reader
The paper investigates why large language models sometimes fail at simple counting tasks despite having the correct internal representations. By tracing the count signal from embedding to output, the authors identify a geometric bottleneck where the unembedding matrix's digit-token columns are orthogonal to the count subspace, preventing correct readout. They propose a targeted correction to the unembedding matrix that updates only a minuscule fraction of parameters, effectively aligning the geometry to allow the count information to be read out. Applying this correction restores single-digit counting accuracy by 80-95 % across six models while preserving other capabilities. The findings highlight a broader class of hidden failures in LLMs where information exists but is geometrically inaccessible.

## Problem
Large language models often fail at elementary counting tasks despite having correct internal representations, and it is unclear why this breakdown occurs.

## Method
The authors trace the count signal from embedding to output using a dual-metric framework that combines Signal-to-Noise Ratio with linear probing to locate a geometric bottleneck. They find that the digit-token columns of the unembedding matrix are orthogonal to the count subspace, preventing correct readout. To address this, they apply a correction to the unembedding matrix that updates only a tiny fraction of parameters.

## Results
The approach restores single-digit counting accuracy by up to 80-95 % across six models while updating only about 0.001 % of parameters and preserving general capabilities.

## Contributions
The paper provides a mechanistic account of counting failures by identifying a geometric bottleneck in the unembedding matrix and shows that correcting this bottleneck dramatically improves counting performance with minimal parameter updates.

## Research questions this paper is counted under

- [How can we identify and correct failures in LLM reasoning tasks?](../q/435.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149581)
