The Filter Metric is Safety-Critical: Phantom Advantages in Group-Relative RL under Shaped Rewards
Juntao Yu
Key points
From the paper's conclusion- We identify and quantify a metric-predicate mismatch under composite shaped rewards.
Abstract
Group-relative policy optimization (GRPO and descendants) can discard no-contrast rollout groups through dynamic sampling, while practical implementations expose a configurable filter metric. We identify and quantify a metric-predicate mismatch under composite shaped rewards. When filtering follows the shaped training score rather than the task outcome, all-fail groups retain nonzero within-group spread and pass the predicate; standard-deviation normalization then promotes shaping differences among failures to full-size phantom advantages. In a controlled GSM8K comparison (Qwen2.5-1.5B, LoRA), no filtering and shaped-score filtering end at EM 0.080 +/- 0.112 and 0.040 +/- 0.008, whereas binary-outcome filtering holds 0.754 +/- 0.005 across four runs per arm (three default-seed reruns and one seed-123 run; mean +/- sample SD). On verl's native recipe/dapo trainer, holding model, data, reward and trainer fixed and changing only the metric, the score arm requires no batch refill in any of 40 observed steps and ends at EM 0.160; the accuracy arm refills in 29/40 steps and ends at 0.763. Both use the same custom shaped-reward hook and unmodified trainer/filter code. Prior work established shaping-induced amplification and all-fail filtering; our contribution isolates the metric-predicate semantic mismatch and directly instruments native deletion/refill telemetry. Across tested positive coefficients lambda in {0.1, 0.3, 0.5}, unsafe arms collapse; exploratory one-run cells reproduce the failure at 1.5B/7B on MATH and under GSPO, while disabling standard-deviation normalization avoids the observed collapse. Filtering under a composite reward should use a task-outcome signal whose semantics are independent of shaping.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Group Adaptive Clipping Policy OptimizationarXiv · 2026
- Spurious Advantage Hidden in GRPOarXiv · 2026
- Learning Beyond What You Sample: Off-Policy-Aware Cross-Model Trajectory Exchange for RLVRarXiv · 2026
- Where Groups Split: A Probe Prior for Nonzero Within-Group Variance in RL Post-TrainingarXiv · 2026
- When KL Regularization Misfires in Group Policy OptimizationarXiv · 2026
- Prism-GRPO: Faster VLA Policy Optimization via Splitting Same-outcome GroupsarXiv · 2026