Skip to content

Research

Publications

Research I’ve been part of so far. I’m still early on, and hope this list grows.

Also on OpenReview.

NeurIPS 2026 · Main Track (poster)ICML 2026 Mechanistic Interpretability Workshop

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

Satwik Sunnam1, Raghav Magazine1, Vatsalya Singh2, Lavanya Kotha3, Xingjian Li1, Min Xu1

1Carnegie Mellon University2IIT Guwahati3Independent Researcher

LLMs compute the count correctly, but store it in a subspace orthogonal to the unembedding’s digit columns. A Probe-Informed LoRA on WU alone (~0.001% of parameters) restores single-digit counting accuracy by up to 80% across six models.

Paper PDF Poster
Show abstract & key figure

Abstract

Large language models consistently fail at elementary counting tasks despite strong performance on complex reasoning benchmarks. Recent work has characterized counting failures behaviorally or identified circuits through which counting succeeds, but a mechanistic account of where and why counting breaks down remains absent. In this work, we provide such an account by tracing the count signal from embedding to output and identifying the geometric bottleneck that prevents correct readout for single-digit counting problems. Using a dual-metric framework combining Signal-to-Noise Ratio (SNR) with linear probing, we show that counting information in models is computed correctly and persists in a linearly decodable subspace through the final layer. The failure in counting is not representational but geometric: the digit-token columns of the unembedding matrix WU are orthogonal to the count subspace in the residual stream, rendering correctly computed counts unreadable at the output. We term this the Unembedding Bottleneck, and to causally validate it, we apply a Probe-Informed LoRA (PI-LoRA) correction targeting WU, which restores single-digit counting accuracy by up to 80% across six models while updating only ~0.001% of parameters and preserving general capabilities. Our findings reveal a broader class of failure in LLMs where information is internally present but geometrically inaccessible to the output projection.

Two heatmaps of absolute cosine similarity between 10 probe-derived count directions and the 10 digit-token columns of the unembedding matrix, for Llama-2-13B and Llama-3-8B. All values are below 0.04 and the diagonal is no larger than off-diagonal entries.
Orthogonality of WU to the count subspace: absolute cosine similarity between probe-derived count directions and the digit-token columns of WU in Llama-2-13B and Llama-3-8B. The diagonal is no larger than the off-diagonal.

Type to search.