mlsanityData to 7 Oct 2026

Weber's Law in Transformer Magnitude Representations: Efficient Coding, Representational Geometry, and Psychophysical Laws in Language Models

arXiv 2603.20642 ↗First posted 21 Mar 2026cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

How do transformer language models represent magnitude? Recent work disagrees: some find logarithmic spacing, others linear encoding, others per-digit circular representations. We apply the formal tools of psychophysics to resolve this. Using four converging paradigms (representational similarity analysis, behavioural discrimination, precision gradients, causal intervention) across three magnitude domains in three 7-9B instruction-tuned models spanning three architecture families (Llama, Mistral, Qwen), we report three findings. First, representational geometry is consistently log-compressive: RSA correlations with a Weber-law dissimilarity matrix ranged from .68 to .96 across all 96 model-domain-layer cells, with linear geometry never preferred. Second, this geometry is dissociated from behaviour: one model produces a human-range Weber fraction (WF = 0.20) while the other does not, and both models perform at chance on temporal and spatial discrimination despite possessing logarithmic geometry. Third, causal intervention reveals a layer dissociation: early layers are functionally implicated in magnitude processing (4.1x specificity) while later layers where geometry is strongest are not causally engaged (1.2x). Corpus analysis confirms the efficient coding precondition (alpha = 0.77). These results suggest that training data statistics alone are sufficient to produce log-compressive magnitude geometry, but geometry alone does not guarantee behavioural competence.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 6 of its 19 references that are in the map. First posted on arXiv 21 Mar 2026.

Builds on

6 of 19 references.

References · 6

  1. 2023Language Models Represent Space and Timecited by 306
  2. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  3. 2023Large language models predict human sensory judgments across six modalitiescited by 47
  4. 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
  5. 2025What is a Number, That a Large Language Model May Know It?cited by 14
  6. 2025Language Models Learn Universal Representations of Numbers and Here's Why You Should Carecited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.