acceptodds
Published as a conference paper at NeurIPS 2026

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

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

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 is computed correctly and persists in a linearly decodable subspace through the final layer. The failure in counting is not representational but geometric i.e the digit-token columns of the unembedding matrix are orthogonal to the count subspace in the residual stream, rendering correctly computed counts unreadable at the output. We term this as the and to causally validate it, we apply a correction targeting , which restores single-digit counting accuracy by up to 80-95% 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.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_DWHmOpenReview ↗
Rating
4
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper measures the count signal using SNR and linear probes and shows that the count signal is progressively diluted (SNR of PC1 collapses below 1), but persists (probe accuracy > random), as it propagates through the model layers. The authors attribute the failure of counting to the unembedding bottleneck: the unembedding matrix's columns share no preferential alignment with the count subspace. To verify this, they perform probe-informed unembedding matrix LoRA and observe substantial improvement on counting task.

Strengths and weaknesses

Strengths: (1) The paper is well written and clear. (2) The core claims are supported by extensive experiments. The probe informed LoRA shows substantial improvement in counting while changing only a very small faction of parameters.

Weakness: (1) The probe-informed LoRA updates only the unembedding weights for the 10 digit tokens. Since the MMLU benchmark evaluates accuracy based on the logits of multiple choice letter tokens, the evaluation scores are expected to remain unchanged. This does not prove that the model's numerical capabilities are preserved. The authors should evaluate the updated models on mathematics or arithmetic benchmarks (e.g. GSM8K) where digit token generation is required. (2) The reported collapse of PC_1 SNR in figure 2 is misleading. The authors already note that the count signal disperses into a multi-dimensional subspace (PC_2, PC_3) in deeper layers. Measuring only the 1-dimensional PC_1 variance misrepresents this expected geometric rotation as signal collapse. I think figure 2 should show information of PC_1 PC_2 PC_3, ...

Questions

(1) Does the LoRA training increase alignment to the count subspace? Could you show the 'Orthogonality of W_U to the count subspace' plot after training? (2) The probing accuracy decays to 50% on a task with 10 possible count values. This suggests that the count signal does indeed decay before reaching the unembedding layer. It would be interesting to investigate whether increasing the total number of count values exacerbates this drop in accuracy.

Limitations

The lack of evaluation on digit token generation datasets is my main concern regarding the paper's claims about preserving general capabilities. I will raise my score if this evaluation is added.

Paper formatting concerns

NA

Final justification

I change the score from 3 to 4 because the authors identified the degradation on free-form generation tasks and provided a patch.

The author provided additional evaluation and a context-aware inference procedure. However, the table omits the configuration originally evaluated in the paper, the LoRA applied unconditionally. So the reported 0.24 -> 0.24 accuracy cannot distinguish whether the correction is inert on GSM8K, or substantial with the gate doing the work. The first leaves the paper's claim intact, the second makes the gate part of the method. I would suggest in the next version the paper include (1) a section on the degradation on free-form generation tasks and how the context-aware inference procedure alleviates it (2) when presenting GSM8K accuracy include the unconditional LoRA, in the same table

Reviewer_r47kOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper asks why LLMs fail at elementary single-digit counting despite strong reasoning performance. Tracing the count signal from embedding to output, the authors propose that the failure is not representational but geometric: the count is computed correctly and remains linearly decodable through the final layer, but the digit-token columns of the unembedding matrix W_U are essentially orthogonal to the count subspace in the residual stream, so a correct count is unreadable at the output — termed the "Unembedding Bottleneck." The diagnosis uses a dual-metric framework (a Fisher-ratio SNR along the dominant principal axis plus per-layer linear probes), which reveals that dominant-axis SNR collapses below 1 after early layers while probe accuracy stays well above chance, because the signal disperses across many principal components (attributed to "killer heads"). The orthogonality is quantified via cosine similarity between probe directions and digit columns of W_U (diagonal ≈ off-diagonal ≈ random baseline). The diagnosis is causally validated by a probe-informed rank-4 LoRA on W_U that restores single-digit counting by up to ~80% across six models (Llama-2-7B/13B, Llama-3-8B, Mistral-7B, Qwen2-1.5B, Gemma-2-2B), updating ~0.001% of parameters while leaving MMLU essentially unchanged. An appendix shows the same fix fails for multi-digit counts and attributes that to a representation–tokenization mismatch.

Strengths and weaknesses

Strengths and Novelty

  1. The central hypothesis is genuinely interesting and crisply stated: localizing counting failure to a static geometric misalignment at W_U, rather than to missing information, is a clean and falsifiable claim that the field has not articulated this directly.
  2. The dual-metric design (SNR along PC1 + per-layer probes) is the methodological highlight, and the resolution of the apparent paradox — SNR collapses while probe accuracy persists because the signal disperses across components (Fig. 4, Fig. 9) — is elegant and well-supported.
  3. The causal validation is exactly the right move: rather than resting on correlational probing, the authors predict and demonstrate that a minimal, targeted W_U correction restores behavior, which is far more convincing than a diagnosis alone.
  4. The parameter efficiency of the fix (~0.001% of parameters, rank-4) and the preservation of MMLU (RetGenCap column) give a strong functional-specificity argument that the intervention targets counting rather than degrading the model.
  5. The orthogonality test is honest and well-calibrated: comparing the cosine similarities to the analytic random-vector baseline (≈0.011 for d=4096) rather than to an arbitrary threshold is a careful, interpretable choice.
  6. The probe-informed vs. random initialization ablation (Appendix B, Table 3) directly isolates the contribution of the mechanistic insight, showing PI-LoRA beats random init on 14 of 15 cells — this is the experiment that turns the geometric story from plausible to load-bearing.
  7. The MHA-vs-GQA contrast (single dominant "killer head" vs. distributed destruction, with cross-layer probe transfer in Fig. 6) is a nice secondary finding that connects the phenomenon to architectural structure.
  8. The negative result for multi-digit counting (Appendix C) is intellectually honest and arguably one of the most valuable parts: it shows the W_U fix plateaus at ~30% and reframes multi-digit failure as a representation–tokenization mismatch, delimiting the scope of the main claim.
  9. Generality is reasonably well-supported: six models spanning two attention families and 1.5B–13B scales show the same SNR-dispersion pattern (Fig. 9) and respond to the same repair.
  10. The compositional generalization protocol (Levels 1–3, including held-out token pairs in Level 3) is a thoughtful evaluation design that guards against the LoRA merely memorizing surface strings.

Weaknesses

  1. The "representational vs. geometric" framing is conceptually muddy. Orthogonality of the count subspace to W_U is a property of the model's learned representation; calling it "not representational but geometric" is a rhetorical distinction that the paper never rigorously defines, and a skeptic could reasonably call this a representational-readout failure.
  2. The core diagnostic (last-layer probe direction vs. W_U columns) does not, by itself, establish that the model "computes the correct count" — a probe can decode a correlate of count from distributed features that the model never causally uses for the count token; the persistence of probe accuracy is necessary but not sufficient for the "computed correctly" claim.
  3. Statistical rigor is weak. Table 1 reports single point estimates with no error bars or significance tests despite 10-fold cross-validation being mentioned; the checklist's claim of statistical significance ("averaged over several models and data samples") conflates averaging across models with within-model variance and is misleading.
  4. The scale is very small: 80 canonical prompts for the SNR/probe analysis and 300 prompts for LoRA, all built on a single rigid 3-shot template with a fixed 9-token, two-symbol alphabet. The risk that the geometry is specific to this narrow distribution rather than to "counting" is not ruled out.
  5. The diagnosis is essentially confined to the single token position ("appear"/"?") and to the final layer for the orthogonality test; whether the bottleneck holds at other readout positions or under free-form (non-templated) counting is untested.
  6. "Killer heads" are introduced as causal agents of SNR collapse, but the evidence is correlational (SNR drops at certain layers); no ablation or patching of the named heads is performed to show they cause the dispersion, leaving the term under-validated.
  7. The headline "up to 80%" cherry-picks the best Level-1 cell; Level-2 gains are far more modest (e.g., Llama-3-8B +13.2%) and Level-3 averages ~25%, so the abstract's framing overstates the typical effect.
  8. The paper does not test whether plain (non-probe-informed) SFT or full fine-tuning of W_U achieves similar gains beyond the rank-matched random-init LoRA; without that, "the bottleneck is at W_U" is supported but "a minimal probe-informed correction is necessary" is less so.
  9. The checklist self-assessment is internally inconsistent: item 3 answers [N/A] claiming "no theoretical results and no formulas," yet the paper contains multiple defined equations (SNR, cosine test, LoRA logits, probe objective), which suggests careless preparation.
  10. Some informal causal language ("models compute the correct count till the final layer") is asserted more strongly than the evidence (probe decodability + readout repair) licenses, and the writing has frequent typos and grammatical slips that occasionally obscure technical claims.
Questions

Questions

  1. Can you operationalize the "representational vs. geometric" distinction precisely? If the count subspace being orthogonal to W_U is itself a learned representational property, what empirical observation would distinguish your "geometric" account from a "representational-readout" account?
  2. Do the named killer heads cause the SNR collapse? An ablation or activation-patching experiment zeroing those heads (and showing SNR/probe/behavior changes) would convert a correlational label into a causal one — was this attempted?
  3. Table 1 has no error bars. Across the 10 CV folds, what is the variance of the post-LoRA accuracies, and are the gains statistically significant per model rather than just "on average"?
  4. How sensitive is the orthogonality finding to the probe regularization (C=0.1) and to using the final layer specifically? Does the diagonal stay at random-baseline levels if you probe earlier high-SNR layers or vary C?
  5. Does a rank-matched full fine-tune (or SFT) of only W_U recover counting as well as PI-LoRA? This would clarify whether the probe-informed initialization is necessary or merely a convergence speedup.
  6. Could the W_U orthogonality reflect that single digit tokens (0–9) carry many non-count meanings, so their columns are necessarily mixed? How do you separate "count subspace orthogonal to digit columns" from "digit columns are polysemous"?
  7. Does the repaired model count correctly in free-form generation (no 3-shot template, varied sequence lengths and alphabets), or only within the training template distribution?
  8. For the MHA/GQA contrast, is the lower cross-layer transfer in GQA (mean 0.350 vs. 0.419) statistically distinguishable, and does it predict any difference in repair difficulty?
  9. In the multi-digit analysis, the parabolic PC1–PC2 manifold (Fig. 7) is striking — have you tested whether an intervention upstream of W_U (e.g., a small adapter on the residual stream) resolves the representation–tokenization mismatch your appendix identifies?
  10. How does the unembedding bottleneck interact with the final layer norm / scaling before W_U? Could the apparent orthogonality partly be an artifact of pre-unembedding normalization rather than the raw residual geometry?
Limitations

Limitations

The paper includes a candid limitations section: the W_U LoRA does not restore multi-digit counting (ExLongSeq), and the analysis is restricted to single-step generation, excluding chain-of-thought reasoning models that externalize counts. Less acknowledged are the small and narrowly templated datasets, the absence of error bars/significance testing, the single-position/final-layer focus of the diagnosis, and the unvalidated causal status of the "killer heads." The broader-impact and theory checklist entries are answered carelessly (theory marked N/A despite multiple formulas), which undercuts confidence in the paper's self-auditing.

Paper formatting concerns

N/A

Final justification

Authors have addressed my concerns.

Reviewer_HsTvOpenReview ↗
Rating
5
Clarity
2
Confidence
4
Originality
4
Quality
3
Significance
4
Read review
Summary

This paper provides a mechanistic analysis of why LLMs fail at simple single-digit counting tasks despite retaining count information internally. The authors combine Signal to Noise Ratio (SNR) analysis and linear probing to show that counting representations persist across layers but become geometrically misaligned with the unembedding matrix (W_{U}). They identify this "unembedding bottleneck" as the source of failure and validate the hypothesis using a probe-guided LoRA correction on W_{U}, which improves counting accuracy with minimal parameter updates.

Strengths and weaknesses

Strengths

  1. One common criticism of mechanistic interpretability is its lack of practical application. In this context, debugging and repairing models is one of the most promising directions for addressing that concern, and this paper makes a clear and meaningful contribution toward that goal.
  2. The methodological contributions, particularly the combination of SNR with probing, as well as probe-initialized LoRA, are intriguing and appear readily transferable to other tasks and domains, making them valuable to the broader research community.
  3. The experimental setup is comprehensive, spanning multiple model architectures and dataset types.
  4. The finding that correct information is present in the model’s internal activations yet remains orthogonal to W_{U} is particularly insightful.
  5. Finally, the updated model shows significant performance improvements across all levels of generalization, achieved with only minimal weight updates, demonstrating the effectiveness of the proposed LoRA-based approach.

Weaknesses

  1. I’m not fully convinced that the failure can be attributed to the W_{U} matrix. If the count information lies in a subspace orthogonal to the digit columns in W_{U}, then the issue may instead stem from model components that should have rotated that subspace so it aligns with the columns of W_{U}. While I do not expect the authors to run this experiment, it would have been more principled to localize the responsible neurons and correct them, rather than directly updating the W_{U} matrix.
  2. Why is SNR a valid metric for establishing the diffusion of count information in the model’s internal activations?
    • Although it accounts for within-count cluster noise, it does not consider other types of noise.
    • There is no justification for using PC1.
    • What happens if the count signal is intrinsically multidimensional?
  3. Section 4.1(A) states that eight prompt variants were analyzed, yet only a single variant (Figure 1) is shown in the paper.
  4. While the work introduces “killer heads” that are claimed to destroy SNR by injecting orthogonal vectors, no empirical evidence is provided to support this claim. For example, there is no evidence for the statement in lines 265–268 in Section 5.1
  5. The text in lines 274–276 appears inconsistent with Figure 6, where the GQA architecture shows better cross-layer transfer results.
  6. The choice of using an SNR-selected intermediate layer for probe-guided LoRA initialization is not fully justified. Since W_{U} operates on the final-layer residual stream, the authors should compare initialization from final-layer probe directions against SNR-selected layers to demonstrate that the latter provides a better estimate of the relevant count subspace.
  7. Finally, there are some typographical issues that authors should correct:
    • The notation for residual activations is inconsistent: Eq. (3) uses a_{i} while Eq. (4) uses x_{i} without clarifying whether they represent the same residual-stream activations or activations from different layers. Since the LoRA initialization depends on the layer from which probe directions are extracted, this distinction should be explicitly stated.
    • Line 180 should end with a period.
    • Line 205, space after comma.
    • Line 267, the comma should be before 17.
    • Line 352, LMMs => LLMs.
Questions
  1. Why were three-shot templates used? Why not a zero-shot setting instead?
  2. I would be interested to know whether other classes of tasks exhibit similar issues in the model’s internal activations and whether they can be addressed through targeted LoRA updates to W_{U}, without degrading other model capabilities.
Limitations

Yes

Paper formatting concerns

Check the weaknesses section.

Final justification

I maintain my original score of 5. The rebuttal addresses most of my concerns, particularly through the corrected killer-head ablation and the peak-SNR versus final-layer initialization comparison, although I still believe the causal claims around (W_U) should be softened: the experiments establish it as a functional bottleneck/repair target, but not necessarily the root cause of the upstream misalignment. Overall, these remaining concerns are about interpretation and claim calibration rather than the core empirical contribution, which I continue to find technically solid and valuable.

Comments on the paper

1 comment
Meta-review

This manuscript tries to explain why large language models can fail at elementary single-digit counting even when information about the correct count appears to remain encoded in their internal representations. It studies six open-weight models spanning MHA and GQA architectures and proposes a mechanistic account termed the unembedding bottleneck. The analysis has three principal components. First, the authors track count-related information through the residual stream using two measurements. Second, the authors compare final-layer probe directions associated with count classes 0,…,9 against the corresponding digit-token columns of the unembedding matrix. Third, the authors apply a rank-4 LoRA correction to the digit-related columns of WUW_U. The paper claims that: (1) single-digit counting failures are generally not due to the absence of count information in the residual stream; (2) the relevant information becomes distributed across a multidimensional subspace; (3) the original unembedding matrix does not read this subspace effectively; and (4) a probe-informed correction at the output projection can restore counting with minimal interference to other capabilities.

Strengths

  • Rather than only reporting that LLMs count poorly or identifying components correlated with successful counting, the paper proposes a specific failure mode: task-relevant information is internally available but not appropriately mapped to the output vocabulary. This is an interesting mechanistic distinction with potential relevance beyond counting.
  • The paper does not rely solely on probe decodability. The finding that a very small correction to the relevant output columns produces large counting gains provides stronger evidence than probing alone that the final readout is an important bottleneck.
  • The distinction between dominant-axis SNR and multidimensional linear decodability is conceptually useful. A representation can cease to be concentrated along a single high-variance direction while remaining recoverable through a multivariate classifier. The paper’s empirical demonstration of this distinction provides a potentially reusable diagnostic framework for studying representation dispersion.
  • The work connects mechanistic interpretability with model repair. This is a valuable direction for the field: the analysis generates a concrete intervention, and the intervention’s success can in turn be used to evaluate the analysis.

Weaknesses

  • The causal interpretation is stronger than the evidence currently supports. Linear probe success shows that count labels are decodable, but it does not by itself establish that the model has computed the correct count in a representation that it intended to use for generation. A probe can extract correlated information that is not functionally used by the original model.
  • The paper reports SNR collapse, but the metric only measures class separation along PC1. The subsequent analysis explicitly shows that the signal spreads across additional components. This is better described as a collapse in dominant-axis concentration, not necessarily a collapse in the total count signal. A multidimensional measure, such as cumulative discriminative variance over the first k components, a Fisher discriminant ratio in a learned subspace, or mutual-information-related controls, would provide a more faithful account.
  • The experimental setting is narrow. The central probing analysis uses 80 prompts, with only eight variants for each count, and the repair dataset contains 300 examples built around a rigid three-shot format. Although the combinatorial splits are thoughtful, they remain derived from a relatively constrained synthetic task.
  • Preservation of capabilities is not adequately established. The LoRA intervention modifies only digit-token columns, while the reported MMLU evaluation is based predominantly on selecting letter tokens. Consequently, unchanged MMLU accuracy is expected and does not rule out degradation in arithmetic, numerical question answering, date generation, quantities, or ordinary uses of digit tokens.
  • The "not representational but geometric" distinction is not sufficiently precise. Geometry is itself a property of the representation. A clearer description would be that the failure is not caused by complete loss of linearly decodable information, but by a mismatch between a distributed internal representation and the model’s existing vocabulary readout.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.