The Mathematical Dial Tuning How AI Learns to Reason
When modern artificial intelligence models learn to solve complex math or coding problems, they do something that looks surprisingly human: they practice by attempting the same question over and over. This process, known as reinforcement learning with verifiable rewards, is the engine behind the current AI reasoning boom. Yet, the algorithms engineers use to guide this practice have long been treated as a collection of separate engineering tricks.
Now, a new paper by researchers Yong Yi Bay and Kathleen A. Yearick at the University of Illinois at Urbana-Champaign reveals that three of the most popular training methods are actually mathematical siblings. Group Relative Policy Optimization (GRPO), “Dr. GRPO,” and DAPO are not distinct algorithms. Instead, the researchers prove they are simply different settings on a single mathematical dial: the standard deviation of a model’s answers.
To build an intuition for how this works, imagine an AI model attempting a difficult calculus problem eight times. If the model gets all eight attempts wrong, it learns nothing because it has no successful path to copy. Conversely, if it gets all eight right, there is no mistake to correct. In both cases, there is zero “disagreement” in the results.
The real learning happens in the mixed middle—say, four correct answers and four incorrect ones. Here, the disagreement is at its peak. The researchers’ core mathematical proof, the “group-standard-deviation identity,” shows that the strength of an AI’s learning step is directly determined by this disagreement. When a group of attempts is unanimous, the training signal falls silent, yielding no progress whatsoever.
This single insight unites three dominant training methods:
- GRPO divides its training updates by this disagreement. Mathematically, this division acts as an amplifier for extreme cases, giving extra weight to very easy or very hard problems where the model rarely produces mixed results.
- Dr. GRPO removes this division entirely, focusing instead on maximizing the raw success rate without favoring the extremes.
- DAPO identifies the “silent” groups where all attempts are unanimous and simply discards them to avoid wasting computing power.
By exposing this underlying math, the researchers have given AI practitioners a precise rulebook for budgeting expensive computing power. Previously, engineers chose how many times a model should attempt a problem during training largely by guesswork.
The new paper provides a “group-size law” that links difficulty directly to sample size. For instance, a “coin-flip” problem where the model has a 50% success rate only needs about 10 attempts to guarantee a highly effective learning signal. However, a brutally hard problem with only a 5% success rate requires at least 70 attempts. Any fewer, and the model is highly likely to produce a silent, useless group of all-failed attempts.
Ultimately, the paper turns what was once dismissed as a minor normalization detail into a fundamental modeling choice. Instead of debating which training algorithm is superior, researchers can now design faster, cheaper training runs by precisely tuning the dial of disagreement.
Chat about this paper
To chat about this paper, you'll need a free Gemini API key from Google AI Studio.
Your API key will be stored securely in your browser's local storage.