Optimal sequential tests yield log-optimal e-processes

Ashwin Ram, Aaditya RamdasNeurIPS 2026

TL;DR

In sequential statistics, we already knew that continuous evidence-tracking tools (e-processes) could generate optimal stop-or-continue decisions (sequential tests). This paper completes the theoretical circle by proving the reverse: you can bundle a family of fast, optimal yes/no sequential tests into a single, continuously growing evidence process that accumulates "wealth" at the maximum theoretical rate. Better yet, you can do this using a remarkably clean, model-free weighted sum—provided you choose your error budgets and weights with mathematical care.

What Problem Does This Paper Address?

Imagine watching a live stream of data—say, an A/B test or a sensor network—and wanting to stop the moment you are confident an anomaly is real, without inflating your false-positive rate $\alpha$. This is the domain of sequential testing, where a test is simply a "stopping time" $\tau_\alpha$ that guarantees the probability of stopping under the null hypothesis is at most $\alpha$.

Modern "anytime-valid" inference frames this as a betting game using e-processes. Think of an e-process as your bankroll in a fair casino: if the null hypothesis is true, your expected wealth never exceeds $1$, no matter when you choose to cash out. If the alternative is true, a good e-process grows exponentially fast—specifically, we want it to be log-optimal, maximizing its asymptotic logarithmic growth rate.

Prior work showed two things:

  1. Thresholding a log-optimal e-process at $1/\alpha$ gives an asymptotically optimal sequential test (stopping as fast as theoretically possible).
  2. Every sequential test can technically be represented by thresholding some e-process.

Here was the catch: the existing trick to turn a test into an e-process produced a flat, two-valued indicator variable. It was valid, sure, but its wealth didn't grow over time under the alternative. The missing piece of the puzzle was figuring out whether—and how—you could take black-box optimal sequential tests and reverse-engineer them into a genuinely log-optimal e-process.

Methods

To bridge this gap, Ashwin Ram and Aaditya Ramdas introduce WAIT e-processes (Weighted Aggregates of Indicators of stopping Times).

Suppose you have no underlying e-process—just a collection of sequential tests $\tau_{\alpha_k}$ calibrated at shrinking error levels $\alpha_1, \alpha_2, \dots \downarrow 0$. You assign each test a nonnegative weight $w_k$ such that the total error budget is respected ($\sum w_k \alpha_k \le 1$). At any time step $t$, your WAIT process $M_t$ simply checks which tests have already crossed their finish lines and sums up their weights:

$$M_t := \sum_{k=1}^{\infty} w_k \mathbf{1}_{\{\tau_{\alpha_k} \le t\}}$$

This process starts at zero, never decreases, and is a mathematically valid e-process for any composite null hypothesis without needing to know the underlying probability models. To analyze how fast $M_t$ grows, the authors introduce a deterministic cumulative weight profile, $W(x)$, which totals the weights of all tests whose log-error scale $\log(1/\alpha_k)$ is at most $x$.

Datasets

Not discussed in the paper. (This is a theoretical mathematical statistics paper; empirical validations are noted as residing in the appendices rather than the main text.)

Key Insights and Ideas

  • Growth rate is purely a function of your weight profile: If your input tests stop at an optimal asymptotic rate $I$, the resulting WAIT e-process grows at log-rate $\rho I$, where $\rho \in [0, 1]$ is governed entirely by how fast your deterministic weight profile $W(x)$ grows exponentially. Because of the budget constraint $\sum w_k \alpha_k \le 1$, $W(x)$ can never exceed $e^x$, capping $\rho$ at $1$.
  • Naive geometric schedules fail without weights: A classic instinct in sequential analysis is to space error levels geometrically ($\alpha_k = 2^{-k}$) and simply count how many tests have triggered ($w_k = 1$). Surprisingly, this yields an asymptotic log-growth rate of zero! The tests become stringent too quickly, starving the counting process of exponential growth.
  • Two ways to fix the schedule: To hit full efficiency ($\rho = 1$), you can either keep unweighted counting and slow down the error decay to $1/k$ with a tiny logarithmic correction, or keep the geometric schedule $\alpha_k = 2^{-k}$ and scale up the weights aggressively using $w_k \propto 2^k / k^2$.
  • "Optimal on average" isn't enough: In classical literature, a test is often called optimal if its expected stopping time hits the theoretical minimum. The authors prove that expectation-optimality alone is too weak to build a log-optimal e-process—heavy tails or erratic variance can ruin the aggregate. You need concentration (like $L^1$ convergence or vanishing normalized variance) alongside nested stopping times.

Key Results

The authors prove the WAIT Aggregation Theorem, establishing exact asymptotic log-growth rates across different schedules:

Unweighted level schedules and their resulting asymptotic log-growth rates.
  • Unweighted counting ($w_k = 1$): As shown in the table above, geometric schedules ($2^{-k}$) collapse to rate $0$, polynomial schedules ($k^{-(1+\varepsilon)}$) lose efficiency by a factor of $1/(1+\varepsilon)$, while log-corrected schedules like $\alpha_k \propto 1/[k(\log k)^p]$ (for $p > 1$) achieve the full optimal rate $I$.
  • Dyadic weighted improvement: Using $\alpha_k = 2^{-k}$ paired with weights $w_k = \frac{6}{\pi^2} \frac{2^k}{k^2}$ cleanly recovers the full optimal log-growth rate $I$ almost surely.
  • Round-trip optimality: If you take a full-rate ($\rho = 1$) WAIT e-process and threshold it at $1/\alpha$ to create a new sequential test, that new test is itself first-order asymptotically optimal.

Limitations and Future Work

The authors are candid about what remains open:

  • First-order asymptotics only: The theorems pin down the limiting ratio $\frac{1}{t}\log M_t$, leaving out second-order error terms or finite-sample (non-asymptotic) lower bounds on wealth.
  • Assumes optimal inputs exist: WAIT is a rate-transfer machine—it assumes you already have optimal sequential tests to feed into it, which isn't guaranteed for every statistical model.
  • Pointwise vs. uniform optimality: The log-optimality holds pointwise for a specific alternative distribution $Q$; extending this to hold simultaneously (uniformly) across an entire class of alternatives is left for future work.

Summary updated

Abstract

It has been recently shown that e-processes are sufficient for sequential testing in the following sense: every level-$\alpha$ sequential test can be obtained by thresholding an e-process at $1/\alpha$. However, in the above result, neither does the test have to be asymptotically optimal (in terms of stopping times) nor does the e-process have to be asymptotically log-optimal. It has separately been shown that asymptotically log-optimal e-processes yield asymptotically optimal sequential tests. In this paper, we prove the converse, arguably completing the story: it is possible to aggregate asymptotically optimal sequential tests into asymptotically log-optimal e-processes. This is accomplished by using a new class of WAIT e-processes: those that are Weighted Aggregates of Indicators of Stopping Times that begin at zero, are nondecreasing and increase to infinity under the alternative at the optimal rate. Importantly, the paper discusses several nuances in the varied definitions of asymptotic (log-)optimality.
BibTeX
@inproceedings{ram2026optimal,
  author = {Ashwin Ram and Aaditya Ramdas},
  title = {{Optimal sequential tests yield log-optimal e-processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=yJdPgH8377},
}
Figure