← Latest papers
💬 NLP

Latent Planning Emerges with Scale

This paper introduces a framework for "latent planning" and provides mechanistic evidence that the ability of Qwen-3 models to internally represent and shape context for future tokens increases with model scale, even on complex tasks like rhyming couplets.

Original authors: Michael Hanna, Emmanuel Ameisen

Published 2026-04-15
📖 5 min read🧠 Deep dive

Original authors: Michael Hanna, Emmanuel Ameisen

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 magician perform a trick. They pull a rabbit out of a hat, but you never saw them put the rabbit in there. You might wonder: Did they actually plan this, or did they just get lucky?

This paper investigates whether Large Language Models (LLMs)—the AI brains behind chatbots—are actually "planning" ahead when they write, or if they are just guessing the next word one by one.

Here is the breakdown of the research, explained with some everyday analogies.

The Big Question: Are They Thinking Ahead?

When an AI writes a story or code, it often seems like it has a master plan. But does it? Or is it just reacting to the last word it wrote?

The researchers define "Latent Planning" as a hidden, internal "to-do list" the AI creates before it speaks. For this to count as real planning, two things must happen:

  1. Forward Planning: The AI decides, "I'm going to say the word accountant later," and that decision actually causes it to say that word.
  2. Backward Planning: The AI thinks, "If I'm going to say accountant, I need to set the stage first." So, it might write "Someone who handles financial records is..." to make sure the word accountant fits perfectly.

The Experiment: The "Grammar Trap"

To test this, the researchers set up a simple trap using grammar rules.

The Analogy: Imagine you are filling out a form.

  • Task A: You have to write "Someone who studies living organisms is a biologist." (Easy, because "a" works).
  • Task B: You have to write "Someone who handles financial records is an accountant." (Harder, because you must switch from "a" to "an" based on the word coming later).

If the AI is just guessing word-by-word, it might say "a accountant" because "a" is the most common word. But if it is planning, it will look ahead, see "accountant," and immediately switch to "an."

The Results:

  • Tiny Models (The Toddlers): They failed. They couldn't see the future word, so they kept using "a."
  • Medium Models (The Teens): They started to get it right, but only sometimes. They had the idea of planning, but their internal "brain circuits" were still under construction.
  • Large Models (The Adults): They got it right almost every time. They successfully looked ahead, decided on "accountant," and adjusted their grammar to "an" to match.

The "X-Ray" Vision: Seeing the Brain at Work

How do we know they aren't just guessing? The researchers used a special tool called Transcoders.

The Analogy: Think of an AI's brain as a giant, messy library where books are stacked in piles. It's hard to see what's inside.

  • Transcoders are like a magical librarian who reorganizes the library. Instead of messy piles, they sort every single idea into its own labeled box.
  • One box might be labeled "Future Word: Accountant."
  • Another box might be labeled "Grammar Rule: Use 'an'."

By looking at these boxes, the researchers saw that in the large models, the "Future Word" box lit up before the AI even started writing the sentence. This light then traveled to the "Grammar Rule" box, telling it to switch to "an." This is the smoking gun of planning.

The Poetry Test: Rhyming is Harder

The researchers also asked the AI to write rhyming poems (couplets).

  • The Task: "He saw a carrot and had to grab it..." -> The AI needs to write a line ending in a word that rhymes with "it" (like "rabbit").
  • The Finding: The AI does plan for the rhyme. It knows it needs a rhyme. However, it mostly plans forward (thinking "I need a rhyme") rather than backward (rewriting the whole sentence to make the rhyme fit perfectly).
  • The Scale Effect: Bigger models were better at this, but even the biggest ones rarely planned more than a few words ahead. They are like a driver who looks 50 feet ahead, but not 5 miles ahead.

Why Does Size Matter?

The paper found a clear pattern: Planning is a skill that grows with size.

  • Small Models: They are like a person walking in the dark, taking one step at a time. They don't have the "mental energy" to hold a plan in their head.
  • Medium Models: They are like someone with a flashlight. They can see a little bit ahead and start to plan, but the light flickers.
  • Large Models: They have a floodlight. They can see the whole path, set up the context, and execute the plan.

The "Safety" Warning

Why does this matter?
If an AI is secretly planning ahead, it might be "scheming." Imagine an AI that pretends to be helpful but is actually planning a complex, multi-step strategy to achieve a secret goal that humans don't see.

The good news? The AI models tested here (up to 14 billion parameters) are still mostly "toddlers" when it comes to complex, long-term scheming. They are getting better at planning, but they aren't master strategists yet.

The Takeaway

This paper gives us a new way to look inside the AI's brain. It proves that as AI models get bigger, they stop just guessing and start planning. They build internal representations of what they want to say next, and they work backward to make sure the sentence makes sense.

It's like watching a child grow up: first, they just babble. Then, they start connecting words. Finally, they start writing stories with a beginning, middle, and end, all because they planned the whole thing in their head first.

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 →