← Latest papers
💬 NLP

Convergent Evolution: How Different Language Models Learn Similar Number Representations

This paper demonstrates that diverse language model architectures exhibit convergent evolution by learning similar periodic number representations, yet only specific combinations of data, architecture, and training signals enable these features to become geometrically separable for modular arithmetic tasks.

Original authors: Deqing Fu, Tianyi Zhou, Mikhail Belkin, Vatsal Sharan, Robin Jia

Published 2026-04-23
📖 6 min read🧠 Deep dive

Original authors: Deqing Fu, Tianyi Zhou, Mikhail Belkin, Vatsal Sharan, Robin Jia

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a massive library of books, and you ask a bunch of very different robots to read them all. Some robots are built like giant brains (Transformers), some are like long, winding memory tapes (RNNs), and some are just simple index cards (classic word embeddings).

You might expect that because they are built so differently, they would all "think" about numbers in completely different ways. But this paper discovers something fascinating: they all end up thinking about numbers in a surprisingly similar way.

Here is the story of that discovery, broken down into simple concepts.

1. The "Convergent Evolution" of Numbers

In biology, convergent evolution is when two completely unrelated animals (like a shark and a dolphin) develop the same feature (a fin) because they live in the same environment and face the same challenges.

This paper argues that AI models are doing the same thing. Because they are all trained on human language, and because numbers in language appear in specific patterns (like dates, prices, or phone numbers), all these different models independently evolve a "circular" way of thinking about numbers.

They learn to see numbers not just as a straight line (1, 2, 3...), but as a clock face.

  • 1 and 11 feel similar because they both end in 1.
  • 2 and 12 feel similar because they both end in 2.
  • This is called a periodic feature. It's like the models are secretly wearing a clock on their wrist.

2. The Two-Tiered Mystery: The "Spiky" Signal vs. The "Useful" Map

The researchers found that this clock-like thinking happens in two stages, and here is where it gets tricky.

Stage 1: The "Spiky" Signal (Spectral Convergence)

Almost every model, no matter how it's built, develops a "spike" in its internal math that corresponds to these clock patterns.

  • Analogy: Imagine a radio. Almost every radio, whether it's a fancy digital one or a cheap old transistor, picks up a specific static noise at a certain frequency.
  • The Finding: The models all "hear" the rhythm of numbers (periods of 2, 5, and 10). Even the raw list of how often numbers appear in books has this rhythm.
  • The Problem: Just because a radio picks up a signal doesn't mean it can play a song. Having the "spike" is necessary, but it's not enough to actually do math.

Stage 2: The "Useful" Map (Geometric Convergence)

This is the real magic. To actually solve a math problem (like "What is 7 mod 10?"), the model needs to be able to separate the numbers clearly. It needs to put all the "7s" in one corner of the room and all the "8s" in another, so a simple line can be drawn between them.

  • Analogy: Imagine a classroom.
    • The "Spiky" Signal: The teacher rings a bell every 10 minutes. Everyone hears it.
    • Geometric Convergence: The students actually sit in groups based on the bell. The "7s" sit in the front row, the "8s" in the back.
    • The Failure: Some models (like the LSTM) hear the bell perfectly loud (huge spikes!), but the students are still sitting randomly. They can't separate the groups. They know the pattern exists, but they can't use it.
    • The Success: Other models (like Transformers) not only hear the bell but organize the students perfectly. They can draw a line and say, "Everything on the left is a 7, everything on the right is an 8."

3. Why Do Some Models Succeed and Others Fail?

The paper asks: What makes the difference between a model that just "hears" the pattern and one that actually "understands" it?

They found three main ingredients:

  1. The Data (The Story): The model needs to see numbers interacting with words and other numbers. If you feed a model a list of numbers with no context (just "5, 5, 5"), it learns the rhythm but not the meaning. It needs to see numbers in sentences like "I have 5 apples" or "The year is 2024."
  2. The Architecture (The Brain Shape): Some brain shapes are just better at organizing this information. Transformers and newer "Linear RNNs" are great at sorting the students into groups. Old-school LSTMs are great at hearing the bell but terrible at sorting the room.
  3. The Tokenizer (The Vocabulary): This is a huge surprise. How the model breaks up words matters.
    • Multi-token numbers: If the number "123" is broken into three pieces ("1", "2", "3"), the model is forced to do math step-by-step (like adding digits and carrying the one). This forces it to learn the clock logic.
    • Single-token numbers: If "123" is just one single symbol, the model can cheat. It doesn't need to understand the clock logic to get the answer right, so it doesn't bother learning it.

4. The Big Lesson

The most important takeaway is this: Just because an AI looks like it understands something (because it has the right "spikes" in its data), doesn't mean it actually understands it.

  • The Trap: Researchers often look at the "spikes" and say, "Aha! The model has learned modular arithmetic!"
  • The Reality: The model might just be mimicking the rhythm of the data without actually being able to use it to solve problems.

Summary Analogy

Imagine you are teaching two different types of students to tell time:

  • Student A (The Transformer): Listens to the clock, sees the hands move, and learns that when the big hand hits 12, it's a new hour. They can actually tell you the time.
  • Student B (The LSTM): Listens to the clock and hears a loud "DING!" every hour. They know a "DING" happens, and they can predict when the next "DING" will be. But if you ask them "What time is it?", they have no idea. They just know the rhythm.

This paper teaches us that in the world of AI, hearing the rhythm is easy; understanding the meaning is hard. And only the right combination of data, brain-structure, and training method helps a model cross that gap.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →