Rollout-Level Advantage-Prioritized Experience Replay for GRPO
This paper proposes Rollout-Level Advantage-Prioritized Experience Replay, a method that mitigates GRPO's sample inefficiency by storing and prioritizing individual rollouts based on advantage magnitude while bounding staleness through age eviction and fresh-anchored composition, resulting in significant performance and efficiency gains across various model scales on math benchmarks.
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 very smart student (an AI) how to solve difficult math problems. You give the student a problem, and they try to solve it. Sometimes they get it right, sometimes they get it wrong.
In the standard method described in this paper (called GRPO), the teacher looks at a group of 8 attempts the student made. If the student got 7 wrong and 1 right, the teacher says, "Okay, that one right answer was great! Let's learn from it." Then, the teacher throws away all 8 attempts and asks the student to try 8 new problems immediately. The old attempts are never looked at again.
The authors of this paper say this is a waste. That single "right" answer in a sea of "wrong" ones is a goldmine of information, but it gets tossed away after just one look.
The Problem: The "Stale" Food Issue
The authors tried a simple idea: Experience Replay. This is like keeping a fridge full of past attempts so the student can study them again later.
But there's a catch. The student learns very fast. By the time you pull an old attempt out of the fridge (the buffer) to study it again, the student has changed so much that the old attempt doesn't make sense anymore. It's like trying to teach a teenager using a textbook written for a toddler; the student has "drifted" away from the context of that old lesson. If you force them to study it, it confuses them and messes up their learning.
The Solution: A Smart, Fresh-First Kitchen
The authors propose a new system with three main rules to fix this:
1. The "Fresh Anchor" (Don't Forget the Now)
Instead of mixing old and new attempts randomly in a big pile, they keep the newest attempts separate and always use them as the main lesson. Think of it like a chef who always starts a meal with fresh ingredients. They then add a few "reheated" leftovers (old attempts) to the mix to add extra flavor, but the fresh ingredients are the foundation. This ensures the student is always learning from what they just did, while still getting a bonus from the past.
2. The "Expiration Date" (Age Eviction)
To stop the "stale food" problem, they put a strict expiration date on every attempt in the fridge. If an attempt is older than a certain number of steps (say, 10 days), it gets thrown out immediately. This guarantees that no matter how big the fridge is, the student never studies something that is too old to be relevant.
3. The "Star Student" Priority (Advantage Prioritization)
Not all old attempts are equally useful. The authors realized that the most valuable lessons come from the "rare" attempts.
- The Metaphor: Imagine a group of 8 students taking a test. 7 get a D, and 1 gets an A. The one "A" is the star.
- The Old Way: Some systems treated the whole group of 8 as one unit. If the group was mixed, they might not pick it up again.
- The New Way: This system looks at the individual attempts. It sees that single "A" in the group of "Ds" and says, "This specific attempt is a goldmine!" It prioritizes saving and re-studying that specific "A" because it teaches the most. It ignores the boring "Ds" that everyone already knows how to handle.
The Results: Bigger Models Learn Better
The team tested this on three different sizes of AI models (small, medium, and large) using math puzzles.
- The Small Model: Saw a tiny improvement.
- The Medium Model: Saw a nice improvement.
- The Large Model: Saw a huge improvement.
The biggest model got significantly better at solving math problems (about 4.35% more accurate on average) and did so more efficiently. It learned to be more accurate without wasting time or generating unnecessary text.
Why It Matters
The paper shows that by being smarter about which old lessons to keep, how long to keep them, and how to mix them with new lessons, you can teach AI to reason much better. It's not just about working harder; it's about working smarter by recycling the best moments of the past without letting them confuse the present.
In short: They built a smart "time capsule" for AI training that keeps the best, most recent, and most unique lessons, ensuring the AI learns from its best moments without getting confused by its old mistakes.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.