← Latest papers
🤖 machine learning

One Student, Many Teachers: Multi-Task On-Policy Distillation via Soft-Prompt Privileged Context

This paper introduces Multi-Task On-Policy Distillation via Soft-Prompt Privileged Context, a method that employs frozen backbone models with task-specific learnable soft prompts as teachers to enable a single student model to efficiently absorb knowledge from multiple tasks in parallel without suffering from catastrophic forgetting or requiring full weight fine-tuning.

Original authors: Yingzi Ma, Zichen Zhu, Ming Jiang, Chaowei Xiao

Published 2026-07-22
📖 5 min read🧠 Deep dive

Original authors: Yingzi Ma, Zichen Zhu, Ming Jiang, Chaowei Xiao

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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 trying to teach a brilliant but slightly clumsy student how to solve complex puzzles. In the world of artificial intelligence, this student is a "Large Language Model" (LLM)—a computer program that has read almost everything on the internet and can write stories, answer questions, and solve math problems. But sometimes, even these super-smart models get stuck or make silly mistakes. To fix them, scientists use a technique called "distillation." Think of this as a master chef (the teacher) guiding a junior cook (the student) through a recipe. The student doesn't just copy the final dish; they watch every chop, stir, and taste, learning the process of cooking, not just the result.

For a long time, the best way to teach these AI students was to have the teacher write out the perfect answer and show it to the student. But this had a hidden trap: the teacher would sometimes just guess the answer first and then make up a story to justify it, rather than actually figuring it out step-by-step. The student would learn this bad habit, too. Another method involved changing the teacher's entire brain (its internal weights) to make it smarter, but this often caused the teacher to forget how to do other things, like writing poetry or chatting, while focusing on the new task. The big question scientists have been asking is: How do we create a teacher that is smart enough to show the right path, but stable enough not to forget its old skills or cheat by looking at the answer key?

This paper introduces a clever new solution called PROMPTSD (Prompt-based On-Policy Soft-Distillation). The authors, a team from universities in the US and Singapore, propose a way to build a teacher that is almost identical to the student, except for a tiny, invisible "magic note" attached to the front of its instructions.

Here is how it works, using a simple analogy: Imagine the student and the teacher are twins who share the exact same brain and personality. Usually, to teach the student a new skill, you might give the teacher a whole new set of glasses (changing its brain) or a cheat sheet with the answers written on it (giving it the answer key). Both of these methods have problems: the new glasses make the teacher forget how to see other things, and the cheat sheet makes the teacher lazy, justifying the answer instead of solving the problem.

PROMPTSD does something different. It gives the teacher a soft prompt. Think of this as a tiny, invisible sticky note that says, "Remember, for this specific math problem, think about fractions first." This note is made of numbers, not words, and it's the only thing that changes between the teacher and the student. The teacher's brain remains frozen and exactly the same as the student's. Because the teacher isn't looking at the answer key, it has to actually think through the problem to generate the right path. Because its brain hasn't been rewritten, it doesn't forget how to do other things.

The researchers tested this idea on a model called Qwen3-1.7B-Base and another called Phi-4-mini-instruct. They taught these models four different skills: Science, using tools (like a calculator or search engine), Biology, and Math. They found that their "magic note" teacher was incredibly effective. In single tasks, the student learned just as well as if the teacher had been fully retrained, but the student learned much faster because it only had to adjust a tiny fraction of its parameters (about 0.05% of the total brain, compared to 100% for full retraining).

Even more impressively, they tried teaching the student four different skills at the same time. Usually, when you try to learn too many things at once, you end up forgetting the old ones (a problem called "catastrophic forgetting"). But because the PROMPTSD teacher only used these tiny, task-specific notes, the student could absorb knowledge from all four teachers simultaneously without getting confused or forgetting its general smarts. In fact, on the Qwen3-1.7B-Base model, this multi-task approach achieved an average score of 56.2, beating all other methods.

The paper explicitly rules out a few common ideas. It shows that simply giving the teacher the answer (like a "Gold Answer" teacher) actually hurts the student because the teacher just rationalizes the answer instead of deriving it. It also suggests that making the teacher much bigger (like using a 4B or 8B parameter model) doesn't always help; sometimes a teacher that is the same size as the student but uses the right "thinking pattern" is better. Furthermore, they found that Reinforcement Learning (a method where the teacher learns by trial and error) is good at sharpening skills the student already has, but it's not great at teaching brand-new knowledge from scratch.

The authors are quite sure about these results because they ran the experiments multiple times and checked the numbers carefully. They measured exactly how much the student's thinking overlapped with the teacher's and found that their method created the perfect amount of overlap: enough to learn, but not so much that there was nothing new to discover. They also proved that their method avoids the "SFT trap," where retraining a model makes it forget its general abilities.

In the end, PROMPTSD suggests that the secret to teaching AI isn't necessarily making the teacher bigger or giving it the answers. Instead, it's about giving the teacher a tiny, flexible nudge—a soft prompt—that guides its thinking without changing who it is. This allows a single student to learn from many different teachers at once, becoming a master of many skills without losing its own identity. It's a bit like having a personal tutor who whispers the right strategy into your ear for every subject, without ever rewriting your brain or letting you peek at the test answers.

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 →