# Language Models' Hidden Number Hierarchy _Language models exhibit a two-tiered hierarchy in number representation, with geometric separability being the key differentiator beyond Fourier periodicity._ **Published:** 2026-04-23 **Source:** https://www.startuphub.ai/ai-news/ai-research/2026/language-models-hidden-number-hierarchy --- The intricate ways language models process numerical information remain a frontier in AI research. While it's known that models trained on natural text develop internal representations for numbers, the depth and structure of this understanding are far from uniform. A recent study published on [arXiv](https://arxiv.org/abs/2604.20817v1) delves into this phenomenon, revealing a nuanced hierarchy in how these models learn to represent numbers. ## Beyond Fourier Sparsity: The Geometric Separability Divide Researchers observed that a diverse range of models, including Transformers, Linear RNNs, LSTMs, and classical word embeddings, all exhibit periodic features with dominant periods at $T=2, 5, 10$ in their Fourier domain representations. However, a critical distinction emerges: only a subset of these models learn *geometrically separable* features. This means that while many models can identify periodic patterns, fewer can linearly classify numbers modulo $T$. The paper proves that Fourier domain sparsity, a common characteristic, is a necessary but not sufficient condition for achieving this crucial geometric separability in [language model number representation](/ai-news/artificial-intelligence/2026/fangfang-lee-on-linear-algebra-for-ml). ## Convergent Evolution in Numerical Feature Acquisition The study meticulously investigates the factors influencing the development of geometrically separable features. It identifies that the data, model architecture, optimizer, and even the tokenizer all play significant roles. Notably, models can acquire these sophisticated numerical representations through two distinct pathways. One route involves leveraging complementary co-occurrence signals within general language data, such as text-number interactions and cross-number relationships. The other pathway emerges from training on multi-token addition problems, though not single-token ones. This finding underscores a principle of convergent evolution in machine learning, where disparate training signals and conditions can lead to similar, effective feature learning for language model number representation. --- Original analysis from [startuphub.ai](https://www.startuphub.ai), the #1 AI startup directory.