Normalized Rewards for Preference Optimization
This paper proposes a normalization-based regularization technique for Direct Alignment Algorithms (DAAs) like DPO and SimPO to mitigate over-optimization and likelihood collapse, demonstrating that it significantly improves generation quality and general benchmark performance by stabilizing token-level probability distributions.
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 talented, but slightly chaotic, robot to write stories. You don't want it to just memorize your favorite books; you want it to understand why you like them so it can write new stories that feel just as good. This is the world of "alignment" in artificial intelligence. Scientists use a process called "preference optimization" to teach these robots. They show the robot two different answers to a question—one good, one bad—and ask it to learn to pick the good one. The most popular way to do this is like a game of "hot and cold," where the robot gets a score based on how close its answer is to what humans prefer.
However, there's a tricky problem. Sometimes, in its eagerness to please, the robot gets too excited. It starts changing its internal "vocabulary" in weird ways, making the words it should be using feel less natural, even while it gets better at the game. It's like a student who, trying to get an A, starts speaking in a strange, overly complex dialect that confuses everyone, even though they technically got the right answer. This paper investigates why this happens and offers a new rule to keep the robot grounded, ensuring it learns to be helpful without losing its original personality or making up strange, harmful answers.
The Robot's Over-Confidence Problem
The paper focuses on a specific type of robot training called Direct Alignment Algorithms (DAAs), with the most famous one being DPO. Think of DPO as a coach who tells the robot, "You did better on this answer than that one," without needing a separate referee to grade the work. It's efficient and popular. But, the authors noticed something strange: the robot was getting "over-optimized."
Imagine you are playing a video game where you have to collect coins. The game tells you, "Collect more coins!" So, you start running around frantically, ignoring the walls, the enemies, and the actual path. Eventually, you might fall off the map because you were so focused on the coins that you forgot how the world works. In the robot's case, it was so focused on maximizing its "reward" (the score for picking the right answer) that it started distorting its understanding of probability. It would lower the chance of saying the "good" words and the "bad" words at the same time, which sounds weird, but it actually made the robot more likely to say things it had never seen before—sometimes dangerous or nonsensical things. This is called "likelihood displacement."
The Solution: A "Total Probability" Rule
The authors propose a simple but powerful fix: a new rule called Normalized Rewards.
To understand this, imagine a pizza. The whole pizza represents 100% of the robot's possible answers. When the robot is trained normally, it might decide that the "good" slice and the "bad" slice are both getting smaller, which means the "unknown" slices (the parts of the pizza the robot hasn't seen yet) are getting bigger. This is bad because the robot might start serving up those unknown, weird slices.
The authors suggest adding a "regularization term" to the training. Think of this as a strict pizza chef who says, "Hey, the total size of the slices you are talking about (the good answer and the bad answer) must stay the same." If the robot tries to shrink the "good" slice too much, the chef forces it to shrink the "bad" slice even more to keep the total balance. This stops the robot from accidentally inflating the size of the weird, unknown slices.
What They Found
The researchers tested this new rule on two different types of robots: one that uses a reference guide (DPO) and one that doesn't (SimPO). Here is what they discovered:
- Better Balance: By keeping the total probability balanced, the robots got better at being helpful without losing their general smarts. On a test called AlpacaEval2, which measures how well a robot follows instructions, the Llama-3.1-8B-Instruct model saw a greater than 20% relative increase in scores when using the new rule compared to the old way.
- Saving General Skills: Usually, when robots get really good at following instructions, they get worse at general knowledge (like math or science). But with this new rule, the robots actually got better at those general benchmarks too, with performance gains of over 9%.
- The "Outlier" Culprit: The authors dug deep to see why the old method was failing. They found that the problem wasn't happening everywhere in the robot's brain. It was concentrated on a tiny group of "outlier" words—rare, strange tokens that the robot barely knew. These few words were doing all the heavy lifting to mess up the probabilities. The new rule specifically targets these low-likelihood words, gently nudging them back to normal so they don't throw off the whole system.
The Verdict
The paper suggests that the reason robots were getting "crazy" was that they weren't being forced to keep their probability math in check. By adding a simple rule to keep the total likelihood of the answers they see stable, the robots learn to be better at following human preferences without breaking their own internal logic.
The authors found that this approach works for both the robots that use a reference guide and the ones that don't. They showed that this method doesn't just stop the bad behavior; it actually helps the robot perform better on real-world tasks. While they don't claim this solves every problem in AI, their experiments suggest that keeping the "pizza slices" balanced is a crucial step toward making AI that is both smart and safe.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.