The Best of N Worlds: Aligning Reinforcement Learning with Best-of-N Sampling via max@k Optimisation
Not on the map. Why?
Abstract (arXiv)
The application of Reinforcement Learning with Verifiable Rewards (RLVR) to mathematical and coding domains has demonstrated significant improvements in the reasoning and problem-solving abilities of Large Language Models. Despite its success in single generation problem solving, the reinforcement learning fine-tuning process may harm the model's exploration ability, as reflected in decreased diversity of generations and a resulting degradation of performance during Best-of-N sampling for large N values. In this work, we focus on optimizing the max@k metric, a continuous generalization of pass@k. We derive an unbiased on-policy gradient estimate for direct optimization of this metric. Furthermore, we extend our derivations to the off-policy updates, a common element in modern RLVR algorithms, that allows better sample efficiency. Empirically, we show that our objective effectively optimizes max@k metric in off-policy scenarios, aligning the model with the Best-of-N inference strategy.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 38 of its 48 references that are in the map. First posted on arXiv 27 Oct 2025.
Builds on
38 of 48 references.
References · 38
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
26 more
- 2020Learning to summarize from human feedbackcited by 2,588
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2025Gemma 3 Technical Reportcited by 1,824
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 912
- 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 485
- 2025The Surprising Effectiveness of Negative Reinforcement in LLM Reasoningcited by 162
- 2025Pass@k Training for Adaptively Balancing Exploration and Exploitation of Large Reasoning Modelscited by 138
- 2023Controlled Decoding from Language Modelscited by 135
- 2024BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Samplingcited by 121
- 2024Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Modelscited by 89
- 2025Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problemscited by 87
- 2024BOND: Aligning LLMs with Best-of-N Distillationcited by 76
- 2025What Makes a Reward Model a Good Teacher? An Optimization Perspectivecited by 73
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learningcited by 56
- 2025Beyond Pass@1: Self-Play with Variational Problem Synthesis Sustains RLVRcited by 54
- 2025Optimizing Language Models for Inference Time Objectives using Reinforcement Learningcited by 53
- 2024Variational Best-of-N Alignmentcited by 51
- 2024Asymptotics of Language Model Alignmentcited by 47
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 36
Built on by
Citing papers per year: 2026: 16.
16 papers.
Sort:
By area:
- 2026Vector Policy Optimization: Training for Diversity Improves Test-Time Searchcited by 8
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineeringcited by 8
- 2026Emergence of Exploration in Policy Gradient Reinforcement Learning via Retryingcited by 5
- 2026Regret Analysis of Retry-Based Banditscited by 4
- 2026HTAM: Hierarchical Transition-Attended Memory for Operator Optimizationcited by 2
- 2026On Advantage Estimates for Max@K Policy Gradientscited by 2
- 2026OrderGrad: Optimizing Beyond the Mean with Order-Statistic Policy Gradient Estimationcited by 2
- 2026Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generationcited by 2
- 2026Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPOcited by 1
- 2026Boosting LLM Reasoning via Human-Inspired Reward Shapingcited by 1
- 2026What should post-training optimize? A test-time scaling law perspectivecited by 0
- 2026Rank-Conditioned Sample Reuse for the Plackett--Luce Best-of-K Objectivecited by 0
4 more
- 2026Theoretical Foundations of max@k Reinforcement Learningcited by 0
- 2026Re3Cap: Retrieval-Guided Refinement for Image Captioning Enhancement via Reinforcement Learningcited by 0
- 2026The Statistical Benefits of Multiple Responses for Learning from Demonstrationscited by 0
- 2026SERA: Scale-Equalized Rollout Allocation for Maximum Likelihood Reinforcement Learningcited by 0
- 2026SERA: Scale-Equalized Rollout Allocation for Maximum Likelihood Reinforcement Learning29 Sep 2026
- 2026The Statistical Benefits of Multiple Responses for Learning from Demonstrations27 Sep 2026
- 2026Re3Cap: Retrieval-Guided Refinement for Image Captioning Enhancement via Reinforcement Learning21 Aug 2026
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering30 Jul 2026
- 2026Theoretical Foundations of max@k Reinforcement Learning20 Jul 2026
- 2026Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation16 Jul 2026
- 2026Rank-Conditioned Sample Reuse for the Plackett--Luce Best-of-K Objective13 Jul 2026
- 2026OrderGrad: Optimizing Beyond the Mean with Order-Statistic Policy Gradient Estimation4 Jun 2026
- 2026On Advantage Estimates for Max@K Policy Gradients4 Jun 2026
- 2026Emergence of Exploration in Policy Gradient Reinforcement Learning via Retrying29 May 2026
- 2026HTAM: Hierarchical Transition-Attended Memory for Operator Optimization28 May 2026
- 2026Vector Policy Optimization: Training for Diversity Improves Test-Time Search21 May 2026
4 more
- 2026Regret Analysis of Retry-Based Bandits20 May 2026
- 2026What should post-training optimize? A test-time scaling law perspective11 May 2026
- 2026Boosting LLM Reasoning via Human-Inspired Reward Shaping4 Feb 2026
- 2026Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPO2 Feb 2026
- 2026On Advantage Estimates for Max@K Policy Gradientscited by 2
- 2026Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPOcited by 1
- 2026Boosting LLM Reasoning via Human-Inspired Reward Shapingcited by 1
- 2026What should post-training optimize? A test-time scaling law perspectivecited by 0
- 2026Theoretical Foundations of max@k Reinforcement Learningcited by 0
- 2026Re3Cap: Retrieval-Guided Refinement for Image Captioning Enhancement via Reinforcement Learningcited by 0
- 2026Re3Cap: Retrieval-Guided Refinement for Image Captioning Enhancement via Reinforcement Learning21 Aug 2026
- 2026Theoretical Foundations of max@k Reinforcement Learning20 Jul 2026
- 2026On Advantage Estimates for Max@K Policy Gradients4 Jun 2026
- 2026What should post-training optimize? A test-time scaling law perspective11 May 2026
- 2026Boosting LLM Reasoning via Human-Inspired Reward Shaping4 Feb 2026
- 2026Inference-Aware Meta-Alignment of LLMs via Non-Linear GRPO2 Feb 2026
- 2026Emergence of Exploration in Policy Gradient Reinforcement Learning via Retryingcited by 5
- 2026OrderGrad: Optimizing Beyond the Mean with Order-Statistic Policy Gradient Estimationcited by 2
- 2026Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generationcited by 2
- 2026SERA: Scale-Equalized Rollout Allocation for Maximum Likelihood Reinforcement Learningcited by 0
- 2026SERA: Scale-Equalized Rollout Allocation for Maximum Likelihood Reinforcement Learning29 Sep 2026
- 2026Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation16 Jul 2026
- 2026OrderGrad: Optimizing Beyond the Mean with Order-Statistic Policy Gradient Estimation4 Jun 2026
- 2026Emergence of Exploration in Policy Gradient Reinforcement Learning via Retrying29 May 2026
- 2026Vector Policy Optimization: Training for Diversity Improves Test-Time Searchcited by 8
- 2026Regret Analysis of Retry-Based Banditscited by 4
- 2026HTAM: Hierarchical Transition-Attended Memory for Operator Optimizationcited by 2
- 2026Rank-Conditioned Sample Reuse for the Plackett--Luce Best-of-K Objectivecited by 0
- 2026Rank-Conditioned Sample Reuse for the Plackett--Luce Best-of-K Objective13 Jul 2026
- 2026HTAM: Hierarchical Transition-Attended Memory for Operator Optimization28 May 2026
- 2026Vector Policy Optimization: Training for Diversity Improves Test-Time Search21 May 2026
- 2026Regret Analysis of Retry-Based Bandits20 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025On the optimization dynamics of RLVR: Gradient gap and step size thresholds
- 2025Variance-Aware Baselines and Adaptive Learning Rates for Reinforcement Learning with Verifiable Rewards
- 2026Multi-Step Likelihood-Ratio Correction for Reinforcement Learning with Verifiable Rewards
- 2026Enabling Token-wise Importance Sampling in Off-Policy RLVR with Proximal KL Regularization
- 2026Revisiting Reinforcement Learning with Verifiable Rewards from a Contrastive Perspective
- 2026Non-vacuous Generalization Bounds for Reinforcement Learning with Verifiable Rewards
- 2025Unlocking Reasoning Capabilities in LLMs via Reinforcement Learning Exploration
- 2026How to Allocate, How to Learn? Dynamic Rollout Allocation and Advantage Modulation for Policy Optimization