Reproduce “Off-Context GRPO: Learning to Reason on Hard Problems using Privileged Information” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Priyank Agrawal, Ankur Samanta, Shervin Ghasemlou, Boris Vidolov, Jalaj Bhandari, Kavosh Asadi, Daniel Jiang, Aditya Modi

Off-Context GRPO (OC-GRPO) extends Group Relative Policy Optimization (GRPO) to enable large language models to acquire reasoning capabilities for intrinsically hard problems. The method addresses the 'off-context problem' by re-weighting advantage terms using importance ratios when privileged guidance is employed, ensuring unbiased learning signals and leading to superior performance, particularly at smaller model scales.

Key insights

  • The importance ratio in OC-GRPO functions as a behavior-aware credit assignment mechanism, discounting successes heavily reliant on guidance and amplifying penalties for failures despite guidance, thus fostering genuine problem-solving skills.
  • Theoretical analysis indicates that the variance of the OC-GRPO importance ratio factor is bounded and scales with the guidance length, ensuring a controlled and stable correction mechanism.
  • The 'back-generalization' hypothesis, that improvements under guided prompts transfer to unguided ones, is not supported at smaller model scales, making explicit objective alignment via importance correction crucial for robust training.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.