E-detectors: A Nonparametric Framework for Sequential Change Detection

Jaehyeok Shin, Aaditya Ramdas, Alessandro Rinaldo

Abstract

Sequential change detection is a classical problem with a variety of applications. However, the majority of prior work has been parametric, for example, focusing on exponential families. We develop a fundamentally new and general framework for sequential change detection when the pre- and post-change distributions are nonparametrically specified (and thus composite). Our procedures come with clean, nonasymptotic bounds on the average run length (frequency of false alarms). In certain nonparametric cases (like sub-Gaussian or sub-exponential), we also provide near-optimal bounds on the detection delay following a changepoint. The primary technical tool that we introduce is called an e-detector, which is composed of sums of e-processes—a fundamental generalization of nonnegative supermartingales—that are started at consecutive times. We first introduce simple Shiryaev-Roberts and CUSUM-style e-detectors, and then show how to design their mixtures in order to achieve both statistical and computational efficiency. Our e-detector framework can be instantiated to recover classical likelihood-based procedures for parametric problems, as well as yielding the first change detection method for many nonparametric problems. As a running example, we tackle the problem of detecting changes in the mean of a bounded random variable without i.i.d. assumptions, with an application to tracking the performance of a basketball team over multiple seasons.

Introduction: The Challenge of Sequential Change Detection

Sequential change detection is the art of monitoring a data stream to identify the exact moment its underlying distribution shifts. This capability is critical across diverse domains, from industrial quality control to financial fraud detection. Traditionally, tools like the Cumulative Sum (CUSUM) algorithm have been the standard. However, classical methods typically rely on two restrictive assumptions: they require precisely known parametric models (e.g., a shift from one specific Gaussian distribution to another) and their mathematical guarantees are often asymptotic, meaning they only hold in the limit as the probability of a false alarm approaches zero.

In real-world applications, the exact data distribution is rarely known, and practitioners require robust guarantees for the finite data they actually observe. This paper introduces a fundamentally new framework for nonparametric and composite distributions—where the "null" state represents a set of possible distributions—without requiring the data to be independent and identically distributed (i.i.d.).

The E-detector Framework

The core innovation of this work is the e-detector, built upon the emerging theory of e-processes. E-processes serve as nonparametric generalizations of likelihood ratios. Specifically, they are nonnegative random processes that, under the "no change" (null) scenario, have an expectation of at most 1 at any stopping time. They essentially represent a "bet" against the status quo; if the process grows large, it provides evidence that a change has occurred.

The framework introduces two primary detector types:

  • e-SR (Shiryaev-Roberts style): This detector aggregates evidence by summing e-processes initiated at every possible historical time point.
  • e-CUSUM: This detector takes the maximum value among e-processes started at different times.

The e-SR detector often outperforms e-CUSUM because it aggregates evidence from multiple potential changepoints. Even if no single "start time" provides enough evidence to trigger an alarm, their collective sum might.

Computational Efficiency via Mixtures

Since the post-change distribution is usually unknown, the authors employ "mixtures"—averaging multiple e-detectors tuned to different possible change magnitudes. To maintain computational feasibility, they introduce a "scheduling" technique that adds new mixture components over time. This approach ensures that the computational cost per observation remains logarithmic ($O(\log n)$) rather than growing linearly with the number of observations.

Case Study: NBA Performance Tracking

To demonstrate the practical utility of e-detectors, the authors analyzed the performance of the Cleveland Cavaliers from 2010 to 2018. They used "Plus-Minus" statistics (point differentials) to detect significant performance shifts, most notably the "LeBron James effect" when he returned to the team in 2014.

NBA performance tracking (2010-2018). Left: Plus-minus statistics for the Cleveland Cavaliers. Right: The log e-detector wealth, showing a clear detection of the performance shift following LeBron James's return in 2014.

As shown in the figure above, the e-SR detector successfully identified the Cavaliers' performance surge during the 2014-15 season. While a simple CUSUM might struggle with the high variance and non-integer nature of basketball scores, the e-detector handled it effectively by simply assuming the scores were bounded.

Theoretical Guarantees and Performance

The e-detector framework provides a "non-asymptotic safety" guarantee: for any e-detector $M$, stopping when $M_n \ge 1/\alpha$ ensures that the Average Run Length (ARL) until a false alarm is at least $1/\alpha$. This is a hard, universal bound that does not require "large sample" approximations.

In simulations, the e-SR detector (using a conservative universal threshold) performed remarkably close to an "Oracle" CUSUM that knows the true change. In some cases, as the changepoint occurred later in the stream, the e-SR actually detected the change faster than the oracle. For specific classes like sub-Gaussian or sub-exponential distributions, the authors proved that their detection delay matches the optimal rates known for parametric families.

Conclusion and Future Directions

The e-detector framework offers a robust, "plug-and-play" solution for sequential change detection in complex, nonparametric settings. While the universal threshold of $1/\alpha$ is safe, it can be conservative. Future work could focus on finding tighter thresholds through simulation or extending the framework to "multi-sensor" settings where hundreds of streams are monitored simultaneously. Additionally, while this work focuses on detection, future research could enhance estimation—identifying exactly when a change happened and the magnitude of the shift—within the same e-detector paradigm.

Summary updated

BibTeX
@article{shin2023e,
  author = {Jaehyeok Shin and Aaditya Ramdas and Alessandro Rinaldo},
  title = {{E-detectors: A Nonparametric Framework for Sequential Change Detection}},
  journal = {The New England Journal of Statistics in Data Science},
  year = {2023},
  doi = {10.51387/23-nejsds51},
}
Figure