TL;DR
Training reasoning models with Group Relative Policy Optimization (GRPO) spends over 80% of its time generating rollouts, and a huge chunk of those tokens are wasted on prompts where the model gets everything right or everything wrong (producing zero gradient). CARAT fixes this by pricing rollouts in expected generated tokens rather than raw rollout counts, and by scoring prompts using a continuous, concave "effective contrast" utility. The result: +5.0 to +6.1 accuracy points over GRPO at the same compute budget, or reaching GRPO's accuracy 2.4×–3.0× faster.
What Problem Does This Paper Address?
In reinforcement learning with verifiable rewards (RLVR), GRPO works by sampling a group of $G$ reasoning traces (rollouts) per prompt, checking binary correctness, and normalizing rewards within the group. If all $G$ rollouts succeed or all fail, the group has zero variance—and zero policy gradient.
Recent adaptive allocators try to skip these "degenerate" prompts, but the authors expose two structural blind spots:
- The rollout-count fallacy: Existing schedulers price every rollout as unit cost. In reality, decoding latency and KV-cache compute scale with tokens, and failing reasoning traces are often 3.1×–3.3× longer than successful ones. Unit-cost pricing funnels budget into long, hopeless prompts that stall batched decoding.
- Binary non-degeneracy: Treating a group's usefulness as a binary "mixed vs. unanimous" event ignores that a balanced (4 right, 4 wrong) group has 2.3× lower contrast variance than a skewed (1 right, 7 wrong) group—and that oversampling already-balanced groups yields diminishing returns.
Methods
CARAT (Contrast-Aware Rollout Allocation per Token) replaces uniform or unit-cost rollout sampling with a multi-wave ($W=4$) token-budgeted allocator:
- Effective Contrast & Concave SNR Utility: Instead of binary non-degeneracy, CARAT measures within-group effective contrast $C(n_i, k_i) = k_i(n_i - k_i)/n_i$ and passes it through a strictly concave signal-to-noise utility $U(C) = C / (C + \tau)$. This naturally prioritizes rescuing imbalanced groups while stopping early once a group saturates.
- Dual-Head Conjugate Predictor: Using free telemetry from the serving engine (reward, token length, truncation, and high-entropy "fork" statistics), a lightweight 2-layer MLP predicts Beta prior pseudo-counts for pass probability and conditional success/failure lengths $(\hat{\ell}_i^{(1)}, \hat{\ell}_i^{(0)})$. Both are updated analytically after each wave.
- Token-Density Water-Filling: At each wave, CARAT computes the exact closed-form Beta–Binomial expected marginal utility per expected token $\rho_i(m) = \Delta U_i(m)/(m\hat{\ell}_i)$ and dispatches variable batch sizes $m_i^*$ via water-filling. Long hopeless prompts are abandoned after a 2-rollout probe; balanced groups stop early.
- Wave-Causal GRPO Baseline: Because adaptive stopping couples group size with observed rewards, standard full-group centering introduces optional-stopping bias. CARAT uses a wave-causal split baseline (centering each rollout only against prior waves, or leave-one-out in Wave 1), eliminating this bias.
Datasets
- Training: 25,417 verifiable math problems combined from DAPO-Math-17K and MATH-train.
- Evaluation: Six math benchmarks—MATH500, AIME24, AIME25, AMC23, MinervaMath, and OlympiadBench—plus out-of-domain transfer to GPQA-Diamond (science) and LiveCodeBench (code) in Appendix D. No new benchmarks are introduced.
Key Insights and Ideas
- Exact token-asymmetry gain: The authors prove that token-weighted water-filling strictly dominates unit-cost allocators by an exact factor of $1 + \text{CV}_w^2(\sqrt{\ell})$, which widens as max rollout length $L_{\max}$ grows.
- Massive frontier reallocation: On R1-Distill-1.5B, GRPO spends 37.2% of its tokens on unsolved all-wrong prompts and only 33.4% on the 20%–80% pass-rate frontier. CARAT slashes all-wrong spend to 5.6% and channels 76.4% of tokens into the frontier.
- Fork entropy as a free crystal ball: High-entropy "fork" tokens on a correct trace signal a fragile boundary problem ($p_i \approx 0.5$), while low fork entropy on an incorrect trace signals confident failure ($p_i \approx 0$). Adding this free signal lifts contrast-ranking AUC from 0.73 to 0.84.
- Negligible overhead: The entire predictor and water-filling allocator runs on CPU in $< 1.2\text{ ms}$ per wave (0.4% of step time).
Key Results
- Across four backbones (Qwen2.5-Math-1.5B, DeepSeek-R1-Distill-Qwen-1.5B, Qwen3-4B-Base, and Qwen2.5-Math-7B) at matched wall-clock compute, CARAT beats GRPO by +5.00 to +6.10 average points and outperforms the strongest 2026 token-budget baseline (DUET) by +1.58 to +2.07 points.
- On R1-Distill-1.5B, CARAT reaches GRPO's 6.0-hour accuracy in 2.49 hours (2.41× speedup), and speedup scales monotonically with $L_{\max}$ up to 2.96× at 8K tokens.
- Wave-causal centering cuts gradient norm bias from 4.1% (full-group centering) down to 0.6%.
Limitations and Future Work
- Binary rewards only: CARAT is designed for binary verifiable rewards ($r \in \{0, 1\}$); extending to continuous or rubric-based rewards would require replacing the Beta head with a Normal–Inverse-Gamma tracker.
- Synchronous wave barriers: Multi-wave dispatch ($W=4$) introduces three synchronization barriers per step, which would need streaming wave queues in ultra-high-throughput asynchronous RL pipelines.
- Very long valid solutions: Extremely long prompts whose only valid solutions approach $L_{\max}$ receive lower initial priority unless protected by the exploration floor $\lambda_{\text{floor}}$.
- Model scale: Evaluated up to 8B parameters; scaling to 32B–70B and MoE models remains future work.
Summary updated