Maximum Likelihood Reinforcement Learning
Fahim Tajwar, Guanning Zeng, Yueer Zhou, Yuda Song, Daman Arora, Yiding Jiang, Jeff Schneider, Ruslan Salakhutdinov, Haiwen Feng, Andrea Zanette
TL;DR
This work identifies a principled gap between maximum likelihood (ML) and reinforcement learning (RL) in correctness-based tasks with non-differentiable sampling. It introduces Maximum Likelihood Reinforcement Learning (MaxRL), a compute-aware framework that interpolates between RL and ML via a Maclaurin expansion over pass@k events, with a simple on-policy gradient estimator that becomes ML in the infinite-compute limit. The authors show MaxRL Pareto-dominates standard RL baselines across diverse settings, including image classification, maze navigation, GSM8K, and large-scale LLM reasoning, delivering substantial data- and compute-efficiency advantages and better scaling with more compute and data. They also present a unifying weight-function view that clarifies how different objectives allocate learning signals across inputs, and demonstrate distinct optimization dynamics for MaxRL, notably stronger gradients on hard prompts and greater learning signal diversity. The results suggest MaxRL as a promising direction for scalable, correctness-driven RL in large models and complex tasks, with potential extensions to continuous rewards and off-policy training as future work.
Abstract
Reinforcement learning is the method of choice to train models in sampling-based setups with binary outcome feedback, such as navigation, code generation, and mathematical problem solving. In such settings, models implicitly induce a likelihood over correct rollouts. However, we observe that reinforcement learning does not maximize this likelihood, and instead optimizes only a lower-order approximation. Inspired by this observation, we introduce Maximum Likelihood Reinforcement Learning (MaxRL), a sampling-based framework to approximate maximum likelihood using reinforcement learning techniques. MaxRL addresses the challenges of non-differentiable sampling by defining a compute-indexed family of sample-based objectives that interpolate between standard reinforcement learning and exact maximum likelihood as additional sampling compute is allocated. The resulting objectives admit a simple, unbiased policy-gradient estimator and converge to maximum likelihood optimization in the infinite-compute limit. Empirically, we show that MaxRL Pareto-dominates existing methods in all models and tasks we tested, achieving up to 20x test-time scaling efficiency gains compared to its GRPO-trained counterpart. We also observe MaxRL to scale better with additional data and compute. Our results suggest MaxRL is a promising framework for scaling RL training in correctness based settings.
