RL Excursions during Pre-Training: Re-examining Policy Optimization for LLM training
This paper challenges the standard practice of applying reinforcement learning (RL) only after supervised fine-tuning (SFT) by demonstrating that integrating RL earlier in pre-training, optimizing data composition, and merging RL with SFT objectives can effectively enhance reasoning capabilities and expand model distributions while preserving general abilities.
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 training a brilliant but raw student (the AI model) to solve math problems. For years, the standard recipe has been three steps:
- Pre-training: The student reads millions of books to learn general language and facts.
- SFT (Supervised Fine-Tuning): A teacher gives the student a textbook with problems and their exact correct answers, forcing the student to memorize the solution path.
- RL (Reinforcement Learning): The student is put in a game where they get points only for getting the final answer right, encouraging them to figure out new ways to solve problems on their own.
This paper asks: Do we really have to wait until the student has read all the books and memorized the textbook before we let them play the game?
Here is what the researchers found, explained simply:
1. You Can Start the Game Early
The standard rule says, "Wait until the student is fully trained before giving them the game." The researchers tried giving the game (RL) to the student while they were still reading their first few chapters (early in pre-training).
- The Result: It worked surprisingly well! Even when the student had only read a tiny fraction of the books, playing the game helped them solve math problems much better than just reading more books. In fact, playing the game early was often just as good as waiting until the end and doing the whole "Read → Memorize → Play" routine.
2. The "Game" is Better When You Don't Have a Textbook
Usually, the "Memorize" step (SFT) requires a textbook with the correct answers. But what if you don't have enough textbooks?
- The Finding: If you only have one or two examples of how to solve a problem, the "Memorize" step fails. But the "Game" (RL) thrives. The student learns to explore and find solutions on their own without needing a perfect answer key. The game is a much stronger teacher when you are short on examples.
3. The Secret Ingredient is the Type of Books, Not the Student's Size
People often think, "If the student is bigger (more powerful), they will learn better." The researchers tested this by making the student bigger.
- The Twist: Making the student bigger didn't help them learn the game faster. However, giving them more math books specifically during their early reading phase did.
- The Lesson: If you want the student to be good at math, feed them math stories early on. The content of what they read matters more than how big their brain is.
4. The "Sharpening" Myth vs. "Expansion"
There is a recent debate: Does the "Game" (RL) just make the student's existing answers sharper and more confident, or does it actually teach them new ways of thinking?
- The Old View: Many thought RL just "sharpened" the student, making them confident but not necessarily smarter.
- The New Discovery: The researchers found that the "sharpening" effect actually happens because of the "Memorize" step (SFT). When you force a student to memorize a textbook first, they stop exploring.
- The Real Magic: If you let the student play the game directly without memorizing the textbook first, they actually expand their thinking. They try many different paths and discover new solutions they never knew before. The "Memorize" step is what actually limits their creativity, not the game itself.
5. The "Super-Student" Recipe
The researchers combined the best of both worlds. Instead of doing "Memorize" then "Play," they had the student do both at the same time.
- How it works: Imagine the student is solving a problem. One part of their brain is checking the textbook (SFT), and another part is experimenting with new ideas (RL). They average the advice from both parts to update their brain.
- The Result: This "Super-Student" (Parallel Averaging) became the best at solving problems. They got the right answers more often than anyone else, and unlike the students who just memorized the textbook, they didn't forget how to do other things (like general conversation).
Summary of the Big Takeaways
- Don't wait: You can use Reinforcement Learning (the game) very early in a model's life, even before it has finished its "reading" phase.
- Data matters more than size: Feeding the model specific types of data (like math) during pre-training is more important than just making the model bigger.
- RL isn't the villain: RL doesn't ruin a model's general skills or just "sharpen" it. Those negative effects come from the "Memorize" (SFT) step. RL actually helps models explore and find new solutions.
- Do it together: The best results come from mixing the "Memorize" and "Play" steps simultaneously, rather than doing them one after the other.
In short, the paper suggests we should stop treating Reinforcement Learning as a final polish at the very end. Instead, we should weave it into the training process much earlier and mix it with other methods to get smarter, more capable models.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.