← Latest papers
🤖 machine learning

F-GRPO: Don't Let Your Policy Learn the Obvious and Forget the Rare

The paper proposes F-GRPO, a difficulty-aware reinforcement learning method that mitigates the tendency of standard group-based algorithms to overfit common solutions and neglect rare correct trajectories by down-weighting high-success updates, thereby significantly improving mathematical reasoning performance across various baselines without increasing computational costs.

Original authors: Daniil Plyusov, Alexey Gorbatovski, Boris Shaposhnikov, Viacheslav Sinii, Alexey Malakhov, Daria Korotyshova, Daniil Gavrilov

Published 2026-05-26
📖 5 min read🧠 Deep dive

Original authors: Daniil Plyusov, Alexey Gorbatovski, Boris Shaposhnikov, Viacheslav Sinii, Alexey Malakhov, Daria Korotyshova, Daniil Gavrilov

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

The Big Picture: The "Group Study" Problem

Imagine you are teaching a student (an AI model) how to solve a difficult math problem. To help them learn, you don't just show them one answer; you ask them to generate eight different attempts (a "group") at the same time. You then look at these eight attempts, compare them, and tell the student: "Hey, most of your answers were wrong, but this one was right. Let's make you more likely to do that one next time."

This method is called Group-Relative Policy Optimization (GRPO). It's like a study group where the teacher only gives feedback based on what the group actually produced.

The Problem:
The paper argues that if your study group is too small, you might not see the right answer at all. But if your group is just the "right" size (not too small, not huge), a weird thing happens:

  1. The group does find the right answer.
  2. The teacher says, "Great job on that one!"
  3. The student gets so excited about that one specific right answer that they stop trying to find other ways to solve the problem. They become obsessed with that single solution and forget about all the other valid ways to get there.

In the AI world, this is called "Distribution Sharpening." The AI gets really good at finding one common answer but loses the ability to find rare, creative, or difficult answers. It's like a student who memorizes the answer key for the most common test questions but fails completely when the teacher asks a tricky, unusual question.

The Core Discovery: The "Goldilocks" Trap

The authors did some math to prove that this "forgetting" happens most often when the group size is medium.

  • Tiny Groups (Size 2): The group often fails to find any right answer. The teacher says, "Nothing worked this time," so the student doesn't change their habits much. They stay safe and diverse, but they don't learn much.
  • Huge Groups (Size 128+): The group finds every possible right answer, including the rare ones. The teacher says, "Look, you found the common one AND the rare one!" The student learns everything. But this is too expensive to do on a computer (it costs too much money and time).
  • Medium Groups (Size 8-16): This is the trap. The group finds the common right answer (so the teacher gives feedback), but it misses the rare right answer. The student thinks, "The common answer is the only one that matters," and they stop exploring the rare ones.

The Analogy:
Imagine you are looking for a specific rare coin in a jar of 1,000 coins.

  • If you grab 2 coins, you probably won't find the rare one. You don't learn anything.
  • If you grab 500 coins, you will definitely find the rare one. You learn everything.
  • If you grab 10 coins, you might find the common coins but miss the rare one. You then conclude, "The rare coin doesn't exist," and you stop looking for it.

The Solution: F-GRPO (The "Difficulty-Aware" Coach)

The authors propose a fix called F-GRPO. They realized that when a group finds many correct answers, the AI gets too confident and starts ignoring the rare ones.

So, they added a "difficulty weight" inspired by a technique called Focal Loss.

How it works:

  • The Old Way: If the group finds 5 correct answers out of 8, the teacher gives a huge "High Five" and tells the AI to focus heavily on those answers.
  • The New Way (F-GRPO): The teacher looks at the group and says, "Wow, you found 5 correct answers! That's easy for you right now. I'm going to turn down the volume on this feedback."
    • If the group finds few correct answers (it was a hard struggle), the teacher turns the volume up and says, "This was hard, pay close attention to what worked!"
    • If the group finds many correct answers (it was easy), the teacher turns the volume down so the AI doesn't get too obsessed with the obvious solutions.

The Result:
By turning down the volume on "easy" groups, the AI is forced to keep exploring. It doesn't stop looking for the rare, difficult solutions just because it found an easy one.

What the Experiments Showed

The team tested this on several AI models (like Qwen and Llama) using math problems and logic puzzles.

  1. The "Rare" Test: They checked how well the AI could find any correct answer if they gave it 256 tries (instead of just 1).
    • Without the fix: As the AI got better at the easy answers, its ability to find the rare answers dropped.
    • With F-GRPO: The AI kept its ability to find the rare answers high, even while getting better at the easy ones.
  2. The "Maze" Test: They used a maze where there is only one correct path. Even in this simple case, the old method made the AI forget the path if it got lucky early on. F-GRPO kept the AI on track.
  3. Efficiency: They achieved these results without increasing the group size. They didn't need to ask the AI to generate 100 answers; they just needed to change how they listened to the 8 answers it already generated.

Summary

The paper says: "Don't let your AI get too comfortable with the obvious answers."

When an AI learns from a group of attempts, it tends to forget the rare, difficult solutions if the group is a medium size. The authors fixed this by creating a "volume knob" (F-GRPO) that lowers the importance of easy, high-success groups. This forces the AI to keep exploring and ensures it doesn't lose its ability to solve the hard, rare 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 →