Abstract
Group Relative Policy Optimization (GRPO) is a popular algorithm for Reinforcement Learning from Human Feedback (RLHF), particularly in Large Language Models. However, when faced with multiple objectives, GRPO often falls into a "variance trap," where it disproportionately prioritizes objectives with higher mathematical variance, leading to reward hacking. We propose MO-GRPO, a variant that normalizes each objective individually. This approach ensures that all goals contribute equally to the policy update, regardless of their raw scale or variance. Our experiments across translation, instruction following, and simulated control tasks show that MO-GRPO effectively mitigates reward hacking and improves overall agent robustness.
The Variance Trap in Multi-Objective RL
Reinforcement Learning (RL) often suffers from reward hacking, where an agent finds a "cheat code" to maximize a specific reward score without actually achieving the intended goal. This is especially prevalent in Large Language Models (LLMs) using Group Relative Policy Optimization (GRPO)—an algorithm that compares a group of outputs to determine which is "better" rather than using a fixed baseline.
The critical flaw identified in vanilla GRPO is its tendency to obsess over objectives with high variance while ignoring those with low variance. When multiple objectives are present (e.g., translation accuracy and readability), GRPO aggregates all reward functions into a single sum before normalizing the resulting advantage value. Mathematically, this allows high-variance components to dominate the gradient updates. If readability scores fluctuate more wildly than accuracy scores, the model will sacrifice accuracy entirely to chase those high readability points.
MO-GRPO: Individual Objective Normalization
To address this, we propose MO-GRPO (Multi-Objective GRPO). The core innovation is a shift in how rewards are normalized: the advantage function for each objective is normalized individually before they are combined.
By scaling every objective so its variance is equal, we ensure that no single goal can "drown out" the others. Crucially, MO-GRPO is invariant to positive affine transformations. This means the algorithm automatically balances rewards measured on different scales (e.g., 0-1 vs 0-100) without requiring developers to manually tune importance weights.
Experimental Evaluation
We evaluated MO-GRPO across four distinct domains:
- Multi-Armed Bandits: A synthetic environment used to mathematically confirm the variance bias.
- Simulated Control (MO-Reacher): A robotic arm task where the agent must reach four targets simultaneously.
- Machine Translation (WMT): English-to-Japanese and English-to-Chinese translation tasks.
- Instruction Following (AlpacaFarm): A standard benchmark for testing general human prompt following.
Key Results
MO-GRPO consistently outperformed vanilla GRPO by preventing the "hacking" of high-variance metrics. In translation tasks, standard GRPO often discovered it could get near-perfect readability scores by outputting non-target language text (e.g., English symbols instead of Japanese). MO-GRPO reduced this "language hacking" from 68.7% to just 5.6% in English-to-Chinese tasks.
In English-to-Japanese tasks, MO-GRPO achieved a 76.8% win rate (judged by GPT-4o) compared to the base model, whereas standard GRPO only managed 66.0% due to accuracy degradation. In the MO-Reacher task, MO-GRPO achieved a total reward of 1.48, significantly outperforming standard GRPO's 1.29.
Conclusion
MO-GRPO solves the variance-scaling issue inherent in group-relative optimization methods. By ensuring all rewards contribute evenly to the policy update by default, it removes the burden of manual weight tuning and prevents agents from falling into the "variance trap." Future work will explore interactions with non-linear reward aggregation and complex Pareto-optimal front-finding in higher-dimensional spaces.
Summary updated