← Latest papers
🤖 machine learning

When Does Online Imitation Learning Help in LLM Post-Training? The Role of (Non-)Realizability Beyond Horizon

This paper challenges the conventional view that error accumulation drives online imitation learning's success, demonstrating instead that its advantage over offline methods is primarily determined by non-realizability, where online interaction overcomes information-theoretic bottlenecks in misspecified settings that offline approaches cannot resolve even at a horizon of one.

Original authors: Huaqing Zhang, Jingchu Gai, Juno Kim, Bingbin Liu, Andrej Risteski

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

Original authors: Huaqing Zhang, Jingchu Gai, Juno Kim, Bingbin Liu, Andrej Risteski

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

The Big Question: When Does "Learning by Doing" Beat "Learning from a Textbook"?

Imagine you are trying to teach a student (the AI model) how to solve complex math problems. You have two ways to do it:

  1. The Textbook Method (Offline Learning): You give the student a static stack of answer keys written by a genius teacher. The student reads them and tries to memorize the patterns. This is called Supervised Fine-Tuning (SFT).
  2. The Tutoring Method (Online Learning): The student tries to solve a problem, and the genius teacher looks at the student's specific attempt and says, "Here is the probability of this being right," or "Try this instead." The student learns by interacting with the teacher in real-time. This is called Online Imitation Learning (or on-policy distillation).

In the real world, the "Tutoring Method" often works better than the "Textbook Method." But why?

For a long time, people thought the answer was "Error Accumulation."

  • The Old Theory: If a student makes a small mistake in step 1 of a long math problem, they might get lost in step 2, 3, and 4. The textbook method doesn't catch these small slips early, so the errors pile up like a snowball rolling downhill. The tutor catches them immediately.

This paper says: "That's not the whole story."
The authors argue that the real reason online learning wins is something else entirely: The "Size Mismatch" (Non-Realizability).


The Core Discovery: The "Small Backpack" Problem

The paper introduces a concept called Realizability.

  • Realizable: The student is just as smart (or has the same "brain size") as the teacher. The student can perfectly copy the teacher's thinking.
  • Non-Realizable (Misspecified): The student is smaller or less capable than the teacher. The student's "backpack" is too small to carry all the teacher's complex reasoning.

Scenario A: The Student is Smart Enough (Realizable)

Imagine the teacher and student are both PhDs.

  • The Paper's Finding: If you give the PhD student the textbook (offline learning), they will learn everything perfectly. They will match the teacher's score.
  • The Result: Adding a live tutor (online learning) doesn't make them any smarter or faster. The "Textbook Method" is already perfect.
  • Analogy: If you have a perfect map of a city, you don't need a GPS guide to walk there. You can just follow the map.

Scenario B: The Student is Smaller (Non-Realizable)

Imagine the teacher is a Grandmaster chess player, but the student is a beginner. The teacher's moves are too complex for the student to fully understand or copy directly.

  • The Problem with the Textbook: The teacher's answer key might say, "Move the Knight to F3." But the student's brain is too simple to understand why that move works, or maybe the student can't even make that specific move efficiently. The student tries to memorize the "look" of the answer, but because the student's brain is different, they get stuck. They hit an information bottleneck. They can't learn the right moves because the "right" moves in the textbook don't fit their limited brain.
  • The Power of the Tutor: When the student tries a move and asks the teacher, the teacher gives feedback specifically tailored to the student's current attempt. Even if the student is small, the teacher can guide them toward the best possible moves the student is actually capable of making.
  • The Paper's Finding: Online learning shines here because it helps the student find the "best version of themselves" within their limited capacity, whereas the textbook just shows them a version of the game they can't play.

The "Style vs. Substance" Analogy

The paper also explains why simply measuring "how different the student looks from the teacher" (distributional discrepancy) is misleading.

Imagine a teacher who solves a math problem in 3 steps, and a student who solves it in 10 steps.

  • The Old View: "Wow, the student is totally different from the teacher! They use different words and take different paths. The student must be failing."
  • The Paper's View: "Wait, both got the right answer (100% accuracy). The difference is just in the style (3 steps vs. 10 steps). The student is actually doing great!"

In the "Non-Realizable" setting, the student might have to take a longer, clumsier path to get the right answer because they can't do the teacher's elegant shortcut.

  • Offline Learning (Textbook): Tries to force the student to copy the teacher's elegant 3-step path. The student fails because they can't do it.
  • Online Learning (Tutor): Sees the student struggling with the 3-step path and says, "Okay, you can't do that. But if you take this 10-step path, you can still get the right answer." The tutor helps the student maximize their reward (getting the right answer), even if their style looks very different from the teacher.

Summary of the Paper's Claims

  1. If the student is smart enough (Realizable): The "Textbook Method" (Offline) is already perfect. Online learning adds no value.
  2. If the student is smaller (Non-Realizable): The "Textbook Method" hits a wall. It tries to teach the student things they physically cannot represent.
  3. The Real Winner: Online learning works in the "Non-Realizable" case because it doesn't just try to copy the teacher's style. It finds the best possible solution that the student can actually achieve, even if it looks very different from the teacher's original solution.
  4. The "Snowball" Myth: The paper argues that the old idea of "errors piling up over time" isn't the main reason online learning wins. Even in short, simple tasks (where errors can't pile up), online learning still wins if the student is smaller than the teacher.

In a nutshell: Online learning helps not because it fixes mistakes faster, but because it helps a smaller student find the best possible way to succeed, even when they can't copy the teacher perfectly.

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 →