What is the objective of reasoning with reinforcement learning?

Damek Davis, Benjamin RechtarXiv 2025 · DOI

Introduction: Navigating the RL "Alphabet Soup"

In the rapidly evolving landscape of Large Language Model (LLM) post-training, researchers have deployed a wide array of Reinforcement Learning (RL) techniques—such as PPO, GRPO, and Rejection Sampling—to enhance reasoning capabilities in domains like mathematics and coding. While these methods share a common "Meta-Algorithm" (sampling prompts, labeling answers, and fine-tuning), the underlying mathematical objectives often remain obscured by an "alphabet soup" of acronyms.

A recent theoretical note by Damek Davis and Benjamin Recht provides a "unifying theory" for these algorithms. They demonstrate that most popular RL methods for LLMs are essentially variations of stochastic gradient ascent on a transformed version of the model's success probability.

The $h$-Objective Framework

The authors define a general objective function, $J_h(\theta)$, which represents the expected value of a monotonically increasing function $h$ applied to the probability $t$ of the model producing a correct answer: $$J_h(\theta) = \mathbb{E}_{x \sim \mathcal{D}} [h(P_\theta(\text{correct} | x))]$$

The core insight is that the specific "advantages" or weights assigned to samples during training directly determine the shape of this scaling function $h$. By choosing different weights, researchers are implicitly choosing different mathematical curves to optimize.

Comparison of the scaling functions $h(t)$ for REINFORCE ($t$), Rejection Sampling ($\ln(t)+1$), and GRPO ($\frac{2}{\pi} \arcsin(\sqrt{t})$).

The paper maps several prominent algorithms to specific instances of $h(t)$:

  • Vanilla REINFORCE: Corresponds to the linear objective $h(t) = t$, maximizing the raw probability of success.
  • Rejection Sampling: Approximates $h(t) \approx \log(t)$, which is equivalent to maximizing the log-probability.
  • Group Relative Policy Optimization (GRPO): The algorithm popularized by DeepSeek-V3/R1 uses variance normalization, which the authors show effectively targets $h(t) \approx \frac{2}{\pi} \arcsin(\sqrt{t})$.

As shown in Figure 1, while all these functions are monotonic and range from 0 to 1, their curvatures differ significantly. The arcsine function used by GRPO is notably steeper than the linear objective, suggesting it provides more aggressive updates when the model is uncertain (i.e., when the probability of success is in the mid-range).

The Recipe: Bernstein Polynomials

To bridge the gap between discrete sample weights and continuous objective functions, the authors utilize the theory of Bernstein polynomials. They prove that any smooth objective function $h$ can be approximated by a specific choice of weights. This provides a "recipe" for designing new RL objectives: if a researcher wants to optimize a specific curve (e.g., a sigmoid), the framework provides the exact formula for the required sample weights.

Convergence of the normalized GRPO objective to the theoretical arcsine limit as the number of samples $M$ increases.

Figure 3 illustrates how the discrete updates in GRPO converge toward the theoretical arcsine limit as the number of samples ($M$) increases. This highlights how the practical implementation of these algorithms serves as a stochastic approximation of a global objective.

Why the Choice of $h$ Matters

A surprising theoretical result is that for a single prompt, the choice of $h$ is largely irrelevant—any monotonic function will share the same global maximum (100% accuracy). However, the choice becomes critical when:

  1. Averaging across tasks: Different $h$ functions weight the difficulty of various prompts differently.
  2. Optimization Dynamics: The "path" the model takes during training is dictated by the gradient of $h$. Steeper functions like the arcsine may lead to faster convergence or different stability profiles compared to linear or logarithmic ones.

Conclusion

This work demystifies the current state of RL for reasoning by showing that the choice of algorithm is fundamentally a choice of scaling function. While the authors do not declare a single "winner," they provide the mathematical tools necessary to understand why certain algorithms, like GRPO, might feel more effective in practice. Future research can now move beyond empirical trial-and-error toward a more principled design of objective functions tailored to specific reasoning tasks.

Summary updated

BibTeX
@misc{davis2025what,
  author = {Damek Davis and Benjamin Recht},
  title = {{What is the objective of reasoning with reinforcement learning?}},
  year = {2025},
  eprint = {2510.13651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.13651},
}
Figure