← Latest papers
🤖 AI

Mid-Training with Self-Generated Data Improves Reinforcement Learning in Language Models

This paper proposes and validates a mid-training framework that uses self-generated, diverse problem-solving variants guided by Polya's methods to enhance the effectiveness of subsequent Reinforcement Learning, resulting in improved performance across mathematical reasoning, code generation, and narrative tasks.

Original authors: Aswin RRV, Jacob Dineen, Divij Handa, Mihir Parmar, Ben Zhou, Swaroop Mishra, Chitta Baral

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

Original authors: Aswin RRV, Jacob Dineen, Divij Handa, Mihir Parmar, Ben Zhou, Swaroop Mishra, Chitta Baral

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 slightly rigid student to solve complex math puzzles. You want them to become a master problem-solver, not just someone who memorizes one way to get the right answer.

This paper describes a new training method for Large Language Models (LLMs)—the "brains" behind AI chatbots. The researchers found that before teaching the AI to learn from rewards (a process called Reinforcement Learning), they should first teach it many different ways to solve the same problem.

Here is the breakdown of their approach, using simple analogies:

1. The Problem: The "One-Track Mind"

Usually, when we train an AI, we show it a question and the single "correct" answer. It's like showing a student a math problem and only showing them one specific way to solve it.

  • The Issue: When the AI later tries to learn from rewards (where it gets points for being right), it often just gets better at that one specific way it already knows. It doesn't learn to think flexibly. It's like a chef who only knows how to cook pasta one way; if the ingredients change, they might get stuck.

2. The Solution: The "Pólya Bootcamp"

The researchers introduced a middle step called Mid-Training. Before the final reward training, they gave the AI a special bootcamp.

  • The Coach: They used the famous problem-solving rules of George Pólya (a mathematician who wrote How to Solve It). Think of Pólya as a wise old coach who teaches different strategies: "Try working backward," "Draw a picture," "Break it into smaller pieces," or "Find a similar, easier problem."
  • The Drill: For every math question, the AI was asked to generate multiple different correct solutions, each using a different Pólya strategy.
    • Analogy: Instead of just showing the student the answer, the coach says, "Okay, solve this problem using a map. Now, solve it using a compass. Now, solve it by walking backward."
  • Self-Generated: The AI did this all by itself. It didn't need a human teacher or a super-smart AI to show it the answers. It generated its own diverse practice problems.

3. The Magic Step: Reinforcement Learning (RL)

After this bootcamp, they let the AI undergo standard Reinforcement Learning (where it tries things, gets points for being right, and learns to repeat what works).

  • The Result: Because the AI had already practiced many different "moves" during the bootcamp, the RL training could now mix and match these moves.
  • The Analogy: Imagine a jazz musician. If they only practiced one scale, they can only play one song. But if they practiced scales, chords, and rhythms separately (the Mid-Training), when they start improvising (the RL), they can suddenly combine a scale with a rhythm to create something new and brilliant. The AI learned to combine different problem-solving strategies into a single, powerful answer.

4. What They Found

The researchers tested this on difficult math competitions (like the AIME and Olympiads).

  • Better Scores: The AI that went through the "diverse bootcamp" scored significantly higher than AI that just learned one way or learned from a standard teacher.
  • The "Pass@K" Effect: In AI terms, "Pass@K" means: "If we ask the AI to try 64 different times, how often does it get it right?" The bootcamped AI was much better at getting it right when given many chances. It was more flexible and less likely to get stuck.
  • Beyond Math: Even though the training was based on math rules, the AI got better at other things too, like writing code and solving logic puzzles in stories. It seems the habit of thinking flexibly transferred to other tasks.

5. The Key Takeaway

The paper argues that diversity is the secret sauce.

  • If you teach an AI to solve a problem in 64 different ways, it learns a "library" of strategies.
  • When it later tries to learn from rewards, it doesn't just pick one strategy; it learns to compose them, picking the best parts of different strategies to solve a problem.
  • It's better to teach a student 10 ways to solve 100 problems than 1 way to solve 1,000 problems.

In short: By forcing the AI to practice many different "paths" to the solution before the final exam, the AI becomes a smarter, more adaptable thinker that can combine old tricks to solve new, hard problems.

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 →