Manuscript Offprint
arXiv:2610.09679CERO: Where and When to Allocate Rollouts for RL Post-Training
Yiming Zong , Yige Wang , Xing Hu , Jiashuo Jiang , Zuo-Jun Max Shen
Department of Industrial Engineering & Decision Analytics, Hong Kong University of Science and Technology
Innovation and Information Management, The University of Hong Kong
Faculty of Engineering & Faculty of Business and Economics, The University of Hong Kong
Adaptive rollout methods for group-relative reinforcement learning typically allocate a fixed per-update budget across prompts. We instead study how to coordinate a finite rollout budget over the entire training horizon. We formulate this problem using a concave surrogate utility of cumulative prompt exposure and introduce CERO, an online primal–dual scheduler for prompt admission and budget pacing. In our experiments, each admitted prompt receives a fixed-size response group. CERO instead adapts which prompts are selected, how often they are revisited across rounds, and how many groups are generated in each round. A compact Fenchel representation linearizes the dependence on cumulative exposure, while projected online gradient descent updates prompt-specific supporting slopes and a shared budget price using reward-variation feedback and budget deviations. We establish pathwise guarantees for the surrogate allocation objective against fixed-rate and same-path time-varying benchmarks, with explicit terms for proxy discrepancy and rate variation. Under matched training-response budgets, CERO attains the highest avg@16 macro-average on each of three backbones across five mathematical reasoning benchmarks. Mechanistic analyses link CERO’s prompt choices to within-group reward contrast, while multi-seed ablations show gains from adaptive pacing over both uniform and preset spending schedules.
Key words: Reinforcement Learning, LLM Post-training, Online Resource Allocation, Rollout Optimization
1. Introduction
Reinforcement learning with verifiable rewards has become a standard approach for post-training reasoning models. Within this paradigm, recent work has increasingly focused on adaptive rollout allocation to improve training efficiency. Standard GRPO-style training typically assigns the same number of responses to each selected prompt (Shao et al. 2024, Guo et al. 2025), even though the resulting groups can differ substantially in informativeness. In particular, all-correct or all-incorrect groups provide no within-group reward contrast. Recent methods therefore adapt how rollout budgets are distributed across prompts: KnapsackRL (Li et al. 2025) allocates a fixed exploration budget according to estimated task value, VIP (Nguyen et al. 2026) allocates minibatch rollouts to reduce expected gradient variance, and HORA (Wang et al. 2026) redistributes a batch budget according to marginal hit utility. Collectively, these methods primarily adapt where rollouts are allocated within a given round-level budget. We focus on a complementary temporal dimension that arises when rollout decisions are coupled by a shared finite training budget:
Given a finite rollout budget, when should we spend more, and when less, across training?
This horizon-level problem remains nontrivial even when each admitted prompt receives a fixed-size response group. The scheduler must still decide which prompts to admit, how often to revisit them across rounds, and how much of the remaining budget to spend at different training stages. Rollouts spent now cannot be reassigned later, and repeated exposure to the same prompt may yield diminishing marginal utility. We capture this effect with a concave utility over cumulative prompt exposure. These couplings motivate a resource allocation formulation over prompts and rounds.
However, this finite-horizon formulation is not directly separable across rounds: each prompt's cumulative allocation appears inside a nonlinear concave utility, and the global budget further couples spending decisions over time. Our key methodological contribution is to adapt Fenchel dualization and projected online gradient descent (OGD) to this rollout optimization problem. The Fenchel representation linearizes dependence on cumulative exposure, reducing the coupled horizon objective to tractable round-level allocation problems. Projected OGD then adapts prompt-specific supporting slopes from reward feedback and a shared budget price from aggregate allocation deviations.
These dual signals play complementary roles in CERO: prompt-specific slopes guide prompt prioritization, while the shared price regulates budget pacing across rounds. A prompt-level Beta state provides a predictive signal of future within-group reward variation, while the dual variables and the remaining budget are carried forward across rounds, enabling coordination throughout training. This online structure admits pathwise guarantees for the surrogate allocation objective under fixed rates and a same-path time-varying benchmark. Empirically, CERO achieves the highest avg@16 macro-average on all three evaluated backbones under matched training-response budgets. Matched controls and mechanistic analyses further connect these gains to prompt-aware assignment and horizon-level budget adaptation, with CERO outperforming each ablated variant in multi-seed average performance.
Our contributions are threefold:
- We formulate finite-horizon rollout optimization as a resource-allocation problem with a concave utility over cumulative prompt exposure, and derive an online primal–dual scheduler using a compact Fenchel representation and projected OGD. The resulting scheduler coordinates prompt admission, repeated exposure across rounds, and per-round spending under a shared finite budget.
(a) Typical adaptive rollout allocation: fixed per-round budgets

(b) CERO: adaptive prompt admission and budget pacing
Figure 1 Schematic comparison of rollout optimization. (a) Typical adaptive methods redistribute a fixed per-round budget across prompts. (b) CERO coordinates prompt admission and per-round budget pacing under a shared finite training budget, with admitted prompts receiving fixed-size response groups.
-
We establish pathwise guarantees for the surrogate allocation objective under fixed rates and a same-path time-varying benchmark. The bounds explicitly separate online optimization error, reward-proxy discrepancy, and temporal rate variation.
-
We evaluate CERO on three backbones and five mathematical reasoning benchmarks under the same rollout budgets. CERO obtains the highest avg@16 macro-average on each backbone. Matched controls and multi-seed ablations further connect these gains to prompt-aware assignment and horizon-level coordination, with CERO outperforming fixed-pacing, preset-pacing, and direct marginal-utility variants.
Relation to prior work. CERO lies at the intersection of three related directions: difficulty-aware sampling and filtering, adaptive rollout allocation, and online resource allocation. The first focuses on identifying and prioritizing informative prompts, the second studies how limited rollout budgets should be allocated across prompts, and the third provides a broader framework for coordinating sequential decisions under shared resource constraints. Appendix A provides a detailed review of these three lines of research.
2.1. Problem Formulation
We consider a finite training process of rounds over a fixed pool of prompts. Let denote the number of units assigned to prompt in round , where one allocation unit corresponds to a fixed quantum of generated responses. Define its cumulative exposure by , . Let be the per-prompt per-round cap, the aggregate per-round capacity, and the total rollout budget. Our goal is to maximize the total utility of cumulative prompt exposure by allocating a finite rollout budget across prompts and rounds:
Here is a nondecreasing concave utility of cumulative exposure, specified in the next subsection. We assume
Denote the feasible set in eq. (1) by . We distinguish allocation units from generated-response counts using the superscript resp: , , , and . Finally, define
where Z is the maximum per-prompt exposure over training, is the average per-round budget, and R is the equal-share exposure scale.
2.2. Value-capture utility
We use a concave surrogate utility to model diminishing returns to cumulative prompt exposure. Each prompt has a latent value-capture rate , for which Section 3 provides a reward-variation proxy. We instantiate the utility with the normalized exponential form
where controls saturation and measures exposure relative to the equal-share horizon scale. By construction, the utility is nondecreasing and concave in , encoding diminishing marginal utility with exposure. The marginal utility of an additional allocation unit satisfies
This bound yields the compact slope domain used in the Fenchel representation below. For comparison, consider a full-information oracle that knows in advance and chooses the feasible allocation maximizing total value capture:
Since the objective depends on the allocation history only through , the oracle problem is determined by the terminal exposure vector. Appendix C.2 gives its optimal allocation.
2.3. Compact Fenchel representation
To simplify notation, let . Using the uniform slope bound in eq. (3), define the restricted concave conjugate
The interval contains a supporting slope at every exposure level, so the representation remains exact on this compact domain. By concavity,
Thus, the nonlinear dependence on cumulative exposure can be represented exactly through affine functions of . To capture the scarcity of the shared budget across rounds, let denote the corresponding dual price. For a single round, let denote the allocation vector and define the continuous feasible region
Since and are integers, is integral, so the continuous relaxation is exact for the round-level linear problem. Let collect the prompt-specific supporting slopes. Combining the Fenchel representation with the shared budget price makes the horizon-level upper bound separable across rounds, yielding the per-round dual objective
By weak duality, for all in the stated domains. Let , which compares prompt 's supporting slope against the shared budget price.
3. Reward-Variation Proxy
We use predicted within-group reward variance as a proxy for the latent value-capture rate in Section 2.2. This quantity characterizes expected reward contrast in a fresh response group, rather than directly estimating the downstream improvement from a policy update. Let be the verifiable reward. At the beginning of round , we maintain an auxiliary Beta state for prompt :
where denotes the reward history of prompt . This state provides a compact predictive summary of the prompt's observed reward history. Let denote the number of responses generated for prompt in round . Let and denote the numbers of successful and failed responses, and set if there is no allocation to this prompt. After round , we update the Beta state with forgetting factor :
where are the prior parameters. When , the update reduces to standard cumulative Beta–Bernoulli updating. When , older evidence is gradually discounted toward the prior, allowing the state to track changes in the policy. We use predicted reward variation as a proxy for the latent value-capture rate:
PROPOSITION 1 (Predicted within-group reward variance). For any group size , suppose that conditional on the next binary rewards are i.i.d. Bernoulli . Let and . Then it holds that
Thus, is the predictive expected within-group reward variance. Let denote the predictive mean and we can obtain
Therefore, is largest when the predicted success rate is near 1/2, but is reduced when the Beta state is more uncertain.
PROPOSITION 2 (Fixed-sample stationary calibration). Let be i.i.d. Bernoulli(p) observations with fixed sample size n. Define , , , and let and . Then it holds that
Consequently, is consistent at rate under a stationary Bernoulli model with a fixed, nonadaptive sample size
Proposition 2 concerns fixed-sample stationary calibration. Our allocation guarantees instead hold pathwise for arbitrary realized proxy sequences, with the bounds explicitly accounting for proxy error relative to the target rates.
4. CERO Algorithm
To solve the finite-horizon rollout-allocation problem, we develop CERO, an online primal–dual scheduler summarized in Algorithm 1. At each round, CERO maintains normalized prompt-specific supporting slopes and a normalized shared budget price:
After generating the selected responses and observing their rewards, CERO updates the predictive state and dual variables for the next round.
Round-level allocation Since , define the normalized margin . A positive margin indicates that prompt 's supporting slope exceeds the shared budget price. CERO first computes the capacity-constrained virtual allocation
This problem has a simple exact solution: prompts with positive margins are ranked in decreasing order, with up to units assigned to each while capacity remains. CERO then allocates rollout units in this order up to the remaining global budget, which is updated as .
Since the round-level objective is linear in the allocation units, the ranked solution assigns selected prompts the per-prompt cap, except possibly for a residual allocation. In Section 6, we use and choose the round capacity and total budget as multiples of , so every selected prompt receives one eight-response group. CERO therefore adapts which prompts receive groups, how often they are revisited across rounds, and how many groups are generated per round.
Reward feedback and supporting exposure After observing the rewards from round , CERO updates the Beta state using eq. (5) and recomputes the reward-variation proxy using eq. (6). Let , . For a supporting slope , the corresponding exposure is
For our exponential utility, this minimizer has the closed form , where
Algorithm 1 CERO: Cross-Epoch Adaptive Rollout Optimization
Require: Prompt pool ; horizon ; global budget ; round capacity ; per-prompt cap .
1: Set , , , , and
2: Initialize , , by (6), , and
3: for do
4: Compute margins and virtual proposal by the top-score solution of (8)
5: Execute proposals in decreasing-margin order subject to remaining budget , producing
6: for do
7: If , generate responses from and observe successes and failures; otherwise, set .
8: Update by (5) and compute
9: Compute by (9)
10: Update by (10)
11: end for
12: Update by (10) and set
13: If , update the policy using all executed round- groups; otherwise, set .
14: if then
15: Terminate.
16: end if
17: end for
Dual updates Let denote the normalization scale for the budget-price update. CERO applies the normalized projected updates
The prompt-specific update compares the virtual allocation with the per-round supporting exposure : allocating above this level decreases the supporting slope, while allocating below it increases the slope. The shared price increases when total virtual allocation exceeds and decreases when it falls below . Both updates use the virtual allocations rather than the budget-clipped allocations. Overall, the prompt-specific dual variables adapt relative prompt priority, while the shared price regulates budget pacing across rounds.
5. Performance Guarantees
We now analyze CERO with respect to the surrogate allocation objective in Section 2, while the downstream policy performance is evaluated empirically in Section 6.
Fixed-rate benchmark. Let be the executed allocation and define
Let denote the average per-prompt per-round budget. Let be the post-feedback proxy used in round-k prompt-specific dual update and define the average absolute proxy discrepancy
THEOREM 1 (Fixed-rate pathwise guarantee). Assume eq. (2). For any fixed target vector and any realized proxy sequence , Algorithm 1 with satisfies
This pathwise bound separates online optimization error from reward-proxy discrepancy. In particular, if , , and remain bounded and , then the regret per prompt vanishes at rate . The proof is given in Appendix D.
Time-varying rates and a same-path benchmark. For a realized rate path , define the value of round-k exposure using the current rate:
Using the same in both terms ensures that reflects only the utility gained from the new exposure , rather than changes due to variation in the rate itself. Writing , the same-path offline benchmark evaluates every feasible allocation plan against the same realized rate path:
Define by evaluating the executed CERO allocation in the same way, and let . By holding the realized rate path fixed across allocation plans, the benchmark focuses specifically on the quality of allocation decisions along a common realized rate path. Set
THEOREM 2 (Same-path drifting-rate guarantee). Under the same algorithmic setup and step sizes as in Theorem 1, for every realized rate path and proxy sequence , Algorithm 1 satisfies
Comparing with Theorem 1, the additional term explicitly isolates the effect of temporal drift from reward-proxy discrepancy. The proof is given in Appendix E.
6. Experiments
6.1. Main Results
Experimental setup. We evaluate DeepSeek-R1-Distill-Qwen-1.5B (Guo et al. 2025), Qwen3-4B-Base (Yang et al. 2025), and Qwen2.5-7B-Instruct (Qwen et al. 2025), training all methods on the same uniformly sampled 50% subset of DAPO-Math-17K. Each run spans K = 500 scheduler rounds with a training-response budget of , and CERO uses eight responses per admitted prompt, with adaptation occurring through prompt admission and per-round group counts. We evaluate on AIME, AMC, MATH, MINERVA, and OlympiadBench using 16 responses per problem. We report avg@16 as the mean binary reward across responses and problems within each benchmark, and macro-average the five benchmark scores. Implementation details and compute measurements are provided in Appendices G and B.4, respectively.
Baselines. We evaluate four methods: (i) GRPO (Guo et al. 2025), a widely used reinforcement learning method for training reasoning models; (ii) KnapsackRL (Li et al. 2025), a representative prior method for adaptive rollout allocation, which dynamically allocates different numbers of rollouts across prompts; (iii) CERO, our proposed method; and (iv) Random-matched CERO, an ablation that preserves the rollout allocation produced by CERO while assigning it to a random permutation of prompts. The latter controls for the allocation pattern and isolates the effect of our prompt selection mechanism.
Table 1 shows that CERO attains avg@16 macro-averages of 32.81, 45.36, and 41.81, improving over GRPO by 2.62, 2.10, and 1.59 points, respectively. It also achieves a higher macro-average than the adaptive KnapsackRL baseline on all three backbones, with the clearest improvement on DSR1-Q1.5B and smaller margins on the larger models. The Random-matched control further isolates the contribution of prompt-aware assignment. Its macro-average falls below CERO by 3.63, 1.50, and 1.63 points across the three backbones. Since Random-matched CERO preserves allocation sizes and timing while randomizing prompt assignment, this comparison supports the contribution of prompt-aware assignment under the same rollout schedule.
6.2. Ablation and Mechanism Analysis
Is the reward-variation proxy informative? We examine whether the proxy anticipates the reward contrast available in future rollout groups. On the DSR1-Q1.5B backbone, we pair each pre-decision prediction with the unbiased sample variance of the eight binary rewards generated afterward, covering 32,000 selected prompt-round groups. Across ten equal-budget intervals, higher predicted means tend to coincide with greater observed reward variation (Pearson ; Figure 2), showing that the proxy tracks changes in reward contrast during training. Across seven prediction bins, higher-prediction bins generally exhibit larger observed mean variance, with closely preserved relative ordering (Pearson , Spearman ; Figure 6). Together, these analyses provide
Table 1 Evaluation performance (avg@16) comparison across different models and benchmarks.
| Base Model | Method | AIME | AMC | MATH | MINERVA | Olympiad | Avg. |
|---|---|---|---|---|---|---|---|
| DSR1-Q1.5B | GRPO | 5.62 | 32.23 | 66.12 | 21.90 | 25.07 | 30.19 |
| KnapsackRL | 4.58 | 32.38 | 65.14 | 20.93 | 24.59 | 29.53 | |
| CERO (ours) | 7.92 | 38.03 | 68.05 | 22.66 | 27.41 | 32.81 | |
| Random-matched CERO | 4.17 | 31.02 | 64.54 | 21.48 | 24.69 | 29.18 | |
| Qwen3-4B | GRPO | 13.54 | 50.98 | 80.10 | 30.72 | 40.94 | 43.26 |
| KnapsackRL | 17.50 | 53.24 | 80.08 | 31.36 | 41.26 | 44.69 | |
| CERO (ours) | 17.29 | 53.69 | 80.83 | 31.94 | 43.06 | 45.36 | |
| Random-matched CERO | 17.50 | 50.00 | 79.13 | 32.84 | 39.82 | 43.86 | |
| Q2.5-7B-Inst | GRPO | 12.92 | 48.42 | 74.36 | 28.06 | 37.34 | 40.22 |
| KnapsackRL | 13.33 | 50.90 | 77.15 | 28.72 | 38.64 | 41.75 | |
| CERO (ours) | 15.83 | 49.77 | 77.44 | 27.55 | 38.45 | 41.81 | |
| Random-matched CERO | 11.88 | 46.23 | 76.35 | 29.30 | 37.17 | 40.18 |

Figure 2 Temporal tracking of CERO's reward-variation proxy on DSR1-Q1.5B.

Figure 3 Prompt-selection lift by pre-decision predicted success rate.
evidence that the proxy offers an informative pre-decision signal for subsequent reward contrast among selected prompt–round groups. Appendix B.2 further examines absolute calibration.
Does CERO prioritize informative prompts? We characterize CERO's selection pattern by partitioning the 500 scheduler rounds into five 100-round stages and binning candidate prompt–round pairs by their pre-decision predicted success rate. For bin in stage , we define the selection lift as
where and denote the numbers of selected and candidate prompt–round pairs. Consequently, corresponds to uniform random selection, while and indicate over-selection and under-selection respectively. Figure 3 shows that CERO preferentially selects prompts with intermediate predicted success rates. Over the full run, the [0.4, 0.6) bin has a selection lift, while both extreme bins have approximately . With the full prompt pool available in every

Figure 4 Effective-group rate over consumed rollout budget.

Figure 5 Cross-epoch budget pacing in CERO. Epoch boundaries are marked above trajectory.
round, the lift directly measures CERO's selection preference across predicted-success ranges relative to uniform selection. This pattern aligns with CERO's reward-variation-based design: prompts for which both success and failure remain plausible offer opportunities for the within-group reward contrast needed by group-relative learning. The strength and breadth of the preference vary across training stages, with all three interior bins over-selected in the final stage.
Does prompt-aware admission increase the fraction of effective groups? Let of responses in group be correct. A group is effective if . Define the following effective-group rate
the fraction of executed groups supplying nonzero reward contrast. Figure 4 shows that under the matched budget of 256,000 training responses, CERO produces 18,347 effective groups out of 32,000 executed groups, yielding an EGR of 57.3%, compared with 52.7% for Random-matched CERO and 48.7% for KnapsackRL. Because Random-matched CERO preserves CERO's group sizes and spending schedule while randomizing prompt assignment, the 4.6-point gap provides controlled evidence that prompt-aware admission increases the fraction of mixed-outcome groups under the same rollout schedule.
What do dual-based selection and adaptive pacing contribute? We first characterize CERO's budget pacing through the cumulative response gap from a uniform spending schedule:
Positive and negative gaps indicate spending ahead of and behind the uniform schedule, respectively. Figure 5 shows that spending deviations persist across data-epoch boundaries. The cumulative surplus peaks at 1,920 responses and returns to zero at the end of training, exhausting the 256,000-response budget exactly. This trajectory characterizes CERO's nonuniform budget consumption.
Table 2 evaluates the contributions of selection and pacing. CERO-fixed retains CERO's reward-proxy and prompt-dual updates but fixes and allocates 512 responses per round. CERO-preset follows a predetermined front-loaded schedule: 528 responses per round for the first 250 rounds and 496 for the remaining 250 rounds. CERO-greedy retains CERO-fixed's proxy estimator, utility function, and per-round quota, but selects prompts by the marginal utility of an additional complete group rather than by prompt-dual scores.
Across three training seeds, CERO achieves the highest macro-average of , outperforming CERO-fixed, CERO-preset, and CERO-greedy by 1.13, 1.55, and 1.29 points on average, respectively. The gains over CERO-fixed and CERO-preset support the value of adapting budget consumption over the training horizon rather than using a fixed or predetermined spending schedule. Under the fixed 512-response quota, dual-guided and direct marginal-utility ranking yield similar mean scores of 31.13 and 30.97, whereas full CERO improves on both by more than one point. Together, these results support CERO's central design: jointly coordinating prompt prioritization and budget pacing over the training horizon.
Table 2: Prompt-selection and pacing ablations on DSR1-Q1.5B. Avg. denotes the five-benchmark avg@16 macro-average (mean std over 3 seeds).
| Method | Avg. |
|---|---|
| CERO | 32.26 ± 0.94 |
| CERO-fixed | 31.13 ± 0.72 |
| CERO-greedy | 30.97 ± 0.38 |
| CERO-preset | 30.71 ± 0.54 |
7. Conclusion
We introduced CERO, a finite-horizon scheduler that coordinates prompt admission, repeated selection, and budget pacing under a shared rollout budget. The Fenchel-based primal–dual formulation yields tractable round-level decisions and pathwise guarantees for the surrogate allocation objective under fixed-rate and same-path time-varying benchmarks. Under matched training-response budgets, CERO achieves the highest avg@16 macro-average on all three backbones. Mechanistic analyses link its prompt choices to stronger within-group supervision, while multi-seed ablations show gains from adaptive pacing over fixed and preset schedules. Together, these results demonstrate the practical value of horizon-level rollout coordination for efficient RL post-training.
References
Shipra Agrawal and Nikhil R Devanur. Fast algorithms for online stochastic convex programming. In Proceedings of the twenty-sixth annual ACM-SIAM symposium on Discrete algorithms, pages 1405–1424. SIAM, 2014.
Shipra Agrawal, Zizhuo Wang, and Yinyu Ye. A dynamic near-optimal algorithm for online linear programming. Operations Research, 62(4):876–890, 2014.
Santiago Balseiro, Haihao Lu, and Vahab Mirrokni. Dual mirror descent for online allocation problems. In International Conference on Machine Learning, pages 613–628. PMLR, 2020.
Niv Buchbinder and Joseph Naor. Online primal-dual algorithms for covering and packing problems. In European Symposium on Algorithms, pages 689–701. Springer, 2005.
Niv Buchbinder and Joseph Naor. Improved bounds for online routing and packing via a primal-dual approach. In 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06), pages 293–304. IEEE, 2006.
Xiao Alison Chen and Zizhuo Wang. A dynamic learning algorithm for online matching problems with concave returns. European Journal of Operational Research, 247(2):379–388, 2015.
Xiaoyin Chen, Jiarui Lu, Minsu Kim, Dinghuai Zhang, Jian Tang, Alexandre Piché, Nicolas Gontier, Yoshua Bengio, and Ehsan Kamalloo. Self-evolving curriculum for llm reasoning. arXiv preprint arXiv:2505.14970, 2025.
Nikhil R Devanur and Thomas P Hayes. The adwords problem: online keyword matching with budgeted bidders under random permutations. In Proceedings of the 10th ACM conference on Electronic commerce, pages 71–78, 2009.
Nikhil R Devanur and Kamal Jain. Online matching with concave returns. In Proceedings of the forty-fourth annual ACM symposium on Theory of computing, pages 137–144, 2012.
Jon Feldman, Monika Henzinger, Nitish Korula, Vahab S Mirrokni, and Cliff Stein. Online stochastic packing applied to display ad allocation. In European Symposium on Algorithms, pages 182–194. Springer, 2010.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
Zengjie Hu, Jiantao Qiu, Tianyi Bai, Haojin Yang, Binhang Yuan, Qi Jing, Conghui He, and Wentao Zhang. Vade: Variance-aware dynamic sampling via online sample-level difficulty estimation for multimodal rl. arXiv preprint arXiv:2511.18902, 2025.
Stefanus Jasin and Sunil Kumar. A re-solving heuristic with bounded revenue loss for network revenue management with customer choice. Mathematics of Operations Research, 37(2):313–345, 2012.
Heyang Jiang, Henry Liu, and Baharan Mirzasoleiman. Learning as reasoning unfolds: Progressive rollout allocation for efficient reinforcement learning. arXiv preprint arXiv:2607.22002, 2026.
Jiashuo Jiang, Will Ma, and Jiawei Zhang. Degeneracy is ok: Logarithmic regret for network revenue management with indiscrete distributions. Operations Research, 73(6):3405–3420, 2025.
Thomas Kesselheim, Andreas Tönnis, Klaus Radke, and Berthold Vöcking. Primal beats dual on online packing lps in the random-order model. In Proceedings of the forty-sixth annual ACM symposium on Theory of computing, pages 303–312, 2014.
Woojeong Kim, Ziyi Yang, Jing Nathan Yan, and Jialu Liu. Spend your rollouts where it counts: Rollout allocation for group-based rl post-training. arXiv preprint arXiv:2605.26606, 2026.
Xiaocheng Li and Yinyu Ye. Online linear programming: Dual convergence, new algorithms, and regret bounds. Operations Research, 70(5):2948–2966, 2022.
Ziniu Li, Congliang Chen, Tianyun Yang, Tian Ding, Ruoyu Sun, Ge Zhang, Wenhao Huang, and Zhi-Quan Luo. Knapsack rl: Unlocking exploration of llms via optimizing budget allocation. arXiv preprint arXiv:2509.25849, 2025.
Mengqi Liao, Xiangyu Xi, Chen Ruinian, Jia Leng, Yangen Hu, Ke Zeng, Shuai Liu, and Huaiyu Wan. Enhancing efficiency and exploration in reinforcement learning for LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 1451–1463, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.75. URL https://aclanthology.org/2025.emnlp-main.75/.
Zhihang Lin, Mingbao Lin, Yuan Xie, and Rongrong Ji. Oppo: Accelerating the training of group relative policy optimization-based reasoning models. arXiv preprint arXiv:2503.22342, 2025.
Ilia Mahrooghi, Aryo Lotfi, and Emmanuel Abbe. Goldilocks rl: Tuning task difficulty to escape sparse rewards for reasoning. arXiv preprint arXiv:2602.14868, 2026.
Aranyak Mehta, Amin Saberi, Umesh Vazirani, and Vijay Vazirani. Adwords and generalized online matching. Journal of the ACM (JACM), 54(5):22–es, 2007.
Marco Molinaro and Ramamoorthi Ravi. The geometry of online packing linear programs. Mathematics of Operations Research, 39(1):46–59, 2014.
Trung Hieu Nguyen, Bao Nguyen, Wenao Ma, Yuzhi Zhao, Ruifeng She, and Viet Anh Nguyen. Adaptive rollout allocation for online reinforcement learning with verifiable rewards. In International Conference on Learning Representations, volume 2026, pages 136100–136132, 2026.
Qwen, :, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. Qwen2.5 technical report, 2025. URL https://arxiv.org/abs/2412.15115.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu. Hybridflow: A flexible and efficient rlhf framework. In Proceedings of the Twentieth European Conference on Computer Systems, pages 1279–1297, 2025.
Vaishnavi Shrivastava, Ahmed Awadallah, Vidhisha Balachandran, Shivam Garg, Harkirat Behl, and Dimitris Papailiopoulos. Sample more to think less: Group filtered policy optimization for concise reasoning. arXiv preprint arXiv:2508.09726, 2025.
Kalyan T Talluri and Garrett J Van Ryzin. The theory and practice of revenue management, volume 68. Springer Science & Business Media, 2006.
Sijun Tan, Michael Luo, Justin Wong, Colin Cai, Xiaoxiang Shi, William Yuan Tang, Manan Roongta, Tianjun Zhang, Li Erran Li, Raluca Ada Popa, et al. Deepscaler: Effective rl scaling of reasoning models via iterative context lengthening. 2025.
Tao Wang, Shuo Li, Yan Sun, Dongsheng Ding, and Edgar Dobriban. Where to spend rollouts: Hit-utility optimal rollout allocation for group-based rlvr. arXiv preprint arXiv:2605.07114, 2026.
Yixuan Even Xu, Yash Savani, Fei Fang, and J Zico Kolter. Not all rollouts are useful: Down-sampling rollouts in llm reinforcement learning. arXiv preprint arXiv:2504.13818, 2025.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Zhiyuan Yao, Yi-Kai Zhang, Yuxin Chen, Yueqing Sun, Zishan Xu, Yu Yang, Tianhao Hu, Qi Gu, Hui Su, and Xunliang Cai. Coba-rl: Capability-oriented budget allocation for reinforcement learning in llms. arXiv preprint arXiv:2602.03048, 2026.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement learning system at scale. arXiv preprint arXiv:2503.14476, 2025.
Ruiqi Zhang, Daman Arora, Song Mei, and Andrea Zanette. Speed-rl: Faster training of reasoning models via online curriculum learning. arXiv preprint arXiv:2506.09016, 2025a.
Yuheng Zhang, Wenlin Yao, Changlong Yu, Yao Liu, Qingyu Yin, Bing Yin, Hyokun Yun, and Lihong Li. Improving sampling efficiency in rlvr through adaptive rollout and response reuse. arXiv preprint arXiv:2509.25808, 2025b.
Zhi Zhang, Zhen Han, Costas Mavromatis, Qi Zhu, Yunyi Zhang, Sheng Guan, Dingmin Wang, Xiong Zhou, Shuai Wang, Soji Adeshina, et al. Train less, learn more: Adaptive efficient rollout optimization for group-based reinforcement learning. arXiv preprint arXiv:2602.14338, 2026.
Appendix A: Related Work
Difficulty-aware sampling and filtering. Recent work has explored improving RL efficiency by prioritizing training examples and rollouts according to their difficulty or informativeness. At the query level, online curriculum and sample-selection methods dynamically adjust the training distribution to favor examples with greater learning value. Goldilocks RL (Mahrooghi et al. 2026) emphasizes problems of intermediate difficulty, while SPEED-RL (Zhang et al. 2025a), SEC (Chen et al. 2025), and VADE (Hu et al. 2025) similarly use online estimates of difficulty or training utility to prioritize informative samples. Related approaches operate after rollout generation by filtering or pruning trajectories with limited contribution to policy updates. CPPO (Lin et al. 2025) removes completions with low learning signals, PODS (Xu et al. 2025) selects informative subsets of generated responses, and GFPO (Shrivastava et al. 2025) filters rollouts based on their utility relative to generation cost. These methods collectively reduce computation spent on overly easy, overly difficult, redundant, or otherwise uninformative samples.
Adaptive rollout allocation. Recent studies have increasingly treated rollout generation as a resource allocation problem, replacing the fixed group size in standard GRPO (Shao et al. 2024) with query-dependent rollout budgets. Some methods adapt allocation according to estimated difficulty, assigning more rollouts to challenging or uncertain queries and fewer to those with saturated outcomes (Liao et al. 2025, Zhang et al. 2025b). Others formulate allocation through explicit estimates of training value, uncertainty, or marginal utility, including Knapsack RL (Li et al. 2025), CoBA-RL (Yao et al. 2026) and VIP (Nguyen et al. 2026). A related direction makes allocation decisions progressively from intermediate rollout outcomes: Pilot-Commit (Kim et al. 2026), AERO (Zhang et al. 2026), and VIGOR (Jiang et al. 2026) use early samples to determine whether additional generation is worthwhile. Collectively, these methods improve rollout efficiency by directing computation toward queries where additional exploration is expected to provide the greatest learning value.
Online resource allocation. Online resource allocation is a central topic in the online optimization literature and has been applied in many operational settings, including ad assignment (Mehta et al. 2007), revenue management (Talluri and Van Ryzin 2006, Jasin and Kumar 2012, Jiang et al. 2025), and online packing/covering problems (Buchbinder and Naor 2005, 2006, Feldman et al. 2010). The existing algorithmic literature can be broadly organized according to how it exploits dual information. A dominant class of methods uses dual prices as signals for making online allocation decisions. Within this class, some papers adopt a learn-once strategy: they reserve an initial set of arrivals for estimation, compute a price vector from that sample, and then use the same prices for all future decisions (Devanur and Hayes 2009, Feldman et al. 2010, Molinaro and Ravi 2014, Devanur and Jain 2012). Other papers advocate adaptive updating, where the pricing rule is revised at multiple points over time through repeated re-solving, leading to stronger robustness and improved horizon dependence (Agrawal et al. 2014, Li and Ye 2022, Chen and Wang 2015). In parallel, other works depart from this paradigm by developing primal-oriented algorithms (Kesselheim et al. 2014) or first-order schemes that do not require repeated computation of dual prices (Agrawal and Devanur 2014, Balseiro et al. 2020).
Table 3 Evaluation performance (pass@16) comparison across different models and benchmarks.
| Base Model | Method | AIME | AMC | MATH | MINERVA | Olympiad | Avg. |
|---|---|---|---|---|---|---|---|
| DSR1-Q1.5B | GRPO | 20.00 | 55.42 | 83.40 | 46.69 | 40.89 | 49.28 |
| KnapsackRL | 20.00 | 56.63 | 82.80 | 42.65 | 40.59 | 48.53 | |
| CERO (ours) | 20.00 | 62.65 | 84.20 | 44.85 | 43.26 | 50.99 | |
| Random-matched CERO | 13.33 | 51.81 | 81.40 | 45.96 | 39.70 | 46.44 | |
| Qwen3-4B | GRPO | 40.00 | 79.52 | 92.00 | 51.10 | 62.67 | 65.06 |
| KnapsackRL | 46.67 | 80.72 | 92.20 | 51.84 | 64.00 | 67.09 | |
| CERO (ours) | 40.00 | 83.13 | 92.20 | 52.21 | 59.70 | 65.45 | |
| Random-matched CERO | 43.33 | 73.49 | 92.00 | 51.10 | 61.04 | 64.19 | |
| Q2.5-7B-Inst | GRPO | 33.33 | 73.49 | 91.40 | 47.79 | 57.78 | 60.76 |
| KnapsackRL | 30.00 | 74.70 | 92.00 | 48.53 | 60.30 | 61.10 | |
| CERO (ours) | 36.67 | 78.31 | 89.40 | 48.53 | 58.81 | 62.34 | |
| Random-matched CERO | 30.00 | 71.08 | 88.80 | 46.69 | 56.74 | 58.66 |
Appendix B: Additional Results and Diagnostics
B.1. Pass@16 Evaluation
In addition to the avg@16 results reported in the main text, we evaluate pass@16 performance to measure success coverage under repeated sampling. Pass@16 is the percentage of problems with at least one correct response among these 16 samples:
For binary rewards, this is equivalent to averaging the maximum reward among the 16 responses for each problem. Table 3 shows that CERO improves the pass@16 macro-average over GRPO on all three backbones, with gains of 1.71, 0.39, and 1.58 points. It achieves the highest macro-average on DeepSeek-R1-Distill-Qwen-1.5B and Qwen2.5-7B-Instruct, reaching 50.99 and 62.34, respectively. On Qwen3-4B, KnapsackRL achieves the highest score of 67.09, compared with 65.45 for CERO. Together with the avg@16 results, these findings show improvements over GRPO in both average response accuracy and repeated-sampling success coverage.
B.2. Reliability of the Reward-Variation Proxy
We examine whether CERO's pre-decision reward-variation proxy captures differences in subsequently observed group variance, both across prediction levels and over the training trajectory.
Diagnostic setup. We analyze 32,000 executed prompt–round groups from the DSR1-Q1.5B run. For each group, we pair the pre-decision prediction with the unbiased sample variance of the eight binary rewards generated afterward. Figure 6 aggregates these pairs into seven nonempty prediction bins and plots the mean prediction against the mean observed variance . Vertical error bars show nominal 95% normal-approximation intervals,
where is the number of groups in bin and is the sample standard deviation of their observed group variances. These intervals use group-level standard errors within a single run, without adjustment for repeated-prompt or temporal dependence.
Association across prediction levels. Figure 6 shows a strong positive association between predicted and observed bin means, with Pearson correlation and Spearman correlation . Across the plotted prediction range, the observed mean group variance rises overall from approximately 0.03 to 0.20. Higher-prediction bins generally correspond to greater realized reward variation, and the ordering of the bin means is closely preserved despite a local fluctuation in the intermediate range. The proxy therefore distinguishes prediction ranges associated with substantially different levels of subsequent reward contrast. Because the predictions are recorded before the current-round responses are generated, this association reflects information available when CERO makes its allocation decisions.
Absolute calibration. The predicted values also exhibit an upward offset in numerical scale. Across the selected groups, the mean predicted variance is 0.154, compared with a mean observed variance of 0.119. Consistent with this difference, the bin means in Figure 6 lie below the diagonal marking equality between predictions and observations. The strong correlations and the displacement from the diagonal characterize two distinct properties: the proxy captures differences across prediction levels while tending to overestimate absolute reward variance. This distinction matters for CERO because enters the surrogate utility and prompt-dual updates numerically, rather than serving only as a ranking statistic. The diagnostic thus identifies both the information carried by the proxy and the calibration offset present in the analyzed run.
Temporal tracking and allocation relevance. Figure 2 provides a complementary view by aggregating the same trajectory into ten consecutive equal-budget intervals of 3,200 groups each. Predicted and observed interval means co-vary over training, with Pearson correlation . Their trajectories capture common decreases and rebounds, showing that the proxy reflects changes in reward variation as training progresses, in addition to the differences across prediction levels shown in Figure 6. This behavior is relevant to group-relative supervision: mixed-outcome groups provide positive reward variance, whereas all-correct and all-incorrect groups provide no within-group reward contrast. Together, the prediction-bin and temporal analyses support as an informative prospective signal for CERO's allocation mechanism. They complement the selection-lift and effective-group analyses in Section 6.2, which examine how the resulting allocation translates that signal into prompt choices and usable supervision.
B.3. Cross-Round Prompt Exposure
To examine how CERO redistributes repeated exposure over the training horizon, we compare terminal cumulative prompt exposure with GRPO. Following Section 2, we normalize each prompt's terminal exposure by the equal-share scale . In Figure 7, the empirical CDF at gives the fraction of prompts with . Because both methods use fixed-size response groups and the same total rollout budget, differences in terminal exposure reflect how many times each prompt is selected over the training horizon rather than differences in group size or aggregate exposure.
Figure 7 shows that CERO induces a broader terminal-exposure distribution than GRPO. CERO spreads terminal exposure across three levels, with 57.5% of prompts at 0.84R, 27.8% at 1.12R, and a 14.7% high-exposure tail at 1.40R. GRPO is more concentrated, with 41.0% and 58.1% of prompts at 0.84R and 1.12R, respectively. Thus, CERO shifts exposure away from the more concentrated GRPO pattern: a larger fraction of prompts receive below-equal-share exposure, while a smaller subset is revisited sufficiently often to reach

Figure 6 Calibration of CERO's reward-variation proxy on DSR1-Q1.5B. Points show predicted and observed bin means across seven prediction bins; vertical bars indicate nominal 95% within-run intervals for the observed means. The dashed diagonal marks perfect calibration.
substantially above the equal-share level. Since both methods use the same total rollout budget, this broader distribution reflects a redistribution of repeated selections across prompts rather than additional aggregate exposure. In particular, CERO trades fewer revisits to some prompts for more persistent revisiting of others over the training horizon.
B.4. Computational Cost
We compare the training cost of CERO, Random-matched CERO, KnapsackRL, and vanilla GRPO. For every backbone, all methods use the same number of GPUs, 500 scheduler rounds, and a matched budget of 256,000 training responses. End-to-end GPU-hours are calculated as the Slurm elapsed time multiplied by the number of allocated GPUs. This measurement includes initialization, in-training validation, and checkpointing.
Figure 8 provides a detailed comparison for the 1.5B backbone. In addition to end-to-end GPU-hours, we report core training time normalized by the number of generated response tokens. The normalized
Cross-round redistribution of prompt exposure

Figure 7 Empirical CDF of normalized terminal prompt exposure for CERO and GRPO on DSR1-Q1.5B. The dashed line marks the equal-share exposure .
measurement excludes validation and checkpointing but includes rollout generation, reward computation, log-probability computation, policy optimization, and allocation-related operations.
On the 1.5B backbone, CERO, Random-matched CERO, KnapsackRL, and vanilla GRPO consume 16.94, 17.15, 17.53, and 17.57 GPU-hours, respectively. Their token-normalized core costs are 84.2, 84.5, 83.6, and 84.2 seconds per million generated response tokens. The normalized measurements differ by only approximately 1.1% of their mean value, with CERO being nearly identical to vanilla GRPO. CERO therefore combines adaptive allocation with token-normalized core training cost comparable to the baselines in the 1.5B experiment.
We also measure end-to-end GPU-hours for the larger backbones. On Qwen3-4B-Base, CERO uses 36.31 GPU-hours, Random-matched CERO uses 36.78 GPU-hours, KnapsackRL uses 35.85 GPU-hours, and vanilla GRPO uses 36.89 GPU-hours. These values correspond to wall-clock times of 9.08, 9.19, 8.96, and 9.22 hours, respectively, using four H800 GPUs. The differences among the four methods are within approximately 3% of their mean compute cost.
On Qwen2.5-7B-Instruct, CERO, Random-matched CERO, KnapsackRL, and vanilla GRPO use 31.46, 32.78, 34.99, and 31.72 GPU-hours, respectively. Their corresponding wall-clock times are 7.86, 8.19, 8.75,


Figure 8 Training-compute comparison on DeepSeek-R1-Distill-Qwen-1.5B under a matched response budget. The left panel reports end-to-end GPU-hours, while the right panel reports core training time normalized by generated response tokens.
and 7.93 hours on four H800 GPUs. CERO therefore remains comparable to the baselines in end-to-end computational cost as the backbone size increases.
The end-to-end measurements capture the practical cost of each complete training protocol under the matched response budget, including differences in response lengths and update counts. CERO and Random-matched CERO perform 488, 486, and 487 policy updates on the 1.5B, 4B, and 7B backbones, respectively, while GRPO and KnapsackRL perform 500. Zero-allocation rounds account for the lower update counts.
Each cost measurement is obtained from one completed run per method and backbone. Across the reported runs, CERO combines adaptive prompt selection and cross-epoch budget pacing with comparable end-to-end training cost. On the 1.5B backbone, its token-normalized core cost matches GRPO at 84.2 seconds per million generated response tokens.
Appendix C: Utility Properties and Full-Information Oracle
C.1. Exact Conjugate, Fenchel Representation, and Stability
Fix , set , and write on . Define
LEMMA 1 (Closed-form compact conjugate). If , then for every . If , then
The minimizer is given by (9).
or , differentiate . Its derivative is and is strictly increasing in . If , the objective is nonincreasing on and the minimum is at . If , the unique root is . If , the minimum is at 0. Substitution yields (14). The case is immediate.
We also write for the compact conjugate parameterized by ; in particular, in Section 2.3.
LEMMA 2 (Exact compact biconjugate and stability). For every and ,
Moreover, for ,
T he slope of lies in . For a fixed , choose the supporting slope , with one-sided derivatives at the endpoints. Concavity gives
so . The reverse inequality follows directly from the definition of the conjugate.
For stability,
The first bound follows from the mean-value theorem. Applying a common uniform perturbation before taking the infimum over gives the conjugate bound.
C.2. Full-Information Oracle
We characterize the fixed-rate full-information benchmark when the target rates are known. Since the objective depends only on terminal prompt exposures, the oracle can first determine the optimal exposure vector and then distribute these exposures across the K rounds.
Terminal-exposure formulation. Writing and , the fixed-rate benchmark can be expressed as
Every feasible rollout plan induces an exposure vector satisfying these constraints. Conversely, every such integer vector admits a feasible round-level realization, as shown below. For the continuous relaxation, the uniform assignment is feasible because and .
Continuous water-filling solution. Relaxing the integrality constraint gives a separable concave optimization problem. Let be the multiplier for the total budget. For , an interior optimum satisfies . Consequently, for , the optimal exposure has the clipped water-filling form
where .
Let . When , the budget is binding and can be chosen so that . The left-hand side is continuous and nonincreasing in , allowing the price to be found by one-dimensional bisection. Prompts with contribute zero utility and may be assigned zero exposure. When , assigning units to every positive-rate prompt is optimal; any remaining budget may be left unused or assigned to zero-rate prompts without changing the objective.
Exact integer allocation. For integer exposures, the marginal utility of the -th allocation unit assigned to prompt i is
These marginal gains are nonnegative and nonincreasing in . Starting from for every prompt, the oracle repeatedly assigns one unit to an unsaturated prompt with the largest currently available gain . Repeating this operation for units produces an optimal integer exposure vector, allowing zero-gain assignments when necessary.
The optimality follows from the decreasing marginal-gain sequences. A set of the largest gains can be chosen to contain a prefix of each prompt's sequence, with ties resolved in favor of earlier units. The greedy procedure constructs such a set while respecting . A max-heap containing the next available marginal gain for each unsaturated prompt computes the exposure vector in time and auxiliary memory.
Recovery of a feasible rollout plan. To realize any feasible integer exposure vector , let and list its allocation units, placing the units for each prompt in one consecutive block. Assign the -th unit in this list to round . Each prompt's units are thereby spread as evenly as possible across rounds, and the same is true of the total allocation. The resulting counts satisfy
The final inequalities use , , and the integrality of and . Thus, the exposure-level optimum is attainable under the original global-budget and per-round capacity constraints.
Full-capacity boundary. When and , assigning to every prompt in every round is feasible and yields . Since each utility is nondecreasing in exposure, this allocation attains
The full-allocation rule therefore achieves zero fixed-rate regret without estimating the target rates.
The oracle makes the diminishing-return structure explicit: additional units are assigned according to their remaining marginal utility rather than a prompt's initial rate alone. It characterizes the fixed-rate benchmark, while CERO uses reward-derived proxy states and online dual updates to allocate rollouts as feedback becomes available.
Appendix D: Proof of the Fixed-Rate Guarantee
For the analysis, if the execution budget is exhausted before round K, we continue the virtual iterates through the remaining rounds under the same update rules, with all subsequent executed allocations set to zero.
For each round , let be the post-feedback proxy utility and its compact conjugate. Let be the virtual proposal and . Work with the unnormalized duals and . The normalized updates in (10) are equivalent to projected subgradient descent with
Define convex losses, after the round-k proposal and proxy utilities have been realized, by
Any is a supergradient of the concave conjugate at , so
is a subgradient of . Also is the gradient of . The gradient bounds are
The domain diameters are and . Standard projected-OGD analysis therefore gives
These inequalities are pathwise; the losses may depend on the realized feedback and current proposal.
Define
Let
Separability gives
Hence
Let attain (4), define , and set . Then and
Thus . Since is integral, the integer proposal maximizes the same linear function over the continuous polytope. Therefore
Using , , and the proxy Fenchel representation yields
Summing and combining with (36) gives
Let and
By Lemma 2, both the proxy utility and its conjugate differ from their target versions by at most . Consequently,
Since ,
It remains to pass from virtual proposals to executed allocations. The prefix clipping rule implies
Every target utility has derivative at most , so
This clipping loss is exactly absorbed by the violation term on the left of (43). Therefore
Substitute , , use (44), and divide by . Since every prompt utility lies in , the average regret is also at most one. Combining the two bounds gives (11).
Appendix E: Proof of the Same-Path Guarantee
We first record a stability inequality for one incremental utility.
LEMMA 3 (Increment stability). For any and satisfying ,
Then
Because for , the derivative magnitude is at most . Apply the mean-value theorem.
For each prompt choose the midpoint of its realized rate range,
Then for every . For any feasible allocation , let
Using (48) and total budget feasibility,
Applying this inequality to the dynamic optimum and to the executed CERO allocation gives
The average proxy error relative to satisfies
Apply Theorem 1 with reference vector and substitute the last inequality into (56). In addition, (3) and total budget feasibility imply that every same-path objective is at most , so the normalized regret is at most . Dividing by M and combining the two bounds yields (12).
Appendix F: Proofs of the Beta-state Propositions
[ Proof of Proposition 1] Conditional on , each pair of future Bernoulli rewards disagrees with probability . The unbiased sample variance for binary data satisfies
Taking conditional expectations first given and then given proves the claim.
[ Proof of Proposition 2] Let and . Then
The function is one-Lipschitz on , so
Moreover,
and
Combining the bounds proves (7).
Appendix G: Implementation Details
Training. We use two locally modified veRL-based (Sheng et al. 2025) stacks with matched learner and decoding hyperparameters, vLLM 0.8.3 for generation, and FSDP for actor training. Bfloat16 is used for generation and actor computation. Experiments use two NVIDIA H800 GPUs for the 1.5B backbone and four for the 4B and 7B backbones. All methods use GRPO with within-group standard-deviation normalization, advantage clipping to , and loss averaged over valid response tokens. AdamW uses a constant learning rate of , , zero weight decay, and no warmup. We use one PPO epoch per collected batch, no reshuffling, and a global PPO mini-batch size of 32. The lower/upper policy clipping parameters are 0.20/0.28, the dual-clip constant is 10, the importance-ratio cap is 2, and the gradient-norm threshold is 1. KL and entropy regularization are disabled. Training prompts are left-truncated to 2,048 tokens and responses are capped at 2,048 tokens; sampling uses temperature 1.0, top-p 1.0, and top-k -1. Training rewards are computed using the rule-based mathematical verifier from DAPO (Yu et al. 2025), which treats +1 as success and 0 as failure. The CERO run in Table 1 is included in the multi-seed results in Table 2.
A scheduler round is one allocation opportunity, whereas a training step is one policy-update call on a collected rollout batch. Zero-allocation rounds advance the scheduler without updating the policy. A data epoch is one traversal of the training data loader, distinct from a PPO epoch over a collected rollout batch.
Allocation settings. We use Algorithm 1 with responses per allocation unit and , , and in allocation units. CERO uses a Beta(1,1) prior, , , and . Ties use a fixed seed permutation. Reserve-aware catch-up was enabled but never activated in the reported CERO runs. KnapsackRL uses positive and negative base allocations of two, a reward-history buffer of length 16, a minimum initialized history length of four, and robust epoch estimation.
CERO-greedy uses the same reward-proxy estimator, utility function, and fixed 512-response quota as CERO-fixed, but replaces prompt-dual scores with the marginal utility of one additional complete group. In our experiments, each group contains eight responses, corresponding to allocation units. At the beginning of round , the selection score for prompt is
where is the pre-decision proxy and is the cumulative executed exposure in the control run. We use CERO's exponential utility with the same saturation parameter and exposure normalization. Each round scores the full training prompt pool and selects the 64 prompts with the largest scores, generating one eight-response group per prompt. This control preserves the reward-based utility and its diminishing-return structure while replacing dual-based selection with direct marginal-utility ranking.
Evaluation. We follow Tan et al. (2025) and evaluate the checkpoint obtained after 500 scheduler rounds using 16 responses per problem, temperature 0.6, top-p 1.0, and top-k -1. All methods use the same rule-based mathematical equivalence checker without an LLM judge. Metric definitions are given in Section 6 and Appendix B.1; computational costs and schedule audits are reported in Appendix B.4.