arXiv:2609.05752math.STSep 2026

Manuscript Offprint

arXiv:2609.05752

A complete characterization of sequential testability and change detectability in i.i.d. models

Aaditya Ramdas

Abstract

We give a necessary and sufficient condition for the existence of power-one sequential tests in an i.i.d. composite testing problem. A level-α\alpha test with power one against every alternative exists if and only if the alternatives are separated from the null by a countable family of finite-block events. We provide other equivalent conditions using randomized fixed-sample tests, bounded finite-block scores, e-processes, reduced-filtration test supermarkingales, and a countable cover whose finite-block weak-* closed convex hulls are positively separated in total variation. As a bonus, the constructive proof yields tests have pointwise expected sample size OQ(log⁡(1/α))O_Q(\log(1/\alpha)). Exactly the same conditions also characterize i.i.d. change detectability under optional-horizon average-run-length control: for every η>0\eta > 0, they are equivalent to an alarm family (Tγ)γ≥1(T_\gamma)_{\gamma \geq 1} satisfying PP∞(Tγ≤σ)≤EP∞σ/γ\mathbb{P}_{P^\infty}(T_\gamma \leq \sigma) \leq \mathbb{E}_{P^\infty} \sigma / \gamma for every null law and every stopping time σ\sigma. In fact, when these conditions hold, we can construct a single e-detector such that every null-law average run length lies between γ\gamma and (1+η)γ+1(1+\eta)\gamma + 1, and having robust Lorden delay OQ(log⁡γ)O_Q(\log \gamma).

Keywords: sequential testing; power-one tests; e-processes; quickest change detection; optional-horizon false-alarm control; e-detectors; average run length; weak-* convex geometry.

1 Introduction

Sequential tests allow the sample size to be chosen from the data while maintaining a prescribed type-I error probability. In favorable cases such tests can have power one: under every alternative of interest, the test rejects in finite time almost surely. Classical examples go back to Wald's sequential likelihood-ratio test and to the work of Robbins, Darling, Siegmund, Lai, and collaborators on power-one procedures and confidence sequences [1, 2, 3, 4, 7]. Modern anytime-valid inference expresses many such procedures through test martingales, nonnegative supermarkingales, or e-processes.

Larsson et al. [48] extended classical work by Le Cam and Kraft to recently derive a complete characterization of (nonsequential) testability: when testing any composite P\mathcal{P} against any composite Q\mathcal{Q}, they give an assumption-free geometric characterization of when there exists a test with minimax risk strictly less than one (power strictly exceeds the level). This paper asks for (and achieves) an analogous exact existence criterion for sequential testing in the i.i.d. setting.

Let P\mathcal{P} be a null class of distributions on a measurable sample space (X,B)(\mathcal{X}, \mathcal{B}), and let Q\mathcal{Q} be an alternative class, both always assumed nonempty. We seek a single stopping rule τ\tau such that

sup⁡P∈PP∞(τ<∞)≤α,Q∞(τ<∞)=1for every Q∈Q.\sup_{P\in\mathcal{P}}P^{\infty}(\tau<\infty)\leq \alpha,\qquad Q^{\infty}(\tau<\infty)=1\quad \text{for every } Q\in\mathcal{Q}.

The main result states that such a test exists if and only if the alternatives can be separated from the null by countably many finite-sample inequalities. One form of the condition is that there are events Bm∈B⊗nmB_m \in \mathcal{B}^{\otimes n_m} such that every Q∈QQ \in \mathcal{Q} satisfies

Qnm(Bm)>sup⁡P∈PPnm(Bm)Q^{n_m}(B_m) > \sup_{P \in \mathcal{P}} P^{n_m}(B_m)

for at least one mm. Equivalently, one may use randomized fixed-sample tests whose power exceeds their worst-case null size, or bounded finite-block scores whose expectation is uniformly nonpositive under the null but positive under each alternative for at least one block.

The proof is constructive. A separating finite-block score gives a blockwise betting factor with null expectation at most one and positive logarithmic growth under the alternative it separates. A countable mixture over all blocks and rational betting fractions yields an e-process that diverges under every alternative. Conversely, any power-one sequential test yields a countable family of finite-sample events by taking the rejection events {τ≤n}\{\tau \leq n\}.

The pointwise strict gaps in the main theorem need not be uniform over the full alternative class. Nevertheless, splitting alternatives according to rational lower bounds on those gaps yields a countable cover by uniformly separated subfamilies. The unrestricted fixed-sample minimax identity then gives an equivalent geometric characterization in terms of positive total-variation distance between finite-block weak-* closed convex hulls. We state this as a corollary immediately after the main theorem, thereby separating the operational content of the theorem from its geometric representation.

The same question has a change-detection counterpart. Suppose the observations are i.i.d. from some P∈PP \in \mathcal{P} before an unknown changepoint and i.i.d. from some Q∈QQ \in \mathcal{Q} afterward. We formulate false-alarm validity operationally: an alarm family (Tγ)γ≥1(T_\gamma)_{\gamma \geq 1} is optionally ARL-valid if

PP∞(Tγ≤σ)≤EP∞σγ\mathbb{P}_{P^\infty}(T_\gamma \leq \sigma) \leq \frac{\mathbb{E}_{P^\infty} \sigma}{\gamma}

for every P∈PP \in \mathcal{P}, every γ≥1\gamma \geq 1, and every stopping time σ\sigma. This condition implies the conventional ARL guarantee inf⁡P∈PEP∞Tγ≥γ\inf_{P \in \mathcal{P}} \mathbb{E}_{P^\infty} T_\gamma \geq \gamma and rules out front-loaded false alarms hidden behind a long right tail. By fixed-scale universality of e-detectors [41], it is equivalent, for each γ\gamma, to representability as a level-γ\gamma crossing of an e-detector. We show that the finite-block condition is necessary and sufficient for an optionally ARL-valid family to have pointwise OQ(log⁡γ)O_Q(\log \gamma) worst-case detection delay. The constructive direction gives the stronger coherent conclusion that one e-detector generates the entire family. Using an independent mean-one calibration clock, this detector can be chosen, for any prescribed η>0\eta > 0, so that every null-law average run length lies between γ\gamma and (1+η)γ+1(1+\eta)\gamma + 1. In the calibrated formulation, each fixed post-change law is eventually detected in expected time strictly smaller than the robust average run length, and a single uniformly separating finite-block certificate gives the same conclusion uniformly over Q\mathcal{Q}.

The examples isolate the roles of finite block length, countability, and pointwise rather than uniform separation. The same simple scores also yield universal sequential goodness-of-fit, two-sample, and independence tests whenever the underlying sigma-algebras admit countable determining classes. These applications are collected after the change-detection theorem.

Contributions. The main contributions are as follows.

  • We give an assumption-free characterization, apart from the i.i.d. sampling model, of when a composite null is sequentially testable with power one against every member of a composite alternative. The criterion is equivalent to countably many finite-block events, randomized tests, or bounded scores with pointwise positive alternative expectation.

  • We turn these finite-block certificates into both a single divergent e-process and a single test supermartingale on a deterministic reduced-time filtration, and conversely recover a countable family of certificates from any power-one stopping rule. Equivalent conditions use bounded estimable law functionals of finite degree. The resulting level-α\alpha tests have finite pointwise expected sample size OQ(log⁡(1/α))O_Q(\log(1/\alpha)), while a geometric corollary gives a countable weak-* closed-hull cover at positive total-variation distance.

  • We prove that exactly the same condition characterizes i.i.d. change detectability under optional-horizon ARL control: for every η>0\eta > 0, it is equivalent to an optionally ARL-valid family for which every null-law ARL lies in [γ,(1+η)γ+1][\gamma, (1+\eta)\gamma+1] and the robust Lorden delay is OQ(log⁡γ)O_Q(\log \gamma), as well as to pointwise sub-ARL delay. E-detector universality shows that this is an operational alarm-time criterion rather than a constructional restriction, and our construction produces one e-detector for all thresholds.

  • We characterize the uniform regime as well: one uniform finite-block gap is equivalent to uniform consistency and a uniform O(log⁡(1/α))O(\log(1/\alpha)) expected-sample-size bound. We also show that two-observation certificates suffice whenever testability holds on a countable discrete sample space, as well as for every alternative outside a weakly compact null on a Polish space, and derive universal goodness-of-fit, two-sample, and independence-testing consequences.

Paper outline. Section 2 introduces the testing and e-process setup. Section 3 states and proves the finite-block characterization, gives its weak-* geometric form, and develops examples clarifying finite-block and countability phenomena. Section 4 introduces optional-horizon ARL control and e-detectors and proves the equivalent change-detection characterization, including pointwise and uniform delay formulations. Section 5 records the goodness-of-fit, two-sample, and independence-testing applications, and Section 6 concludes with further directions.

Related work. Sequential tests of power one appear in classical work of Robbins, Darling, Siegmund and Lai [2, 3, 4, 5, 7]. General lower and upper bounds for their stopping times are developed by Agrawal, Ram and Ramdas [6]. E-values, test martingales, and e-processes provide a modern language for optional stopping and anytime-valid inference [32, 33, 34, 35]; composite e-processes and Ville-type characterizations are developed in [36]. Questions about when nontrivial p-values, e-values, or bounded e-variables exist for composite hypotheses are studied by Zhang, Ramdas and Wang and by Larsson, Ramdas and Ruf [37, 38]. The unrestricted fixed-sample closure theorem of Larsson, Ruf and Ramdas [48] supplies the geometric identity used below, while recent GROW duality identifies the analogous weak-* geometry for worst-case logarithmic growth [39].

Two recent papers are especially close. Ram and Ramdas [8] prove that on a Polish sample space every weakly compact null class admits a power-one sequential test against its complement, construct a divergent e-process, and show that weak compactness is sufficient but not necessary. Their later work [9] gives, without compactness assumptions, a necessary-and-sufficient condition for power-one testing against a fixed point alternative, characterizes optimal betting growth, and emphasizes the sufficiency of test supermartingales on reduced filtrations. The present theorem identifies the additional countable-assembly condition that is necessary and sufficient for one procedure to work over an arbitrary composite alternative; it also constructs a fine-time divergent e-process, proves the optional-horizon change-detection equivalence, and yields one common e-detector for the full threshold family. Proposition 3.18 gives an independent short proof of the qualitative weak-compactness result and strengthens it by showing that bounded continuous two-observation certificates always suffice. Proposition 3.15 isolates the countable-assembly mechanism, while Example 3.21 shows why regularity of the measurable space cannot simply be omitted.

A growing constructive literature develops sequential nonparametric tests through betting. Shekhar and Ramdas study nonparametric sequential two-sample testing using predictive approximations to variational witnesses [42]. Kernel-based and prediction-based sequential independence and two-sample tests are developed by Podkopaev et al. and Podkopaev and Ramdas [43, 44]; a rank-based sequential independence test is given by Henzi and Law [47]. Broader constructions include deep anytime-valid tests for operator-defined null hypotheses [45] and model-X sequential conditional-independence tests by betting [46]. These works provide concrete algorithms and quantitative guarantees for important structured problems. Our focus is complementary: we characterize, without domination, compactness, or parametric assumptions on P\mathcal{P} and Q\mathcal{Q}, exactly when some power-one procedure exists.

Quickest change detection has a long classical lineage. Page's CUSUM, Shiryaev's Bayesian rule, and the Shiryaev–Roberts procedure are foundational constructions [10, 11, 12]. Lorden and Pollak introduced influential worst-case and conditional-delay criteria, and Moustakides proved exact CUSUM optimality under Lorden's formulation [13, 14, 15]. Standard book-length treatments include Basseville and Nikiforov, Poor and Hadjiliadis, and Tartakovsky, Nikiforov and Basseville [16, 17, 18]; Veeravalli and Banerjee give a modern survey of Bayesian and minimax theory and its extensions, while Tartakovsky treats general non-i.i.d. models [19, 20]. Most of this literature seeks optimal or asymptotically optimal procedures within specified stochastic models. Shin, Ramdas and Rinaldo [40] introduced e-detectors, which convert restarted e-processes into nonparametric change detectors with nonasymptotic ARL guarantees. Ramdas [41] proves that the original e-detectors are universal exactly for optional-horizon false-alarm control, while weak e-detectors are universal for bare ARL control. This distinction lets us state the present characterization directly in terms of alarm-time validity; our construction strengthens the scale-by-scale representation theorem by producing one common e-detector. Related assumption-light reductions from confidence sequences or sequential estimation to change detection appear in [23, 24], sharp composite lower bounds and matching bounded-mean results are developed in [21], and non-partitioned e-detectors are studied in [22]. The present paper identifies the exact countable finite-block property equivalent both to power-one sequential consistency and, in the i.i.d. setting, to pointwise change detectability under optional-horizon ARL control.

References (39)