Skip to content

StreamLTT: Risk Certification for Policies in Dependent Streams

THE ARGUMENT

When deployment losses are dependent and nonstationary, changing the certified target to average predictable risk and testing it with martingale-based multiplicity control gets closer to the prescribed risk target than applying IID-LTT directly.

On this page

You have a vendor’s deployment report in hand: the vendor set a confidence threshold at 0.8, claims backtest risk below 5%, and asks whether you will sign off. Your default move is to treat the backtest rows as unrelated and unchanging, average their losses, and compare that average with 5%. But requests arrive in time order, today’s errors can shape tomorrow’s inputs, and one pooled average cannot tell you how large the risk is at each decision when only past information is available. That is the gap this paper addresses.

Why a fixed population risk fails in deployment streams

Learn-then-Test (LTT) fixes a candidate family, tests each policy against a risk target α, and corrects for multiplicity. Its standard form treats the average calibration loss as the population risk R(θ)=E[L(θ)] and tests R(θ)>α. That assumes calibration losses are independent and their distribution is stable. A deployment stream breaks the assumption: losses can depend on history, and the conditional distribution can shift with the operating regime. A fixed policy may be safe in calm periods and unsafe in a burst; the pooled average can look acceptable while the risk encountered along the stream has moved.[1]

The paper separates existing tools into long-run variance estimators, block bootstrap (resampling adjacent time blocks to mimic dependence), and concentration bounds (probability upper bounds on deviations). These address inference: how to build a valid test under dependence. They still require a pre-specified risk target and leave open how risk itself should be defined. Certification must answer whether, at each decision time and given only prior information, the average conditional risk is at most α.[1]

StreamLTT certifies average predictable risk, not a fixed population risk

StreamLTT defines the one-step conditional risk as p_n(θ)=E[L_n(θ)|F_{n-1}], the average loss at round n given the history available before the outcome is revealed. Averaging these conditional risks over N rounds gives the average predictable risk R_pred,N(θ)=1/N Σ p_n(θ). It allows the conditional risk to vary with history and assumes neither independence nor stationarity; in the IID case it reduces to the standard LTT target.[1]

The key step is conditional centering: subtract the predictable target from empirical risk to obtain 1/N Σ(L_n-p_n). Each term has conditional mean zero given prior information; such a sequence is a martingale difference (a fair-game increment whose next step is not systematically positive or negative). Dependence stays inside the risk target, while fluctuations around it admit martingale inference. The price is a deterministic loss bound B(θ) fixed before certification.[1]

Two tests: finite-sample Hoeffding and variance adaptation

The finite-sample test uses a p-value of the form exp(-2N(α-R̂_N)_+^2 / B_j^2). It needs only the loss bound B_j and no specification of dependence, so it is finite-sample valid; but its normalization uses the worst-case loss range, making it conservative when actual conditional variability is small. The variance-adaptive test defines predictable quadratic variation V_N^2(θ)=Σ E[Z_n^2(θ)|F_{n-1}], the accumulated conditional variance along the stream. Under a predictable-variance stabilization assumption, it plugs in a consistent estimate V̂_N and uses Φ(N(R̂_N-α)/V̂_N). It replaces the worst-case range with stream-specific variability and is therefore tighter.[1]

The paper also gives an operational estimate: for Bernoulli losses, E[Z_n^2|F_{n-1}]=p_n(1-p_n), so an online estimate p̂_n can be plugged in. The trade-off is clear: Hoeffding is robust but conservative; variance adaptation is asymptotically tighter but relies on stabilization. The ablation separates the two gains: the predictable-risk formulation already yields a tighter certified frontier, while variance adaptation makes more effective use of the available family-wise error budget.[1]

From single policies to a simultaneously certified region with FWER control

For each candidate θ_j, StreamLTT tests H_j: R_pred,N(θ_j)>α; rejecting H_j certifies that the policy’s average predictable risk is at most α. Testing many policies inflates false certification, so the method controls the family-wise error rate (FWER, the probability that the certified region contains at least one unsafe policy). The policy-level p-values plug into the multiple-testing layer of LTT, using a Holm-type procedure to control FWER at δ and obtain a simultaneously certified region Θ̂_safe with P(Θ̂_safe ⊆ Θ_safe,N) ≥ 1-δ.[1]

The guarantee holds simultaneously over the region: after certification, a final operating policy can be selected from Θ̂_safe without retesting the candidate family. This preserves LTT’s modular selection principle. But the candidate family must be fixed before certification; adding policies after seeing the stream breaks the simultaneous coverage.[1]

Across seven forecasting datasets and seven deployment risks, StreamLTT sits closer to the target

The experiments use seven real-world forecasting datasets and seven deployment risks, comparing StreamLTT with IID-LTT, robust-variance, block-bootstrap, and concentration-based alternatives. They evaluate two things: how close the certified frontier is to the prescribed risk target, and whether empirical FWER follows the prescribed level. The paper reports that StreamLTT’s certified frontier is substantially closer to the target and that empirical FWER closely follows the prescribed level; Appendix D.1 and D.2 report dataset-level results at δ=0.10 and δ=0.20, respectively.[1]

MethodWhat risk it certifiesHow it handles time dependenceRole in the paper
IID-LTTFixed population riskAssumes independent calibration losses and uses a CLT approximationBaseline
Robust-varianceFixed population riskUses a robust variance estimateBaseline
Block-bootstrapFixed population riskResamples time blocks to approximate local dependenceBaseline
Concentration-basedFixed population riskUses concentration inequalities to bound deviationsBaseline
StreamLTTAverage predictable riskConditional centering yields martingale differences; Hoeffding or variance-adaptive testProposed method
  • Seven real-world forecasting datasets; seven deployment risks.
  • Appendix D.1 reports dataset-level results at δ=0.10; Appendix D.2 reports results at δ=0.20.
  • The paper says empirical FWER closely follows the prescribed level; the excerpt does not give a specific error number, so none is invented here.

Boundaries: when not to apply this method directly

First, the candidate family must be fixed before certification, and a loss bound B(θ) must be specified in advance. A loose bound makes the finite-sample Hoeffding test conservative; without a credible bound, the certification lacks an input. Second, the variance-adaptive test needs predictable-variance stabilization and a consistent estimate V̂_N. If the stream has sharp change points and stabilization fails, fall back to the finite-sample version or recertify.[1]

Third, certification covers average predictable risk over the observed N rounds, not an indefinite safety guarantee. If the distribution keeps drifting after deployment, the certified region does not renew itself. Fourth, Bernoulli losses have a clean plug-in variance estimate; other losses need their own conditional-variance estimator, and the paper does not claim a universal recipe. Finally, this is a statistical certification layer, not a substitute for data quality, annotation audits, or business constraints.[1]

References

  1. StreamLTT: Risk Certification for Policy Selection under Stream Dependence

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…