inferwire
/
AI·5 min read

GPRL Scores Answers on Several Axes to Curb Reward Hacking

A Stanford-led paper trains language models online against a reward that judges several quality dimensions separately, and reports higher win rates with shorter answers.

TL;DR

  • GPRL replaces the single reward score in online reinforcement learning with a preference model that rates answers on several separate dimensions [^1].
  • Starting from Llama-3-8B-Instruct, it reached a 56.51 percent length-controlled win rate on AlpacaEval 2.0, 14.59 points above GRPO with a scalar reward [^1].

Background

After pretraining, language models are tuned in two main ways. Reinforcement learning with verifiable rewards lets a model try answers and learn from a checker, such as a unit test, which works for math and code [^1]. Open-ended writing has no such checker, so methods like DPO learn from preference data directly and need no sampling from the model during fine-tuning [^2]. GRPO, the standard online algorithm, samples a group of answers and scores each one against the rest of the group [^1].

What happened

Researchers mostly from Stanford University, with co-authors from the University of Oklahoma and an independent researcher, propose General Preference Reinforcement Learning, or GPRL [^1]. The obvious bridge between the two tracks is to run GRPO with a learned reward model in place of the checker. The authors say this breaks down in longer training because of reward hacking: one score is an incomplete stand-in for helpfulness, factual accuracy, safety and style, and optimizing it amplifies whichever dimension the reward model is most sensitive to [^1].

GPRL uses a General Preference Model instead, which compares answers along several separate dimensions and can represent circular preferences, where A beats B, B beats C and C beats A [^1]. With three dimensions trained on the Skywork-Reward dataset, these roughly separate helpfulness from verbosity, factual accuracy from fluency, and safety from directness [^1]. GPRL measures how each sampled answer does against the rest of its group on every dimension, normalizes each dimension on its own scale and only then combines them, so no axis can dominate by growing in size. A drift monitor watches whether the differences between answers concentrate on one axis. When drift crosses a threshold, a controller down-weights that axis and holds the model more tightly to its reference version [^1].

Every method in the comparison starts from Llama-3-8B-Instruct, and GPRL trains on prompts from UltraFeedback [^1]. On AlpacaEval 2.0, GPRL reaches a length-controlled win rate of 56.51 percent, 14.59 points above GRPO with a conventional scalar reward model and 13.96 points above the strongest iterative baseline, SPPO. DPO scores 40.30 and SimPO 44.70 [^1]. GPRL also leads on Arena-Hard v2, MT-Bench and WildBench. Its answers average 1600 tokens, the shortest of any reward-model method in the table, while iterative methods driven by the same kind of preference model grew to 2400 to 3300 tokens [^1].

Why it matters

The ablations point to the reward's structure, not the optimizer. With a single dimension, GPRL reduces to GRPO with a scalar reward and scores 44.21; three dimensions lift that to 56.51 [^1]. Pooling the normalization across dimensions costs roughly 4 points and lets answers grow to 2104 tokens again. The drift controller barely matters in the first epoch, but by the third it is worth 3.67 points on the 8B preference model, and by the fifth the gap is 8.65 points, as runs without it decline the way GRPO with a scalar reward does [^1]. The authors read that rise-then-unwind curve as a scalar proxy collapsing onto one axis, the failure GPRL is built to resist.

The authors also spell out the limits. The scores come from an automated gpt-4-turbo judge, not human raters, with that judge's known bias toward length and style [^1]. The main runs use one base model, one reward-model dataset and one prompt set, and the controller has no convergence guarantee [^1]. The largest category gains came in coding and math, outside both training datasets, but the authors read them as a transfer effect, not a substitute for training against real verifiers. And GPRL can only be as good as its preference model: the per-dimension normalization will faithfully amplify whatever biases that model already encodes [^1].

Practical example

Say Priya's team fine-tunes an 8B open model as a support assistant and runs GRPO against a reward model trained on preference pairs. Scores climb for a while, then the answers grow padded and the gains unwind. That matches what the paper reports for GRPO with a scalar reward, which peaked before the third epoch and then regressed, a sign of the proxy collapsing onto the axis it tracks most sensitively [^1].

Priya swaps in a General Preference Model with three dimensions. Now each group of eight sampled answers is scored on every axis separately [^1]. Suppose one answer wins on verbosity but loses on the other two. After per-dimension normalization, its combined score can fall below a balanced answer's, so training pushes away from it. A scalar reward that liked the long answer would have pushed toward it [^1]. If the variation between answers still starts piling up on one axis, the controller lowers that axis's weight and holds the model more tightly to its reference version [^1].

The switch is cheap: the objective has the same shape as GRPO's, so it fits existing rollout setups such as vLLM, and the extra cost is one pass of the frozen preference model per group [^1]. Priya still reviews samples by hand. If the preference model has no dimension for whether a refund rule is stated correctly, GPRL cannot recover that signal [^1].

Related gear

We recommend this book because it explains how learning systems end up optimizing the wrong target and how researchers try to teach them human preferences instead, the problem GPRL tackles.

AdvertisementAmazon

The Alignment Problem: Machine Learning and Human Values

Sources

  1. [1]arXiv — General Preference Reinforcement Learning
  2. [2]arXiv — Direct Preference Optimization: Your Language Model is Secretly a Reward Model