TRANSMISSION // 2602.06843v2
How Language Models Organize Number Concepts
Source published
A study of four language models finds that number relationships are broadly preserved across tasks, though some task representations align less well than others.

Do language models represent numbers in one shared space, or reorganize them for different tasks? An arXiv preprint finds evidence for both: many task-specific representations occupy distinct directions while retaining alignable relationships, with notable exceptions for parity and primality.
A language model can encounter the number three as a quantity, an answer to an arithmetic problem, an odd number, or a step in a sequence. Does it use one common representation across those contexts, or build separate representations for each task? The arXiv preprint The Representational Geometry of Number, by Zhimin Hu, Lanhao Niu and Sashank Varma, explores how these possibilities might coexist.
The authors focus on a tension in research on representations: shared structure could help a system generalize across tasks, while separating tasks into different regions of its internal space might limit interference. Their proposal is that concepts need not occupy identical coordinates to share an underlying structure. Task-specific representations may preserve some relationships among numbers while appearing in distinct subspaces.
Looking inside number-related text
The researchers studied four pretrained language models: BERT, GPT-2, Qwen2.5 and Qwen2.5-Math. They presented numbers from 1 to 9 as digits and English words, in sentences designed to prompt tasks such as quantity, comparison, arithmetic, parity, primality, and identifying a number’s predecessor or successor. They also examined numbers in constructed and naturally occurring sentence contexts.
For each example, they extracted the model’s internal activation for the number token. They then used several mathematical tools to compare those representations. Procrustes analysis tests whether two sets of points have a similar arrangement after allowing for rotation, translation and uniform scaling. Subspace overlap measures how much of one task’s representation can be captured by directions prominent in another. SVCCA tests whether different representations contain correlated patterns after linear projections.
These methods answer different questions. Two tasks can occupy different directions in a model’s high-dimensional space yet still encode patterns that can be matched through transformations. A two-dimensional plot can help illustrate patterns, but it does not show the full structure of the original space.
Shared relationships, different directions
Across the models and tasks examined, the authors report that the relative organization of numbers was largely preserved. Some analyses found patterns associated with numerical distance and ratio. These results suggest ordered numerical structure in the studied activations, not a universal or complete human-like number line.
The paper reports a mean Procrustes disparity of about 0.010 across its task and model comparisons. In its permutation baseline, randomly shuffled number identities yielded disparities from 0.077 to 0.273. This is the study’s comparison, not independent confirmation that the results generalize beyond its setup.
At the same time, task representations were not simply identical. In Qwen2.5-Math, many task pairs had low subspace overlap, while SVCCA correlations were generally high. In everyday terms, representations could occupy different directions but still have patterns that aligned well through linear projections. Related tasks such as successor and predecessor showed more overlap than most pairs.
There are important exceptions. The paper reports lower SVCCA alignment for parity and primality than for other tasks, suggesting that these representations may not be fully aligned by simple linear transformations. It also examines how magnitude and number properties are encoded: in a projection of Qwen2.5-Math representations, the parity direction was close to perpendicular to the magnitude direction, while the primality direction was less separated. These measurements suggest some features can lie along distinct directions, not that every numerical feature is independent.
What the evidence can—and cannot—show
The findings offer a possible account of how a model might maintain numerical relationships while adapting its representations to different tasks. But they are evidence about model activations and geometric measurements, not direct evidence that the models understand numbers as people do. Although the authors interpret separate subspaces as potentially helping reduce interference, the study does not directly test task interference or show that separation causes a performance benefit.
The evidence has a specific scope: numbers 1–9, four models, and selected sentence materials. The central task analyses rely substantially on handcrafted task sentences and include a focused analysis of Qwen2.5-Math. Constructed and naturally occurring sentence corpora broaden the contexts examined, but this is not a broad test of numerical reasoning in varied real-world situations. Results also vary: size-related patterns were less consistent in Qwen2.5-Math than distance and ratio patterns, and alignment was weaker for parity and primality.
This is an arXiv preprint; the source does not establish its peer-review status. Its findings should therefore be treated as provisional. Overall, the study suggests a qualified picture: many number-related representations can be task-specific in where they sit while retaining shared relational structure, but that pattern does not hold equally across every task.
- language models
- number representations
- representation geometry
- artificial intelligence
- cognitive science
- interpretability
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
How a Neural Network Separates Number Order from Identity
Supporting evidence: Both papers support the bounded proposition that number representations can assign distinct geometric components to different functions: Hu et al. report task-specific subspaces and separable magnitude and parity directions in language models, while Hindupur et al. find order and identity-readout components in a minimal running-maximum model. These are complementary, not direct replications: the models, tasks, and analyses differ, and the latter paper notes its results do not establish prevalence in deep networks.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2602.06843v2 — Original paper
Excerpt reference:
static/papers/2602.06843v2.md:389-430
Basis: Paper text
Source file SHA-256:6e38397a263f4bd5eb71e22ce7265d763544db6735306be59ea6c52b1c2f22922602.06843v2 — Original paper
Excerpt reference:
static/papers/2602.06843v2.md:630-663
Basis: Paper text
Source file SHA-256:6e38397a263f4bd5eb71e22ce7265d763544db6735306be59ea6c52b1c2f22922611.36889v1 — Original paper
Excerpt reference:
static/papers/2611.36889v1.md:83-164
Basis: Paper text
Source file SHA-256:5b9891e0984e251de02057b2e8c4eba20d599fbe6cf850141c1ef278e89119782611.36889v1 — Original paper
Excerpt reference:
static/papers/2611.36889v1.md:899-964
Basis: Paper text
Source file SHA-256:5b9891e0984e251de02057b2e8c4eba20d599fbe6cf850141c1ef278e8911978
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How a Neural Network Separates Number Order from Identity
Source published
Shared keywords: number representations, representation geometry
Language-model axes matter—but only partly
Source published
Shared keywords: representation geometry
How structured analysis could clarify scientific disputes
Source published
Shared keywords: artificial intelligence, cognitive science
When cell-predicting AI gets the baseline right but misses the change
Source published
Shared keywords: artificial intelligence
How Children Learn When Evidence Can Mislead
Source published
Shared keywords: cognitive science, language models