mlsanityData to 14 Oct 2026

Pre-trained Language Models Learn Remarkably Accurate Representations of Numbers

arXiv 2506.08966 ↗First posted 10 Jun 2025cs.CL cs.LG cs.NEcited by 4

Not on the map. Why?

Abstract (arXiv)

Pretrained language models (LMs) are prone to arithmetic errors. Existing work showed limited success in probing numeric values from models' representations, indicating that these errors can be attributed to the inherent unreliability of distributionally learned embeddings in representing exact quantities. However, we observe that previous probing methods are inadequate for the emergent structure of learned number embeddings with sinusoidal patterns. In response, we propose a novel probing technique that decodes numeric values from input embeddings with near-perfect accuracy across a range of open-source LMs. This proves that after the sole pre-training, LMs represent numbers with remarkable precision. Finally, we find that the embeddings' precision, judged by our probe's accuracy, explains a large portion of LM's errors in elementary arithmetic, and show that aligning the embeddings with the pattern our probes discover can mitigate these errors.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 13 of its 23 references that are in the map. First posted on arXiv 10 Jun 2025.

Builds on

13 of 23 references.

References · 13

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  3. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  4. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  5. 2019Designing and Interpreting Probes with Control Taskscited by 640
  6. 2025Language Models Use Trigonometry to Do Additioncited by 70
  7. 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 39
  8. 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
  9. 2024Language Models Encode the Value of Numbers Linearlycited by 20
  10. 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
  11. 2023Calc-X and Calcformers: Empowering Arithmetical Chain-of-Thought through Interaction with Symbolic Systemscited by 13
  12. 2024Concept-aware Data Construction Improves In-context Learning of Language Modelscited by 2
1 more
  1. 2025Attend or Perish: Benchmarking Attention in Algorithmic Reasoningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.