TL;DR
Uniform data sampling in reinforcement learning (RL) post-training for Large Language Models (LLMs) wastes massive compute on tasks that fail to improve. This paper introduces task learnability—a metric of how productively a task responds to continued optimization—and presents TRAJVAL, a lightweight probe-based estimator that creates a static sampling prior to dramatically accelerate training and boost data efficiency.
What Problem Does This Paper Address?
When fine-tuning LLMs using Reinforcement Learning (RL) for complex reasoning, researchers typically sample training prompts uniformly or use dynamic online schedulers. Existing task-selection methods prioritize data based on solvability—how well the current model performs on a task right now (e.g., current pass rate or reward).
However, the authors demonstrate that current solvability is a flawed proxy for a task's actual training value. Two tasks can be equally difficult for the model initially, yet follow completely different paths under continued optimization: one might show a massive performance jump, while the other remains completely flat or even degrades. Tracking these full training trajectories to identify high-value tasks is prohibitively expensive. This paper tackles the challenge of cheaply identifying and prioritizing these highly "learnable" tasks before the main training run begins.
Methods
The authors define learnability as a regime-conditional property (dependent on the model family, optimization algorithm, reward function, etc.) and propose TRAJVAL (Trajectory Valuation) to estimate it efficiently via two key reductions:
- Endpoint-Based Summary: Instead of tracking dense, step-by-step reward trajectories across dozens of epochs, TRAJVAL evaluates only the mean rewards at an early phase ($\bar{r}_{\text{early}}$) and a late phase ($\bar{r}_{\text{late}}$) to compute an improvement delta ($\Delta$).
- Lightweight Probe Training: Instead of training on the entire dataset to find these values, it runs a short proxy RL training phase on a tiny, uniformly sampled subset (a "probe set" comprising ~3% of the data pool) to generate a probe-trained model ($\theta_{\text{probe}}$).
Using these endpoint evaluations, every task $x$ in the full pool is assigned a continuous learnability score: $$s(x) = (1 - \bar{r}_{\text{early}}(x)) \cdot \max(0, \Delta(x))$$
This formula elegantly multiplies learning headroom by directional alignment. The scores are then compressed and smoothed to form a static sampling prior distribution. This prior can act as a standalone data selector or be combined multiplicatively with existing dynamic online schedulers ($w_{\text{final}} = w_{\text{TRAJVAL}} \cdot w_{\text{online}}$).
Datasets
The method was validated across two distinct reasoning domains:
- Training Pools:
- Mathematics: DAPO-Math-17k (17,398 competitive math problems with exact-match binary rewards).
- Logic: A 4,998-task subset from the GURU dataset (encompassing Ordering Puzzles, Graph Puzzles, ARC-AGI, ARC-AGI-2, and BARC synthetic tasks).
- Evaluation Benchmarks:
- Math: AIME24, AIME25, AMC23, MATH500, Minerva, and OlympiadBench.
- Logic: Held-out evaluation sets from Ordering Puzzles and ARC-AGI.
Key Insights and Ideas
- Solvability $\neq$ Learnability: Tasks with identical initial pass rates diverge into highly distinct trajectory profiles under optimization, categorized by the authors as Stable Learners, Sluggish Learners, Ineffective, Mastered, Unlearned, and Forgetting.
- Learnability is Context-Robust: A task's learnability profile is an intrinsic property of the data-regime pairing; it remains remarkably stable and reproducible even when the surrounding training data mixture changes (achieving a Cohen's $\kappa$ of up to 0.879).
- The 3% Proxy Works: Training on just 3% of the data pool provides an excellent proxy for the full pool's learning dynamics, yielding a high Spearman correlation ($\rho = 0.876$) for late-stage reward estimation.
- Cross-Regime Prior Reuse: A learnability prior computed on a smaller model (e.g., Qwen3-1.7B) can be successfully transferred to guide the training of a larger model (e.g., Qwen3-4B) within the same family, eliminating the need to re-run the probe phase.
Key Results
- Massive Data Efficiency: In a hard-pruning setup, restricting training to only high-learnability tasks matched the full pool's converged accuracy while using 3.6$\times$ fewer steps.
- Steps-to-Baseline (S2B) Reduction: Standalone TRAJVAL consistently outperformed uniform sampling across multiple model scales. On the Logic domain at the 4B scale, it reached the baseline's peak performance in just 40% of the training steps.
- Complementary to Online Schedulers: When used as a plug-in prior for state-of-the-art online schedulers (like BOTS and GRESO), TRAJVAL consistently improved both peak accuracy and area under the curve (AUC) by mitigating the noisy, poor allocation typical of early-stage online methods.
- Negligible Overhead: The per-step sampling overhead added by TRAJVAL during main training is virtually zero (~0.01% of total pipeline time), meaning its upfront 3% probe run cost is quickly amortized.
Limitations and Future Work
- Binary Rewards Only: The method was exclusively developed and validated on reasoning tasks with exact-match binary rewards (0.0 or 1.0). Its efficacy on continuous or model-graded rewards (such as LLM-as-a-judge for open-ended generation) remains an open question.
- Text-Only Modality: The evaluation was confined to text-only models and datasets; extending TRAJVAL to multimodal RL post-training pipelines has not yet been explored.
- Scale Constraints: Due to computational resource limits, experiments were capped at models up to 8B parameters. Validating these learning dynamics on frontier-scale models remains for future work.
Summary updated