English

Advantage Shaping as Surrogate Reward Maximization: Unifying Pass@K Policy Gradients

Machine Learning 2026-03-24 v3 Artificial Intelligence

Abstract

This note reconciles two seemingly distinct approaches to policy gradient optimization for the Pass@K objective in reinforcement learning with verifiable rewards: (1) direct REINFORCE-style methods, and (2) advantage-shaping techniques that directly modify GRPO. We show that these are two sides of the same coin. By reverse-engineering existing advantage-shaping algorithms, we reveal that they implicitly optimize surrogate rewards. We specifically interpret practical "hard-example up-weighting" modifications to GRPO as reward-level regularization. Conversely, starting from surrogate reward objectives, we provide a simple recipe for deriving both existing and new advantage-shaping methods. This perspective provides a lens for RLVR policy gradient optimization beyond our original motivation of Pass@K.

Keywords

Cite

@article{arxiv.2510.23049,
  title  = {Advantage Shaping as Surrogate Reward Maximization: Unifying Pass@K Policy Gradients},
  author = {Christos Thrampoulidis and Sadegh Mahdavi and Wenlong Deng},
  journal= {arXiv preprint arXiv:2510.23049},
  year   = {2026}
}

Comments

v3: Camera-ready version (TMLR)