TL;DR
Reinforcement learning for Large Language Models (LLMs) often wastes expensive compute on tasks that are either too easy or too hard to provide a useful learning signal. This paper introduces CLOSEDLOOPGAUSSIAN, a lightweight adaptive curriculum that dynamically adjusts the difficulty of training tasks based on real-time model performance. By focusing on the "learnable" sweet spot, the method improves reasoning accuracy and provides a crucial safety net against training instability in Group Relative Policy Optimization (GRPO).
What Problem Does This Paper Address?
Reinforcement Learning with Verifiable Rewards (RLVR) has become the standard for fine-tuning LLMs on reasoning tasks like math and coding. A popular approach is GRPO, which calculates advantages by comparing a group of responses to the same prompt, eliminating the need for a separate critic model.
However, GRPO is highly sensitive to task difficulty. If a problem is too hard, the model fails every rollout, producing no signal for improvement. If it’s too easy, the model succeeds every time, again providing no contrast to learn from. While "easy-to-hard" schedules exist, they are typically "open-loop"—meaning they follow a fixed timeline regardless of how the model is actually performing. If a model stalls or regresses, a fixed schedule keeps charging ahead into impossible territory, leading to sample inefficiency or total training collapse.
Methods
The authors propose CLOSEDLOOPGAUSSIAN, which treats curriculum adaptation as a closed-loop control problem. The framework consists of three main components:
- Gaussian Curriculum Sampler: Instead of picking tasks at random, it uses a Gaussian distribution over ordered difficulty "buckets." The distribution is defined by two parameters: pace ($\beta_t$), which controls how quickly the center of the distribution moves toward harder tasks, and spread ($\sigma_t$), which determines the variety of difficulties in a single batch.
- Periodic Probing: Every 100 optimizer steps, the system pauses to evaluate the model on a small, fixed set of problems across all difficulty levels. This provides a "snapshot" of current competence.
- Closed-Loop Controller: Based on the probe results, the controller adjusts the pace and spread.
- Pace Control: If the model is outperforming the reference schedule, it accelerates ($\beta_t$ decreases). If it's lagging, it slows down.
- Spread Control: If the model starts "forgetting" easier tasks (a common issue in RL), the controller increases the spread to re-introduce rehearsal of those earlier levels.
Crucially, the controller is "reference-anchored," meaning it naturally relaxes back toward the baseline schedule if no corrective signal is needed, preventing the curriculum from diverging too far into degenerate states.
Datasets
The study uses the Countdown task, a symbolic arithmetic reasoning challenge.
- The Goal: Given a set of numbers and a target integer, create an arithmetic expression (using +, -, *, /) that reaches the target using each input number exactly once.
- Difficulty Scaling: Difficulty is naturally ordered by the number of input operands ($n \in \{2, 3, 4, 5\}$). As $n$ increases, the combinatorial search space grows significantly, making the task harder for the model.
Key Insights and Ideas
- Compute as an Allocation Problem: The authors frame curriculum learning not just as a pedagogical tool, but as a way to optimize the "rollout budget." Every token generated on a task that is too easy or too hard is a wasted resource.
- The Variance Sweet Spot: Expected policy improvement is maximized on tasks of intermediate difficulty where success probabilities have the highest variance. The closed-loop system acts as a "homing missile" for this high-variance regime.
- Robustness to Instability: RL fine-tuning is notoriously unstable. The authors found that while vanilla GRPO often collapsed to near-zero accuracy on certain seeds, the adaptive curriculum acted as a stabilizer, preventing these catastrophic failures by slowing down when the model struggled.
Key Results
The experiments were conducted using a Llama-3.2-3B-Instruct model.
- Higher Accuracy: CLOSEDLOOPGAUSSIAN achieved an average exact-match accuracy of 42.4%, outperforming both the fixed open-loop curriculum (35.0%) and vanilla GRPO (26.4%).
- Intermediate Mastery: The biggest gains were seen in the mid-difficulty buckets ($n=3$ and $n=4$), where the group-relative signals are most informative.
- Stability Gains: Vanilla GRPO failed completely (7.7% accuracy) on two out of four seeds. In contrast, the closed-loop method never fell below 25.1%, demonstrating significantly better reliability across different training initializations.
Limitations and Future Work
While promising, the study has a few notable limitations:
- Scale and Scope: The experiments were limited to a 3B parameter model and a single reasoning task (Countdown). It remains to be seen how this scales to 70B+ models or more diverse datasets like GSM8K or LeetCode.
- Manual Calibration: The controller's thresholds and gains were manually tuned. The authors suggest that future work should focus on automating this calibration directly from training signals.
- Comparative Baselines: The paper compares against fixed curricula but does not provide a direct head-to-head comparison with other recent adaptive curriculum methods like AdaRFT or DUMP.
Summary updated