ExplorerArtificial IntelligenceAI
Research PaperResearchia:202604.23004

Convergent Evolution: How Different Language Models Learn Similar Number Representations

Deqing Fu

Abstract

Language models trained on natural text learn to represent numbers using periodic features with dominant periods at $T=2, 5, 10$. In this paper, we identify a two-tiered hierarchy of these features: while Transformers, Linear RNNs, LSTMs, and classical word embeddings trained in different ways all learn features that have period-$T$ spikes in the Fourier domain, only some learn geometrically separable features that can be used to linearly classify a number mod-$T$. To explain this incongruity, w...

Submitted: April 23, 2026Subjects: AI; Artificial Intelligence

Description / Details

Language models trained on natural text learn to represent numbers using periodic features with dominant periods at T=2,5,10T=2, 5, 10. In this paper, we identify a two-tiered hierarchy of these features: while Transformers, Linear RNNs, LSTMs, and classical word embeddings trained in different ways all learn features that have period-TT spikes in the Fourier domain, only some learn geometrically separable features that can be used to linearly classify a number mod-TT. To explain this incongruity, we prove that Fourier domain sparsity is necessary but not sufficient for mod-TT geometric separability. Empirically, we investigate when model training yields geometrically separable features, finding that the data, architecture, optimizer, and tokenizer all play key roles. In particular, we identify two different routes through which models can acquire geometrically separable features: they can learn them from complementary co-occurrence signals in general language data, including text-number co-occurrence and cross-number interaction, or from multi-token (but not single-token) addition problems. Overall, our results highlight the phenomenon of convergent evolution in feature learning: A diverse range of models learn similar features from different training signals.


Source: arXiv:2604.20817v1 - http://arxiv.org/abs/2604.20817v1 PDF: https://arxiv.org/pdf/2604.20817v1 Original Link: http://arxiv.org/abs/2604.20817v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Apr 23, 2026
Topic:
Artificial Intelligence
Area:
AI
Comments:
0
Bookmark
Convergent Evolution: How Different Language Models Learn Similar Number Representations | Researchia