mlsanityData to 7 Oct 2026

Language Models Do Not Embed Numbers Continuously

arXiv 2510.08009 ↗First posted 9 Oct 2025cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Recent research has extensively studied how large language models manipulate integers in specific arithmetic tasks, and on a more fundamental level, how they represent numeric values. These previous works have found that language model embeddings can be used to reconstruct the original values, however, they do not evaluate whether language models actually model continuous values as continuous. Using expected properties of the embedding space, including linear reconstruction and principal component analysis, we show that language models not only represent numeric spaces as non-continuous but also introduce significant noise. Using models from three major providers (OpenAI, Google Gemini and Voyage AI), we show that while reconstruction is possible with high fidelity (R2 ≥ 0.95), principal components only explain a minor share of variation within the embedding space. This indicates that many components within the embedding space are orthogonal to the simple numeric input space. Further, both linear reconstruction and explained variance suffer with increasing decimal precision, despite the ordinal nature of the input space being fundamentally unchanged. The findings of this work therefore have implications for the many areas where embedding models are used, in-particular where high numerical precision, large magnitudes or mixed-sign values are common.

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

Builds on

13 of 21 references.

References · 13

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  3. 2025Language Models Use Trigonometry to Do Additioncited by 68
  4. 2024MedCalc-Bench: Evaluating Large Language Models for Medical Calculationscited by 64
  5. 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
  6. 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
  7. 2023GeoGalactica: A Scientific Large Language Model in Geosciencecited by 32
  8. 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
  9. 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoningcited by 31
  10. 2025What is a Number, That a Large Language Model May Know It?cited by 14
  11. 2023Arithmetic with Language Models: from Memorization to Computationcited by 12
  12. 2024Reverse That Number! Decoding Order Matters in Arithmetic Learningcited by 8
1 more
  1. 2024Leveraging Large Language Models for Medical Information Extraction and Query Generationcited by 8

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.