# StreamLTT: Risk Certification for Policy Selection under Stream Dependence

StreamLTT certifies deployment policies when losses depend on the stream history

Jinwen Xu, Qin Lu · arXiv · 2026-11-2

- **Problem** Learn-then-Test assumes independent calibration losses, so its fixed population risk fails when losses are dependent and drift over a deployment stream. A policy's risk can change with the observed history, and the usual target does not capture that.
- **Method** StreamLTT certifies average conditional risk along the stream, using martingale tests.
- **Results** Across seven forecasting datasets, StreamLTT-A's mean risk gap is 0.0090 at δ=0.10, compared with 0.0302 for IID-LTT. Its empirical family-wise error stays close to the prescribed level.

![Table 6: Risk wise results for StreamLTT-H, averaged across the seven datasets.Rmax denotes the mean maximum predictable risk, FWER the empirical family wise e…](https://refivu.com/papers/0de37a88-82da-4aaf-be15-ff25f342e2ee/figures/figure-ce578239d8771528db12542c98ddf446.png?thumb=512)

**Table 6** : Risk wise results for StreamLTT-H, averaged across the seven datasets.Rmax denotes the mean maximum predictable risk, FWER the empirical family wise error rate, and Frac. the mean certified fraction.

[Original paper](https://arxiv.org/abs/2611.04062v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jinwen Xu, Qin Lu · StreamLTT: Risk Certification for Policy Selection under Stream Dependence · Original paper figure · Extracted the figure area from page 22 of the original PDF.

## Where fixed-risk certification breaks on streams

Learn then Test gives a practical way to choose deployment policies, because it tests each candidate against a risk target and corrects for testing many candidates at once. Its usual implementation assumes independent calibration losses and approximates p-values with a central limit theorem, which the authors call IID-LTT.

Deployment streams break the independence assumption, because forecasts are temporally ordered and operating regimes evolve.

Existing tools handle the inference side of this problem, with long-run variance corrections, block resampling, and sequential concentration bounds. Each of these approaches still requires a pre-specified risk target, so the question of how risk should be defined along the stream stays open. The authors argue that the policy certification problem differs, since what risk should be certified can evolve along the stream even when the test is valid.

Immediately before each outcome is revealed, they take the conditional risk of the decision given the available history. They average these conditional risks along the stream, which yields the average predictable risk.

## What StreamLTT certifies: averaging one-step risks

StreamLTT certifies the average of the risks each decision faces just before its outcome is revealed. The authors call this quantity the average predictable risk, and it is built from one-step conditional risks. For a policy θ, the one-step predictable risk pn(θ) is the expectation of its loss given the history F\_{n-1}. Because the history keeps changing, pn(θ) can shift from round to round, which a single population risk cannot capture.

Averaging these one-step risks over N rounds gives Rpred,N(θ), the target that the certification actually concerns. Rpred,N(θ) measures the conditional risk met along the realized deployment history, not risk under one stationary population. The definition doesn't need independence or stationarity of the stream. When losses are IID with a common mean R(θ), each pn(θ) equals R(θ), so the target collapses to the standard LTT risk.

The same definition therefore covers the familiar population setting as a special case.

Subtracting the predictable risk from each observed loss gives the centered term Zn(θ) = Ln(θ) − pn(θ). Since the conditional mean of Zn(θ) is zero, the sequence forms a martingale difference sequence. The gap between the empirical risk and Rpred,N(θ) is then the average of these Zn(θ) terms. The authors call this step conditional centering, and it lets martingale inference apply without assuming independence.

Dependence in the losses stays inside the target rather than being removed from it.

## Two policy-level tests

StreamLTT offers two tests for each candidate policy, and both target the average predictable risk R\_pred,N. The finite-sample test uses only the deterministic loss bound B\_j, so it needs no estimate of the stream's variability. Its p-value is an exponential term that shrinks as the empirical risk falls further below α. The authors note that this normalization follows the worst-case loss range, which can make the test conservative.

The variance-adaptive test replaces the worst-case range with the predictable quadratic variation V\_N^2, which sums the conditional variances of the martingale increments. Assumption 3.3 requires that V\_N^2 divided by a deterministic scale v\_N,j^2 converges in probability to one, with v\_N,j^2 growing to infinity. Bounded losses make the increments uniformly bounded, so the conditional Lindeberg condition holds automatically.

With the martingale central limit theorem, the standardized gap between the empirical risk and α gives an asymptotically super-uniform p-value. Because the variance is unknown, the test plugs in an estimate V̂\_N, and for Bernoulli losses each round contributes p̂\_n(1 − p̂\_n). Lemma 3.6 shows that consistent one-step risk estimates are enough for V̂\_N to be consistent for V\_N.

Both p-values then feed the family-wise error control step, which the authors apply to form the certified region.

## From policy p-values to a certified region

StreamLTT uses Holm's procedure to control the family-wise error rate over the per-policy p-values. Each candidate's p-value enters this step, and the rejected candidates form the certified region. Theorem 3.7 bounds the probability that this region contains a policy whose predictable risk exceeds α. That bound uses the finite-sample p-values from Theorem 3.2, so the guarantee starts from the Hoeffding test.

The paper also gives a second guarantee for any data-dependent choice made inside the region. That choice inherits the same risk control, so the candidate family doesn't need retesting. For the variance-adaptive p-values, the same region guarantee holds only in the limit as N grows.

Algorithm 1 reads the stream once and updates summaries for every candidate at each round. After the stream ends, it computes each candidate's p-value and applies FWER control at level δ. If no candidate is rejected, the algorithm returns 'no certified policy'. For M candidates, the pipeline keeps O(M) running summaries and needs O(M) computation per stream round.

The experiments run this pipeline at δ=0.10 and δ=0.20 with 2,000 repetitions per configuration. At δ=0.10, StreamLTT-A's empirical FWER is 0.0902, close to the prescribed level. Its mean risk gap is 0.0090, compared with 0.0302 for IID-LTT.

## How the comparison was set up

The authors use seven forecasting datasets from energy, traffic and temperature, and they keep each dataset's temporal order intact. Each dataset is split chronologically into 20% for training, 2% for validation, 8% for calibration and 70% for the certification stream. A temporal convolutional network (TCN) learns one-step forecasts on the training set, is selected on validation, and then gets frozen.

Every certification method reads the same frozen forecasts, so the methods differ only in how they certify. The calibration set sets the severe miss tolerances and regime thresholds before certification begins.

Table 1 lists interval miss, lower-tail miss and severe miss as pointwise errors, with task-regime miss as the regime error.

![Table 1: Binary deployment risks used for certification. All auxiliary thresholds are determined from tuning data and fixed before certification](https://refivu.com/papers/0de37a88-82da-4aaf-be15-ff25f342e2ee/figures/figure-5c74ce91a71b1bbc3619146c429593ef.png?thumb=512)

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

[Original paper](https://arxiv.org/abs/2611.04062v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

StreamLTT-A is the primary method, and the authors compare it with IID-LTT, LTT-HB-Holm, HAC-CLT-Holm, CircularBlockBootstrap-Holm and EB-Howard-Bonferroni. StreamLTT-H keeps the same predictable risk target as StreamLTT-A but removes predictable variance adaptation.

Each of the 49 dataset-risk pairs runs for 2,000 independent repetitions at δ of 0.10 and 0.20. The risk gap α − Rmax and the FWER gap δ − FWER show how much of each budget a method leaves unused.

## How tight the certified frontier gets

IID-LTT leaves a mean gap of 0.0302, while the dependence and concentration based alternatives sit at approximately 0.030 to 0.032. The authors say this tighter frontier doesn't come with excessive false certification.

Table 2 breaks this aggregate result down by dataset for three representative risks at δ = 0.10. For interval miss, the baseline frontiers stay between 0.043 and 0.052. StreamLTT-A reaches 0.095 to 0.097 across all seven datasets on the same risk. Lower tail miss shows the same separation, with baseline values from 0.052 to 0.070 against StreamLTT-A at 0.095 to 0.097.

The largest gap appears on missed reversal, where StreamLTT-A reaches 0.095 on PEMS04 and PEMS08. The competing methods sit at approximately 0.048 to 0.050 on those two datasets.

So StreamLTT-A pushes the certified region up to the admissible risk limit and keeps family-wise error in check.

## Why dependence-aware inference alone doesn't help

The central question is whether the gain comes from the statistical test or from the target being certified. The paper compares dependence-aware tests against StreamLTT-A to separate these two sources. At δ = 0.10, IID-LTT has a mean gap of 0.0302. HAC-CLT-Holm and CircularBlockBootstrap-Holm each attain a mean gap of 0.0300. Both of these methods explicitly account for temporal dependence in their inference.

Their gaps barely move from IID-LTT, so dependence correction alone leaves the certified frontier almost unchanged. Adjusting the sampling distribution changes how risk is tested, but the underlying risk target stays the same. StreamLTT-A reduces the mean gap to 0.0090 by certifying average predictable risk instead. Averaging the conditional risks at each decision time, rather than one stationary population risk, is what moves the frontier.

The authors read this gap as evidence that the target itself, not only the test, drives the change.

The same separation holds when the family-wise budget grows from δ = 0.10 to δ = 0.20. Here the baseline risk gaps stay between 0.0283 and 0.0321, while StreamLTT-A's gap falls from 0.0090 to 0.0078. The predictable-risk target therefore keeps the frontier tight even when the test is not variance-adaptive.

## What happens when the FWER budget grows

The question is whether the procedure uses a larger error budget when δ increases from 0.10 to 0.20. Its mean risk gap shrinks only slightly, from 0.0090 to 0.0078, so the certified frontier stays close to the boundary. The baselines respond much less strongly to the same change in δ. At δ = 0.20, IID-LTT, HAC-CLT-Holm, and CircularBlockBootstrap-Holm reach FWER of only 0.1125, 0.1217, and 0.1208.

Their risk gaps remain between 0.0283 and 0.0321, so they leave much of the risk budget unused as well. The authors take this as StreamLTT-A expanding its certified region with the budget, rather than leaving the extra budget unused.

## Separating the two sources of gain

The ablation compares StreamLTT-H with StreamLTT-A, which certify the same average predictable risk. The two methods differ only in the policy-level test, so the comparison isolates predictable variance adaptation.

At δ = 0.20, StreamLTT-H attains a mean risk gap of 0.0112. StreamLTT-A reaches 0.0090 and 0.0078 at the same two levels.

That leaves nearly the whole error budget unused. StreamLTT-A reaches empirical FWER values of 0.0902 and 0.1888 at the same levels.

Variance adaptation therefore adds only a modest gain in frontier tightness and certified fraction. Its dominant effect is to reduce the conservatism of the policy-level test.

## Where the StreamLTT results stop

The experiments cover seven forecasting datasets, seven binary deployment risks, and one frozen temporal convolutional network. Each dataset is split chronologically, so the certification stream holds 70% of the observations. The paper doesn't test settings beyond these seven datasets and seven risks.

The variance-adaptive guarantee is asymptotic, so it holds only as the sample size grows. It depends on Assumption 3.3, which requires the predictable variance to stabilize around a deterministic scale that diverges to infinity. It also needs a variance estimate that is consistent with the predictable variation. The plug-in estimator is built from one-step risk estimates, and its consistency is established in Lemma 3.6.

The finite-sample Hoeffding test, StreamLTT-H, needs no asymptotics and relies only on the deterministic loss bound. StreamLTT-A reaches 0.0902 at the same level, so the gap is large in practice.

The authors report results for δ values of 0.10 and 0.20 only. They don't evaluate the conclusion beyond the family-wise levels and the risk targets listed in Table 1. The conclusion describes gains against the baselines on these seven datasets and seven risks.

## Paper info

- **Authors**: Jinwen Xu, Qin Lu
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-2
- **Added**: 2026-11-6
- **Updated**: 2026-11-2
- **Version**: v1
- **arXiv**: 2611.04062
- **Category**: cs.LG · math.ST · stat.ML
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.04062v1) · [PDF ↗](https://arxiv.org/pdf/2611.04062v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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.

## Quote from the paper

Jinwen Xu, Qin Lu (2026). StreamLTT: Risk Certification for Policy Selection under Stream Dependence. arXiv:2611.04062v1. https://arxiv.org/abs/2611.04062v1

**BibTeX**

```
@misc{xu2026streamltt,
  title = {{StreamLTT: Risk Certification for Policy Selection under Stream Dependence}},
  author = {Jinwen Xu and Qin Lu},
  year = {2026},
  eprint = {2611.04062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04062v1}
}
```

## Other paper commentary

- [Off-Policy Deep Reinforcement Learning without Exploration](https://refivu.com/en/papers/997f4405-73fe-49b5-a89f-243df2c90604-off-policy-deep-reinforcement-learning-without-exploration.md)
- [Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models](https://refivu.com/en/papers/7e2537c1-771a-440a-8d0f-51287b1afd57-deep-reinforcement-learning-in-a-handful-of-trials.md)
- [Rainbow: Combining Improvements in Deep Reinforcement Learning](https://refivu.com/en/papers/b98e78e1-7a51-4f55-b8c6-f920fb30d547-rainbow-combining-improvements-in-deep-reinforcement.md)
- [Deep Reinforcement Learning with Double Q-learning](https://refivu.com/en/papers/f2b03deb-df54-4587-b32e-077bd6c02e5b-deep-reinforcement-learning-with-double-q-learning.md)
- [When to Trust Your Model: Model-Based Policy Optimization](https://refivu.com/en/papers/c30bd870-19cb-4a6e-8e2b-d348ea953f92-when-to-trust-your-model-model-based-policy.md)
- [Addressing Function Approximation Error in Actor-Critic Methods](https://refivu.com/en/papers/88b36232-904a-4e73-a6d0-c363af4ff547-addressing-function-approximation-error-in-actor-critic.md)
- [Synthesizing symbolic models of human and machine reasoning at scale](https://refivu.com/en/papers/7b1b6913-eebf-4257-98a8-11e51ae19376-synthesizing-symbolic-models-of-human-and-machine-reasoning.md)
- [τ-bench-LILT: Evaluating Conversational Agents on Realistic Multilingual Tool-Use Tasks](https://refivu.com/en/papers/18631827-6e8d-44e8-9d01-74fdd2e225df-bench-lilt-evaluating-conversational-agents-on-realistic.md)
- [Recursive Sparse Attention: Million-Token Length Extrapolation at Logarithmic Cost](https://refivu.com/en/papers/52b7aea9-2772-4644-a4cb-a6d6ac47343e-recursive-sparse-attention-million-token-length.md)
- [Where Should a KV-Cache Repair Budget Go? Distractor Structure and Contextual Compatibility in Non-Prefix Reuse](https://refivu.com/en/papers/a342759d-2992-41ad-b1f1-fcaa308f4703-where-should-a-kv-cache-repair-budget-go.md)
- [GIST: Gibbs-Targeted Hierarchical Data Selection for Offline RLVR](https://refivu.com/en/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab-gist-gibbs-targeted-hierarchical-data-selection-for-offline.md)
- [Opening the Black Box of Neural Auction Mechanisms](https://refivu.com/en/papers/8d083675-a2e7-4dae-8eab-589959d46289-opening-the-black-box-of-neural-auction-mechanisms.md)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/0de37a88-82da-4aaf-be15-ff25f342e2ee-streamltt-risk-certification-for-policy-selection-under)
