alphaFeedback

WorksComputer Science

StreamLTT: Risk Certification for Policy Selection under Stream Dependence

AI contributions
  • Generative AI
View details

Abstract

Learn-then-Test (LTT) provides a general framework for certifying deployment policies against a prescribed risk target, but its standard formulation targets a fixed population risk estimated from calibration losses. In sequential deployment, losses may instead be dependent and nonstationary, so the risk of a fixed policy can evolve with the observed history. We introduce StreamLTT, which replaces this fixed population risk with average predictable risk, defined by conditioning each decision's loss on the information available before its outcome is revealed. Conditional centering turns empirical deviations from this target into a martingale sum, enabling both a test that adapts to predictable variance and a finite-sample Hoeffding alternative. Combined with family-wise error rate control, StreamLTT yields a simultaneously certified policy region that supports subsequent deployment selection. Across seven forecasting datasets and seven deployment risks, StreamLTT places the certified frontier substantially closer to the prescribed risk target than IID, robust-variance, block-bootstrap, and concentration-based alternatives, while empirical family-wise error closely follows the prescribed level. A finite-sample ablation further shows that the predictable-risk formulation drives the tighter risk frontier, while adaptation to predictable variance makes more effective use of the available family-wise error budget. StreamLTT therefore extends risk-certified policy selection to dependent deployment streams by addressing both what risk should be certified and how it should be tested.

Introduction

Modern prediction systems are ultimately deployed through decisions rather than raw predictions ([13, 40, 11]). A practitioner may choose a confidence threshold, prediction set width, abstention rule, alarm threshold, intervention rule, or another operating policy subject to an explicit risk requirement ([16, 29]). A broad literature has developed statistical tools for uncertainty-aware and risk-controlled decision-making, including selective classification, conformal prediction, and conformal risk control ([15, 2, 3]). Learn then Test (LTT) provides a natural framework for policy selection: given a finite candidate family, it tests each policy against a prescribed risk target and corrects for multiplicity so that the resulting policy region is certified simultaneously ([4]). For independent calibration losses, a common implementation constructs pp values for individual policies using a central limit theorem (CLT) approximation to empirical risk; we refer to this instantiation as IID-LTT. This separation between prediction, certification, and subsequent selection makes LTT particularly attractive when deployment must satisfy an explicit risk budget.

A central difficulty arises when certification data arrive as a stream. Forecasts are temporally ordered, operating regimes evolve, and observations may be coupled through past outcomes, recurring entities, or shared structure. Even for a fixed policy, its conditional loss distribution can therefore depend on the accumulated history and evolve throughout deployment, so a single stationary marginal risk no longer describes the risks encountered over time. This challenge has motivated a broad literature on online calibration, which uses sequential feedback to maintain predictive calibration or coverage under distribution shift and nonexchangeability [17, 42, 18, 41].

Policy certification, however, poses a different statistical problem. In LTT, the candidate family is fixed before certification, and each policy must be tested against a risk constraint before multiplicity correction controls the probability of certifying any unsafe candidate [4]. Under stream dependence, the challenge is therefore not only how to construct a valid test, but also what risk should be certified when the risk of a fixed policy can evolve along the stream. Existing tools address the inference side of this problem: long-run variance estimators adjust uncertainty for dependent averages [32], block resampling approximates sampling distributions under local dependence [33], and sequential concentration controls deviations for adapted observations [24]. Yet these approaches still require a pre-specified risk target, leaving open how risk itself should be defined when it evolves with the observed history.

We address this gap by defining risk along the information flow of deployment. Immediately before each outcome is revealed, we consider the conditional risk of the corresponding decision given the available history and average these risks along the stream, yielding the average predictable risk. This target does not require a stationary marginal distribution and reduces to the standard population risk in the IID setting. Conditional centering further turns empirical deviations from this target into a martingale sum, providing the basis for StreamLTT, our extension of LTT to policy certification over dependent deployment streams. We develop a test that adapts to predictable quadratic variation, together with a martingale Hoeffding alternative [22] that requires only bounded losses and provides finite-sample validity. The resulting pp-values plug directly into the multiple-testing layer of LTT [4], yielding a simultaneously certified policy region under family-wise error rate control [23]. A deployment policy can then be selected from this region without repeating certification, retaining the modular selection principle of LTT while aligning certification with the information structure of an evolving stream.

Our experiments evaluate StreamLTT along two dimensions: the tightness of the certified risk frontier and the control of false certification. Across seven real-world forecasting datasets and seven deployment risks, StreamLTT produces substantially tighter risk certificates than IID-LTT and alternatives based on robust variance estimation, block resampling, and concentration bounds, while empirical family-wise error closely follows the prescribed level. A finite-sample ablation further separates the two sources of improvement: the predictable-risk formulation already yields a tight certified frontier, while adaptation to predictable variance makes more effective use of the available family-wise error budget. These results distinguish the benefit of changing the risk being certified from that of adapting the statistical test to the variability of the stream.

Our contributions are threefold:

  • We formulate risk certification for policy selection under dependent and nonstationary deployment through average predictable risk, which follows the information available at each decision time and recovers the standard population risk in the IID setting.

  • We develop StreamLTT by using conditional centering to obtain martingale fluctuations, leading to a test that adapts to predictable variance and a Hoeffding alternative with finite sample validity. Combined with control of the family wise error rate, StreamLTT certifies an entire policy region while preserving validity under subsequent policy selection.

  • Across seven forecasting datasets and seven deployment risks, StreamLTT yields substantially tighter certification than IID, robust variance, bootstrap, and concentration based alternatives while empirical family wise error follows the prescribed level. A finite sample ablation further separates the benefit of the predictable risk formulation from that of predictable variance adaptation.

Problem Formulation and Preliminaries

Consider a prediction system deployed over an ordered stream (X1,Y1),…,(XN,YN)(X_1, Y_1), \ldots, (X_N, Y_N). At round nn, the covariates XnX_n and the history from previous rounds are available before a deployment decision is made, whereas the outcome YnY_n is revealed only afterward. Let {Fn}n≥0\{\mathcal{F}_n\}_{n\ge0} denote the associated filtration, with the history, current covariates, model output, and deployment decision at round nn measurable with respect to Fn−1\mathcal{F}_{n-1}. Here, we make no assumptions about independence nor stationarity. The conditional law of the stream may vary over time and depend on previously observed outcomes, recurring entities, or other shared context.

A finite family of deployment policies Θ:={θ1,…,θM}\Theta:= \{\theta_1, \ldots, \theta_M\} is fixed before certification. Each policy may specify a confidence threshold, prediction-set width, alarm threshold, or another operating rule applied to a frozen predictive model. At round nn, policy θ\theta incurs an adapted bounded loss Ln(θ)∈[0,B(θ)]L_n(\theta) \in[0, B(\theta)], where the deterministic bound B(θ)<∞B(\theta) < \infty is fixed before certification. Given a prescribed risk target α\alpha and family-wise error level δ\delta, the objective is to construct a certified policy region such that the probability of including any policy whose deployment risk exceeds α\alpha is controlled at level δ\delta.

Learn-then-Test (LTT) casts risk-controlled policy selection as a multiple-testing problem (Angelopoulos et al. [4]). In the standard setting, each candidate θ\theta has population risk R(θ):=E[L(θ)]R(\theta) := \mathbb{E}[L(\theta)]. A policy is considered safe when R(θ)≤αR(\theta) \le\alpha, so LTT tests the complementary null

Hj:R(θj)>α,j=1,…,M.(1)H_j : R(\theta_j) > \alpha, \qquad j = 1, \ldots, M. \tag*{(1)}

A valid pp-value is constructed for each candidate and passed to a multiple-testing procedure. If the rejection rule controls the family-wise error rate (FWER) at level δ\delta, the rejected hypotheses define a certified region Θ^safe\widehat{\Theta}_{\mathrm{safe}} satisfying

P(Θ^safe⊆Θsafe)≥1−δ,Θsafe:={θ∈Θ:R(θ)≤α}.(2)\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \subseteq\Theta_{\mathrm{safe}}\right) \ge1-\delta, \qquad\Theta_{\mathrm{safe}} := \{\theta\in\Theta: R(\theta) \le\alpha\}. \tag*{(2)}

Thus, with probability at least 1−δ1-\delta, every policy retained in the certified region satisfies the prescribed risk requirement. Since the guarantee holds simultaneously over the region, a final operating point may subsequently be selected from Θ^safe\widehat{\Theta}_{\mathrm{safe}} without retesting the candidate family.

For independent calibration losses, LTT admits several policy level tests, including finite sample bounded loss tests and asymptotic approximations. In this work, we refer to the CLT based instantiation as IID-LTT. These standard constructions target a common population risk and rely on independent calibration observations. They therefore do not directly address the deployment setting considered here, where losses may be dependent and their conditional risks may evolve with the observed history.

Problem formulation. Let RN(θ)R_N(\theta) denote the stream-level deployment risk associated with policy θ\theta, whose precise form will be specified in Section 3. For a prescribed risk level α\alpha, define the corresponding safe region as

Θsafe,N:={θ∈Θ:RN(θ)≤α}.(3)\Theta_{\mathrm{safe},N} := \{\theta\in\Theta: R_N(\theta) \le\alpha\}. \tag*{(3)}

Given the observed stream, the certification problem is to construct a data-dependent region Θ^safe⊆Θ\widehat{\Theta}_{\mathrm{safe}} \subseteq\Theta satisfying

P(Θ^safe⊈Θsafe,N)=P(∃θ∈Θ^safe:RN(θ)>α)≤δ.(4)\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \nsubseteq\Theta_{\mathrm{safe},N}\right) = \mathbb{P}\left(\exists\theta\in\widehat{\Theta}_{\mathrm{safe}} : R_N(\theta) > \alpha\right) \le\delta. \tag*{(4)}

Thus, the statistical task is to specify a stream-level risk RN(θ)R_N(\theta) compatible with the deployment information structure and to construct valid policy-level tests for the unsafe hypotheses Hj:RN(θj)>αH_j : R_N(\theta_j) > \alpha. Section 3 instantiates RNR_N as average predictable risk and develops the corresponding dependence-aware tests.

StreamLTT: Learn-then-Test under Stream Dependence

We now develop StreamLTT for the stream-level certification problem introduced in Section 2. Rather than imposing a common population risk, StreamLTT averages the conditional risks encountered along the deployment stream. Centering losses around this predictable target induces martingale fluctuations, enabling finite-sample and variance-adaptive policy tests under dependence. The resulting pp-values are combined with family-wise error control to obtain a simultaneously certified policy region.

From Marginal to Predictable Risk

For a fixed candidate policy θ∈Θ\theta\in\Theta, let Ln(θ)L_n(\theta) denote its bounded deployment loss at round nn. Before YnY_n is revealed, define the one-step predictable risk rn(θ):=E[Ln(θ)∣Fn−1]r_n(\theta) := \mathbb{E}[L_n(\theta) \mid\mathcal{F}_{n-1}], the conditional risk of deploying θ\theta given the information available when the decision is made. Unlike a fixed population risk, pn(θ)p_n(\theta) may change with the observed history and operating environment.

Definition 3.1 (Average predictable risk). The average predictable risk of policy θ\theta over the first NN rounds is

Rpred,N(θ):=1N∑n=1Npn(θ).(5)R_{\mathrm{pred},N}(\theta) := \frac{1}{N}\sum_{n=1}^{N} p_n(\theta). \tag*{(5)}

The quantity Rpred,N(θ)R_{\mathrm{pred},N}(\theta) therefore measures the average conditional risk encountered along the realized deployment history, rather than risk under a single stationary population. It allows the conditional risk to vary across rounds and requires neither independence nor stationarity. In the IID setting with common mean R(θ)R(\theta), pn(θ)=R(θ)p_n(\theta) = R(\theta) for every nn, so Rpred,N(θ)=R(θ)R_{\mathrm{pred},N}(\theta) = R(\theta) and the standard LTT target is recovered.

This target also yields the statistical structure needed for certification. Let

R^N(θ):=1N∑n=1NLn(θ),Zn(θ):=Ln(θ)−pn(θ).\widehat{R}_N(\theta) := \frac{1}{N}\sum_{n=1}^{N} L_n(\theta), \qquad Z_n(\theta) := L_n(\theta) - p_n(\theta).

Since E[Zn(θ)∣Fn−1]=0\mathbb{E}[Z_n(\theta) \mid\mathcal{F}_{n-1}] = 0, {Zn(θ)}n≥1\{Z_n(\theta)\}_{n\geq1} is a martingale-difference sequence, and hence

R^N(θ)−Rpred,N(θ)=1N∑n=1NZn(θ).(6)\widehat{R}_N(\theta) - R_{\mathrm{pred},N}(\theta) = \frac{1}{N}\sum_{n=1}^{N} Z_n(\theta). \tag*{(6)}

Thus, dependence in the losses is retained in the risk target, while fluctuations of empirical risk around that target admit martingale-based inference.

Stream-Aware Policy Testing

For each candidate θj∈Θ\theta_j \in\Theta, StreamLTT tests Hj:Rpred,N(θj)>αH_j : R_{\mathrm{pred},N}(\theta_j) > \alpha, so rejecting HjH_j certifies Rpred,N(θj)≤αR_{\mathrm{pred},N}(\theta_j) \leq\alpha. By Eq. (6), empirical risk differs from this target by a martingale average. This structure permits a finite-sample test under bounded losses without specifying the dependence among the losses.

Theorem 3.2 (Finite-sample StreamLTT test). Suppose Ln(θj)L_n(\theta_j) is adapted to Fn\mathcal{F}_n and 0≤Ln(θj)≤Bj0 \leq L_n(\theta_j) \leq B_j, where Bj:=B(θj)B_j := B(\theta_j) is a deterministic bound fixed before certification. Then

pjH:=exp⁡(−2N(α−R^N(θj))2Bj2)(7)p_j^{\mathrm{H}} := \exp\left(-\frac{2N\left(\alpha-\widehat{R}_N(\theta_j)\right)^2}{B_j^2}\right) \tag*{(7)}

is finite-sample super-uniform under Hj:Rpred,N(θj)>αH_j : R_{\mathrm{pred},N}(\theta_j) > \alpha.

Theorem 3.2 provides a finite-sample guarantee using only the deterministic loss bound BjB_j. The same robustness can make the test conservative: its normalization reflects the worst-case loss range rather than the conditional variability actually encountered along the stream. When the latter is substantially smaller, a variance-sensitive normalization can provide tighter certification. The proof is given in Appendix B.1.

Variance-adaptive testing. To capture this stream-specific variability, define the predictable quadratic variation

VN2(θ):=∑n=1NE[Zn2(θ)∣Fn−1].(8)V_N^2(\theta) := \sum_{n=1}^{N} \mathbb{E}\left[Z_n^2(\theta) \mid\mathcal{F}_{n-1}\right]. \tag*{(8)}

Whereas BjB_j gives a uniform worst-case bound, VN2(θ)V_N^2(\theta) accumulates the conditional variance of the martingale increments along the deployment stream. We require this variation to admit a stable asymptotic scale.

Assumption 3.3 (Predictable-variance stabilization). For every fixed θj∈Θ\theta_j \in\Theta, there exists a deterministic sequence vN,j2>0v_{N,j}^2 > 0 such that vN,j2→∞v_{N,j}^2 \to\infty and VN2(θj)/vN,j2→p1V_N^2(\theta_j)/v_{N,j}^2 \xrightarrow{p} 1.

Since bounded losses yield uniformly bounded martingale increments, vN,j→∞v_{N,j} \to\infty makes the conditional Lindeberg condition automatic. Together with Assumption 3.3, the martingale central limit theorem then yields the variance-adaptive test below.

Theorem 3.4 (Variance-adaptive StreamLTT test). Suppose Ln(θj)L_n(\theta_j) is adapted to Fn\mathcal{F}_n and 0≤Ln(θj)≤Bj0 \le L_n(\theta_j) \le B_j, where Bj:=B(θj)B_j := B(\theta_j) is a deterministic bound, and Assumption 3.3 holds. Let V^N(θj)\widehat{V}_N(\theta_j) consistently estimate the predictable variation, such that V^N(θj)/VN(θj)→p1\widehat{V}_N(\theta_j)/V_N(\theta_j) \overset{p}{\to} 1. Then

pjSL:=Φ(N(R^N(θj)−α)V^N(θj))(9)p_j^{\mathrm{SL}} := \Phi\left(\frac{\sqrt{N}\left(\widehat{R}_N(\theta_j)-\alpha\right)}{\sqrt{\widehat{V}_N(\theta_j)}}\right) \tag*{(9)}

is asymptotically super-uniform under Hj:Rpred,N(θj)>αH_j : R_{\mathrm{pred},N}(\theta_j) > \alpha; namely, for every z∈[0,1]z \in[0,1],

lim sup⁡N→∞P(pjSL≤z)≤z.\limsup_{N\to\infty}\mathbb{P}\left(p_j^{\mathrm{SL}} \le z\right) \le z.

Theorem 3.4 trades the finite-sample robustness of Theorem 3.2 for adaptation to the predictable variability of the stream. When this variability is well below the worst-case range, the adaptive normalization can reduce conservatism and yield tighter certification. The proof is given in Appendix § 10.§ 2. Under IID losses, the construction recovers the standard population-risk test.

Corollary 3.5 (IID reduction). Suppose {Ln(θj)}n=1N\{L_n(\theta_j)\}_{n=1}^{N} are IID with E[Ln(θj)]=R(θj)\mathbb{E}[L_n(\theta_j)] = R(\theta_j) and positive variance σ2\sigma^2. Then Rpred,N(θj)=R(θj)R_{\mathrm{pred},N}(\theta_j) = R(\theta_j) and VN2(θj)=Nσ2V_N^2(\theta_j) = N\sigma^2. Consequently, the variance-adaptive StreamLTT statistic reduces asymptotically to the standard IID central-limit-theorem statistic for testing Hj:R(θj)>αH_j : R(\theta_j) > \alpha.

Estimating the predictable variance. The adaptive test depends on VN(θ)V_N(\theta), which is generally unknown. For Bernoulli losses, E[Zn2(θ)∣Fn−1]=pn(θ)(1−pn(θ))\mathbb{E}[Z_n^2(\theta) \mid\mathcal{F}_{n-1}] = p_n(\theta)(1-p_n(\theta)). Given an online estimate p^n(θ)\widehat{p}_n(\theta) of pn(θ)p_n(\theta), we use the plug-in estimator

V^N2(θ):=∑n=1Np^n(θ)(1−p^n(θ)).(10)\widehat{V}_N^2(\theta) := \sum_{n=1}^{N} \widehat{p}_n(\theta)\left(1-\widehat{p}_n(\theta)\right). \tag*{(10)}

The next result shows that consistency of the one-step risk estimates is sufficient for the variance estimation required by Theorem 3.4.

Lemma 3.6 (Consistency of predictable variance estimation). Suppose N−1∑n=1N(p^n(θ)−pn(θ))2→p0N^{-1}\sum_{n=1}^{N}(\widehat{p}_n(\theta)-p_n(\theta))^2 \overset{p}{\to} 0 and VN2(θ)/N→pσθ2>0V_N^2(\theta)/N \overset{p}{\to} \sigma_\theta^2 > 0. Then V^N(θ)/VN(θ)→p1\widehat{V}_N(\theta)/V_N(\theta) \overset{p}{\to} 1. Moreover, Assumption 3.3 holds with vN2=Nσθ2v_N^2 = N\sigma_\theta^2.

Lemma 3.6 therefore links estimation of the one-step predictable risks directly to the normalization used by the variance-adaptive test. The proof is given in Appendix § 10.§ 3.

From Policy Tests to a Certified Region

The preceding results establish valid policy-level tests for predictable risk. We now lift these guarantees from individual candidates to the entire policy family. Let RN⊆{1,…,M}\mathcal{R}_N \subseteq\{1,\ldots,M\} denote the rejection set returned by the multiple-testing procedure and define Θ^safe:={θj:j∈RN}\widehat{\Theta}_{\mathrm{safe}} := \{\theta_j : j \in\mathcal{R}_N\}. The corresponding safe region is Θsafe,N:={θ∈Θ:Rpred,N(θ)≤α}\Theta_{\mathrm{safe},N} := \{\theta\in\Theta: R_{\mathrm{pred},N}(\theta) \le\alpha\}. Controlling false rejections across the candidates then yields simultaneous certification of Θ^safe\widehat{\Theta}_{\mathrm{safe}}.

Theorem 3.7 (Simultaneous StreamLTT certification). Let Θ^safe\widehat{\Theta}_{\mathrm{safe}} be obtained by applying FWER control at level δ\delta to the finite-sample StreamLTT pp-values in Theorem 3.2. Then, for any possibly data-dependent selection θ^∈Θ^safe\widehat{\theta} \in\widehat{\Theta}_{\mathrm{safe}} whenever Θ^safe≠∅\widehat{\Theta}_{\mathrm{safe}} \ne\varnothing,

P(Θ^safe⊆Θsafe,N)≥1−δ,P(Θ^safe≠∅, Rpred,N(θ^)>α)≤δ.(11)\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \subseteq\Theta_{\mathrm{safe},N}\right) \ge1-\delta,\qquad \mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \ne\varnothing,\ R_{\mathrm{pred},N}(\widehat{\theta}) > \alpha\right) \le\delta. \tag*{(11)}

For a fixed finite candidate family, applying FWER control at level δ\delta to the variance-adaptive pp-values in Theorem 3.4 yields

lim inf⁡N→∞P(Θ^safe⊆Θsafe,N)≥1−δ,lim sup⁡N→∞P(Θ^safe≠∅, Rpred,N(θ^)>α)≤δ.(12)\liminf_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \subseteq\Theta_{\mathrm{safe},N}\right) \ge1-\delta,\qquad \limsup_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \ne\varnothing,\ R_{\mathrm{pred},N}(\widehat{\theta}) > \alpha\right) \le\delta. \tag*{(12)}

Algorithm 1 StreamLTT for risk-certified policy selection

Require: Certification stream {(Xn,Yn)}n=1N\{(X_n,Y_n)\}_{n=1}^{N}; candidate family Θ={θ1,…,θM}\Theta=\{\theta_1,\ldots,\theta_M\}; loss Ln(θ)L_n(\theta); risk target α\alpha; bounds {B(θj)}j=1M\{B(\theta_j)\}_{j=1}^{M}; FWER level δ\delta; MODE ∈{ADAPTIVE,HOEFFDING}\in\{\mathrm{ADAPTIVE},\mathrm{HOEFFDING}\}.

Ensure: Certified region Θ^safe\widehat{\Theta}_{\mathrm{safe}}; optional policy θ^\widehat{\theta}.

  1. Freeze the candidate family and all test-specific quantities.

  2. Initialize empirical-risk summaries and, for ADAPTIVE mode, predictable-variance summaries.

  3. for n=1,…,Nn=1,\ldots,N do

  4. Observe Fn−1\mathcal{F}_{n-1} and form decisions for all θj∈Θ\theta_j\in\Theta.

  5. Reveal YnY_n and record Ln(θj)L_n(\theta_j) for all θj∈Θ\theta_j\in\Theta.

  6. if MODE = ADAPTIVE then

  7. Estimate p^n(θj)\widehat{p}_n(\theta_j) and update the predictable-variance summaries via Eq. (10).

  8. end if

  9. end for

  10. for j=1,…,Mj=1,\ldots,M do

  11. Compute R^N(θj)←N−1∑n=1NLn(θj)\widehat{R}_N(\theta_j)\leftarrow N^{-1}\sum_{n=1}^{N}L_n(\theta_j).

  12. if MODE = ADAPTIVE then

  13. Compute pj←pjSLp_j\leftarrow p_j^{\mathrm{SL}} via Eq. (9).

  14. else

  15. Compute pj←pjHp_j\leftarrow p_j^{\mathrm{H}} via Eq. (7).

  16. end if

  17. end for

  18. Apply FWER control at level δ\delta to {pj}j=1M\{p_j\}_{j=1}^{M} and form Θ^safe\widehat{\Theta}_{\mathrm{safe}} from the rejected hypotheses.

  19. if Θ^safe=∅\widehat{\Theta}_{\mathrm{safe}}=\varnothing then

  20. return “no certified policy”.

  21. end if

  22. Optionally select θ^∈Θ^safe\widehat{\theta}\in\widehat{\Theta}_{\mathrm{safe}} according to the deployment criterion.

  23. return Θ^safe\widehat{\Theta}_{\mathrm{safe}} and optional θ^\widehat{\theta}.

Theorem 3.7 lifts the policy-level validity established above to simultaneous certification of the candidate family. The policy-level tests account for dependence along the deployment stream, whereas FWER control accounts for multiplicity across candidate policies. The first guarantee ensures that the entire certified region is safe with probability at least 1−δ1-\delta; the second shows that any subsequent data-dependent selection from this region inherits the same risk control without additional testing.

Complete procedure. Algorithm 1 summarizes the resulting StreamLTT pipeline. Each candidate is evaluated using either the finite-sample Hoeffding test or the variance-adaptive test, and the resulting pp-values are combined with FWER control to form Θ^safe\widehat{\Theta}_{\mathrm{safe}}. A deployment policy may then be selected from the certified region according to the downstream objective. For MM candidates, StreamLTT maintains O(M)O(M) running summaries and requires O(M)O(M) computation per stream round.

Experiments

We evaluate StreamLTT along two complementary dimensions of risk certification: the tightness of the certified risk frontier and the control of false certification. We refer to the variance adaptive test in Theorem 3.4 as StreamLTT-A and the finite-sample Hoeffding test in Theorem 3.2 as StreamLTT-H. Our primary comparison evaluates StreamLTT-A against IID, dependence aware, and sequential certification baselines. StreamLTT-H provides a finite sample counterpart that isolates the effect of predictable variance adaptation.

Experimental Setup

Datasets and forecasting protocol. We consider seven real world forecasting datasets spanning three domains: Electricity [37], Appliances Energy (Candianedo et al., 2017), and Household Power [20] for energy forecasting; PEMS04 and PEMS08 [19] for traffic forecasting; and Beijing Weather [8] and Jena Weather (Max Planck Institute for Biogeochemistry, 2016) for temperature forecasting. The datasets vary in sequence length and sampling frequency, and their temporal order is preserved throughout the experiment. Each dataset is split chronologically into a training set (20%), a validation set (2%), a calibration set (8%), and a certification stream (70%). A temporal convolutional network (TCN) [5] is trained for one step forecasting on the training set, selected on the validation set, and then frozen. The calibration set determines auxiliary quantities, such as severe miss tolerances and regime thresholds, which are fixed before certification. The remaining observations are processed sequentially as the certification stream, with the same frozen forecasts shared across all certification methods. At each round, only information available before the corresponding outcome is revealed is used; history dependent decisions may additionally use previously revealed outcomes. Model specifications, preprocessing, and further protocol details are provided in Appendix § 11.§ 1.

Deployment risks. We consider seven binary deployment risks spanning pointwise, regime dependent, directional, and history dependent errors, as summarized in Table 1. These risks range from standard forecasting failures to decisions whose losses depend on the current operating regime or previously observed outcomes, providing diverse dependence structures for stream level certification. All auxiliary quantities are fixed before certification, and each risk defines a separate certification problem. Complete risk constructions are provided in Appendix § 11.§ 2.

RiskStructureError eventα\alpha
Interval missPointwiseYi∉Cm(Xi)Y_i \notin C_m(X_i).10
Lower-tail missPointwiseYi<ℓi(m)Y_i < \ell_i(m).10
Severe missPointwise∣Yi−μ^i∣>msi+e0\lvert Y_i-\widehat{\mu}_i\rvert> ms_i+e_0.10
Task-regime missRegimeGi=1, Yi∉Cm(Xi)G_i=1,\ Y_i\notin C_m(X_i).05
Opposite directionTemporalai(θ)zid=−1a_i(\theta)z_i^d=-1.10
Missed reversalHistoryri=1, r^i(θ)=0r_i=1,\ \widehat{r}_i(\theta)=0.10
False reversalHistoryri=0, r^i(θ)=1r_i=0,\ \widehat{r}_i(\theta)=1.10

Table 1. Binary deployment risks used for certification. All auxiliary thresholds are determined from tuning data and fixed before certification.

Methods. Our primary method is StreamLTT-A, the variance adaptive test in Theorem 3.4. We compare it with IID-LTT [4], LTT-HB-Holm [22, 6], HAC-CLT-Holm [32], CircularBlockBootstrap-Holm [33], and EB-Howard-Bonferroni [24], covering IID inference, bounded loss concentration, long run variance correction, block resampling, and sequential concentration, respectively. We also evaluate StreamLTT-H, the finite sample test in Theorem 3.2, which retains the same predictable risk target as StreamLTT-A while removing predictable variance adaptation. All methods use the same risk targets and family wise levels. Further details are provided in Appendix § 11.§ 3.

Evaluation protocol and metrics. We evaluate all 7×7=497 \times7 = 49 dataset–risk combinations at δ∈{0.10,0.20}\delta\in\{0.10, 0.20\} using 2,000 independent repetitions per configuration. We assess certification through risk tightness and false certification control. Empirical FWER is the fraction of repetitions in which at least one certified policy has predictable risk above α\alpha. For each nonempty certified region, Rmax⁡R_{\max} denotes its largest predictable risk, and R‾max⁡\overline{R}_{\max} its mean across repetitions. We report the risk gap α−R‾max⁡\alpha-\overline{R}_{\max} and FWER gap δ−FWER‾\delta-\overline{\mathrm{FWER}}, where values near zero indicate fuller use of the respective risk and family wise budgets. We additionally report the certified fraction, the proportion of candidate policies retained after certification. Further evaluation details, risk wise and dataset level results, and Monte Carlo uncertainty are provided in Appendix § 11.§ 4.

Results

StreamLTT-A approaches both certification boundaries. Figure 1 shows that StreamLTT-A uses substantially more of both the risk and family wise error budgets. At δ=0.10\delta=0.10, its mean risk gap is 0.0090, placing the certified frontier close to the prescribed risk boundary, compared with 0.0302 for IID-LTT and approximately 0.030–0.032 for the dependence and concentration based alternatives. This tighter frontier is not accompanied by excessive false certification: StreamLTT-

Mean budget gaps across seven datasets

Figure 1. Mean family wise error rate (FWER) and risk gaps across seven deployment risks. The top row reports δ−FWER‾\delta- \overline{\mathrm{FWER}} at δ=0.10\delta= 0.10 and 0.200.20; the bottom row reports α−R‾max⁡\alpha- \overline{R}_{\max} at the corresponding family wise levels. Each bar averages over the seven datasets. Values closer to zero indicate tighter utilization of the corresponding certification budget.

A attains empirical FWER 0.0902, close to the prescribed δ=0.10\delta= 0.10. In contrast, the competing procedures leave considerably more slack in the risk budget, the family wise budget, or both. StreamLTT-A therefore expands certification toward the admissible risk boundary while maintaining the intended family wise control.

Table 2 resolves this aggregate improvement at the dataset level for three representative risks; complete results for all seven risks are provided in the appendix. For interval miss, the baseline frontiers remain between 0.043 and 0.052, whereas StreamLTT-A reaches 0.095–0.097 across all seven datasets. The separation persists for lower tail miss, where the baseline values range from 0.052 to 0.070 while StreamLTT-A remains at 0.095–0.097. For the history dependent missed reversal risk, the gain is particularly pronounced on PEMS04 and PEMS08, where StreamLTT-A reaches 0.095 compared with approximately 0.048–0.050 for the competing methods. Across all 49 dataset–risk combinations, StreamLTT-A retains 76.7% of the candidate family while maintaining mean empirical FWER 0.0902 at the prescribed δ=0.10\delta= 0.10.

RiskMethodElectricityAppliancesHouseholdPEMS04PEMS08BeijingJena
Interval (α=.10\alpha= .10)IID-LTT.051/.028.046/.013.048/.020.051/.017.044/.015.047/.019.045/.012
Interval (α=.10\alpha= .10)LTT-HB-Holm.050/.006.045/.004.047/.009.051/.006.043/.006.046/.005.045/.004
Interval (α=.10\alpha= .10)HAC-CLT-Holm.051/.035.046/.014.048/.025.051/.021.044/.019.047/.024.045/.017
Interval (α=.10\alpha= .10)BlockBootstrap-Holm.051/.034.046/.015.048/.025.052/.021.044/.019.047/.023.045/.018
Interval (α=.10\alpha= .10)EB-Howard-Bonf..050/.000.045/.000.047/.000.050/.000.043/.000.046/.000.044/.000
Interval (α=.10\alpha= .10)StreamLTT-A.096/.084.096/.082.097/.102.096/.094.095/.087.096/.089.096/.083
Lower tail (α=.10\alpha= .10)IID-LTT.055/.045.069/.031.053/.032.065/.025.066/.026.069/.020.064/.025
Lower tail (α=.10\alpha= .10)LTT-HB-Holm.053/.014.069/.010.052/.009.065/.009.066/.009.069/.004.063/.007
Lower tail (α=.10\alpha= .10)HAC-CLT-Holm.055/.052.069/.037.053/.037.066/.030.066/.031.070/.023.064/.032
Lower tail (α=.10\alpha= .10)BlockBootstrap-Holm.055/.052.069/.036.053/.036.066/.031.066/.031.070/.023.064/.031
Lower tail (α=.10\alpha= .10)EB-Howard-Bonf..052/.000.068/.000.052/.000.065/.000.065/.000.069/.000.063/.000
Lower tail (α=.10\alpha= .10)StreamLTT-A.097/.095.096/.097.095/.093.097/.080.097/.088.096/.081.097/.085
Missed reversal (α=.10\alpha= .10)IID-LTT.080/.087.064/.026.075/.040.048/.016.050/.018.089/.091.081/.047
Missed reversal (α=.10\alpha= .10)LTT-HB-Holm.077/.030.063/.008.074/.015.048/.005.049/.006.086/.031.080/.018
Missed reversal (α=.10\alpha= .10)HAC-CLT-Holm.081/.099.064/.033.075/.045.049/.022.050/.023.090/.099.081/.052
Missed reversal (α=.10\alpha= .10)BlockBootstrap-Holm.081/.097.064/.033.075/.047.049/.022.050/.023.090/.099.081/.053
Missed reversal (α=.10\alpha= .10)EB-Howard-Bonf..073/.000.063/.000.074/.000.048/.001.049/.000.079/.000.080/.000
Missed reversal (α=.10\alpha= .10)StreamLTT-A.097/.088.095/.092.095/.085.095/.090.095/.089.096/.093.082/.092

Table 2. Representative certification results at δ=0.10\delta= 0.10 across seven datasets. Each entry reports R‾max⁡/FWER^\overline{R}_{\max}/\widehat{\mathrm{FWER}}. The three risks represent two sided, one sided, and history dependent deployment errors.

Dependence aware inference alone does not remove certification slack. The risk gaps help isolate the source of the improvement. At δ=0.10\delta= 0.10, IID-LTT has a mean gap of 0.0302, while HAC-CLT-Holm and CircularBlockBootstrap-Holm attain 0.0300 despite explicitly accounting for temporal dependence. StreamLTT-A reduces this gap to 0.0090. Thus, adjusting the sampling distribution for dependence has little effect on the certified frontier when the underlying risk target remains unchanged. StreamLTT instead certifies average predictable risk, conditioning risk on the information available at each decision time. The empirical separation therefore supports the distinction in Section 3.1: dependence aware inference changes how risk is tested, whereas StreamLTT also changes what risk is certified along the deployment stream.

StreamLTT-A adapts to the available family-wise budget. Increasing δ\delta from 0.10 to 0.20 provides a direct test of whether the certification procedure responds to a larger tolerance for false certification. StreamLTT-A’s empirical FWER increases from 0.0902 to 0.1888, closely tracking the corresponding prescribed levels, while its mean risk gap remains small and decreases from 0.0090 to 0.0078. The baselines respond much less strongly: at δ=0.20\delta= 0.20, IID-LTT, HAC-CLT-Holm, and CircularBlockBootstrap-Holm reach FWER only 0.1125, 0.1217, and 0.1208, respectively, while LTT-HB-Holm remains at 0.0376 and EB-Howard-Bonferroni near zero. Their risk gaps also remain between 0.0283 and 0.0321. Thus, increasing the family wise budget primarily expands certification under StreamLTT-A, rather than leaving the additional error budget unused.

Ablation: predictable variance adaptation primarily improves family wise budget utilization. StreamLTT-H and StreamLTT-A certify the same average predictable risk and differ only in the policy level test, allowing us to isolate the effect of predictable variance adaptation. Their certified frontiers are already similar: at δ=0.10\delta= 0.10 and 0.200.20, StreamLTT-H attains mean risk gaps 0.0118 and 0.0112, compared with 0.0090 and 0.0078 for StreamLTT-A. The certified fractions are likewise close, increasing from 75.3% to 76.7% at δ=0.10\delta= 0.10 and from 75.7% to 77.1% at δ=0.20\delta= 0.20.

The main difference appears in false certification. StreamLTT-H has empirical FWER only 0.0001 and 0.0006 at the two family wise levels, leaving nearly the entire error budget unused, whereas StreamLTT-A reaches 0.0902 and 0.1888. Thus, the tight frontier is already largely present when predictable risk is paired with the finite sample test; predictable variance adaptation provides a modest additional improvement in frontier tightness and certified fraction, but its dominant empirical effect is to reduce the conservatism of policy level testing and make substantially fuller use of the available family wise budget.

Conclusion

We introduced StreamLTT for risk certified policy selection over dependent and nonstationary deployment streams. StreamLTT replaces a fixed population risk with average predictable risk, aligning certification with the information available at each decision time and yielding martingale fluctuations for policy level testing. This structure supports both a finite sample bounded loss test and a variance adaptive test, which combine with family wise error control to certify the candidate policy region. Across seven forecasting datasets and seven deployment risks, StreamLTT-A produced substantially tighter certified frontiers than IID, dependence aware, bootstrap, and sequential concentration baselines, while empirical false certification closely tracked the prescribed family wise level. The finite sample ablation further separated the two sources of improvement: the predictable risk formulation accounted for most of the frontier tightening, while predictable variance adaptation primarily reduced testing conservatism and made fuller use of the available family wise budget. Together, these results extend LTT to evolving deployment streams by addressing both what risk should be certified and how it should be tested under dependence.

Reproducibility Statement

Complete proofs and experimental details are provided in the appendix to support reproduction of the theoretical and empirical results.

Ethics Statement

This study used public datasets and needs no ethical approval.

AI Use Statement

Generative AI was used only to assist with writing and language polishing.

Supplementary File

Related Works

StreamLTT is related to the following works on risk controlled prediction, sequential calibration, inference under dependence, and multiple testing.

Risk Control and Sequential Calibration

Conformal prediction provides distribution free predictive uncertainty under exchangeability [38, 36, 28, 2], with extensions to regression, classification, and more general predictive settings [35]. Related work on selective prediction studies decisions with abstention and the tradeoff between prediction frequency and reliability [9, 12, 15, 16]. More recently, conformal risk control extends calibration from coverage to general monotone losses [3], while Learn then Test (LTT) casts risk controlled policy selection as a multiple testing problem [4]. StreamLTT retains the LTT architecture of testing a fixed candidate family and certifying the rejected policies simultaneously, but replaces the stationary population risk with average predictable risk.

A complementary literature studies conformal calibration when data arrive sequentially or exchangeability fails. Adaptive Conformal Inference and its extensions use sequential feedback to maintain coverage under distribution shift [17, 42, 18], while SPCI exploits temporal structure in sequential conformity scores [41]. These methods primarily adapt predictive calibration as new observations arrive. StreamLTT instead keeps the candidate policy family fixed and asks which policies satisfy a deployment risk constraint. Online calibration and StreamLTT therefore operate at complementary stages: prediction can adapt over time, while certification evaluates a fixed family of deployment policies.

Inference under Dependence

Classical inference under temporal dependence often retains the target estimand while modifying its sampling approximation. HAC methods estimate long run variance under serial dependence [32, 1], while block bootstrap methods preserve dependence by resampling consecutive observations [26, 33, 34, 27]. These approaches motivate our HAC and block bootstrap baselines. They address how an empirical statistic should be normalized or resampled under dependence, but do not by themselves specify which deployment risk should replace a stationary marginal expectation when conditional risk changes along the stream.

Martingale concentration provides a complementary route to sequential inference. Classical bounded increment and variance sensitive inequalities include Hoeffding, Bentkus, and Freedman type bounds [22, 6, 14], with self normalized extensions developed for martingale processes [10]. More recent work uses nonnegative supermartingales to obtain time uniform concentration and confidence sequences [24, 25], including betting based inference for bounded means [39]. StreamLTT uses this martingale perspective after defining the risk target: centering each loss by its one step predictable risk yields a martingale difference sequence. Boundedness then gives the finite sample test, while predictable quadratic variation supports the variance adaptive construction.

Simultaneous Policy Certification

Certification across a finite policy family additionally requires multiplicity control. Classical procedures such as Bonferroni and Holm provide control of the family wise error rate, with related stepwise and closed testing procedures providing further refinement [23, 30, 21]. LTT connects these tools to policy selection by interpreting rejection of an unsafe risk null as certification of the corresponding policy [4]. StreamLTT preserves this multiplicity testing layer: once valid pp values for predictable risk are available, standard family wise correction yields a simultaneously certified region and permits subsequent selection within that region.

Proofs for StreamLTT

This appendix provides the proofs and supporting arguments for Section 3. We follow the order of the main text: the finite-sample StreamLTT test, the variance-adaptive StreamLTT test, consistency of the predictable-variance estimator, and simultaneous certification with post-certification selection.

Proof of the Finite-Sample StreamLTT Test

Proof of Theorem 3.2. Fix θj∈Θ\theta_j \in\Theta and suppress the argument θj\theta_j. Recall pn=E[Ln∣Fn−1]p_n = \mathbb{E}[L_n \mid\mathcal{F}_{n-1}] and Zn=Ln−pnZ_n = L_n-p_n. By construction, E[Zn∣Fn−1]=0\mathbb{E}[Z_n \mid\mathcal{F}_{n-1}] = 0, so {Zn}n≥1\{Z_n\}_{n\ge1} is a martingale-difference sequence with respect to {Fn}n≥0\{\mathcal{F}_n\}_{n\ge0}.

Since 0≤Ln≤Bj0 \le L_n \le B_j and conditional expectation preserves these bounds, 0≤pn≤Bj0 \le p_n \le B_j. Conditional on Fn−1\mathcal{F}_{n-1},

−pn≤Zn≤Bj−pn,-p_n \le Z_n \le B_j-p_n,

so ZnZ_n lies in an interval of length BjB_j. Hoeffding’s lemma therefore gives, for every s>0s > 0,

E[e−sZn∣Fn−1]≤exp⁡(s2Bj28).\mathbb{E}\left[e^{-sZ_n} \mid\mathcal{F}_{n-1}\right] \le\exp\left(\frac{s^2B_j^2}{8}\right).

Define

Mk:=exp⁡(−s∑n=1kZn−ks2Bj28),M0:=1.M_k := \exp\left(-s\sum_{n=1}^{k} Z_n-\frac{ks^2B_j^2}{8}\right), \qquad M_0 := 1.

Then {Mk,Fk}k=0N\{M_k,\mathcal{F}_k\}_{k=0}^{N} is a nonnegative supermartingale, since

E[Mk∣Fk−1]=Mk−1e−s2Bj2/8E[e−sZk∣Fk−1]≤Mk−1.\mathbb{E}[M_k \mid\mathcal{F}_{k-1}] = M_{k-1}e^{-s^2B_j^2/8}\mathbb{E}[e^{-sZ_k} \mid\mathcal{F}_{k-1}] \le M_{k-1}.

Hence E[MN]≤1\mathbb{E}[M_N] \le1.

For any t>0t > 0, on the event {∑n=1NZn≤−Nt}\{\sum_{n=1}^{N} Z_n \le-Nt\},

MN≥exp⁡(sNt−Ns2Bj28).M_N \ge\exp\left(sNt-\frac{Ns^2B_j^2}{8}\right).

Markov’s inequality therefore yields

P(∑n=1NZn≤−Nt)≤exp⁡(−sNt+Ns2Bj28).\mathbb{P}\left(\sum_{n=1}^{N} Z_n \le-Nt\right) \le\exp\left(-sNt+\frac{Ns^2B_j^2}{8}\right).

Optimizing over s>0s > 0 at s=4t/Bj2s=4t/B_j^2 gives

P(R^N−Rpred,N≤−t)≤exp⁡(−2Nt2Bj2).(13)\mathbb{P}\left(\widehat{R}_N-R_{\mathrm{pred},N}\le-t\right) \le\exp\left(-\frac{2Nt^2}{B_j^2}\right). \tag*{(13)}

where (6) was used.

Fix z∈(0,1)z \in(0,1) and define tz:=Bjlog⁡(1/z)/(2N)t_z := B_j\sqrt{\log(1/z)/(2N)}. By (7), pjH≤zp_j^{\mathrm{H}} \le z implies R^N≤α−tz\widehat{R}_N \le\alpha-t_z. Under Hj:Rpred,N>αH_j:R_{\mathrm{pred},N}>\alpha,

R^N−Rpred,N<−tz.\widehat{R}_N-R_{\mathrm{pred},N}<-t_z.

Thus

{pjH≤z}⊆{R^N−Rpred,N≤−tz}.\{p_j^{\mathrm{H}}\le z\}\subseteq\{\widehat{R}_N-R_{\mathrm{pred},N}\le-t_z\}.

Applying (13),

PHj(pjH≤z)≤exp⁡(−2Ntz2Bj2)=z.\mathbb{P}_{H_j}(p_j^{\mathrm{H}}\le z)\le\exp\left(-\frac{2Nt_z^2}{B_j^2}\right)=z.

The cases z=0z=0 and z=1z=1 are immediate. Hence pjHp_j^{\mathrm{H}} is finite-sample super-uniform under Hj:Rpred,N(θj)>αH_j:R_{\mathrm{pred},N}(\theta_j)>\alpha. ∎

Proof of the Variance-Adaptive StreamLTT Test

Proof of Theorem 3.4. Fix θj∈Θ\theta_j \in\Theta and suppress the argument θj\theta_j. Recall pn=E[Ln∣Fn−1]p_n = \mathbb{E}[L_n \mid\mathcal{F}_{n-1}] and Zn=Ln−pnZ_n = L_n - p_n. By construction, {Zn}n≥1\{Z_n\}_{n\ge1} is a martingale-difference sequence with respect to {Fn}n≥0\{\mathcal{F}_n\}_{n\ge0}, and Eq. (6) gives

N(R^N−Rpred,N)=∑n=1NZn.N(\widehat{R}_N-R_{\mathrm{pred},N})=\sum_{n=1}^{N}Z_n.

Since 0≤Ln≤Bj0 \le L_n \le B_j, we have 0≤pn≤Bj0 \le p_n \le B_j and therefore ∣Zn∣≤Bj|Z_n| \le B_j. By Assumption 3.3, there exists a deterministic sequence vN,j2>0v_{N,j}^2 > 0 such that vN,j2→∞v_{N,j}^2 \to\infty and

VN2vN,j2→p1,\frac{V_N^2}{v_{N,j}^2}\xrightarrow{p}1,

where VN2V_N^2 is defined in Eq. (8).

For any ε>0\varepsilon> 0, vN,j→∞v_{N,j} \to\infty implies εvN,j>Bj\varepsilon v_{N,j} > B_j for all sufficiently large NN. Hence

1vN,j2∑n=1NE[Zn2I{∣Zn∣>εvN,j}∣Fn−1]=0\frac{1}{v_{N,j}^2}\sum_{n=1}^{N}\mathbb{E}\left[Z_n^2\mathbb{I}\{|Z_n|>\varepsilon v_{N,j}\}\mid\mathcal{F}_{n-1}\right]=0

eventually. Thus the conditional Lindeberg condition holds.

Combining the conditional Lindeberg condition with predictable-variance stabilization, the martingale central limit theorem gives

∑n=1NZnvN,j⇒N(0,1).\frac{\sum_{n=1}^{N}Z_n}{v_{N,j}}\Rightarrow\mathcal{N}(0,1).

Moreover, VN/vN,j→p1V_N/v_{N,j}\xrightarrow{p}1, so Slutsky’s theorem yields

∑n=1NZnVN⇒N(0,1).\frac{\sum_{n=1}^{N}Z_n}{V_N}\Rightarrow\mathcal{N}(0,1).

By the variance-consistency condition in Theorem 3.4, V^N/VN→p1\widehat{V}_N/V_N\xrightarrow{p}1. Applying Slutsky’s theorem again,

TN:=N(R^N−Rpred,N)V^N⇒N(0,1).(14)T_N:=\frac{N(\widehat{R}_N-R_{\mathrm{pred},N})}{\widehat{V}_N}\Rightarrow\mathcal{N}(0,1). \tag*{(14)}

The statistic underlying Eq. (9) can be written as

N(R^N−α)V^N=TN+N(Rpred,N−α)V^N.\frac{N(\widehat{R}_N-\alpha)}{\widehat{V}_N} =T_N+\frac{N(R_{\mathrm{pred},N}-\alpha)}{\widehat{V}_N}.

Under Hj:Rpred,N>αH_j:R_{\mathrm{pred},N}>\alpha, the second term is positive. Since Φ\Phi is increasing,

pjSL≥Φ(TN).p_j^{\mathrm{SL}}\ge\Phi(T_N).

Consequently, for every z∈(0,1)z\in(0,1),

{pjSL≤z}⊆{TN≤Φ−1(z)}.\{p_j^{\mathrm{SL}}\le z\}\subseteq\{T_N\le\Phi^{-1}(z)\}.

Using Eq. (14),

lim sup⁡N→∞PHj(pjSL≤z)≤lim⁡N→∞P(TN≤Φ−1(z))=Φ(Φ−1(z))=z.\limsup_{N\to\infty}\mathbb{P}_{H_j}(p_j^{\mathrm{SL}}\le z) \le\lim_{N\to\infty}\mathbb{P}(T_N\le\Phi^{-1}(z)) =\Phi(\Phi^{-1}(z))=z.

The endpoints z=0z=0 and z=1z=1 are immediate. Hence pjSLp_j^{\mathrm{SL}} is asymptotically super-uniform under Hj:Rpred,N(θj)>αH_j:R_{\mathrm{pred},N}(\theta_j)>\alpha.

Proof of Predictable-Variance Consistency

Proof of Lemma 3.6. Fix θj∈Θ\theta_j \in\Theta and suppress the argument θj\theta_j. Since Ln∈{0,1}L_n \in\{0,1\},

E[Zn2∣Fn−1]=pn(1−pn).\mathbb{E}[Z_n^2 \mid\mathcal{F}_{n-1}] = p_n(1-p_n).

Therefore,

VN2=∑n=1Npn(1−pn),V_N^2 = \sum_{n=1}^{N} p_n(1-p_n),

while Eq. (10) gives

V^N2=∑n=1Np^n(1−p^n).\widehat{V}_N^2 = \sum_{n=1}^{N} \widehat{p}_n(1-\widehat{p}_n).

Let g(x):=x(1−x)g(x) := x(1-x) for x∈[0,1]x \in[0,1]. Since ∣g(x)−g(y)∣≤∣x−y∣|g(x)-g(y)| \leq|x-y| for all x,y∈[0,1]x,y \in[0,1],

∣V^N2−VN2N∣≤1N∑n=1N∣p^n−pn∣≤[1N∑n=1N(p^n−pn)2]1/2=op(1),\left|\frac{\widehat{V}_N^2-V_N^2}{N}\right| \leq\frac{1}{N}\sum_{n=1}^{N}|\widehat{p}_n-p_n| \leq\left[\frac{1}{N}\sum_{n=1}^{N}(\widehat{p}_n-p_n)^2\right]^{1/2} =o_p(1),

where the second inequality follows from Cauchy–Schwarz.

By the assumed nondegenerate variance limit VN2/N→pσj2>0V_N^2/N \overset{p}{\to} \sigma_j^2>0,

V^N2VN2−1=(V^N2−VN2)/NVN2/N→p0.\frac{\widehat{V}_N^2}{V_N^2}-1 = \frac{(\widehat{V}_N^2-V_N^2)/N}{V_N^2/N} \overset{p}{\to} 0.

Hence V^N2/VN2→p1\widehat{V}_N^2/V_N^2 \overset{p}{\to} 1, and the continuous mapping theorem gives

V^NVN→p1.\frac{\widehat{V}_N}{V_N}\overset{p}{\to}1.

Finally, define vN,j2:=Nσj2v_{N,j}^2:=N\sigma_j^2. Then vN,j2→∞v_{N,j}^2\to\infty and

VN2vN,j2=VN2/Nσj2→p1.\frac{V_N^2}{v_{N,j}^2} = \frac{V_N^2/N}{\sigma_j^2} \overset{p}{\to}1.

Thus Assumption 3.3 also holds. □\square

Proof of Simultaneous StreamLTT Certification

Proof of Theorem 3.7. At horizon NN, define the unsafe-policy index set

H0,N:={j∈{1,…,M}:Rpred,N(θj)>α},\mathcal{H}_{0,N}:=\{j\in\{1,\ldots,M\}:R_{\mathrm{pred},N}(\theta_j)>\alpha\},

and let RN\mathcal{R}_N denote the rejection set returned by the multiple-testing procedure. By definition,

Θ^safe={θj:j∈RN},Θsafe,N={θj:Rpred,N(θj)≤α}.\widehat{\Theta}_{\mathrm{safe}}=\{\theta_j:j\in\mathcal{R}_N\},\qquad \Theta_{\mathrm{safe},N}=\{\theta_j:R_{\mathrm{pred},N}(\theta_j)\leq\alpha\}.

Under this convention, false certification occurs exactly when at least one unsafe policy is rejected:

{Θ^safe⊈Θsafe,N}={RN∩H0,N≠∅}.(15)\left\{\widehat{\Theta}_{\mathrm{safe}}\not\subseteq\Theta_{\mathrm{safe},N}\right\} = \left\{\mathcal{R}_N\cap\mathcal{H}_{0,N}\neq\varnothing\right\}. \tag*{(15)}

Suppose first that the policy-level pp-values are finite-sample super-uniform under their corresponding null hypotheses and that the multiple-testing procedure controls the FWER at level δ\delta. Then

P(RN∩H0,N≠∅)≤δ.\mathbb{P}(\mathcal{R}_N\cap\mathcal{H}_{0,N}\neq\varnothing)\leq\delta.

Together with Eq. (15), this gives

P(Θ^safe⊈Θsafe,N)≤δ,\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\not\subseteq\Theta_{\mathrm{safe},N}\right)\leq\delta,

or equivalently,

P(Θ^safe⊆Θsafe,N)≥1−δ.\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}} \subseteq\Theta_{\mathrm{safe},N}\right) \ge1-\delta.

We next establish the post-certification statement. Let θ^\widehat{\theta} be any possibly data-dependent selection satisfying θ^∈Θ^safe\widehat{\theta}\in\widehat{\Theta}_{\mathrm{safe}} whenever Θ^safe≠∅\widehat{\Theta}_{\mathrm{safe}}\ne\varnothing. On the event Θ^safe⊆Θsafe,N\widehat{\Theta}_{\mathrm{safe}}\subseteq\Theta_{\mathrm{safe},N}, every policy in the certified region satisfies the predictable-risk constraint. Therefore,

{Θ^safe≠∅, Rpred,N(θ^)>α}⊆{Θ^safe⊈Θsafe,N}.(16)\left\{\widehat{\Theta}_{\mathrm{safe}}\ne\varnothing,\ R_{\mathrm{pred},N}(\widehat{\theta})>\alpha\right\}\subseteq\left\{\widehat{\Theta}_{\mathrm{safe}}\nsubseteq\Theta_{\mathrm{safe},N}\right\}. \tag*{(16)}

It follows that

P(Θ^safe≠∅, Rpred,N(θ^)>α)≤δ.\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\ne\varnothing,\ R_{\mathrm{pred},N}(\widehat{\theta})>\alpha\right)\le\delta.

This proves both finite-sample statements.

For the variance-adaptive StreamLTT test, consider Bonferroni correction, which rejects candidate jj whenever pjSL≤δ/Mp_j^{\mathrm{SL}}\le\delta/M. By the union bound,

P(RN∩H0,N≠∅)≤∑j=1MP(j∈H0,N, pjSL≤δM).(17)\mathbb{P}\left(\mathcal{R}_N\cap\mathcal{H}_{0,N}\ne\varnothing\right)\le\sum_{j=1}^{M}\mathbb{P}\left(j\in\mathcal{H}_{0,N},\ p_j^{\mathrm{SL}}\le\frac{\delta}{M}\right). \tag*{(17)}

For each fixed candidate θj\theta_j, Theorem 3.4 gives

lim sup⁡N→∞P(j∈H0,N, pjSL≤δM)≤δM.\limsup_{N\to\infty}\mathbb{P}\left(j\in\mathcal{H}_{0,N},\ p_j^{\mathrm{SL}}\le\frac{\delta}{M}\right)\le\frac{\delta}{M}.

Since MM is fixed and finite, taking the limit superior in Eq. (17) yields

lim sup⁡N→∞P(RN∩H0,N≠∅)≤∑j=1Mlim sup⁡N→∞P(j∈H0,N, pjSL≤δM)≤∑j=1MδM=δ.\limsup_{N\to\infty}\mathbb{P}\left(\mathcal{R}_N\cap\mathcal{H}_{0,N}\ne\varnothing\right)\le\sum_{j=1}^{M}\limsup_{N\to\infty}\mathbb{P}\left(j\in\mathcal{H}_{0,N},\ p_j^{\mathrm{SL}}\le\frac{\delta}{M}\right)\le\sum_{j=1}^{M}\frac{\delta}{M}=\delta.

Using Eq. (15),

lim sup⁡N→∞P(Θ^safe⊈Θsafe,N)≤δ,\limsup_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\nsubseteq\Theta_{\mathrm{safe},N}\right)\le\delta,

which is equivalent to

lim inf⁡N→∞P(Θ^safe⊆Θsafe,N)≥1−δ.\liminf_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\subseteq\Theta_{\mathrm{safe},N}\right)\ge1-\delta.

Finally, Eq. (16) holds for every NN. Hence

lim sup⁡N→∞P(Θ^safe≠∅, Rpred,N(θ^)>α)≤lim sup⁡N→∞P(Θ^safe⊈Θsafe,N)≤δ.\limsup_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\ne\varnothing,\ R_{\mathrm{pred},N}(\widehat{\theta})>\alpha\right)\le\limsup_{N\to\infty}\mathbb{P}\left(\widehat{\Theta}_{\mathrm{safe}}\nsubseteq\Theta_{\mathrm{safe},N}\right)\le\delta.

This proves both asymptotic statements.

Experimental Details

This section provides additional details for the experiments in § 4, including the forecasting protocol, construction of the deployment risks, certification methods, and evaluation metrics. All model configurations, auxiliary quantities, and test specific choices are fixed before certification.

Datasets and Forecasting Protocol

We consider seven real world forecasting datasets spanning energy, traffic, and temperature forecasting. The energy datasets are Electricity [37], Appliances Energy [7], and Household Power [20]; the traffic datasets are PEMS04 and PEMS08 [19]; and the temperature datasets are Beijing Weather [8] and Jena Weather [31]. The datasets differ in sequence length, sampling frequency, and

DatasetDomainForecasting task
ElectricityEnergyLoad forecasting
AppliancesEnergyEnergy use forecasting
Household PowerEnergyPower forecasting
PEMS04TrafficTraffic forecasting
PEMS08TrafficTraffic forecasting
BeijingTemperatureWeather forecasting
JenaTemperatureWeather forecasting

caption: Summary of the forecasting datasets used in the experiments.

:::

temporal structure, while their chronological order is preserved throughout preprocessing, forecasting, and certification.

Each dataset is split chronologically into a training set (20%), a validation set (2%), a calibration set (8%), and a certification stream (70%). A temporal convolutional network (TCN) is trained for one step forecasting on the training set, selected using the validation set, and then frozen. The calibration set determines auxiliary quantities required by the deployment risks, such as severe miss tolerances and regime thresholds, which remain fixed throughout certification. The final 70% of observations form the certification stream and are processed sequentially in their original temporal order.

Forecasting model. We use the same TCN forecasting architecture across all seven datasets. The model takes the previous 24 observations of the target variable as input and predicts the next outcome; Electricity additionally includes temporal and customer information. Inputs and targets are standardized using statistics from the training set. Models are trained by minimizing mean squared error with validation based early stopping, and the selected model is frozen before calibration and certification. The resulting forecasts are shared across all certification methods.

At each certification round, predictions and deployment decisions use only information available before the corresponding outcome is revealed. History dependent decisions may additionally use previously revealed outcomes, whereas unrevealed outcomes remain unavailable.

tbl:3 summarizes the application domains and forecasting tasks.

Deployment Risk Construction

We consider the seven binary deployment risks summarized in Table 1. They span pointwise forecasting failures, regime dependent events, directional decisions, and history dependent reversal errors. Each loss takes values in {0,1}\{0,1\}, matching the Bernoulli setting used for predictable variance estimation in § 3.2.

For the interval based risks, let μ^i\hat{\mu}_i denote the frozen point forecast and define

Cm(Xi)=[μ^i−msi,μ^i+msi],C_m(X_i) = [\hat{\mu}_i - ms_i, \hat{\mu}_i + ms_i],

where sis_i is a calibration based residual scale fixed before certification, and mm indexes the candidate interval widths.

Interval miss. The interval miss loss is Liint(m)=I{Yi∉Cm(Xi)}L_i^{\mathrm{int}}(m) = \mathbb{I}\{Y_i \notin C_m(X_i)\}, with target α=0.10\alpha= 0.10.

Lower tail miss. The lower tail loss isolates outcomes below the lower prediction limit, Lilow(m)=I{Yi<ℓi(m)}L_i^{\mathrm{low}}(m) = \mathbb{I}\{Y_i < \ell_i(m)\}, with α=0.10\alpha= 0.10.

Severe interval miss. Let e0e_0 denote an additional tolerance determined from the calibration set. We define Lisev(m)=I{∣Yi−μ^i∣>msi+e0}L_i^{\mathrm{sev}}(m) = \mathbb{I}\{|Y_i - \hat{\mu}_i| > ms_i + e_0\}, with α=0.10\alpha= 0.10. This risk captures errors exceeding the ordinary uncertainty scale by the prescribed tolerance.

Task regime miss. Let Gi∈{0,1}G_i \in\{0,1\} indicate an extreme operating regime determined from the calibration set. The corresponding loss is Lireg(m)=I{Gi=1, Yi∉Cm(Xi)}L_i^{\mathrm{reg}}(m) = \mathbb{I}\{G_i = 1,\, Y_i \notin C_m(X_i)\}, with α=0.05\alpha= 0.05. This is a joint event risk that emphasizes coverage conditional on Gi=1G_i = 1.

Opposite direction. Let ai(θ)∈{−1,0,1}a_i(\theta) \in\{-1,0,1\} denote the action issued by policy θ\theta and zid∈{−1,0,1}z_i^d \in\{-1,0,1\} the realized direction. We define Lidir(θ)=I{ai(θ)zid=−1}L_i^{\mathrm{dir}}(\theta) = \mathbb{I}\{a_i(\theta)z_i^d = -1\}, with α=0.10\alpha= 0.10.

Missed reversal. Let ri∈{0,1}r_i \in\{0,1\} denote the realized trend reversal indicator and r^i(θ)∈{0,1}\widehat{r}_i(\theta) \in\{0,1\} the corresponding policy prediction. The loss is Limiss(θ)=I{ri=1,r^i(θ)=0}L_i^{\mathrm{miss}}(\theta) = \mathbb{I}\{r_i = 1, \widehat{r}_i(\theta) = 0\}, with α=0.10\alpha= 0.10.

False reversal. The complementary false alert loss is Lifalse(θ)=I{ri=0,r^i(θ)=1}L_i^{\mathrm{false}}(\theta) = \mathbb{I}\{r_i = 0, \widehat{r}_i(\theta) = 1\}, with α=0.10\alpha= 0.10. Together, the missed and false reversal risks distinguish the two asymmetric failure modes of reversal detection.

All quantities defining these risks are either fixed using precertification data or constructed from information available before the corresponding outcome is revealed.

Certification Methods

Our primary implementation, StreamLTT-A, uses the variance adaptive test in Theorem 3.4. We compare it with five baselines: IID-LTT [4], LTT-HB-Holm [22, 6], HAC-CLT-Holm [32], CircularBlockBootstrap-Holm [33], and EB-Howard-Bonferroni [24]. We additionally evaluate StreamLTT-H, which uses the same average predictable risk target as StreamLTT-A but replaces the adaptive test with the finite sample test in Theorem 3.2.

IID-LTT and LTT-HB-Holm both retain the standard LTT population risk under independent calibration losses. IID-LTT uses a CLT approximation to empirical risk, whereas LTT-HB-Holm uses the finite sample Hoeffding–Bentkus bounded loss test. HAC-CLT-Holm instead adjusts the long run variance for temporal dependence, while CircularBlockBootstrap-Holm approximates the dependent sampling distribution through circular block resampling. EB-Howard-Bonferroni uses an empirical Bernstein concentration construction.

For StreamLTT-A, the one step predictable risk pn(θ)=E[Ln(θ)∣Fn−1]p_n(\theta) = \mathbb{E}[L_n(\theta) \mid\mathcal{F}_{n-1}] is estimated using only information available before YnY_n is revealed. Given p^n(θ)\widehat{p}_n(\theta), the predictable quadratic variation is estimated as

V^N2(θ)=∑n=1Np^n(θ)(1−p^n(θ)),\widehat{V}_N^2(\theta) = \sum_{n=1}^{N} \widehat{p}_n(\theta)\left(1-\widehat{p}_n(\theta)\right),

as in Eq. equation 10. Pointwise risks use the current forecasting information and policy quantities, while regime and history dependent risks add the corresponding information available in Fn−1\mathcal{F}_{n-1}. All estimator configurations are fixed before certification.

StreamLTT-H retains the same predictable risk formulation but uses the finite sample martingale Hoeffding pp value in Eq. equation 7. Comparing StreamLTT-H with StreamLTT-A therefore isolates predictable variance adaptation while holding the certified risk target fixed.

Evaluation Protocol and Metrics

We evaluate all 7×7=497 \times7 = 49 dataset–risk combinations at δ∈{0.10,0.20}\delta\in\{0.10, 0.20\} using 2,000 independent repetitions per configuration.

A family wise error occurs when at least one certified policy exceeds the prescribed predictable risk target,

∃θ∈Θ^safesuch thatRpred,N(θ)>α.\exists\theta\in\widehat{\Theta}_{\mathrm{safe}} \quad\text{such that} \quad R_{\mathrm{pred},N}(\theta) > \alpha.

Empirical FWER is the frequency of this event across repetitions.

For each nonempty certified region, define

Rmax⁡:=max⁡θ∈Θ^safeRpred,N(θ),R_{\max} := \max_{\theta\in\widehat{\Theta}_{\mathrm{safe}}} R_{\mathrm{pred},N}(\theta),

and let R‾max⁡\overline{R}_{\max} denote its mean across nonempty repetitions. We measure certification tightness by the risk gap α−R‾max⁡\alpha- \overline{R}_{\max} and family wise budget utilization by the FWER gap δ−FWER^\delta- \widehat{\mathrm{FWER}}. Values near zero indicate that the corresponding certification boundary is approached closely.

As a complementary measure, the certified fraction ∣Θ^safe∣/∣Θ∣|\widehat{\Theta}_{\mathrm{safe}}|/|\Theta| records the proportion of candidate policies retained after certification. Monte Carlo uncertainty is computed from the 2,000 repetitions. For empirical FWER q^\widehat{q}, its Monte Carlo standard error is q^(1−q^)/2000\sqrt{\widehat{q}(1-\widehat{q})/2000}; we additionally compute binomial confidence intervals for FWER and Monte Carlo uncertainty for R‾max⁡\overline{R}_{\max} and the certified fraction.

Additional Experimental Results

This section complements § 4.2 with complete dataset level results for all seven deployment risks at both family wise levels, the finite sample StreamLTT ablation, and Monte Carlo diagnostics.

Dataset Level Results at δ=0.10\delta= 0.10

Table 4 reports the complete dataset level comparison at δ=0.10\delta= 0.10. Each entry gives R‾max⁡/FWER^\overline{R}_{\max}/\widehat{\mathrm{FWER}}, allowing frontier tightness and false certification to be compared jointly across datasets and risks.

RiskMethodElectricityAppliancesHouseholdPEMS04PEMS08BeijingJena
Interval miss (α=.10\alpha= .10)IID-LTT.051/.028.046/.013.048/.020.051/.017.044/.015.047/.019.045/.012
Interval miss (α=.10\alpha= .10)LTT-HB-Holm.050/.006.045/.004.047/.009.051/.006.043/.006.046/.005.045/.004
Interval miss (α=.10\alpha= .10)HAC-CLT-Holm.051/.035.046/.014.048/.025.051/.021.044/.019.047/.024.045/.017
Interval miss (α=.10\alpha= .10)BlockBootstrap-Holm.051/.034.046/.015.048/.025.052/.021.044/.019.047/.023.045/.018
Interval miss (α=.10\alpha= .10)EB-Howard-Bonf..050/.000.045/.000.047/.000.050/.000.043/.000.046/.000.044/.000
Interval miss (α=.10\alpha= .10)StreamLTT-A.096/.084.096/.082.097/.102.096/.094.095/.087.096/.089.096/.083
Lower tail miss (α=.10\alpha= .10)IID-LTT.055/.045.069/.031.053/.032.065/.025.066/.026.069/.020.064/.025
Lower tail miss (α=.10\alpha= .10)LTT-HB-Holm.053/.014.069/.010.052/.009.065/.009.066/.009.069/.004.063/.007
Lower tail miss (α=.10\alpha= .10)HAC-CLT-Holm.055/.052.069/.037.053/.037.066/.030.066/.031.070/.023.064/.032
Lower tail miss (α=.10\alpha= .10)BlockBootstrap-Holm.055/.052.069/.036.053/.036.066/.031.066/.031.070/.023.064/.031
Lower tail miss (α=.10\alpha= .10)EB-Howard-Bonf..052/.000.068/.000.052/.000.065/.000.065/.000.069/.000.063/.000
Lower tail miss (α=.10\alpha= .10)StreamLTT-A.097/.095.096/.097.095/.093.097/.080.097/.088.096/.081.097/.085
Severe miss (α=.10\alpha= .10)IID-LTT.054/.083.080/.082.063/.079.075/.090.069/.091.072/.097.073/.096
Severe miss (α=.10\alpha= .10)LTT-HB-Holm.051/.029.078/.026.060/.024.073/.029.066/.028.070/.030.071/.031
Severe miss (α=.10\alpha= .10)HAC-CLT-Holm.054/.092.080/.094.063/.087.075/.097.069/.099.073/.105.073/.107
Severe miss (α=.10\alpha= .10)BlockBootstrap-Holm.054/.091.080/.093.063/.086.075/.096.069/.098.073/.105.073/.105
Severe miss (α=.10\alpha= .10)EB-Howard-Bonf..050/.000.078/.000.059/.000.072/.000.065/.000.069/.000.070/.000
Severe miss (α=.10\alpha= .10)StreamLTT-A.072/.085.086/.082.063/.080.075/.090.069/.091.072/.097.073/.096
Task regime miss (α=.05\alpha= .05)IID-LTT.025/.097.016/.016.032/.017.040/.048.040/.059.025/.015.038/.050
Task regime miss (α=.05\alpha= .05)LTT-HB-Holm.024/.033.016/.005.032/.005.040/.017.040/.018.025/.004.038/.017
Task regime miss (α=.05\alpha= .05)HAC-CLT-Holm.026/.099.016/.018.032/.021.040/.049.040/.060.025/.018.038/.051
Task regime miss (α=.05\alpha= .05)BlockBootstrap-Holm.026/.100.016/.017.032/.021.040/.048.040/.060.025/.017.038/.050
Task regime miss (α=.05\alpha= .05)EB-Howard-Bonf..023/.000.016/.000.032/.000.039/.000.040/.000.025/.000.038/.000
Task regime miss (α=.05\alpha= .05)StreamLTT-A.034/.097.044/.117.047/.086.046/.093.045/.105.048/.084.045/.096
Opposite direction (α=.10\alpha= .10)IID-LTT.095/.085.094/.086.083/.085.088/.087.091/.088.074/.088.054/.089
Opposite direction (α=.10\alpha= .10)LTT-HB-Holm.095/.032.094/.029.082/.027.088/.026.090/.029.072/.026.052/.034
Opposite direction (α=.10\alpha= .10)HAC-CLT-Holm.095/.095.094/.097.083/.091.089/.099.091/.098.074/.101.055/.099
Opposite direction (α=.10\alpha= .10)BlockBootstrap-Holm.095/.097.094/.096.084/.092.089/.098.091/.098.074/.098.055/.099
Opposite direction (α=.10\alpha= .10)EB-Howard-Bonf..087/.000.091/.000.082/.000.087/.000.090/.000.071/.000.050/.000
Opposite direction (α=.10\alpha= .10)StreamLTT-A.097/.087.094/.087.083/.086.097/.087.097/.088.092/.090.055/.091
Missed reversal (α=.10\alpha= .10)IID-LTT.080/.087.064/.026.075/.040.048/.016.050/.018.089/.091.081/.047
Missed reversal (α=.10\alpha= .10)LTT-HB-Holm.077/.030.063/.008.074/.015.048/.005.049/.006.086/.031.080/.018
Missed reversal (α=.10\alpha= .10)HAC-CLT-Holm.081/.099.064/.033.075/.045.049/.022.050/.023.090/.099.081/.052
Missed reversal (α=.10\alpha= .10)BlockBootstrap-Holm.081/.097.064/.033.075/.047.049/.022.050/.023.090/.099.081/.053
Missed reversal (α=.10\alpha= .10)EB-Howard-Bonf..073/.000.063/.000.074/.000.048/.001.049/.000.079/.000.080/.000
Missed reversal (α=.10\alpha= .10)StreamLTT-A.097/.088.095/.092.095/.085.095/.099.095/.089.096/.093.082/.092
False reversal (α=.10\alpha= .10)IID-LTT.089/.088.094/.086.084/.081.049/.018.045/.020.091/.105.076/.098
False reversal (α=.10\alpha= .10)LTT-HB-Holm.089/.029.094/.033.083/.028.048/.004.044/.006.090/.028.074/.030
False reversal (α=.10\alpha= .10)HAC-CLT-Holm.090/.098.094/.096.084/.091.049/.022.045/.023.091/.110.076/.111
False reversal (α=.10\alpha= .10)BlockBootstrap-Holm.090/.100.094/.096.084/.089.049/.022.045/.024.091/.110.076/.107
False reversal (α=.10\alpha= .10)EB-Howard-Bonf..088/.000.090/.000.082/.000.048/.000.044/.000.090/.000.073/.000
False reversal (α=.10\alpha= .10)StreamLTT-A.097/.088.097/.086.096/.081.096/.086.096/.088.098/.105.094/.100

Table 4. Dataset level certification results at δ=0.10\delta= 0.10 for all seven deployment risks. Each entry reports R‾max⁡/FWER^\overline{R}_{\max}/\widehat{\mathrm{FWER}}.

The complete results show that the aggregate behavior in § 4.2 is not driven by a single dataset or risk. The largest separation appears for interval and lower tail miss, where StreamLTT-A consistently moves the frontier close to α=0.10\alpha= 0.10 while the competing methods remain substantially below it. Similar gains appear for missed and false reversal, particularly on datasets where the baseline frontier is far from the target.

RiskMethodElectricityAppliancesHouseholdPEMS04PEMS08BeijingJena
Interval miss (α=.10\alpha= .10)IID-LTT.052/.054.046/.022.049/.038.052/.035.044/.032.048/.033.046/.029
LTT-HB-Holm.050/.016.046/.009.048/.016.051/.011.043/.011.046/.011.045/.008
HAC-CLT-Holm.053/.060.047/.029.049/.046.053/.044.045/.041.048/.038.046/.038
BlockBootstrap-Holm.053/.061.047/.028.049/.046.053/.044.045/.042.048/.038.046/.038
EB-Howard-Bonf..050/.000.045/.000.047/.000.050/.000.043/.000.046/.000.044/.000
StreamLTT-A.097/.185.096/.178.097/.211.097/.186.095/.181.097/.177.097/.182
Lower tail miss (α=.10\alpha= .10)IID-LTT.057/.095.070/.063.055/.062.066/.050.067/.051.070/.035.065/.059
LTT-HB-Holm.054/.030.069/.021.052/.017.065/.018.066/.018.069/.014.063/.018
HAC-CLT-Holm.057/.102.070/.070.055/.068.067/.058.068/.065.070/.044.065/.064
BlockBootstrap-Holm.057/.101.070/.070.055/.068.067/.057.068/.065.070/.043.065/.065
EB-Howard-Bonf..052/.000.068/.000.052/.000.065/.000.065/.000.069/.000.063/.000
StreamLTT-A.098/.184.096/.183.096/.199.098/.175.098/.185.097/.175.097/.184
Severe miss (α=.10\alpha= .10)IID-LTT.059/.180.082/.173.067/.179.078/.188.072/.189.075/.195.076/.185
LTT-HB-Holm.053/.056.079/.057.062/.058.074/.067.068/.066.071/.067.072/.063
HAC-CLT-Holm.060/.194.082/.186.067/.191.078/.202.072/.198.076/.202.076/.199
BlockBootstrap-Holm.059/.192.082/.185.067/.188.078/.199.072/.197.076/.203.076/.198
EB-Howard-Bonf..050/.000.078/.000.059/.000.072/.000.065/.000.069/.000.070/.000
StreamLTT-A.075/.185.088/.175.067/.180.078/.188.072/.190.075/.196.076/.189
Task regime (α=.05\alpha= .05)IID-LTT.028/.189.017/.033.032/.034.040/.093.041/.105.026/.032.039/.096
LTT-HB-Holm.025/.064.016/.007.032/.010.040/.029.040/.038.025/.009.038/.034
HAC-CLT-Holm.028/.190.017/.035.033/.038.040/.098.041/.111.026/.034.039/.099
BlockBootstrap-Holm.028/.188.017/.035.033/.040.040/.096.041/.108.026/.034.039/.100
EB-Howard-Bonf..023/.000.016/.000.032/.000.039/.000.040/.000.025/.000.038/.000
StreamLTT-A.036/.189.045/.217.048/.193.046/.191.045/.212.048/.192.046/.197
Opposite direction (α=.10\alpha= .10)IID-LTT.096/.187.095/.178.085/.172.090/.180.092/.190.077/.189.060/.196
LTT-HB-Holm.095/.061.094/.064.083/.060.088/.057.090/.063.073/.056.053/.063
HAC-CLT-Holm.096/.198.095/.191.085/.186.090/.190.092/.203.077/.199.060/.207
BlockBootstrap-Holm.096/.196.095/.189.085/.183.090/.190.092/.203.077/.199.060/.206
EB-Howard-Bonf..087/.000.092/.000.082/.000.087/.000.090/.000.071/.000.055/.000
StreamLTT-A.097/.188.095/.180.085/.179.098/.182.098/.192.093/.192.060/.200
Missed reversal (α=.10\alpha= .10)IID-LTT.084/.173.065/.058.076/.085.050/.042.051/.041.092/.191.082/.090
LTT-HB-Holm.079/.061.064/.018.074/.030.048/.011.049/.011.088/.064.081/.035
HAC-CLT-Holm.085/.182.065/.066.076/.096.050/.051.051/.047.093/.206.082/.100
BlockBootstrap-Holm.084/.180.065/.066.076/.095.050/.051.051/.046.093/.204.082/.100
EB-Howard-Bonf..073/.000.063/.000.074/.000.048/.001.049/.000.079/.000.080/.000
StreamLTT-A.098/.173.095/.191.095/.192.096/.186.096/.185.097/.195.084/.201
False reversal (α=.10\alpha= .10)IID-LTT.091/.183.095/.178.085/.163.050/.043.046/.039.092/.209.079/.199
LTT-HB-Holm.089/.066.094/.058.083/.057.048/.010.045/.012.091/.075.075/.070
HAC-CLT-Holm.091/.197.095/.193.085/.178.050/.050.047/.043.092/.226.079/.210
BlockBootstrap-Holm.091/.195.095/.192.085/.177.050/.049.047/.043.092/.224.079/.208
EB-Howard-Bonf..088/.000.091/.000.082/.000.048/.000.044/.000.090/.000.073/.000
StreamLTT-A.098/.186.097/.179.097/.163.097/.192.097/.198.098/.214.095/.202

Table 5. Dataset level certification results at δ=0.20\delta= 0.20. Each entry reports R‾max⁡/FWER^\overline{R}_{\max}/\widehat{\mathrm{FWER}}.

Other risks illustrate why frontier tightness and FWER must be interpreted jointly. For severe miss and opposite direction, HAC-CLT-Holm and the block bootstrap often attain empirical FWER near 0.10, but their frontiers remain close to IID-LTT on several datasets. Conversely, StreamLTT-A maintains FWER near the prescribed level while improving the frontier where additional admissible policies are available. The attainable frontier can itself vary by dataset, as seen for opposite direction on Jena and for severe miss on several streams.

Dataset Level Results at =0.20

Table 5 reports the corresponding dataset level results after increasing the family wise level to δ=0.20\delta= 0.20. This comparison shows how each procedure responds when a larger false certification budget is available.

The larger family wise budget produces two distinct behaviors. StreamLTT-A responds across nearly all dataset–risk pairs: empirical FWER generally moves toward 0.20, while the certified frontier remains close to the corresponding risk target whenever the candidate family contains policies near that boundary. For example, the interval and lower tail frontiers remain around 0.095–0.098 across all seven datasets, while their empirical FWER values move from the neighborhood of 0.10 at δ=0.10\delta= 0.10 toward 0.20.

The baseline response is less uniform. HAC-CLT-Holm and BlockBootstrap-Holm approach the larger FWER budget for some risks, such as severe miss and opposite direction, but remain substantially below it for interval, lower tail, task regime, and several reversal settings. LTT-HB-Holm remains more conservative throughout, while EB-Howard-Bonferroni leaves essentially the entire family wise budget unused. Moreover, increasing δ\delta changes many baseline frontiers only modestly. For interval miss, for example, their Rˉmax⁡\bar{R}_{\max} values remain around 0.04–0.05, whereas StreamLTT-A remains near 0.10.

Finite Sample StreamLTT Ablation

To complement the aggregate ablation in § 4.2, Table 6 reports the risk wise results for StreamLTT-H after averaging across the seven datasets. StreamLTT-H retains the same average predictable risk target as StreamLTT-A but uses the finite sample martingale Hoeffding test, isolating the effect of removing predictable variance adaptation.

Riskδ=0.10\delta= 0.10δ=0.20\delta= 0.20
Rˉmax⁡\bar{R}_{\max}FWERFrac.Rˉmax⁡\bar{R}_{\max}FWERFrac.
Interval miss.092.000.322.093.001.325
Lower tail miss.094.000.699.094.001.704
Severe miss.070.000.981.070.001.982
Task regime miss.042.000.647.043.000.652
Opposite direction.086.000.947.086.001.953
Missed reversal.091.000.864.091.001.866
False reversal.093.000.809.094.001.814

Table 6. Risk wise results for StreamLTT-H, averaged across the seven datasets. Rˉmax⁡\bar{R}_{\max} denotes the mean maximum predictable risk, FWER the empirical family wise error rate, and Frac. the mean certified fraction.

Across risks, StreamLTT-H already produces relatively tight certified frontiers, while its empirical FWER remains essentially zero at both family wise levels. Increasing δ\delta from 0.10 to 0.20 changes the frontier and certified fraction only modestly, consistent with the conservatism of the finite sample Hoeffding test. Together with the StreamLTT-A results reported above, this risk wise breakdown supports the aggregate ablation: the predictable risk formulation accounts for most of the frontier tightening, whereas predictable variance adaptation primarily enables the procedure to use more of the available family wise budget.

References

  1. [1]Donald W. K. Andrews. Heteroskedasticity and autocorrelation consistent covariance matrix estimation. Econometrica, 59(3):817–858, 1991. doi: 10.2307/2938229.DOI
  2. [2]Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Found. Trends Mach. Learn., 16(4):494–591, March 2023.
  3. [3]Anastasios N Angelopoulos, Stephen Bates, Adam Fisch, Lihua Lei, and Tal Schuster. Conformal risk control. In Proc. Int. Conf. Learn. Represent., 2024.
  4. [4]Anastasios N. Angelopoulos, Stephen Bates, Emmanuel J. Candès, Michael I. Jordan, and Lihua Lei. Learn then test: Calibrating predictive algorithms to achieve risk control. The Annals of Applied Statistics, 19(2):1641 – 1662, 2025.arxiv.org/abs/2110.01052
  5. [5]Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv preprint arXiv:1803.01271, 2018.arxiv.org/abs/1803.01271
  6. [6]Vidmantas Bentkus. On Hoeffding’s inequalities. The Annals of Probability, 32(2):1650–1673, 2004. doi: 10.1214/009117904000000360.DOI
  7. [7]Luis M. Candanedo, Véronique Feldheim, and Dominique Deramaix. Data driven prediction models of energy use of appliances in a low-energy house. Energy and Buildings, 140:81–97, 2017.DOI
  8. [8]Song Chen. Beijing Multi-Site Air Quality. UCI Machine Learning Repository, 2017.DOI
  9. [9]C. K. Chow. On optimum recognition error and reject tradeoff. IEEE Transactions on Information Theory, 16(1):41–46, 1970. doi: 10.1109/TIT.1970.1054406.DOI
  10. [10]Victor H. de la Peña, Tze Leung Lai, and Qi-Man Shao. Self-Normalized Processes: Limit Theory and Statistical Applications. Springer, Berlin, Heidelberg, 2009. doi: 10.1007/978-3-540-85636-8.
  11. [11]Priya L. Donti, Brandon Amos, and J. Zico Kolter. Task-based end-to-end model learning in stochastic optimization. In Proc. Adv. Neural Inf. Process. Syst., volume 30, 2017.arxiv.org/abs/1703.04529
  12. [12]Ran El-Yaniv and Yair Wiener. On the foundations of noise-free selective classification. J. Mach. Learn. Res., 11(53):1605–1641, 2010.DOI
  13. [13]Adam N. Elmachtoub and Paul Grigas. Smart “predict, then optimize”. Management Science, 68(1):9–26, 2022.arxiv.org/abs/1710.08005
  14. [14]David A. Freedman. On tail probabilities for martingales. The Annals of Probability, 3(1):100–118, 1975. doi: 10.1214/aop/1176996452.DOI
  15. [15]Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Proc. Adv. Neural Inf. Process. Syst., volume 30, 2017.
  16. [16]Yonatan Geifman and Ran El-Yaniv. Selectivenet: A deep neural network with an integrated reject option. In Proc. Int. Conf. Mach. Learn., volume 97 of Proceedings of Machine Learning Research, pp. 2151–2159. PMLR, 2019.arxiv.org/abs/1901.09192
  17. [17]Isaac Gibbs and Emmanuel Candès. Adaptive conformal inference under distribution shift. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), Proc. Adv. Neural Inf. Process. Syst., 2021.arxiv.org/abs/2106.00170
  18. [18]Isaac Gibbs and Emmanuel Candès. Conformal inference for online prediction with arbitrary distribution shifts. J. Mach. Learn. Res., 25(162):1–36, 2024.
  19. [19]Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, and Huaiyu Wan. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. In Proc. AAAI Conf. Artif. Intel., volume 33, pp. 922–929, 2019. doi: 10.1609/aaai.v33i01.3301922.DOI
  20. [20]Georges Hebrail and Alice Berard. Individual household electric power consumption. UCI Machine Learning Repository, 2006.DOI
  21. [21]Yosef Hochberg. A sharper Bonferroni procedure for multiple tests of significance. Biometrika, 75 (4):800–802, 1988. doi: 10.1093/biomet/75.4.800.DOI
  22. [22]Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. doi: 10.1080/01621459.1963.10500830.DOI
  23. [23]Sture Holm. A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2):65–70, 1979.DOI
  24. [24]Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform Chernoff bounds via nonnegative supermartingales. Probability Surveys, 17:257–317, 2020. doi: 10.1214/18-PS321.DOI
  25. [25]Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform, non-parametric, nonasymptotic confidence sequences. Ann. Stat., 49(2):1055–1080, 2021. doi: 10.1214/20-AOS1991.
  26. [26]Hans R. Künsch. The jackknife and the bootstrap for general stationary observations. Ann. Stat., 17 (3):1217–1241, 1989. doi: 10.1214/aos/1176347265.DOI
  27. [27]S. N. Lahiri. Resampling Methods for Dependent Data. Springer, New York, 2003. doi: 10.1007/978-1-4757-3803-2.DOI
  28. [28]Jing Lei, Max G’Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111, 2018. doi: 10.1080/01621459.2017.1307116.DOI
  29. [29]Ziyin Liu, Zhikang Wang, Paul Pu Liang, Russ R Salakhutdinov, Louis-Philippe Morency, and Masahito Ueda. Deep gamblers: Learning to abstain with portfolio theory. In Proc. Adv. Neural Inf. Process. Syst., volume 32, 2019.
  30. [30]Ruth Marcus, Eric Peritz, and K. R. Gabriel. On closed testing procedures with special reference to ordered analysis of variance. Biometrika, 63(3):655–660, 1976. doi: 10.1093/biomet/63.3.655.DOI
  31. [31]Max Planck Institute for Biogeochemistry. Jena climate and weather data. https://www.bgc-jena.mpg.de/wetter/, 2016. 2009–2016 subset. Accessed: 2026-09-24.DOI
  32. [32]Whitney K. Newey and Kenneth D. West. A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica, 55(3):703–708, 1987. doi: 10.2307/1913610.DOI
  33. [33]Dimitris N. Politis and Joseph P. Romano. A circular block-resampling procedure for stationary data. In Raoul LePage and Lynne Billard (eds.), Exploring the Limits of Bootstrap, pp. 263–270. John Wiley & Sons, 1992.
  34. [34]Dimitris N. Politis and Joseph P. Romano. The stationary bootstrap. J. Amer. Stat. Assoc., 89(428):1303–1313, 1994. doi: 10.1080/01621459.1994.10467870.DOI
  35. [35]Yaniv Romano, Matteo Sesia, and Emmanuel J. Candès. Classification with valid and adaptive coverage. In Proc. Adv. Neural Inf. Process. Syst., 2020.arxiv.org/abs/2006.02544
  36. [36]Glenn Shafer and Vladimir Vovk. A tutorial on conformal prediction. Journal of Machine Learning Research, 9:371–421, 2008.
  37. [37]Artur Trindade. ElectricityLoadDiagrams20112014. UCI Machine Learning Repository, 2015.DOI
  38. [38]Vladimir Vovk, Alex Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer Science & Business Media, 2005.
  39. [39]Ian Waudby-Smith and Aaditya Ramdas. Estimating means of bounded random variables by betting. Journal of the Royal Statistical Society Series B: Statistical Methodology, 86(1):1–27, 2024. doi: 10.1093/jrsssb/qkad009.
  40. [40]Bryan Wilder, Bistra Dilkina, and Milind Tambe. Melding the data-decisions pipeline: Decision-focused learning for combinatorial optimization. In Proc. AAAI Conf. Artif. Intel., volume 33, pp. 1658–1665, 2019.arxiv.org/abs/1809.05504
  41. [41]Chen Xu and Yao Xie. Sequential predictive conformal inference for time series. In Proc. Int. Conf. Mach. Learn., volume 202 of Proc. Mach. Learn. Res., pp. 38707–38727. PMLR, 2023.arxiv.org/abs/2212.03463
  42. [42]Margaux Zaffran, Olivier Feron, Yannig Goude, Julie Josse, and Aymeric Dieuleveut. Adaptive conformal predictions for time series. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proc. Int. Conf. Mach. Learn., volume 162, pp. 25834–25866. PMLR, 17–23 Jul 2022.arxiv.org/abs/2202.07282

Paper details

vlnc:W_dg8s26x3
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Generative AI · View statement →

Looking for related papers…
Contents