Second-Order Asymptotics of Sequential Hypothesis Testing

Yonglong Li, Vincent Y. F. Tan · DOI

Introduction

In the realm of statistical decision-making, binary hypothesis testing is a fundamental task: choosing between two distributions, $P_0$ and $P_1$, based on observed data. While fixed-length tests are standard, they often face a rigid tradeoff between Type-I (false alarm) and Type-II (missed detection) error probabilities. Sequential hypothesis testing, pioneered by Wald and Wolfowitz, offers a more flexible alternative by allowing the test to terminate as soon as sufficient evidence is accumulated. This approach enables both error types to decay at their maximum possible rates simultaneously.

However, these optimal rates are asymptotic, assuming an infinite sample size. In practical applications with finite data, there is an inevitable "backoff" from these theoretical limits. This paper provides a precise mathematical characterization of these second-order asymptotics, revealing how quickly sequential tests converge to their optimal performance.

Methodology: Analyzing SPRTs

The authors focus on Sequential Probability Ratio Tests (SPRTs) and evaluate their performance under two distinct constraints on the stopping time $T$:

  1. Probabilistic Constraint: The probability that the test exceeds a length $n$ is bounded by a constant $\epsilon$.
  2. Expectation Constraint: The average (expected) length of the test is bounded by $n$.

To derive the second-order terms, the study employs the Berry-Esseen Theorem for the probabilistic case, bounding deviations from Gaussianity. For the expectation case, Nonlinear Renewal Theory is used to account for the "overshoot"—the excess log-likelihood ratio at the moment of stopping.

Key Insights: The Speed of Convergence

The most significant finding is the stark difference in convergence rates between the two constraints. Under a probabilistic constraint, the backoff from the optimal error exponent is $O(1/\sqrt{n})$, a result that mirrors findings in fixed-length channel coding where performance is sensitive to the "relative entropy variance" $V(P||Q)$.

In contrast, under an expectation constraint, the backoff is significantly smaller, at $O(1/n)$. This suggests that if a system can tolerate occasional long tests—provided the average length remains low—it can achieve near-optimal performance much faster. This $O(1/n)$ term is explicitly calculated using expectations of "overshoot" variables derived from renewal theory.

Numerical Results and Validation

The theoretical results are validated through numerical simulations of Gaussian and exponential distributions. These simulations confirm that SPRTs are not only first-order optimal but also second-order optimal, with the derived constants accurately predicting finite-length behavior.

Numerical validation of the second-order term $F$ for Gaussian distributions. The plots show how $F$ varies with the difference in means $|\Delta \theta|$ and weighting parameters.

For the Gaussian case, the analysis "nails down" the exact constants for these backoff terms. The second-order term $F$ is shown to be influenced by parameters such as the difference in means and the specific weighting between error types, as illustrated in the provided numerical results. Interestingly, the authors note that for certain Gaussian configurations, the second-order term can exhibit stability across different error weightings.

Conclusion and Future Directions

This work provides a rigorous foundation for understanding the finite-sample performance of sequential tests. While the current analysis assumes non-arithmetic distributions and perfectly known models, future research could extend these results to:

  • Arithmetic Distributions: Handling discrete distributions like Bernoulli or Poisson processes.
  • Universal Testing: Scenarios where distributions are unknown and must be estimated.
  • Moderate Deviations: Exploring regimes where error tolerances decay slowly with sample size.

By bridging the gap between asymptotic theory and finite-data reality, this research offers valuable insights for designing more efficient sequential decision systems.

Summary updated

Abstract

We consider the classical sequential binary hypothesis testing problem in which there are two hypotheses governed respectively by distributions P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">0</sub> and P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> and we would like to decide which hypothesis is true using a sequential test. It is known from the work of Wald and Wolfowitz that as the expectation of the length of the test grows, the optimal type-I and type-II error exponents approach the relative entropies D(P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> ∥P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">0</sub> ) and D(P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">0</sub> ∥P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> ). We refine this result by considering the optimal backoff-or second-order asymptotics-from the corner point of the achievable exponent region (D(P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> ∥P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">0</sub> ), D(P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">0</sub> ∥P <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> )) under two different constraints on the length of the test (or the sample size). First, we consider a probabilistic constraint in which the probability that the length of test exceeds a prescribed integer n is less than a certain threshold 0 <; ε <; 1. Second, the expectation of the sample size is bounded by n. In both cases, and under mild conditions, the second-order asymptotics is characterized exactly. Numerical examples are provided to illustrate our results.
BibTeX
@article{li2020second,
  author = {Yonglong Li and Vincent Y. F. Tan},
  title = {{Second-Order Asymptotics of Sequential Hypothesis Testing}},
  journal = {IEEE Trans. Information Theory},
  year = {2020},
  doi = {10.1109/tit.2020.3006014},
}
Figure