RASFT: Rollout-Adaptive Supervised Fine-Tuning for Reasoning
The paper proposes RASFT, a policy-aware supervised fine-tuning framework that dynamically adjusts the balance between expert imitation and self-generated reasoning based on problem solvability and policy confidence, achieving superior performance on mathematical and code reasoning benchmarks compared to existing SFT and RL methods.
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 brilliant but slightly stubborn student how to solve complex puzzles, like advanced math problems or writing computer code.
The Old Way: "Just Copy the Master"
Traditionally, when we train these AI models (called Large Language Models), we use a method called Supervised Fine-Tuning (SFT). Think of this as handing the student a single, perfect solution written by a master teacher and saying, "Memorize this exact path. Do exactly what I did, word for word."
The problem is that reasoning isn't just about copying. A puzzle can often be solved in many different valid ways. If the student rigidly copies the master's one specific path, they might:
- Forget their own intuition: They stop using their own brainpower because they are too busy mimicking the teacher.
- Overfit to the surface: They learn the style of the answer rather than the logic behind it.
- Fail when stuck: If the teacher's path is too hard for the student's current skill level, the student just gets confused and gives up.
The New Way: RASFT (The "Smart Coach")
The paper introduces a new method called RASFT (Rollout-Adaptive Supervised Fine-Tuning). Instead of a rigid teacher, imagine a Smart Coach who watches the student practice before deciding how much to intervene.
Here is how the Coach works, step-by-step:
1. The "Try-It-Out" Phase (Rollouts)
Before the lesson starts, the Coach asks the student to try solving the problem on their own a few times (these are called "rollouts").
- If the student gets it right: The Coach says, "Great job! You clearly understand this. I don't need to force you to copy my solution. Let's look at your own correct answer."
- If the student fails: The Coach says, "Okay, you're struggling with this one. I need to step in and show you the master's solution to guide you."
This is the Adaptive part. The amount of "teacher guidance" changes based on how well the student is doing right now.
2. The "Safety Net" (Inverse Ratio)
There's a risk that if the Coach is too helpful, the student might completely forget their own unique way of thinking and just become a robot that only knows the teacher's way.
To prevent this, RASFT uses a Safety Net. It constantly checks: "Is the student drifting too far away from their original, natural way of thinking?"
- If the student is changing their style too drastically to match the teacher, the Safety Net gently pulls them back.
- This ensures the student keeps their own "reasoning personality" while learning new tricks, rather than just overwriting their brain with the teacher's data.
Why It Works Better
The paper tested this "Smart Coach" against the old "Rigid Teacher" and other methods on math and coding tests.
- The Result: The students trained with RASFT became much better at solving problems. They didn't just copy; they learned to combine the teacher's wisdom with their own growing skills.
- The Analogy: Imagine a musician learning a song.
- Old SFT: The student is forced to play the sheet music exactly as written, even if they are a jazz player. They lose their improvisation skills.
- RASFT: The teacher listens to the student jam. If the student is playing well, the teacher lets them keep their jazz style. If the student hits a wrong note, the teacher shows them the sheet music to correct the specific mistake. The student ends up being a better, more versatile musician.
The Catch (Limitations)
The paper admits this method isn't free.
- It takes more time: The "Coach" has to watch the student practice (generate rollouts) and check if they are right before teaching. This is slower than just handing out the answer key.
- It needs a clear answer key: This works great for math (where the answer is a specific number) and coding (where the code either runs or it doesn't). It's harder to use for open-ended questions like "Write a poem," because there's no easy way to verify if the poem is "correct" automatically.
Summary
RASFT is a smarter way to train AI. Instead of blindly forcing the AI to copy a single expert, it checks the AI's current ability. If the AI is struggling, it leans heavily on the expert. If the AI is doing well, it lets the AI trust its own reasoning. This creates a model that is both knowledgeable and flexible.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.