Manuscript Offprint
arXiv:2610.10393Safe Meta-Policy Design with Risk Control
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Models can be retrained as new data arrive, but deploying every new version risks replacing a good policy with a worse one. We study how to plan policy updates (i.e., meta-policy) before future candidates are trained, balancing the benefits of improvement against the risk of performance regression. Our offline meta-policy maximizes expected cumulative value subject to a budget on the expected number of updates that perform worse than the policies they replace. We estimate the value and risk of possible switches from historical learning trajectories, represent an update schedule as a path in a directed acyclic graph, and select a schedule using dynamic programming. A leading-order analysis identifies the signal-to-noise ratio of policy improvement as a key driver of update frequency, waiting times, and risk allocation: clearer improvements support earlier, more frequent updates, while noisier improvements call for longer waits or greater risk expenditure. Their asymptotic rates also reveal a diminishing marginal cost of achieving greater safety over time. Experiments on synthetic and clinical trial data illustrate the performance–risk tradeoff and compare our method with alternative baselines.
1 Introduction
Machine learning systems are often retrained as new data become available, but a newly trained model need not be better than the one currently deployed. Organizations must therefore decide both how to learn from additional data and when to put the resulting models into use. These decisions arise in applications such as treatment recommendations, clinical decision support, lending, and pricing, where model updates change the decisions made for users (Qian and Murphy, 2011; Zhao et al., 2012; Athey and Wager, 2021).
Choosing when to update involves a clear tradeoff. Although additional data may improve performance in expectation, sampling variability can produce a candidate whose performance is lower than that of the deployed model (Pirotta et al., 2013). As illustrated in Figure 1, frequent updates deliver improvements sooner but create more opportunities for performance regression. Waiting reduces this exposure at the cost of delaying useful improvements. The challenge is to choose a deployment schedule that balances these gains and risks (Zhou et al., 2026; Zhou and Zhu, 2026).
In many applications, this deployment process must be specified before the performance of future candidate models is known. For example, the U.S. Food and Drug Administration's guidance on Predetermined Change Control Plans allows manufacturers of AI-enabled medical devices to specify how anticipated modifications will be developed and evaluated before implementation (U.S. Food and Drug Administration, 2025). Motivated by such settings, we study an offline planning problem in which models are trained sequentially and their deployment times are chosen in advance. We call this schedule a meta-policy and define an update as unsafe if it lowers average policy value in the target population. Our goal is to maximize expected cumulative deployed value subject to a budget on the expected number of unsafe updates.
Each update changes the deployed policy and therefore the risk of later updates. Deploying a candidate makes it the benchmark for the next replacement, whereas skipping it leaves the current policy in place. We therefore optimize the deployment schedule as a whole. When candidate values improve in expectation, we show that an optimal schedule deploys the newest available candidate whenever it updates. This result allows us to represent a schedule as a path through candidate training times. Each edge records the expected value earned while a policy remains deployed and the risk of replacing it at the next update. We estimate these quantities from historical learning trajectories and use dynamic programming to select the path with the highest expected value subject to the safety budget (Beasley and Christofides, 1989).
We also study how the learning dynamics determine the optimal schedule. Under a time-inhomogeneous Itô diffusion model for policy value (Itô, 1951), we derive a leading-order continuous approximation in which update intervals are inversely proportional to the squared local signal-to-noise ratio (SNR) of policy improvement: More reliable improvements support more frequent updates, while noisier improvements require longer waits. For a horizon of T periods and safety budget , the analysis
Realized candidate process
Currently deployed policy
✗ Unsafe update
Long period: delayed gains
Medium period: balanced
Short period: more exposure



Figure 1: The core tradeoff in deciding how often to update a policy. Updating slowly (left) leaves an outdated policy in place and loses value, while updating quickly (right) tracks improvements closely but risks deploying a policy worse than the one it replaces (a safety violation).
yields regret of order and an update count of order , with risk allocated adaptively according to the local learning dynamics. These rates reveal a favorable scaling law: as the horizon grows, the meta-policy can deploy an increasing number of policy updates while the average value lost from delayed deployment still vanishes. At the same time, stricter safety requirements enter only through , so multiplicative reductions in the allowable risk lead to only additive increases in waiting time and a correspondingly mild loss in deployed value. In sum, these results show that substantial gains in safety can be achieved without sacrificing responsiveness at the same rate.
Experiments in synthetic learning environments and on International Stroke Trial data (International Stroke Trial Collaborative Group, 1997; Sandercock et al., 2011) illustrate these tradeoffs. The proposed schedules achieve higher value under the estimated safety budget than periodic updating and alternatives that restrict update timing or risk allocation. The gains are most pronounced when the rate and variability of policy improvement change over time, making a fixed update interval less effective.
Related Work Safe policy improvement seeks to replace a baseline policy only when the available evidence supports non-inferiority or improvement. Early approaches certify a learned candidate using held-out data or construct conservative updates from policy-improvement bounds (Thomas et al., 2015; Laroche et al., 2019), while conservative bandit methods maintain performance relative to a default policy during learning (Wu et al., 2016). Recent work has strengthened this perspective by optimizing lower-tail performance guarantees (Zhao et al., 2024b), calibrating multiple tests over candidate threshold policies (Cho et al., 2025), restricting deviations to well-supported decision points (Sharma et al., 2025), and conformally regulating deviations from a safe reference policy (Prinster et al., 2026). While these methods primarily construct or certify an individual policy relative to a baseline, our framework takes a sequence of data-dependent candidate policies as given and jointly selects their deployment times, thereby extending safe policy improvement from a single-update decision to a sequential deployment problem.
A complementary literature studies sequential learning when changing the deployed policy is costly or when only a limited number of data-collection batches is available. Low-switching reinforcement-learning algorithms control regret while limiting policy changes (Bai et al., 2019), and deployment-efficient methods minimize the number of distinct policies required to learn a high-performing policy (Matsushima et al., 2021; Huang et al., 2022). Recent work extends these guarantees to broad sequential-decision classes and batch-learning constraints (Xiong et al., 2024), generalized linear contextual bandits with update budgets (Sawarni et al., 2024), reinforcement learning with general function approximation (Zhao et al., 2024a), and reward-free exploration with near-optimal deployment complexity (Zhang et al., 2025). Whereas this literature generally minimizes regret or sample complexity under an exogenous switching or deployment constraint, our meta-policy makes the number and timing of updates endogenous and explicitly weighs cumulative value against the probability that each deployed candidate performs worse than its incumbent, giving rise to a distinct set of structural properties.
Our computational formulation is related to the resource-constrained shortest-path problem, for which classical work developed exact dynamic programs and approximation schemes (Handler and Zang, 1980; Beasley and Christofides, 1989; Hassin, 1992; Lorenz and Raz, 2001). Recent advances include multiphase dynamic programming for acyclic networks (Himmich et al., 2024), enhanced bidirectional heuristic search (Ahmadi et al., 2025b), and faster label-setting methods that accommodate multiple or signed resource quantities (Ahmadi et al., 2025a). Our theoretical analysis is also connected to continuous-time approximations of stochastic-gradient algorithms, including stochastic modified equations and local diffusion models (Li et al., 2017; Mandt et al., 2017); recent refinements study stochastic modified flows and the weak accuracy of alternative stochastic differential equation approximations (Gess et al., 2024; Ankirchner and Perko, 2024). Unlike generic path solvers or diffusion analyses of parameter iterates, our contribution derives a problem-specific graph whose edges encode estimated deployment value and unsafe-update risk, and then transports the learning dynamics to the policy-value process to characterize the optimal number, timing, and risk allocation of policy updates.
Assumption 1. The covariates and potential outcomes are drawn i.i.d. from P, i.e.,
This assumption concerns the covariates and potential outcomes; treatment assignments need not be independent across periods.
A policy is a mapping , with value
At each period , the decision-maker trains a candidate policy using the observations accumulated through that period, . For a learned policy, evaluates its population performance conditional on the realized training data.
Candidate training and deployment are governed separately. A meta-policy m specifies which candidate is deployed in each period: the deployed policy at time t is . We consider schedules fixed in advance, with feasible class
The restriction ensures that a candidate is trained before it is deployed. We assume an offline setting in which deployment decisions do not affect the data-generating process used to train future candidates. Figure 2 illustrates an example of meta-policy.

Figure 2: A deployment schedule and its path representation for T = 4. Left: The meta-policy updates at times 2 and 4, retaining at time 3. Right: The corresponding path deploys , with node serving as the terminal sink.
An update is unsafe if the newly deployed policy has lower population value than its incumbent. Given a safety budget , we choose a meta-policy to maximize expected average deployed value while bounding the expected number of unsafe updates:
(1)
Here, the outer expectation is over the training data , which generates the candidate-policy sequence. Appendix A discusses extensions beyond the binary-treatment causal setting.
3 Proposed Algorithm
We reformulate problem (1) as a resource-constrained path problem and develop a dynamic programming algorithm using data-driven estimates of policy values and update risks.
3.1 Path Selection Reformulation
The reformulation relies on the following assumption that candidate-policy values improve in expectation, motivated by policy-improvement methods (Pirotta et al., 2013; Schulman et al., 2015).
Assumption 2 (Policy improvement). For all with , .
Assumption 2 allows individual candidates to perform worse than their predecessors; it requires only that their expected values be nondecreasing. It therefore permits unsafe updates, unlike pathwise monotonicity.
The following result shows that an optimal schedule can be chosen to deploy the newest candidate whenever an update occurs.
Lemma 1 (Newest-policy reduction). Under Assumption 2, problem (1) admits an optimizer satisfying
By Lemma 1, an optimal meta-policy can be specified entirely by its update times: once these times are chosen, the deployed candidate at each update is determined. Write for the initial deployment and subsequent updates, and set to mark the end of the horizon. The schedule deploys during periods , for . Thus, each consecutive pair specifies a holding interval and, except for the final pair, the update that follows it.
This interval representation provides a natural connection to path optimization. Represent each candidate's training time by a vertex and each possible holding interval by a directed edge. A deployment schedule then corresponds to the path , as illustrated by Figure 2. Assigning each edge its contribution to expected deployed value and its unsafe-update probability makes both the objective and the safety constraint additive along the path. Formally, construct a directed acyclic graph with
For , an edge represents deploying during periods and switching to at time . The terminal edge represents retaining through period , with no further update. Let denote the directed paths from to , including the empty path when :
(2)
Each edge receives a reward equal to its contribution to expected average deployed value and a safety cost equal to its unsafe-update probability.
Proposition 1 (Path selection problem). Define as in (2). Under Assumption 2, problem (1) is equivalent to
where and denote the reward and safety cost matrices,
Thus, an optimal schedule corresponds to a maximum-reward source-sink path subject to an additive safety budget. This is the maximization form of the resource-constrained shortest-path problem (Handler and Zang, 1980; Beasley and Christofides, 1989). The safety costs add by linearity of expectation, without requiring independence between unsafe-update events.
3.2 Dynamic Programming Solution
We solve the path selection problem using plug-in edge estimates and a discretized safety budget. The resulting dynamic program is exact for the estimated, gridded problem. Algorithm 1 provides the pseudocode.
Step 1: Estimating Reward and Cost We estimate the edge rewards and safety costs using N offline trajectories,
For each trajectory , we train on the first observations using the same learning procedure that generates the candidate policies, and denote its estimated population value by . The choice of policy-learning and value-estimation methods depends on how the data are collected (Dudik et al., 2014; Zhan et al., 2024; Jia et al., 2024). Averaging across trajectories gives
(4)
Estimation error can cause a schedule that satisfies the empirical safety budget to violate the population constraint. Population risk control therefore requires accounting for uncertainty in the estimated safety costs.
Step 2: Dynamic Programming To solve the estimated path problem, we first discretize the safety budget into units of size . We round the available budget down and each edge cost up:
This guarantees that any path using at most budget units satisfies the estimated safety constraint:
A smaller reduces the error introduced by rounding but increases the computational cost.
For each node and budget , let denote the largest estimated reward achievable
Algorithm 1 Safe Meta-Policy Optimization
Require: Offline trajectories ; time horizon ; safety budget ; grid width .
1: Construct the update DAG with source 1 and destination as in (3).
2: Estimate and according to (4). For each terminal edge , set .
3: Compute and according to (5).
4: Initialize for all and for all and .
5: for each vertex in topological order do
6: for do
7: .
8: Store max predecessor when .
9: end for
10: end for
11: Recover optimal path by backtracking from through the stored predecessors.
12: return The meta-policy corresponding to .
by a path from node 1 to node j using at most b budget units. Initialize for all b, and set the value of any infeasible state to . A path reaching j through edge earns reward and leaves at most budget units for the preceding path. For , maximizing over predecessor nodes gives the Bellman recursion
Because every edge connects an earlier node to a later one, we evaluate these states in increasing order of . The optimal value of the discretized problem is . Recording the selected predecessor at each state allows us to recover the optimal path and its deployment schedule by backtracking from .
Given the edge estimates, the algorithm requires time and memory, including storage for edge estimates, state values, and predecessors. Appendix B.3 provides further discussion of grid-width selection, approximation error, and an extension that accounts for uncertainty in the estimated safety costs.
4 Theoretical Analysis
This section characterizes and interprets the optimal update frequency, safety-risk allocation, and resulting deployment regret. All technical proofs are deferred to Appendix C.
Throughout our analysis, we assume that the policy value as a time-inhomogeneous Itô diffusion (Itô, 1951), with deterministic drift and volatility .
Assumption 3 (Itô diffusion). Let and be two deterministic smooth functions, and be a constant. We assume that
where is a standard Brownian motion.
This assumption is inspired by diffusion-type approximation, which has been used in the literature to study stochastic-gradient learning dynamics (Li et al., 2019) and, more specifically, policy-gradient learning in stochastic bandits (Lattimore, 2026). It can be derived from more primitive assumptions with itself, which we further discuss in Appendix C.1.
Assumption 3 allows us to derive a continuous-time leading-order approximation to the original problem asymptotically. We introduce a horizon-dependent waiting-time function as the continuum analogue of the discrete holding intervals . Starting from , the associated continuous schedule is generated recursively by
for as long as the proposed next update satisfies . Once the next proposed update would reach or exceed T, no further update is made, and the currently deployed policy is retained until the terminal time T. The update interval is used in the approximated optimization problem as its decision variable.
Lemma 2 (Leading-order approximation). Under Assumption 3, as , Problem (1) admits the following continuous leading-order approximation:
(8)
The objective of (8) is derived by replacing the original objective of maximizing cumulative reward with minimizing regret, where regret is measured relative to the always-update baseline,
The integrand in the constraint can be interpreted as a local risk-expenditure rate, where the numerator is the probability that an update is harmful, and captures the local update frequency. The constraint encourages frequent updates when learning is fast and stable, and longer waits when learning is slow or noisy.
Theorem 1 (Update interval). Define the following constants and functions,
Under the same assumptions as Lemma 2, there is
Theorem 1 characterizes how the optimal update interval adapts to the local learning dynamics. Since represents the squared local signal-to-noise ratio (SNR) and the leading term scales as , updates should occur more frequently when expected improvement is strong relative to its variability, and less frequently when learning is noisy. The logarithmic correction reflects the sharp-tail behavior governing unsafe-update risk.
Importantly, Theorem 1 reveals a favorable diminishing marginal cost of additional safety. Imposing stricter safety budgets increases the waiting time between updates only logarithmically through . This implies that when the safety budget is relatively large, tightening the budget can initially require noticeable increases in the update interval; but as the safety requirement becomes increasingly stringent, further multiplicative reductions in translate into only additive increases in . Consequently, a substantial improvement in deployment safety can be achieved without a proportionally large reduction in update frequency, encouraging practitioners in high-risk settings to adopt conservative update schedules without sacrificing responsiveness at the same rate.
Corollary 1 (Risk per-update). Under the same assumptions and notations as in Theorem 1, let
Then, there is
where denotes the normalized update times.
Corollary 1 shows that the optimal schedule allocates the safety budget unevenly across updates according to the local learning dynamics, with the per-update risk scales with . Moreover, because the overall scale is , the risk associated with each individual update vanishes as the learning horizon grows, even while the number of updates increases. Hence, the optimal policy achieves global safety not by imposing a uniform risk level on every update, but by adaptively distributing risk across the trajectory.
Corollary 2 (Regret and number of updates). Let be defined in (9) and be the total number of updates generated according to (7). Under the same assumptions and notations of Theorem 1, there is
Corollary 2 characterizes the aggregate cost and adaptivity of the optimal deployment schedule. In particular, the optimal regret vanishes at the rate , while the number of updates grows on the order of , showing that the system can accommodate an increasing number of policy updates over a longer learning horizon while incurring vanishing average deployment regret. The second-order terms further reveal that this tradeoff depends on the entire learning trajectory through : periods in which learning is more informative contribute differently to both cumulative regret and the total number of deployments. Together, these results quantify how the locally adaptive update rule translates into a global balance between responsiveness and the cost of holding outdated policies.
5 Numerical Experiments
This section presents three sets of numerical experiments that compare the proposed meta-policy with update rules commonly adopted in practice and validate our theoretical analysis in Section 4.
Experiment setting. We evaluate our framework on both synthetic and real-data policy-learning environments. For the synthetic study, we consider three learning regimes with low, medium, and high value-process signal-to-noise ratios by varying the learning rate and outcome-noise level. We generate 400 independent trajectories of 300 sequential observations and retain a candidate policy every five observations, yielding T = 60 deployment checkpoints, five-dimensional covariates, randomized binary treatment, and heterogeneous treatment effects, and train an online plug-in CATE policy learner. For the real-data study, we use the randomized International Stroke Trial data (Sandercock et al., 2011), constructing 500 bootstrap sequential learning trajectories with nested training sets and evaluating learned policies on a fixed 20% held-out sample using an AIPW value estimator (Robins et al., 1994). Across these settings, we compare our proposed algorithm against (i) periodic updating at the best feasible constant interval, (ii) equal risk, which splits evenly across updates, and (iii) earliest safe, which deploys the first policy whose estimated safety cost falls below a tuned threshold. Further experimental details are provided in Appendix D.

Figure 3: Phase diagrams of the schedules returned by Algorithm 1 on homogeneous value processes with constant drift and volatility ( , , ). From left to right, the panels report the number of updates , the mean per-update risk , the mean normalized pre-update interval preceding an update , and the expected deployed value . Each cell is evaluated under the population rewards and safety costs and averaged over three simulated datasets. White-labeled contours show the leading-order theoretical predictions established in Section 4.

Figure 4: Safety–value Pareto frontiers of the proposed meta-policy (Ours) and three baseline update rules, in three synthetic settings with low, medium, and high value-process SNR and on the International Stroke Trial (IST) data. The horizontal axis is the safety budget (log scale). The vertical axis is the objective of (1), normalized so that 0 and 1 correspond to never updating and to updating every period. All methods use the same estimated rewards and safety costs.

Figure 5: Update times in the optimal schedule selected by the proposed meta-policy as the safety budget varies, in the same four settings as Figure 4. Each black dot indicates a scheduled normalized update time. The left dashed lines mark the smallest budget that admits one update.
Exp 1: Validating the optimality system. Figure 3 uses simulated homogeneous value processes with constant drift and volatility over a grid of , runs Algorithm 1 on the estimated rewards and safety costs, and overlays their theoretical asymptotic rates as white contours. It can be observed that a higher SNR yields more updates, each spending less risk, and admits shorter waits. On the other hand, in the low SNR regime, there might not even exist an update that fits within the budget. The empirical and theoretical surfaces are closely aligned (Pearson correlations of 0.99, 0.99, and 0.98 for , , and ). The experiment suggests that the theoretical structure characterized in Section 4 aligns well with the exact schedules numerically computed by Algorithm 1.
Exp 2: Safety–value frontier. Figure 4 plots the obtained objective value of cumulative reward across different specifications of the safety budget . It can be seen that our method weakly dominates every baseline at every budget, and its frontier exhibits the diminishing returns predicted by Corollary 2. The gap is largest against periodic updating, reaching 0.39 in the high-SNR setting, where our method captures 82% of the always-update gain at versus 53% for periodic updating; the adaptive baselines trail by up to 0.06
(equal risk) and 0.23 (earliest safe). These gains arise because our method jointly chooses when to update and how much risk to spend on each update, rather than fixing either in advance. This result shows that the proposed meta-policy attains a higher safety-value frontier than commonly used update rules in all four settings, rendering it superior in decision-making settings with safety constraints.
Exp 3: Structure of optimal schedules. Figure 5 illustrates how the optimal schedule reorganizes as the safety budget grows, where each column shows the normalized update times selected under a given . Three observations can be made: (i) The schedule is not nested in : as the budget grows, existing updates shift earlier, and new ones are inserted, producing the curved branches in the medium- and high-SNR panels. This agrees with Corollary 1, where allocating more risk to an update shortens its waiting time. (ii) Update placement depends on the SNR: under high SNR, the first update occurs early ( ), and most updates fall in the first half of the horizon, where value improves fastest, whereas under low SNR the first update is deferred to . (iii) The intervals are nonuniform: on IST, updates concentrate at a few recurring times. Hence, the optimal meta-policy adapts both the timing and the risk of each update to local learning dynamics, which neither periodic nor equal-risk rules can replicate by construction.
6 Conclusion
We studied how to schedule the deployment of sequentially learned policies when each update may both improve or worsen performance. We formulated the problem as maximizing cumulative value under a budget on unsafe updates, reformulated it as a resource-constrained shortest-path problem, and developed an offline dynamic-programming solution using historical learning trajectories. Our asymptotic analysis characterizes the optimal update spacing, per-update risk, regret, and number of updates in terms of the local signal-to-noise ratio, revealing that stricter safety can be achieved with only a logarithmic increase in waiting time. Experiments on synthetic environments and real clinical data support these structural insights and demonstrate improved safety-value tradeoffs over benchmark update rules. Our results provide a principled way to coordinate when learned policies should be deployed to safely maximize performance gain.
Our framework also leaves several directions for future work. First, the structural analysis adopts a reduced-form diffusion model for the evolution of policy value. Extending the theory to broader learning dynamics, including non-Gaussian update risks derived directly from specific learning algorithms, would clarify the generality of the resulting scheduling laws. Second, the implemented scheduler relies on estimated rewards and unsafe-update probabilities, so translating empirical feasibility into finite-sample population guarantees requires additional uncertainty quantification. Finally, our safety criterion controls the frequency of harmful updates but not their magnitude. Incorporating severity-sensitive or tail-risk notions of deterioration would provide a richer notion of deployment safety.
References
Saman Ahmadi, Andrea Raith, and Mahdi Jalili. A fast and simple algorithm for the resource constrained shortest path problem. In 33rd Annual European Symposium on Algorithms, volume 351 of Leibniz International Proceedings in Informatics, pages 97:1–97:15. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2025a. doi:10.4230/LIPIcs.ESA.2025.97.
Saman Ahmadi, Andrea Raith, Guido Tack, and Mahdi Jalili. Resource constrained pathfinding with enhanced bidirectional A* search. Proceedings of the AAAI Conference on Artificial Intelligence, 39(25):26878–26885, 2025b. doi:10.1609/aaai.v39i25.34892.
Stefan Ankirchner and Stefan Perko. A comparison of continuous-time approximations to stochastic gradient descent. Journal of Machine Learning Research, 25(13):1–55, 2024.
Susan Athey and Stefan Wager. Policy learning with observational data. Econometrica, 89(1):133–161, 2021. doi:10.3982/ECTA15732.
Yu Bai, Tengyang Xie, Nan Jiang, and Yu-Xiang Wang. Provably efficient q-learning with low switching cost. In Advances in Neural Information Processing Systems, volume 32, 2019.
John E. Beasley and Nicos Christofides. An algorithm for the resource constrained shortest path problem. Networks, 19(4):379–394, 1989.
Brian M. Cho, Ana-Roxana Pop, Kyra Gan, Sam Corbett-Davies, Israel Nir, Ariel Evnine, and Nathan Kallus. CSPI-MT: Calibrated safe policy improvement with multiple testing for threshold policies. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 165–176. Association for Computing Machinery, 2025. doi: 10.1145/3690624.3709176.
Miroslav Dudík, Dumitru Erhan, John Langford, and Lihong Li. Doubly robust policy evaluation and optimization. Statistical Science, 29(4):485–511, 2014. doi: 10.1214/14-STS500.
Benjamin Gess, Sebastian Kassing, and Vitalii Konarovskyi. Stochastic modified flows, mean-field limits and dynamics of stochastic gradient descent. Journal of Machine Learning Research, 25(30):1–27, 2024.
Gabriel Y. Handler and Israel Zang. A dual algorithm for the constrained shortest path problem. Networks, 10(4):293–309, 1980. doi: 10.1002/net.3230100403.
Refael Hassin. Approximation schemes for the restricted shortest path problem. Mathematics of Operations Research, 17(1):36–42, 1992. doi: 10.1287/moor.17.1.36.
Ilyas Himmich, Issmail El Hallaoui, and François Soumis. A multiphase dynamic programming algorithm for the shortest path problem with resource constraints. European Journal of Operational Research, 315(2):470–483, 2024. doi: 10.1016/j.ejor.2023.11.047.
Jiawei Huang, Jinglin Chen, Li Zhao, Tao Qin, Nan Jiang, and Tie-Yan Liu. Towards deployment-efficient reinforcement learning: Lower bound and optimality. In International Conference on Learning Representations, 2022.
International Stroke Trial Collaborative Group. The International Stroke Trial (IST): a randomised trial of aspirin, subcutaneous heparin, both, or neither among 19435 patients with acute ischaemic stroke. The Lancet, 349(9065):1569–1581, 1997.
Kiyosi Itô. On stochastic differential equations. Memoirs of the American Mathematical Society, 4:1–51, 1951. doi:10.1090/memo/0004.
Zeyang Jia, Kosuke Imai, and Michael Lingzhi Li. Cramming contextual bandits for on-policy statistical evaluation. arXiv preprint arXiv:2403.07031, 2024.
Romain Laroche, Paul Trichelair, and Rémi Tachet des Combes. Safe policy improvement with baseline bootstrapping. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 3652–3661. PMLR, 2019.
Tor Lattimore. A diffusion analysis of policy gradient for stochastic bandits, 2026.
Qianxiao Li, Cheng Tai, and Weinan E. Stochastic modified equations and adaptive stochastic gradient algorithms. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 2101–2110. PMLR, 2017.
Qianxiao Li, Cheng Tai, and Weinan E. Stochastic modified equations and dynamics of stochastic gradient algorithms i: Mathematical foundations. Journal of Machine Learning Research, 20(40):1–47, 2019.
Dean H. Lorenz and Danny Raz. A simple efficient approximation scheme for the restricted shortest path problem. Operations Research Letters, 28(5):213–219, 2001. doi:10.1016/S0167-6377(01)00069-4.
Stephan Mandt, Matthew D. Hoffman, and David M. Blei. Stochastic gradient descent as approximate bayesian inference. Journal of Machine Learning Research, 18(134): 1–35, 2017.
Tatsuya Matsushima, Hiroki Furuta, Yutaka Matsuo, Ofir Nachum, and Shixiang Gu. Deployment-efficient reinforcement learning via model-based offline optimization. In International Conference on Learning Representations, 2021.
Matteo Pirotta, Marcello Restelli, Alessio Pecorino, and Daniele Calandriello. Safe policy iteration. In Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, pages 307–315. PMLR, 2013.
Drew Prinster, Clara Fannjiang, Ji Won Park, Kyunghyun Cho, Anqi Liu, Suchi Saria, and Samuel Stanton. Conformal policy control. arXiv preprint arXiv:2603.02196, 2026. doi: 10.48550/arXiv.2603.02196.
Min Qian and Susan A. Murphy. Performance guarantees for individualized treatment rules. The Annals of Statistics, 39(2):1180–1210, 2011. doi: 10.1214/10-AOS864.
James M Robins, Andrea Rotnitzky, and Lue Ping Zhao. Estimation of regression coefficients when some regressors are not always observed. Journal of the American statistical Association, 89(427):846–866, 1994.
Donald B Rubin. Estimating causal effects of treatments in randomized and nonrandomized studies. Journal of educational Psychology, 66(5):688, 1974.
Peter A. G. Sandercock, Maciej Niewada, and Anna Członkowska. The International Stroke Trial database. Trials, 12:101, 2011.
Ayush Sawarni, Nirjhar Das, Siddharth Barman, and Gaurav Sinha. Generalized linear bandits with limited adaptivity. In Advances in Neural Information Processing Systems, volume 37, pages 8329–8369, 2024.
John Schulman, Sergey Levine, Pieter Abbeel, Michael I. Jordan, and Philipp Moritz. Trust region policy optimization. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1889–1897. PMLR, 2015.
Abhishek Sharma, Leo Benac, Sonali Parbhoo, and Finale Doshi-Velez. Decision-point guided safe policy improvement. In Proceedings of the 28th International Conference on Artificial Intelligence and Statistics, volume 258 of Proceedings of Machine Learning Research, pages 2935–2943. PMLR, 2025.
Philip S. Thomas, Georgios Theocharous, and Mohammad Ghavamzadeh. High confidence policy improvement. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 2380–2388. PMLR, 2015.
U.S. Food and Drug Administration. Marketing submission recommendations for a predetermined change control plan for artificial intelligence-enabled device software functions. Guidance for industry and food and drug administration staff, U.S. Food and Drug Administration, August 2025. Document issued on August 18, 2025; originally issued on December 4, 2024. Accessed: 2026-04-07.
Yifan Wu, Roshan Shariff, Tor Lattimore, and Csaba Szepesvári. Conservative bandits. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 1254–1262. PMLR, 2016.
Nuoya Xiong, Zhaoran Wang, and Zhuoran Yang. A general framework for sequential decision-making under adaptivity constraints. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 54792–54830. PMLR, 2024.
Ruohan Zhan, Zhimei Ren, Susan Athey, and Zhengyuan Zhou. Policy learning with adaptively collected data. Man-agement Science, 70(8):5270–5297, 2024. doi: 10.1287/mnsc.2023.4921.
Zihan Zhang, Yuxin Chen, Jason D. Lee, Simon S. Du, Lin F. Yang, and Ruosong Wang. Deployment efficient reward-free exploration with linear function approximation. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-0853.
Heyang Zhao, Jiafan He, and Quanquan Gu. A nearly optimal and low-switching algorithm for reinforcement learning with general function approximation. In Advances in Neural Information Processing Systems, volume 37, pages 94684–94735, 2024a. doi: 10.52202/079017-3002.
Weiye Zhao, Feihan Li, Yifan Sun, Rui Chen, Tianhao Wei, and Changliu Liu. Absolute policy optimization: Enhancing lower probability bound of performance with high confidence. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 60866–60905. PMLR, 2024b.
Yingqi Zhao, Donglin Zeng, A. John Rush, and Michael R. Kosorok. Estimating individualized treatment rules using outcome weighted learning. Journal of the American Statistical Association, 107(499):1106–1118, 2012. doi:10.1080/01621459.2012.695674.
Wenbin Zhou and Shixiang Zhu. Calibrating decision robustness via inverse conformal risk control. In Proceedings of the 43rd International Conference on Machine Learning, 2026.
Wenbin Zhou, Agni Orfanoudaki, and Shixiang Zhu. Conformalized decision risk assessment. In International Conference on Learning Representations, volume 2026, pages 10581–10610, 2026.
Appendices
A Discussion: Problem setting extension
We use binary treatment assignment to introduce the deployment problem, but the scheduling formulation does not depend on a causal model. More generally, let a learning procedure produce candidates from an exogenous training stream, and let be an integrable scalar measure of population performance, with larger values preferred. For example, for prediction, we can take ; for a decision rule, we can use its expected utility. We define an unsafe update by and retain the objective and expected-count constraint in (1). We also assume that the schedule changes which candidate is deployed, not the distribution of the training sequence. As in the main paper, we choose the schedule before observing the future training trajectory (i.e., an offline setting).
Under the same mean-improvement condition as Assumption 2, the newest-candidate reduction, path representation, and dynamic program apply after replacing by . The asymptotic analysis likewise uses only the induced scalar value process and its stated regularity and tail conditions. We therefore obtain the same conclusions for another learning task when that task satisfies those conditions; the existence of a scalar performance criterion alone does not imply the diffusion assumption. For the statistical results below, we additionally require the independent historical trajectories and bounded values specified there. A positive affine change of the performance scale preserves every unsafe-update event and simply rescales rewards.
B Additional details for Section 3
We write and for the entries of the reward and safety matrices, , , and for . We set . A newest-policy schedule has times
There are actual updates and holding intervals. In particular, the last edge contributes reward but no update risk. We denote the population objective and risk of a path by and , respectively.
B.1 Proof of Lemma 1
Proof. The deterministic meta-policy class is finite, and its no-update member is feasible, so a maximizer exists. We show how to transform any feasible meta-policy into a newest-policy schedule without decreasing its objective or increasing its risk.
First, remove backward switches. Suppose a schedule switches from candidate to candidate , and its next switch, if any, is from to . We delete the switch to and retain until that next switch. On the intervening periods, the expected value weakly increases because . For every realized candidate-value vector,
Indeed, if both events on the right fail, then . Thus the new direct transition has risk no larger than the sum of the two removed risks. If there is no later switch, deleting the last switch removes a nonnegative risk. A resulting transition from to itself is a hold and has zero risk. Each operation removes at least one switch, so repetition terminates with a schedule whose deployed candidate indices are strictly increasing.
Write these indices as , and let be their original deployment times. We now advance the deployment of candidate to time , processing the switches in increasing order. The preceding switch has already been advanced to , and the next switch remains later than , so this change preserves the order and availability constraints. It replaces the preceding, lower-index candidate by on additional periods, weakly increasing expected value. The ordered pairs of candidates compared at actual switches do not change, so neither does the total risk. The final schedule either retains its incumbent or deploys the candidate trained at the current time. Applying this transformation to a maximizer proves the claim.
B.2 Proof of Proposition 1
Proof. Given a newest-policy schedule, form the path from 1 to . On the edge , we deploy for exactly periods. Therefore
The second equality follows from linearity of expectation applied to the unsafe-update indicators.
Conversely, every source–sink path in the time-ordered graph has strictly increasing vertices and defines a valid newest-policy schedule by retaining its current vertex’s candidate until the next vertex. The terminal edge retains the last candidate through period T. The two identities in (B.2) again hold. Thus paths and newest-policy schedules have the same rewards and risks, and Lemma 1 establishes equivalence with (1). The direct path represents no updates. For a zero-length subpath, we use , with zero reward and zero resource consumption.
B.3 Correctness and complexity of the dynamic program
Proposition B.1 (Exact solution of the rounded empirical problem). With and , where , Algorithm 1 maximizes the estimated objective over paths satisfying . Given the edge estimates, its time and memory requirements are
respectively, when the edge matrices and backtracking information are stored.
Proof. We prove by induction in that is the largest estimated reward of a path from 1 to with rounded cost at most . The initialization gives the assertion at the source. A path reaching has a unique last edge , where . Removing that edge leaves a path with available budget . By the induction hypothesis, its reward is at most . Conversely, a path attaining a finite predecessor state followed by is a valid path to with the prescribed budget. Taking the maximum over predecessors gives the Bellman recursion in the main paper. Induction proves the state interpretation, and backtracking from recovers an optimizer.
There are states, with at most predecessor comparisons per state. The state values and predecessor pointers require memory, and the edge matrices require memory. Forming all pairwise empirical risks from value trajectories separately costs time. The source–sink edge has zero cost, so the rounded problem remains feasible even when .
B.4 Choosing the budget resolution
Let be the newest-policy schedules with at most actual updates, and define
Without a count restriction, we take . With a restriction, we append a count coordinate to the dynamic-programming state and increase it only when . Write , so that .
Proposition B.2 (Estimation and gridding error). Suppose, on an event A, that
Let solve the rounded empirical problem within , and put
On , we have . If , then
In particular, for
Proof. For every schedule, its holding fractions are nonnegative and sum to one. Hence, simultaneously over all paths,
There is no factor in this reward bound. Rounded feasibility implies
For a comparator with , upward rounding on its actual transitions gives
The terminal edge contributes no rounding error. Thus every such population comparator is feasible for the rounded empirical problem. Empirical optimality and (B.7) give the left inequality in (B.4) and (B.5). The risk bound for the selected path gives the right inequality. Subtracting (B.5) from the population frontier at proves (B.6).
To derive an explicit dependence on and , suppose the historical value vectors are independent copies of the future value vector, their coordinates lie in , and their population values are observed without evaluation error. With and , the bounded-mean inequality proved below and a union bound give
Consequently the direct reward error is , whereas the safety-budget displacement is
With no count cap, . No assumption about independence of edges within one trajectory is needed. For estimated population values, we use the evaluation result in Proposition B.4 rather than interpreting noisy comparisons as observed true signs.
A budget displacement cannot generally be replaced by a uniform Lipschitz error in the objective. For example, let , , and let equal 1 with probability and 0 with probability , where . The frontier jumps from to at budget . At , any grid for which is not an integer excludes the update, even along a sequence . Thus (B.6), rather than an unconditional value-loss claim, is the appropriate guarantee. If an optimizer has safety slack at least , the modulus is zero; a Lipschitz frontier bound, when separately available on the relevant interval, gives the corresponding linear bound.
A theoretical resolution criterion. For an allocated gridding tolerance in risk units, we can choose , because . We should not make the grid substantially finer than the statistical accuracy unless a near-binding comparator makes that worthwhile. In the plug-in bound (B.8), balancing against suggests of order or smaller. For the uncertainty-aware bound below, the analogous balance is of order when . Smaller improves the budget approximation but increases the dynamic-programming cost through .
An empirical refinement procedure. We can begin with for a modest positive integer , then double until the selected reward and schedule stabilize at a prespecified tolerance or the computational limit is reached. These nested grids have no residual , and every previously feasible path remains feasible after refinement because . We record both the rounded and unrounded resource consumption at each refinement. Numerical stability is an empirical stopping rule, not a population-safety certificate; independent evaluation or the simultaneous bounds below provide that certificate. When , we instead retain only edges with exactly zero chosen risk cost and solve the resulting acyclic path problem.
B.5 An exact labeling alternative
We can solve the unrounded path problem by propagating nondominated labels. Let be the chosen edge resource, either a population risk, an empirical risk, or a conservative upper confidence cost, with . A label at node stores its cumulative resource , cumulative reward , and a predecessor pointer. At the same node, dominates when and , with at least one strict inequality. We retain only one representative when both coordinates agree.
Algorithm 2 Exact nondominated-label algorithm
Require: Edge rewards , nonnegative resources , budget .
1: Set and for .
2: for do
3: Form labels from every and every .
4: Discard labels with resource greater than .
5: Sort the remaining labels by increasing resource and discard dominated labels; store the survivors in .
6: end for
7: Return the highest-reward label in and recover its path by backtracking.
Proposition B.3 (Exactness of labeling). Algorithm 2 returns an exact maximizer of the unrounded problem for its chosen edge quantities. If labels are generated at node before pruning and survive, an implementation using sorting requires
time and persistent storage, in addition to temporary storage for the labels being processed. The numbers of labels can be exponential in the size of a general resource-constrained acyclic path instance.
Proof. Any suffix from a node adds the same resource and reward to two labels at that node. Extending the dominating label therefore yields no larger resource and no smaller reward. Discarding a dominated prefix cannot remove the sole representative of a better feasible complete path. Nonnegative resources likewise justify discarding an over-budget prefix. Induction over the node order now shows that every feasible prefix is represented or dominated by a retained label. At the sink, selecting the largest reward is therefore exact.
Generating the incoming labels costs operations. After sorting by resource, we keep a label only when its reward exceeds the best reward at a no-larger resource; equal-resource ties are resolved by retaining the largest reward. This costs time. The stated storage follows from the retained labels and their pointers. To see the worst-case obstruction, consider a chain of binary-choice gadgets with resource and reward increments both equal to for taking choice , and zero for skipping it. Under a sufficiently large budget, every subset generates a different pair . None dominates another, so there are exponentially many nondominated labels.
Labeling avoids budget rounding and can be attractive when pruning leaves a small frontier. In contrast, the grid dynamic program bounds the resource dimension in advance and has the predictable pseudo-polynomial cost in Proposition B.1; this worst-case computational distinction motivates our main-paper choice. Exactness here refers to the specified real edge quantities, so floating-point tolerances must not be used to prune labels whose dominance is unresolved. With an update-count cap, we compare labels only at equal node and count, or include count in the dominance relation.
B.6 An uncertainty-aware extension
The plug-in costs in Algorithm 1 can underestimate population risk. We can instead assign an upper confidence cost to each actual edge and apply exactly the same path solver. The companions establish this construction for a fixed number of independent historical trajectories. We obtain an anytime-valid version by allocating the failure probability across sample sizes. Here “anytime” refers to the number of historical trajectories used to plan the schedule, not to adapting deployment decisions to the realized future training stream.
Assumption B.1 (Historical trajectories for certification). The vectors , , are independent and identically distributed copies of the future candidate-value vector and are independent of that future vector. Every coordinate lies in . Dependence between coordinates within a vector is unrestricted.
This bounded-value assumption is used only for the statistical guarantees, separately from the Gaussian value model used for the structural asymptotics. Note that independent resamples of a single observed dataset are not, merely by being generated separately, independent population trajectories satisfying Assumption B.1.
Lemma B.1 (Concentration and an empirical upper confidence cost). For independent variables with common mean and average , and independent Bernoulli variables with mean and average , we have, for and ,
The function is nondecreasing on . Whenever , it satisfies
Proof. For a variable , the second derivative of is its variance under exponential tilting, which is at most 1/4. Integrating twice gives . Independence and exponential Markov bounds, optimized over positive and negative , give the first inequality in (B.9).
For a Bernoulli variable B, we have
The last bound follows by expanding the exponential and using for ; the negative-argument bound follows as well. For , optimization with yields
At , direct expansion gives , proving the second inequality. If , the assertion is immediate.
The map is nondecreasing. Solving as a quadratic inequality in gives
Clipping at one preserves the lower bound. Also, , and hence
This proves (B.10).
At historical sample size , let and be the empirical value means and strict-failure frequencies. For a total failure probability , define
with . We round upward instead of rounding , use the same estimated rewards, and solve the path problem at budget . Denote the resulting schedule by .
Theorem B.1 (Anytime population safety and oracle performance). Under Assumption B.1, define
With probability at least , simultaneously for every integer ,
The no-update schedule is feasible for every historical dataset. The same guarantees apply at any almost surely finite, data-dependent stopping sample size. Including the randomness of the historical data and the independent future trajectory, the probability of at least one unsafe future update is at most .
Proof. At sample size , apply Lemma B.1 to all candidate coordinates and all actual edge indicators. A union bound with (B.11) gives failure probability at most . Since , a second union bound gives an event of probability at least on which, for every ,
The estimates at different sample sizes need not be independent.
On this event, every rounded-feasible path satisfies
This is simultaneous over paths and therefore holds for . For a comparator with at most updates and true risk S, Cauchy–Schwarz gives
If , substituting in the square root and adding at most for rounding proves empirical feasibility of the comparator. The terminal edge has zero cost throughout. The uniform reward bound (B.7), with , then gives
where optimizes the reduced-budget population problem. This proves the oracle inequality. All statements hold on the same event for all N, so evaluating them at a stopping sample size introduces no additional failure probability.
Conditional on historical data in , the selected schedule is fixed relative to the future trajectory. The union bound for its unsafe events gives a conditional probability at most . On the complementary event, we bound this probability by one. Averaging yields at most . The direct terminal edge proves feasibility on every dataset.
For a prespecified , we can replace by and recover the fixed-sample confidence construction in the companions. The anytime version adds only the logarithmic sample-size term in . Its certification cost scales as
while the reward error remains independent of the number of updates outside the logarithm. These costs certify population risk; numerical gridding alone does not.
Proposition B.4 (Certification with estimated population values). Fix N. Suppose Assumption B.1 holds for the true values, and evaluation estimates satisfy an event
for a specified deterministic . Use the conservative labels
in the empirical upper confidence costs. In this proposition set
With
the selected schedule satisfies, with probability at least ,
No independence between the evaluation errors is required beyond (B.16).
Proof. For each actual edge, define the true labels and . On , the deterministic inequalities
hold. Their true means satisfy . Apply Lemma B.1 to the 2M collections of true B and D labels and the T true value coordinates. These collections are independent across historical replications even when the estimated labels share evaluation data. A union bound produces an event of probability at least .
On its intersection with , monotonicity of and (B.17) give
Thus the implemented costs upper-bound every population risk. For a comparator of true risk S, summing the upper bounds yields
The definition of and upward rounding therefore make every comparator at budget empirically feasible. Each estimated empirical value mean is within of its population mean, so the reward comparison in Theorem B.1 gives the oracle bound. A union bound over the two events completes the proof.
For example, if every candidate is evaluated by averaging a score in on the same independent validation sample of size , conditioning on all trained candidates and applying Lemma B.1 gives (B.16) with . An unbounded or weighted policy-value estimator requires its own valid simultaneous evaluation bound. A margin condition implies ; it controls conservatism, not the validity of the safety assertion itself. Time-uniform evaluation can be incorporated by allocating both statistical and evaluation failure probabilities across in the same way as (B.11).
We include this uncertainty-aware construction as an extension rather than replacing the plug-in algorithm studied in the main paper. Developing tighter time-uniform costs, adaptive allocation of historical simulation effort across edges, and sharper guarantees for the resulting resource-constrained path problem would require further analysis. Those questions are especially relevant to uncertainty-aware RCSPP methods and fall outside the present paper's deployment-scheduling contribution.
C Proofs for Section 4
We derive the continuum objective and constraint, solve the allocation pointwise, and then connect its value to the original integer problem. The proofs retain the spacing correction, the per-update risk, the regret remainder, and the leading update count stated in the main paper.
C.1 Discussion on Assumption 3
We impose the structured value-process assumption to keep the main analysis separate from the details of a particular learner. Throughout the proofs, we interpret its smoothness and positivity requirements as
with bounded first derivatives and constants independent of T. Strictly positive continuous functions on the compact interval have these positive lower bounds. This excludes a vanishing-drift or degenerate-volatility regime from the theorem being proved.
We can obtain the assumed process from primitive constructions, and we give two explicit sufficient constructions.
Gaussian innovations with an affine performance map. Let for a fixed nonzero vector , and consider
where and are deterministic. Suppose their projections satisfy
The value increments are then independent Gaussian variables with exactly the means and variances of the stochastic integrals in Assumption 3. Their joint law is the integer skeleton of that process; a Brownian interpolation supplies a representation on an enlarged probability space. We can also express (C.2) as stochastic-gradient descent with step 1/T on the sample loss .
Gradient-type diffusions with deterministic projected coefficients. Let and be a sample gradient's mean and covariance, and suppose the parameter process is the well-defined, nonexplosive diffusion
Local Lipschitz coefficients with suitable growth bounds give standard sufficient existence conditions. Let , take , and impose, on the reachable parameter set,
(C.4)
Itô’s formula gives drift for . Its martingale part equals , where
The integrand has squared norm one by (C.4), so this continuous martingale has quadratic variation t and is a standard Brownian motion. Integration proves Assumption 3 for the diffusion learner. The projection identities, jointly with differentiability, remove the random state from the scalar drift and volatility.
C.2 Proof of Lemma 2
Notation and asymptotic regime. We index the integer periods by in these proofs, relabeling the original candidate as . Let denote the corresponding continuous Gaussian value process, so at the original integer checkpoints. Its coefficients are initially and . We extend the positive functions in (C.1) across the final auxiliary interval when necessary and suppress this shift in the calculations. The shifted coefficients differ uniformly by ; the resulting changes in and are . They therefore change the displayed scaled regret by and do not change any leading count or risk order below.
A schedule has times , with actual updates and holds. Write and . Only contribute update risk; the last interval is a terminal hold. For a fixed budget, take . More generally, all the estimates below are uniform in the regime
The coefficient functions and their positive bounds are fixed as grows. Constants in the and terms may depend on those bounds and the budget regime, but not on a particular update.
For an integer schedule P, the exact regret and risk are
These are the quantities in the main problem after relabeling. To pass from sums to integrals, define the step functions
Here records a given partition, whereas will be the positive real-valued allocation optimized in (8).
Set
The local probability and risk rate are
For a budget , let
where the infimum is over positive measurable functions with finite displayed integrals. We first establish the estimates needed for the objective and constraint.
Lemma C.1 (Normal-tail estimates). Let . The functions and are strictly decreasing and strictly convex on . As ,
(C.11)
Consequently and . Moreover, decreases continuously from to zero.
Proof. For the standard normal density , integration by parts gives
Substituting proves the expansion for Q. Direct differentiation yields
These identities prove the remaining expansions and ratios. Since as , we have there; (C.11) gives its limit zero at infinity. Strict convexity gives the asserted monotonicity.
Lemma C.2 (Local interval probabilities). For an interval , define
Its exact unsafe-update probability is . Uniformly in admissible ,
Also,
For fixed and ,
Proof. Under Assumption 3, the interval increment is Gaussian with mean and variance , proving the exact probability formula. Bounded first derivatives give the first two expansions in (C.12). Since , division gives the exponent expansion. Cauchy–Schwarz gives
which proves (C.13). Finally, on , the two exponent arguments differ by and both tend to infinity. By Lemma C.1, is bounded on these arguments. Applying the mean value theorem to proves (C.14).
Lemma C.3 (A competitive schedule and its mesh bound). There is a feasible integer schedule with regret . Every integer schedule satisfying , for a fixed , obeys
Proof. Let and take full integer holds of length , followed by a terminal remainder. By Lemma C.2, the exponent of every actual update is at least . The normal-tail upper bound gives probability at most per update. There are at most updates, so their total risk is at most for sufficiently large . Bounded drift and holding lengths give regret .
For any integer schedule, positivity of the drift gives . Hence
Since , the assumed regret bound yields . The maximum is at most the square root of this sum, which proves the remaining statements.
(I) Objective. Maximizing expected deployed value is equivalent to minimizing (C.6), because the always-update benchmark is independent of the schedule. Within a hold starting at , we have
Summing first within each hold and then across holds gives
(C.16)
For a schedule in Lemma C.3,
Using the step functions in (C.7), we obtain
(C.17)
The last equality follows from
Thus the integral objective represents 2T times regret up to a bounded error, uniformly over this class of schedules.
(II) Constraint. For this local calculation, suppose every risk-bearing hold satisfies for fixed positive . By Lemma C.2,
(C.18)
On , the arguments and differ by . The logarithmic derivative bound used above therefore gives . Consequently,
The integral stops at because the terminal hold has no update risk. In the construction below, we upper-bound this integral by the risk integral of a smooth allocation over ; no update is added at the terminal endpoint.
(III) Leading-order form. Replacing the partition-dependent step function by a positive allocation gives (C.10), which is (8) at . The substitution makes the two integrands
The resulting optimization is
We solve this functional problem directly in the next subsection. The lower and upper bounds in Section C.5 then establish the precise optimized comparison
That comparison completes Lemma 2: its lower bound applies to arbitrary feasible integer schedules, and its upper bound constructs a feasible integer schedule.
C.3 Proof of Theorem 1
Proof. We solve (C.20) for and then take . This argument concerns the functional problem itself and does not use the optimized comparison (C.21).
(I) Pointwise minimization. The Lagrangian is
For a fixed , the integrand contains no terms coupling different values of , so we minimize it separately at each . By Lemma C.1, it is strictly convex in and diverges as or . Its unique minimizer satisfies
(II) Binding constraint. Since is a strictly decreasing bijection from onto , the solution is continuous in , strictly increasing in , and tends uniformly to zero or infinity as tends to zero or infinity, respectively. The coefficient ratios are bounded above and away from zero. It follows that decreases continuously from infinity to zero. There is therefore a unique such that
Write . For every feasible , pointwise optimality gives
Integrating this inequality and using feasibility and (C.23) yields . Strict convexity gives uniqueness up to null sets. Thus is the continuous representative of the optimizer of (C.10).
(III) Multiplier and waiting-time rates. As , the binding equation forces , and hence uniformly. Substituting (C.22) into (C.23) gives
(C.24)
Consequently and , where . Taking logarithms in (C.22) and applying (C.11) yields
The error is uniform in . First, this identity gives : for large , it bounds above by , and substitution into its logarithm gives the corresponding lower bound. Therefore
Substituting this back into (C.25) proves
Taking proves Theorem 1. In particular, uniformly, and integration gives
For later use, differentiate the logarithm of (C.22):
By Lemma C.1 and the coefficient bounds, and , uniformly for .
C.4 Proof of Corollary 1
Proof. Consider a full interval generated by , for . Its length is for the continuous construction, or for its integer realization. We first evaluate the local probability before rounding. By (C.22) and (C.24),
(C.28)
Here , , , and the ratio is bounded above and away from zero for large .
Write an integer length as with . Its local exponent changes from to . The normal-tail formula gives
This ratio is bounded above and away from zero uniformly in u, d. Since both full interval lengths are of order L, (C.14) then proves
Reversing the index shift gives the main paper’s policy-value notation for integer updates. The feasible integer schedule used in the regret bound below is the rounded construction with , so it satisfies the same risk order.
C.5 Proof of Corollary 2
Proof. Let and . We first match a lower bound over feasible integer schedules with a feasible construction. We then establish the leading count for an optimal integer schedule.
(I) Lower bound by weighted Jensen's inequality. By Lemma C.3, we only need to consider schedules with regret at most , for a sufficiently large fixed . For each risk-bearing hold, define
Put and . Coefficient smoothness and the mesh bound imply
Indeed, differs from by at most within its interval, and the omitted terminal interval has width . In particular, is positive and bounded away from zero for large .
The exact Gaussian exponent bound (C.13) gives . Let and . Then
(C.31)
The last inequality uses convexity of and Jensen's inequality with weights . For a feasible schedule, it follows that
Let solve . The solution is unique because decreases from infinity to zero. Since stays between fixed positive bounds, (C.11) gives
Monotonicity of therefore yields ; here (C.30) gives .
Within an integer hold, the mean increment is at least . Including the terminal cost, which is nonnegative, we obtain
Consequently,
Schedules outside the competitive class have a larger regret than this bound for sufficiently large .
(II) A feasible integer upper bound. Take and use the continuum optimizer from Section C.3. Starting at , propose the integer length
When the proposed endpoint is at least T, retain the incumbent to T. Thus every full hold has length , and the terminal hold is at most CL. Denote this schedule by and its step function by .
We verify feasibility directly. Since and every hold has width in normalized time, on each full interval
The rate decreases in , and for its logarithmic derivative in is bounded:
It follows that on the full intervals. Using (C.19) and the binding budget of gives
for sufficiently large T. The fixed half-budget leaves room for both the local approximation and rounding errors. For the objective, every hold, including the terminal remainder, satisfies
The schedule has regret because its holds are , so (C.17) applies. Hence
(C.35)
The last equality uses (C.27) and . Combining (C.32) and (C.35) proves
Together with (C.27) at , this also proves (C.21) and completes the optimized continuum reduction in Lemma 2. The constructed schedule satisfies and, on every risk-bearing interval,
(III) Counting the constructed schedule. For a full hold of (C.33), (C.26) gives uniformly. Therefore
The last step is a Riemann sum, since the mesh is and the terminal interval has vanishing normalized length.
(IV) Counting an optimal schedule. Let be any optimal integer schedule. The upper bound and Lemma C.3 give its mesh bound. By (C.17) and (C.36),
Fix and call a risk-bearing interval short if . Such an interval has length at most . By (C.12), its exact Gaussian exponent is at most . The normal-tail lower bound therefore gives risk at least . Feasibility bounds the number of these intervals by
Their total calendar fraction is because each is at most CL. The terminal fraction is also by (C.15). Let contain the remaining risk-bearing intervals and put . Then on , and
Both statements follow from the mesh bound, smoothness, and the negligible calendar fractions just removed. Using nonnegativity of the omitted costs in (C.37), we get
For , let be the calendar fraction of intervals in with . Since , (C.39) implies
We can now bound the count from both sides. From and (C.38),
For the lower bound, retain only with and use :
Letting and then makes the two bounds equal to . Thus
which proves the count assertion in Corollary 2 for an optimal integer schedule, not just for the upper-bound construction.
D Experimental Details
We describe the data generation, policy learning, value evaluation, and scheduling procedures implemented in the experiment scripts. The synthetic and clinical learning experiments supply estimated candidate-value trajectories to the same scheduling routines. The homogeneous Gaussian experiment instead specifies the candidate-value process directly, which also permits evaluation of a selected schedule using analytic population rewards and risks.
D.1 Synthetic learning environments
Observations and treatment effects. For each of the low-, medium-, and high-SNR settings in Figures 4 and 5, we generate N = 400 learning trajectories, each containing 300 observations. We use r for the observation index and t for the policy checkpoint: a candidate is retained after every five observations, giving T = 60 candidates at sample sizes 5, 10, ..., 300. For each trajectory and observation, the five covariates are independent and uniformly distributed on , treatment is assigned independently with probability 1/2, and the standardized outcome innovation is Gaussian:
Writing s for the SNR setting, we define
(D.2)
Thus, all three settings share the same conditional treatment effect and the same optimal treatment rule . The generator uses seed 20260922 and common draws of , , and across settings. Trajectories are generated independently within each setting, while corresponding trajectories across settings are paired through these common random numbers. Both potential outcomes use the same innovation within an observation; only the observed outcome enters policy training.
Sequential policy learner. Let . We fit the outcome model by a single stochastic-gradient update after each observation, starting from . With , the implemented updates are
Both updates use the residual computed before updating either coefficient vector, and the penalty applies to all their coordinates, including the intercepts. The retained policy at checkpoint is . The first retained candidate processed five observations. These checkpoints group five successive one-observation updates. The settings are configured as
| Setting | Initial learning rate | Outcome-noise scale |
|---|---|---|
| Low SNR | ||
| Medium SNR | ||
| High SNR |
Candidate-value evaluation. We draw a common bank of evaluation covariates independently of the training observations, using the same covariate distribution. The bank is reused for every checkpoint, trajectory, and SNR setting. Since the treatment effect is known in this experiment, we evaluate the policy-dependent outcome contrast directly and normalize it by the corresponding contrast of the oracle policy:
The omitted prognostic term is common to every policy and therefore cancels in value differences. No evaluation outcomes or additional outcome noise are generated for this calculation. The resulting values are finite-bank estimates of a normalized population contrast, not exact population integrals. This policy-value normalization precedes, and differs from, the never-update versus always-update normalization of the scheduling objective described below.
The generator also summarizes the first 25 checkpoint increments. It averages their across-trajectory means and divides by the square root of the average across-trajectory sample variances. The saved empirical SNRs are approximately 0.0496, 0.1145, and 0.2816 for the low, medium, and high settings, respectively.
Homogeneous Gaussian experiment. The phase-diagram script associated with Figure 3 is configured with , safety budget , and risk-grid width . It uses 50 equally spaced drift values in and 50 equally spaced volatility values in . At every parameter pair, the experiment uses three data replications, each containing 4000 independent trajectories. With candidates indexed here as , the simulated process is
where the are independent standard normal variables. The innovation generator uses seed 20260921 and reuses the same innovation bank across all parameter pairs. It stores innovation rows per trajectory; only the first rows are needed because the terminal node has no policy value. In particular, the per-step noise standard deviation in (D.5) is , not .
For each replication, the script estimates edge rewards and strict unsafe-update frequencies from its 4000 value trajectories and solves the conservatively gridded dynamic program. It then evaluates that selected path using the analytic population matrices
The displayed heatmaps average the three replication-specific path summaries. For a path with actual updates, the summaries are
The initial and terminal nodes are excluded from , and the terminal hold is excluded from both pre-update averages. If the selected path makes no updates, the display convention is , , and . Thus, the plotted interval is a fraction of the horizon, whereas in the theory is measured in periods. The script also records total population risk, unrounded empirical risk, the coefficient of variation of pre-update intervals, and the indicator that population risk exceeds . An oracle gridded schedule is computed separately from the population matrices. The exact unrounded oracle-label solver is optional and is not enabled in the default run.
Theoretical contours and correlations. The default contours use the leading homogeneous formulas, with and :
The default does not include the log correction. A reference cell is masked if , , or its reference regret is negative; it is not clipped to an integer spacing or update count. The configured contour levels are 10, 20, 40, 60 for , 0.005, 0.01, 0.02, 0.04 for , 0.01, 0.02, 0.04, 0.08 for , and 0.35, 0.45, 0.55, 0.65 for , retaining only levels inside the finite range of the corresponding reference surface. For each quantity and solver, Pearson correlation is computed after flattening the cells on which both the reference and the solver summary are finite. The three replications are averaged before this comparison, rather than being treated as separate grid cells.
Introductory illustration. Figure 1 is constructed from the medium-SNR value bank. It selects the trajectory minimizing the mean squared distance to the ensemble mean after dividing each checkpoint's deviation by its across-trajectory sample standard deviation, with a denominator floor of . In the saved bank this is trajectory 361, using zero-based trajectory identifiers. The three schedules update every 24, 12, and 6 checkpoints. Unsafe markers compare successive deployed values strictly on the selected realized trajectory, whereas the displayed fractions of expected gain captured use the across-trajectory mean value sequence and the never-update/always-update normalization. Those fractions are clipped to for this illustration only.
D.2 International Stroke Trial analysis
Population, treatment, and outcome. We use the corrected version-2 IST file IST_corrected.csv. Its 19,435 records yield 19,285 analysis records after removing 150 observations with missing or unknown six-month outcome codes: 97 with OCCODE=0 and 53 with OCCODE=9. Treatment is the randomized aspirin assignment, for RXASP=Y and for RXASP=N, with known propensity 1/2. We define for OCCODE, corresponding to being alive and independent at six months, and for codes 1 or 2, corresponding to death or dependence. The retained sample contains 9639 aspirin-assigned and 9646 non-aspirin-assigned patients, with 7160 positive outcomes. We do not restrict this sample by a post-randomization final diagnosis. Concurrent randomized heparin assignment, treatment adherence, post-randomization outcomes, identifiers, geographic variables, and dates are not included among the policy covariates.
Covariates and preprocessing. The cleaning script produces 35 numeric covariates with the following encodings. Binary Y/N fields are coded as 1/0; missing values in the binary clinical fields are filled with zero, with separate missingness indicators for atrial fibrillation, prior heparin, and prior aspirin.
| Source fields | Encoding | Count |
|---|---|---|
| AGE, RDELAY, RSBP | Age, delay to randomization, and systolic blood pressure in their original units | 3 |
| SEX | Indicator for female sex | 1 |
| RSLEEP, RATRIAL, RCT, RVISINF, RHEP24, RASP3 | Six binary clinical indicators and three missingness indicators | 9 |
| RCONSC | Drowsy and unconscious indicators; fully alert is the reference | 2 |
| RDEF1-RDEF8 | Present and cannot-assess indicators for each deficit; absent is the reference | 16 |
| STYPE | Indicators for PACS, TACS, POCS, and OTH; LACS is the reference | 4 |
The cleaner checks that the resulting model fields are numeric and complete, and rejects missing continuous measurements rather than imputing them. It creates a reproducibly shuffled stream using seed 20260922. This ordering is a simulation device, not a clinical arrival-time ordering.
We split the retained records into 15,428 development records and 3857 evaluation records using a 20% evaluation fraction, split seed 20260921, and joint treatment–outcome strata encoded by . Every covariate is centered and scaled using the development mean and population-standard-deviation convention, and the same transformation is applied to evaluation covariates. Coordinates with development standard deviation at most would be removed; none is removed for the supplied split. The transformation is fixed before constructing learning trajectories, rather than recomputed at each checkpoint.
Bootstrap learning trajectories and checkpoints. Using random-number seed 20260922, we draw N = 500 bootstrap streams with replacement from the development pool. Each stream contains 15,250 sampled records. Along a stream, we fit policies on nested prefixes of sizes
Consequently, the clinical scheduling horizon is T = 46 policy checkpoints, not 60 patient observations. All 15,428 development records remain eligible for sampling; 15,250 is the largest fitted bootstrap sample size. Bootstrap streams can share patient records, and a record can appear more than once within a stream. Every fitted policy is evaluated on the same held-out evaluation sample. The separate disjoint length-60 trajectory file written by the cleaner is not used by the frontier or schedule-diagram scripts; those scripts load ist_safe_policy_stream.csv and construct the bootstrap streams just described.
Ridge outcome model and treatment rule. For standardized covariates , define . At checkpoint of trajectory , we use the ridge estimate
The cross-products are updated cumulatively as each block of 250 observations arrives. The penalty is applied to the unnormalized sum-of-squares problem and does not penalize the overall intercept. For evaluation, the arm-specific predictions are clipped to before defining the policy:
Thus ties between the clipped predictions assign no aspirin. The fitted outcome model supplies both the treatment rule and the nuisance predictions for evaluation; a separate outcome learner is not fitted for the evaluation score.
Held-out value estimates. For each fitted candidate, we compute its augmented inverse-propensity-weighted value on the common evaluation sample :
The final score and its average are not clipped. Neither policy fitting nor covariate standardization uses evaluation outcomes. However, the resulting value estimates are subsequently used both to select schedules and to report their frontier values; this experiment does not use another independent evaluation sample for the selected meta-policy.
D.3 Baselines, budgets, and reporting
Shared scheduling inputs. Within each setting, let denote the saved or estimated value of candidate in trajectory . The frontier and schedule-diagram scripts use the direct mean and the empirical matrices
The implementation uses zero-based learned-policy nodes and a separate sink , equivalent to the paper's nodes and sink . In particular, the final learned candidate can contribute reward for its last deployment period. All methods use the same mean values and edge risks. A tie in estimated candidate values is not counted towards an unsafe update.
The common risk-grid width is . Write for the rounded resource in risk units, with terminal resource zero. The proposed method applies Algorithm 1 using these upward-rounded costs and a downward-rounded budget. Its implementation accumulates , rather than ; this common factor of does not change the selected schedule or the normalized objective. It computes the frontier up to the rounded cost of updating at every checkpoint, then reuses the retained terminal labels at the plotted budgets.
Baseline definitions. The periodic baseline enumerates every integer period , deploys candidates while their indices do not exceed , and then holds the final incumbent through the terminal node. It retains nondominated candidates with total rounded resource at most , including the no-update schedule, and selects the highest-value feasible candidate at each plotted budget.
The equal-risk baseline allows nonperiodic timing, but requires a common risk allowance for all actual updates. For a path P with K > 0 updates, its required budget is
Thus feasibility at is equivalent to requiring every actual transition to cost at most . A dynamic program enumerates update counts and tracks the largest edge resource and cumulative value, with dominance pruning within each count layer. The no-update path is included separately.
The earliest-safe baseline sweeps a threshold over zero and every distinct finite rounded resource of an actual transition. For each threshold, it starts at the initial candidate and repeatedly selects the earliest later candidate whose edge resource does not exceed the threshold; if none exists, it retains the incumbent to the terminal node. Duplicate paths are removed. The method then selects the highest-value generated path whose total additive rounded resource fits the plotted budget. The threshold is therefore tuned over the complete finite set at which the greedy path can change, not over an externally chosen coarse threshold grid.
In the frontier routines, a Bellman predecessor is replaced only when its value improves by more than , so tied candidates retain the first predecessor encountered in increasing node order. The separate heatmap dynamic program uses for this comparison. Frontier pruning sorts by increasing resource and decreasing value, and selection among tied feasible frontier values favors smaller resource.
Safety-budget grids. For each of the four frontier panels, let be the smallest rounded resource among the proposed method's retained nondominated labels that contain an actual update. This is a landmark of the retained frontier. Across panels, the common axis endpoints are
where infinite first-update landmarks are omitted. For the saved outputs, the first-update landmarks for low SNR, medium SNR, high SNR, and IST are 0.203, 0.030, 0, and 0.432, respectively; their always-update costs are 27.536, 27.559, 24.928, and 22.492. These give the common range . The frontier plot uses 241 budget points, and the schedule diagram uses 90 points over the same range. Both are equally spaced after a base-10 symmetric-log transformation with linear threshold ; since all displayed budgets are at or above that threshold, they are logarithmically spaced on the positive range. The schedule-diagram subsampling factor is one, so all 90 points are retained.
Objective normalization and update coordinates. For a schedule , let . The plotted objective is
which maps never updating to zero and updating at every checkpoint to one. The frontier script does not clip this quantity to one: selectively retaining candidates can outperform the always-update comparator under the unprojected empirical means. The schedule diagram plots each selected interior node at its zero-based checkpoint index divided by T; in the paper’s one-based notation, candidate i is displayed at . The first candidate is treated as available at the start of the scheduling horizon, after its initial training observations have been collected. The two vertical landmarks in each schedule panel are and .
Replication and uncertainty. The synthetic frontier panels each use one bank of 400 learning trajectories, and the IST panel uses one bank of 500 bootstrap learning trajectories with the fixed evaluation split above. Schedule selection and frontier reporting use the same estimated matrices; there is no additional independent trajectory bank for evaluating the selected schedules in these plots. The homogeneous experiment differs in that it evaluates selected paths using the population matrices in (D.6). The frontier script defaults to zero outer bootstrap replications and therefore reports curves without uncertainty bands. Its optional outer bootstrap resamples whole columns of a value-trajectory matrix with replacement, re-estimates the matrices, and re-solves every method. When enabled, the displayed band is the original normalized curve plus or minus one sample standard deviation across those bootstrap curves, not a confidence interval; the outer-bootstrap random-number seed is 20260923.