Number Representations in LLMs: A Computational Parallel to Human Perception
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
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Do Language Embeddings Capture Scales?cited by 63
- 2023Identifying and Mitigating Vulnerabilities in LLM-Integrated Applicationscited by 54
- 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
- 2024Language Models Encode the Value of Numbers Linearlycited by 19
- 2024On the Scaling Laws of Geographical Representation in Language Modelscited by 14
- 2024The Geometry of Numerical Reasoning: Language Models Compare Numeric Properties in Linear Subspacescited by 10
- 2024NICE: To Optimize In-Context Examples or Not?cited by 9
- 2024Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythiacited by 8
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 43
- 2026When Is a Steerable Concept Representation Real? Measurement Confounds in a Cross-Family Audit of Neuroscience Parallels in LLMscited by 2
- 2026DriveCode: Domain Specific Numerical Encoding for LLM-Based Autonomous Drivingcited by 0
- 2026NumerosityVLM: A Cognitively Inspired Benchmark for Interpreting Numerosity Representations in Vision-Language Modelscited by 0
- 2026NumerosityVLM: A Cognitively Inspired Benchmark for Interpreting Numerosity Representations in Vision-Language Models15 Aug 2026
- 2026When Is a Steerable Concept Representation Real? Measurement Confounds in a Cross-Family Audit of Neuroscience Parallels in LLMs8 Aug 2026
- 2026DriveCode: Domain Specific Numerical Encoding for LLM-Based Autonomous Driving1 Mar 2026
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Task8 Jan 2026