mlsanityData to 7 Oct 2026

What is a Number, That a Large Language Model May Know It?

arXiv 2502.01540 ↗First posted 3 Feb 2025cs.CL cs.AIcited by 14

Not on the map. Why?

Abstract (arXiv)

Numbers are a basic part of how humans represent and describe the world around them. As a consequence, learning effective representations of numbers is critical for the success of large language models as they become more integrated into everyday decisions. However, these models face a challenge: depending on context, the same sequence of digit tokens, e.g., 911, can be treated as a number or as a string. What kind of representations arise from this duality, and what are its downstream implications? Using a similarity-based prompting technique from cognitive science, we show that LLMs learn representational spaces that blend string-like and numerical representations. In particular, we show that elicited similarity judgments from these models over integer pairs can be captured by a combination of Levenshtein edit distance and numerical Log-Linear distance, suggesting an entangled representation. In a series of experiments we show how this entanglement is reflected in the latent embeddings, how it can be reduced but not entirely eliminated by context, and how it can propagate into a realistic decision scenario. These results shed light on a representational tension in transformer models that must learn what a number is from text input.

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

Builds on

28 of 52 references.

References · 28

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  3. 2024GPT-4o System Cardcited by 4,467
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2024Mixtral of Expertscited by 1,785
  6. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  7. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  8. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  9. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  10. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  11. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  12. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
16 more
  1. 2024Scaling and evaluating sparse autoencoderscited by 530
  2. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
  3. 2022Using cognitive psychology to understand GPT-3cited by 389
  4. 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
  5. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
  6. 2023Language Models Represent Space and Timecited by 306
  7. 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
  8. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
  9. 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
  10. 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
  11. 2024Measuring Implicit Bias in Explicitly Unbiased Large Language Modelscited by 49
  12. 2023Large language models predict human sensory judgments across six modalitiescited by 47
  13. 2023Time is Encoded in the Weights of Finetuned Language Modelscited by 31
  14. 2024When a language model is optimized for reasoning, does it still show embers of autoregression? An analysis of OpenAI o1cited by 22
  15. 2024Language Models Encode the Value of Numbers Linearlycited by 19
  16. 2023The Universal Law of Generalization Holds for Naturalistic Stimulicited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 10; 2026: 4.

14 papers.

Sort:

By area: