mlsanityData to 7 Oct 2026

Number Representations in LLMs: A Computational Parallel to Human Perception

arXiv 2502.16147 ↗First posted 22 Feb 2025cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Humans are believed to perceive numbers on a logarithmic mental number line, where smaller values are represented with greater resolution than larger ones. This cognitive bias, supported by neuroscience and behavioral studies, suggests that numerical magnitudes are processed in a sublinear fashion rather than on a uniform linear scale. Inspired by this hypothesis, we investigate whether large language models (LLMs) exhibit a similar logarithmic-like structure in their internal numerical representations. By analyzing how numerical values are encoded across different layers of LLMs, we apply dimensionality reduction techniques such as PCA and PLS followed by geometric regression to uncover latent structures in the learned embeddings. Our findings reveal that the model's numerical representations exhibit sublinear spacing, with distances between values aligning with a logarithmic scale. This suggests that LLMs, much like humans, may encode numbers in a compressed, non-uniform manner.

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

Builds on

11 of 22 references.

References · 11

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2019Language Models as Knowledge Bases?cited by 1,922
  4. 2020Do Language Embeddings Capture Scales?cited by 63
  5. 2023Identifying and Mitigating Vulnerabilities in LLM-Integrated Applicationscited by 54
  6. 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
  7. 2024Language Models Encode the Value of Numbers Linearlycited by 19
  8. 2024On the Scaling Laws of Geographical Representation in Language Modelscited by 14
  9. 2024The Geometry of Numerical Reasoning: Language Models Compare Numeric Properties in Linear Subspacescited by 10
  10. 2024NICE: To Optimize In-Context Examples or Not?cited by 9
  11. 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythiacited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.