mlsanityData to 7 Oct 2026

LLMs Know More About Numbers than They Can Say

arXiv 2602.07812 ↗First posted 8 Feb 2026cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Although state-of-the-art LLMs can solve math problems, we find that they make errors on numerical comparisons with mixed notation: "Which is larger, 5.7 × 102 or 580?" This raises a fundamental question: Do LLMs even know how big these numbers are? We probe the hidden states of several smaller open-source LLMs. A single linear projection of an appropriate hidden layer encodes the log-magnitudes of both kinds of numerals, allowing us to recover the numbers with relative error of about 2.3% (on restricted synthetic text) or 19.06% (on scientific papers). Furthermore, the hidden state after reading a pair of numerals encodes their ranking, with a linear classifier achieving over 90% accuracy. Yet surprisingly, when explicitly asked to rank the same pairs of numerals, these LLMs achieve only 50-70% accuracy, with worse performance for models whose probes are less effective. Finally, we show that incorporating the classifier probe's log-loss as an auxiliary objective during finetuning brings an additional 3.22% improvement in verbalized accuracy over base models, demonstrating that improving models' internal magnitude representations can enhance their numerical reasoning capabilities. Our code is available at https://github.com/VCY019/Numeracy-Probing.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 6 of its 14 references that are in the map. First posted on arXiv 8 Feb 2026.

Builds on

6 of 14 references.

References · 6

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  2. 2023BloombergGPT: A Large Language Model for Financecited by 923
  3. 2022Galactica: A Large Language Model for Sciencecited by 736
  4. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
  5. 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
  6. 2024Language Models Encode the Value of Numbers Linearlycited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Effect of Scripts and Formats on LLM Numeracy
  2. 2024LLM The Genius Paradox: A Linguistic and Math Expert's Struggle with Simple Word-based Counting Problems
  3. 2025Large Language Models in Numberland: A Quick Test of Their Numerical Reasoning Abilities
  4. 2026SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generation
  5. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs
  6. 2025A Fragile Number Sense: Probing the Elemental Limits of Numerical Reasoning in LLMs
  7. 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoning
  8. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks