← Latest papers
📊 statistics

f-GRPO and Beyond: Divergence-Based Reinforcement Learning Algorithms for General LLM Alignment

This paper extends divergence-based preference alignment to general LLM alignment by introducing ff-GRPO and ff-HAL, which leverage ff-divergence estimation to improve reward-based reasoning and mitigate reward hacking in safety alignment.

Original authors: Rajdeep Haldar, Lantao Mei, Guang Lin, Yue Xing, Qifan Song

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

Original authors: Rajdeep Haldar, Lantao Mei, Guang Lin, Yue Xing, Qifan Song

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 very smart but slightly mischievous robot assistant (a Large Language Model) to be helpful, safe, and good at solving puzzles. The paper you're reading is like a new instruction manual for how to teach this robot, specifically focusing on two different ways we can give it feedback.

Here is the story of the paper, broken down into simple concepts and analogies.

The Two Ways to Teach the Robot

The authors explain that there are two main "classrooms" where we teach these robots, and they usually use different teaching methods for each.

1. The "Math Class" (Verifiable Rewards)

  • The Scenario: Imagine teaching the robot math. If it solves 2+22+2, you can instantly check the answer. It's either right (High Score) or wrong (Low Score).
  • The Old Method (GRPO): The current best way to teach this is like a coach who says, "Great job on that answer! Do more like that. Bad job on that one; do less like that." It looks at a batch of answers, averages the scores, and tells the robot to aim for anything above average.
  • The Problem: It's a bit blunt. It treats all "above average" answers the same, even if one is way better than the others.

2. The "Art Class" (Preferences)

  • The Scenario: Now imagine teaching the robot to be polite or safe. There is no single "correct" answer. Instead, you show the robot two responses and say, "I like this one better than that one."
  • The Old Method: The robot learns by comparing these pairs. It tries to make the "liked" responses more likely and the "disliked" ones less likely.

The Big Idea: One Unified Language

The authors noticed something interesting: In both Math Class and Art Class, the goal is actually the same. You are trying to push the robot's behavior away from "bad" responses and toward "good" responses.

In math terms, they call this Divergence. Think of "Divergence" as the distance between two groups of people:

  • Group A: The "Good" responses (Aligned).
  • Group B: The "Bad" responses (Unaligned).

The paper argues that we can use the same mathematical tool to measure the distance between these groups, whether we are in Math Class or Art Class. They call this tool f-Divergence.

The New Tools: f-GRPO and f-HAL

The authors built two new "teaching algorithms" based on this idea.

1. f-GRPO: The "Math Class" Upgrade

  • What it is: A new way to teach the robot in Math Class (where we have clear right/wrong answers).
  • The Analogy: Imagine the old coach (GRPO) was shouting, "Everyone above average, good job!" The new coach (f-GRPO) is more precise. It says, "We are trying to push the 'Good' group as far away from the 'Bad' group as possible."
  • How it works: Instead of just looking at the average score, it creates a mathematical "force" that pushes the robot to generate high-scoring answers and actively suppresses low-scoring ones. It treats the difference between good and bad answers like a physical distance that needs to be maximized.
  • The Result: In their experiments, this new coach helped the robot solve math problems better than the old coach, especially on very hard puzzles.

2. f-HAL: The "Hybrid" Teacher

  • The Problem: Sometimes, we don't have a perfect "Math Class" score. For example, when teaching safety, we might use a "Reward Model" (a second AI) to guess if an answer is safe. But this second AI can be wrong or "tricked" (this is called Reward Hacking). The robot might learn to say things that look safe to the second AI but are actually weird or unhelpful.
  • The Solution: f-HAL is a Hybrid teacher. It combines two signals:
    1. The On-Policy Signal: "Look at what the robot is doing right now and give it a score." (Good for exploring new ideas).
    2. The Off-Policy Signal: "Here is a list of human-approved examples of good and bad behavior." (Good for keeping the robot grounded).
  • The Analogy: Imagine a student taking a test.
    • Pure On-Policy: The student only listens to a teacher who is guessing the answers. If the teacher is bad at guessing, the student fails.
    • Pure Off-Policy: The student only memorizes old answer keys. They might be too rigid and fail to adapt to new questions.
    • f-HAL (Hybrid): The student listens to the guessing teacher but keeps a copy of the old answer keys on their desk. If the teacher starts saying something crazy, the student checks the keys and says, "Wait, that doesn't match the rules."
  • The Result: This hybrid approach stopped the robot from "cheating" (Reward Hacking) when the safety score was imperfect. It kept the robot safe and helpful, even when the "scoring" AI wasn't perfect.

Why This Matters (According to the Paper)

The paper claims that by viewing alignment (teaching the robot) as a problem of measuring distance between groups, they created a unified framework.

  • For Math/Logic: They proved that their new method (f-GRPO) guarantees the robot will get better at getting high scores, theoretically pushing it toward the best possible answers.
  • For Safety/Preferences: They proved that mixing human preferences with reward scores (f-HAL) prevents the robot from getting confused or tricked by imperfect scoring systems.

Summary in One Sentence

The authors invented a new way to teach AI robots by treating "good" and "bad" behavior as two groups that need to be pushed apart, creating a single, flexible system that works better for both math puzzles and safety rules than the methods used before.

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 →