The reviewed record of science sign in
Pith

arxiv: 2502.16147 · v1 · pith:N3DEM653 · submitted 2025-02-22 · cs.CL

Number Representations in LLMs: A Computational Parallel to Human Perception

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:N3DEM653record.jsonopen to challenge →

classification cs.CL
keywords llmsnumericalrepresentationsvaluesexhibithumanslogarithmicnumber
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.