← Latest papers
🤖 machine learning

OISD: On-Policy Internal Self-Distillation of Language Models

The paper introduces OISD, a novel on-policy internal self-distillation framework that enhances language model reasoning by aligning intermediate representations with the final layer's predictive signals through logit and attention alignment during GRPO optimization, achieving significant improvements over existing RL baselines on mathematical reasoning tasks without requiring external privileged information.

Original authors: Xinyu Liu, Darryl Cherian Jacob, Yang Zhou, Jindong Wang, Pan He

Published 2026-05-29
📖 4 min read☕ Coffee break read

Original authors: Xinyu Liu, Darryl Cherian Jacob, Yang Zhou, Jindong Wang, Pan He

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 teaching a student to solve a complex math problem. In the traditional way, you let the student write out their entire thought process, and then, at the very end, you only give them a grade: "Correct" or "Incorrect." If they got it wrong, you don't tell them where they went off track or how they should have thought differently; you just tell them to try again. This is how most current AI training works: it focuses heavily on the final answer and ignores the messy thinking process that happened in the middle.

The paper "OISD: On-Policy Internal Self-Distillation of Language Models" proposes a smarter way to teach AI models. Here is the breakdown using simple analogies:

The Core Idea: The "Internal Mentor"

Usually, when we try to improve an AI's thinking, we bring in an outside "Teacher" model (a smarter AI) to show the student AI how to think. But this paper says: "Why bring in an outside teacher when the AI already has one inside itself?"

The authors realized that a large AI model is like a multi-story building.

  • The Ground Floor (Early Layers): This is where the AI starts thinking. It's a bit fuzzy, looking at the problem from many angles.
  • The Penthouse (Final Layer): This is where the final answer is decided. By the time the AI reaches the top, it has processed all the information and knows exactly what the answer should be.

OISD (On-Policy Internal Self-Distillation) is a method where the AI uses its own "Penthouse" (the final layer) to teach its own "Ground Floor" (an intermediate layer) while it is solving the problem.

How It Works: Two Types of Lessons

The paper introduces two specific ways the "Penthouse" teaches the "Ground Floor":

  1. "How to Think" (Logit Alignment):

    • The Analogy: Imagine the Ground Floor is guessing, "Maybe the answer is 4, maybe it's 5?" The Penthouse looks down and says, "No, I'm 99% sure it's 4. Stop guessing 5."
    • What it does: It forces the early thinking stages to align with the confidence and logic of the final answer. It teaches the model how to form a correct belief.
  2. "Where to Look" (Attention Alignment):

    • The Analogy: Imagine the Ground Floor is reading a long story but getting distracted by the wrong words. The Penthouse points and says, "Don't look at that word; look at this specific number here. That's the clue you need."
    • What it does: It forces the early layers to focus their attention on the same important parts of the problem that the final layer uses to make its decision. It teaches the model where to find the evidence.

Why This Is Special (The "On-Policy" Part)

In the past, if you wanted to teach an AI using a "Teacher," you often had to use a different, pre-trained model. This created a mismatch because the student was learning from someone else's style, not its own.

OISD is "On-Policy," which means:

  • The AI generates its own thoughts (the "rollout").
  • The AI's own final answer acts as the teacher for its own early thoughts.
  • There is no outside teacher, no special "privileged" hints, and no mismatch. It is a self-improving loop happening entirely inside one model.

The Results

The researchers tested this on math problems (like those found in high school competitions). They compared their method (OISD) against other strong methods.

  • The Outcome: The OISD models got significantly better scores. They didn't just get the right answer more often; they developed a more consistent and logical "thought process" from the very beginning of the problem to the end.
  • The Takeaway: By teaching the early parts of the brain to think like the final part of the brain, the whole system becomes smarter and more reliable.

Summary

Think of OISD as a model that doesn't just wait until the end of a test to see if it failed. Instead, it has a built-in coach (its own final layer) that whispers, "You're looking at the wrong clue," and "You should be more confident about this step," while it is still solving the problem. This helps the model learn to think better, not just guess better.

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 →