atlas

Research map / Large language models / Reasoning and chain of thought

Optimizing Language Models for Inference Time Objectives using Reinforcement Learning

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RL gradient estimators that directly optimize k-sample inference-time objectives (pass@k, majority voting) using a leave-one-out control variate and a biased variant, showing gains on MATH and CodeContests.

Problem

Standard RL fine-tuning optimizes mean single-sample reward, ignoring that models are often deployed with multi-sample inference procedures such as pass@k or majority voting.

Approach

Formulates general k-sample objectives f(y_1..y_k) and derives an unbiased REINFORCE-style gradient with a leave-one-out control variate; further introduces a biased variant that subtracts the mean advantage, trading bias for lower variance and yielding sparser, more KL-efficient updates.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with pass@k objective (k=8) instead of mean objectivePolicy Gradient, Llama 3.1 70B Instruct · CodeContests validpass@100: 38.1 -> 54.9Helped
Train with pass@k objective (k=8) instead of mean objectivePolicy Gradient, Llama 3.1 70B Instruct · CodeContests validpass@1: 24.6 -> 21.7Hurt
Train with biased pass@k objective (k=8) instead of mean objectivePPO, Llama 3.1 70B Instruct · CodeContests testpass@100: 41.1 -> 56.3Helped
Train with pass@k objective (k=8) instead of mean objectivePPO, Llama 3.1 70B Instruct · CodeContests testpass@1: 24.9 -> 21.2Hurt
Train with pass@k objective (k=8) instead of mean objectivePolicy Gradient, Llama 3.1 70B Instruct · CodeContests validpass@10: 32.9 -> 42.2Helped
Increase the number of gradient samples from k=2 to k=8 (ablation)Pass@k gradient estimates on MATH · MATH training setpass@kHelped
Increase the number of gradient samples k (ablation)Policy Gradient pass@k estimates on MATH · MATH training setpass@kNo clear effect
Use k-sample pass@k gradient estimates instead of mean policy gradient (ablation)Llama 3 3B and 8B · MATH training setpass@kHelped
Use k-sample gradient estimates instead of mean policy gradient (ablation)Llama 3 3B and 8B · MATH training setmean performanceHurt
Use k-sample gradient estimates instead of baseline (ablation)Pass@k training on HARP, Llama 3 70B · HARPpass@4Helped
Use majority-voting k-sample policy gradient instead of baseline (ablation)Llama 3 8B · MATH training setmajority voting at k=4Helped
Use unbiased k-sample policy gradient instead of policy gradient baseline (ablation)Llama 3 8B · MATH test setmajority votingHurt

Surprising findings

Limitations

Experimental setup

Datasets: MATH HARP CodeContests TACO

Benchmarks: MATH CodeContests TACO

Metrics: pass@1 pass@k majority voting accuracy pass@10 pass@100

Baselines: mean policy gradient PPO mean GRPO Dr. GRPO

Builds on: REINFORCE PPO GRPO leave-one-out control variate

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy