← Latest papers
🤖 machine learning

When Do Attention Circuits Form? Developmental Trajectories of Capability and Attention-Sink Emergence Across Three 1B-ClassArchitectures

This paper tracks the developmental trajectories of attention circuits across three 1B-class language models, revealing that the formation of induction circuits and attention sinks are distinct, temporally separated transitions rather than a single event, and that specific circuit capabilities can be identified early in training without requiring the final model.

Original authors: Yongzhong Xu

Published 2026-06-02
📖 5 min read🧠 Deep dive

Original authors: Yongzhong Xu

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 are watching a group of three young students (the AI models) learn to read and understand a massive library of books. These students are roughly the same size (1 billion "brain cells"), but they have different teachers and different books.

The researchers wanted to answer a simple question: When do these students actually learn to do specific tricks?

Specifically, they were looking for two things:

  1. The "Copycat" Trick: Learning to see a pattern like "A... B... A" and correctly guessing that the next word should be "B." (This is called an induction circuit).
  2. The "First Page" Habit: Learning to always pay attention to the very first word of a sentence, no matter what the sentence is about. (This is called an attention sink).

For a long time, scientists thought these two things happened at the exact same moment, like a light switch flipping on. This paper says: No, that's not true. They happen at very different times, and the way they happen depends on how the student is built and what they are reading.

Here is the story of what they found, using simple analogies:

1. The "No-Go" Zone (The Bottom Floor)

The researchers discovered a rule that never breaks: The first two layers of the brain (Layer 0 and Layer 1) never learn the "First Page" habit.

  • The Analogy: Imagine a factory assembly line. The first two stations are just raw materials coming in; they haven't been processed yet. You can't have a "factory manager" (the attention sink) making decisions at the very first station because there isn't enough information there yet.
  • The Finding: No matter how much the students study, the very bottom layers of their brains never develop this habit. It's a hard rule of their architecture, not something they failed to learn.

2. The "Middle-First" Surprise

You might think the "First Page" habit would start at the bottom and slowly move up as the brain gets smarter. The researchers found the opposite.

  • The Analogy: Imagine a building. You might expect the lights to turn on from the ground floor up. Instead, the lights in the middle of the building turn on first, and then the habit spreads outward. The layers just above the "No-Go Zone" are actually the last to learn this habit.
  • The Finding: The "First Page" habit crystallizes in the middle of the network first, not the bottom.

3. The Two Different "Light Switches"

This is the biggest discovery. The researchers tracked when the "Copycat" trick and the "First Page" habit appeared.

  • The "Copycat" Trick (Induction): This happens very early. In the students trained on the "DCLM" books, this trick was fully learned by the time they had read about 20–23 billion words. It's like a child learning to tie their shoes; it happens quickly and then they are done.
  • The "First Page" Habit (Attention Sink): This happens much, much later. In the same students, this habit didn't really kick in until they had read 260 to 400 billion words.
  • The Analogy: It's like learning to ride a bike (the trick) happens in week one, but learning to always look at the starting line before every race (the habit) doesn't happen until year five. They are two completely separate events, separated by a huge gap of time.

4. The Shape of Learning Depends on the "School"

The researchers tested three different students:

  1. Pythia: Read "The Pile" books.
  2. OLMo: Read "DCLM" books.
  3. OLMoE: Read "DCLM" books but has a special "Mixture of Experts" brain (like having 64 different tutors and only using the top 8 for each task).

They found that the shape of the learning curve changed based on the student:

  • The Gradual Ramp: Pythia and OLMoE learned the "First Page" habit slowly and steadily, like water filling a bathtub.
  • The Sharp Jump: OLMo (the standard dense brain reading DCLM) learned it all at once. One moment it had almost no "First Page" habit, and the next moment (between two checkpoints), it jumped from 7% to 70%. It was a sudden "phase transition," like ice suddenly turning to water.

The Lesson: The same book (DCLM) produced a slow learner in one student and a sudden jumper in another, just because their brain architecture was different.

5. You Don't Need to Wait Until Graduation

One of the most practical findings is about when you can see these skills.

  • The Finding: If you want to find out which parts of the brain are doing the "Copycat" trick, you do not need to wait until the student finishes reading the whole library.
  • The Analogy: Imagine you want to know if a student is good at math. You don't need to wait until they finish a 4-year degree. By the time they have finished just 1% of their coursework, you can already see 67% of the math skills they will eventually have.
  • The Result: Researchers can identify these brain circuits using a student who is only 1% through their training. You don't need the final, finished model to understand how the brain works.

Summary

This paper tells us that the "magic moment" of AI learning isn't one big event.

  1. Timing: The brain learns to copy patterns (induction) way before it learns to obsess over the first word (attention sink).
  2. Location: The obsession with the first word starts in the middle of the brain, not the bottom.
  3. Variety: Depending on the brain's design, this obsession can appear slowly or in a sudden explosion.
  4. Efficiency: We can see these skills forming very early in training, so we don't need to wait for the AI to be "finished" to study how it thinks.

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 →