← Latest papers
🤖 machine learning

SMOPD: Multi-Reward Reinforcement Learning via Specialize-and-Merge Online Policy Distillation

The paper proposes SMOPD, a two-stage "specialize-and-merge" online policy distillation framework that trains reward-specialized teacher models and consolidates them into a single student policy to effectively balance multi-reward signals of varying granularities, outperforming existing methods like GDPO across various model backbones.

Original authors: Wen Wang, Jiahua Bao, Tu Yongsiqi, Yihao Liu, Haotian Zhou, Haoxuan Ma, Mengyu Zhou, Wenkui Fan, Junwei He, Xiaoxi Jiang, Guanjun Jiang

Published 2026-08-05
📖 6 min read🧠 Deep dive

Original authors: Wen Wang, Jiahua Bao, Tu Yongsiqi, Yihao Liu, Haotian Zhou, Haoxuan Ma, Mengyu Zhou, Wenkui Fan, Junwei He, Xiaoxi Jiang, Guanjun Jiang

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 trying to teach a robot to be the perfect assistant. You want it to be helpful, harmless, and also able to follow strict formatting rules, like using specific tags or calling the right tools. This is the world of Reinforcement Learning from Human Feedback (RLHF). Think of it like training a dog: you give it a treat (a "reward") when it does something good, and it learns to repeat that behavior. But here's the tricky part: what if you want the dog to sit and stay and fetch, all at once? If you just give it one big treat for doing everything, the dog might get confused. It might realize that "fetching" is the easiest way to get a treat, so it ignores "sitting" and "staying" entirely. In the world of AI, this is called reward masking, where one strong signal drowns out the others.

Recently, scientists tried to fix this by giving the AI separate scores for each task before combining them, a method called GDPO. It was like giving the dog a scorecard for sitting, another for staying, and a third for fetching, then adding them up. But there was a catch: some tasks are easy to measure (like "did you fetch the ball?"), while others are rare and hard to spot (like "did you stay perfectly still for 10 seconds?"). If the AI gets a million "fetch" scores but only one "stay" score, the "stay" signal gets lost in the noise. The AI learns to fetch perfectly but forgets to stay still. This paper, SMOPD, asks a simple question: How do we make sure the AI learns the rare, hard-to-spot skills without forgetting the easy ones?

The Problem: The "Noisy Classroom"

Imagine a classroom where a teacher is trying to teach students two things at once: how to solve complex math problems (a "dense" reward because there are many steps to get right) and how to raise their hands before speaking (a "sparse" reward because it only happens once per class).

If the teacher just shouts out a total score at the end of the day, the students will focus entirely on the math. They'll ignore the hand-raising because, statistically, the math points are everywhere, while the hand-raising points are rare. Even if the teacher tries to weigh the hand-raising equally, the students still don't hear it clearly enough over the noise of the math scores. The AI models were facing this exact problem: they were great at the "dense" tasks but terrible at the "sparse" ones, like formatting their answers correctly or being harmless when it mattered most.

The Solution: Specialize, Then Merge

The authors of this paper propose a clever two-step strategy called SMOPD (Specialize-and-Merge Online Policy Distillation). Instead of trying to teach one student to be perfect at everything at the same time, they create a team of specialists and then combine their skills.

Step 1: The Specialization (The "Specialist Teachers")
First, the researchers train several different "teacher" models. But here's the twist: each teacher is told to focus only on one specific skill.

  • Teacher A is told: "Ignore the math! Your only job is to make sure the students raise their hands." To do this, the teacher gets a massive bonus for every hand raised, making that signal impossible to ignore.
  • Teacher B is told: "Ignore the hand-raising! Your only job is to solve the math problems."

Because each teacher is hyper-focused, they become experts at their specific job. Teacher A learns the rare "hand-raising" skill perfectly because it's the only thing that matters to them. Teacher B becomes a math wizard. They don't try to balance the two; they just go all-in on one.

Step 2: The Merge (The "Student" Model)
Now, the researchers bring in a new "student" model. This student doesn't just listen to one teacher; it listens to all of them at the same time.

  • When the student is writing an answer, it looks at what Teacher A (the hand-raiser) would do and what Teacher B (the math whiz) would do.
  • The student learns to copy the best parts of both. If Teacher A is confident about the formatting, the student copies that. If Teacher B is confident about the math, the student copies that too.

Crucially, the student also has a "safety net" (called an anchor) that checks the final answer to make sure it's still a good overall answer, not just a copy-paste job. This ensures the student learns to balance the skills naturally, rather than just being a confused mix of two different people.

What They Found

The team tested this idea on AI models of different sizes (1.5 billion, 3 billion, and 7 billion parameters) using two very different challenges:

  1. Tool Calling: Making sure the AI uses the right tools (like a calculator or a search engine) and formats the output exactly right (like using specific XML tags).
  2. Safety: Making sure the AI is helpful but also harmless.

The results were impressive. In the "Tool Calling" test, the old methods (GDPO) managed to get the formatting right only about 8.8% of the time because the formatting signal was too sparse. But with SMOPD, the models got the formatting right 97.5% of the time! Even more surprisingly, they didn't lose their math skills in the process. The 1.5 billion model saw a 48% improvement in its overall score compared to the previous best method.

In the "Safety" tests, where the goals of being helpful and being harmless sometimes clash, SMOPD consistently outperformed the other methods across all model sizes. It managed to learn the rare "harmless" behaviors without sacrificing its ability to be helpful.

Why This Matters

The paper suggests that the old way of trying to balance all rewards in a single training session is hitting a wall. You can't just tweak the weights to make everything perfect; sometimes, a skill is just too rare to be learned in a crowd. By letting the AI "specialize" first—letting it get really good at one thing in isolation—and then "merging" those skills, the AI can learn the hard, rare stuff without forgetting the easy stuff.

It's like realizing that to build a perfect orchestra, you shouldn't just tell everyone to play everything at once. Instead, you let the violinists practice their part alone until they are perfect, let the drummers do the same, and then bring them together to play the symphony. The result is a performance where every instrument is heard clearly, and the music sounds better than anyone expected.

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 →