Manuscript Offprint

arXiv:2611.04062

StreamLTT: Risk Certification for Policy Selection under Stream Dependence

Jinwen Xu, Qin Lu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 INTRODUCTION

Modern prediction systems are ultimately deployed through decisions rather than raw predictions (Elmachtoub & Grigas, 2022; Wilder et al., 2019; Donti et al., 2017). 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 (Geifman & El-Yaniv, 2019; Liu et al., 2019). A broad literature has developed statistical tools for uncertainty-aware and risk-controlled decision-making, including selective classification, conformal prediction, and conformal risk control (Geifman & El-Yaniv, 2017; Angelopoulos & Bates, 2023; Angelopoulos et al., 2024). 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 (Angelopoulos et al., 2025). 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 (Gibbs & Candes, 2021; Zaffran et al., 2022; Gibbs & Candès, 2024; Xu & Xie, 2023).

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 (Angelopoulos et al., 2025). 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 (Newey & West, 1987), block resampling approximates sampling distributions under local dependence (Politis & Romano, 1992), and sequential concentration controls deviations for adapted observations (Howard et al., 2020). 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 (Hoeffding, 1963) that requires only bounded losses and provides finite-sample validity. The resulting pp-values plug directly into the multiple-testing layer of LTT (Angelopoulos et al., 2025), yielding a simultaneously certified policy region under family-wise error rate control (Holm, 1979). 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.

References (38)