Introduction
In domains like mathematical reasoning and program synthesis, models are typically trained using reinforcement learning (RL) because the objective function—often a binary "Pass/Fail" verifier—is non-differentiable. However, standard RL for these binary tasks is actually just a first-order approximation of Maximum Likelihood (ML). This fundamental mismatch means RL and ML optimize for different outcomes: RL maximizes the expected reward (pass rate), while ML maximizes the log-likelihood of success.
To bridge this gap, researchers introduce Maximum Likelihood Reinforcement Learning (MaxRL), a compute-indexed family of sample-based objectives. MaxRL interpolates between expected-reward RL and maximum likelihood as sampling compute scales, requiring only a one-line change to standard RL implementations. It yields up to 20× gains in test-time scaling efficiency over existing methods like GRPO and significantly improves model diversity.
The Mismatch Between RL and ML
While Maximum Likelihood is the gold standard for supervised learning, RL is often deployed as a workaround for non-differentiable tasks. This substitution comes with a cost. Because standard RL focuses on expected reward, it tends to ignore "hard" problems where the pass rate is low and over-focuses on "easy" ones.
This dynamic leads to "distribution sharpening"—a form of overfitting where the model becomes highly confident in a narrow set of solutions but loses the diversity required to solve a broader range of complex problems. ML, by contrast, naturally upweights hard, low-success inputs. Standard RL methods like GRPO can actually downweight hard problems and over-weight extremely easy tasks once they reach a certain success threshold.
Maximum Likelihood Reinforcement Learning (MaxRL)
The core contribution of this work is the formalization of MaxRL, which aligns RL more closely with ML principles.
- The Maclaurin Expansion: The authors mathematically prove that the ML objective ($\log p$) can be expanded into an infinite series of "pass@k" terms. Standard RL utilizes only the very first term of this expansion, making it a "low-compute" approximation of ML.
- Compute-Indexed Objective: MaxRL defines a family of objectives that truncate this expansion based on the available sampling budget ($N$). As sampling compute increases, MaxRL automatically shifts the objective from simple RL toward the true ML objective. Unlike standard RL where more samples merely reduce gradient variance, in MaxRL, more samples fundamentally change and improve the objective itself.
- The "One-Line Change": In practice, MaxRL is remarkably simple to implement. In standard policy gradient algorithms like GRPO or RLOO, an "advantage" is calculated to weight gradients. While GRPO normalizes by the reward standard deviation, MaxRL normalizes by the per-task mean reward. This ensures that harder tasks (with lower mean rewards) receive a much stronger gradient signal, forcing the model to learn from its rare successes.
Experimental Setup
The authors evaluated MaxRL across diverse regimes to validate its theoretical properties and practical performance:
- ImageNet: Used as a controlled environment where exact ML (cross-entropy) is computable, verifying that MaxRL converges to ML as compute scales.
- Maze Navigation: A procedurally generated environment with 1 million unique mazes, testing scaling in an "infinite data" regime.
- GSM8K & POLARIS-53K: Standard and large-scale mathematical reasoning datasets used to test performance in data-scarce settings and to train billion-parameter models (e.g., Qwen3-1.7B and 4B).
Key Results and Insights
MaxRL demonstrates significant improvements over standard RL approaches:
- Pareto Dominance & Efficiency: MaxRL outperformed or matched baselines (GRPO, RLOO) across every tested model size and task. Notably, on mathematical reasoning tasks, MaxRL achieved the same performance as GRPO while using 20× less test-time compute.
- Superior Scaling: In the infinite-data maze task, MaxRL with only 16 rollouts outperformed RLOO and GRPO even when those baselines were given 128 rollouts.
- Unlocking New Capabilities: On the challenging AIME 2025 benchmark, MaxRL successfully solved three problems that neither the base model nor the GRPO-trained model could solve, indicating its ability to push models toward higher reasoning capabilities.
- Promoting Diversity: By focusing on log-likelihood, MaxRL resists "mode collapse," keeping the model's probability mass distributed across multiple valid reasoning paths rather than collapsing onto a single easy answer.
Limitations and Future Directions
While MaxRL presents a compelling advancement, the current theoretical framework is strictly designed for binary (0 or 1) terminal rewards. Although a non-binary extension is discussed in the appendix, the core theory does not yet fully encompass continuous reward signals. Additionally, MaxRL suffers from the "zero-success" problem common to on-policy RL: if a model fails to generate a single correct rollout for a prompt in a batch, it receives zero gradient signal. Future work will look to extend MaxRL to off-policy settings (such as PPO with a replay buffer) and multi-turn RL environments.
Summary updated