NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reducing sequential change detection to sequential estimation

Shubhanshu Shekhar, Aaditya Ramdas

Sequential Change Detection (SCD) is the critical task of monitoring a continuous data stream to identify the exact moment a fundamental property—such as a mean or variance—shifts. The ultimate goal is a delicate balancing act: detecting the change as quickly as possible (minimizing detection delay) without triggering false alarms too frequently (maximizing the Average Run Length or ARL).

Classical methods, like the famous CuSum algorithm, are typically "parametric," requiring exact knowledge of the data distributions both before and after the change. In real-world applications, this is rarely feasible. Furthermore, many existing "nonparametric" methods assume that data points are independent and identically distributed (i.i.d.), an assumption that quickly breaks down in scenarios like time-series forecasting or sensor networks where data is naturally dependent.

This paper introduces a simple yet powerful framework that bridges this gap, reducing sequential change detection to a series of estimation problems. The proposed method works under minimal assumptions, handling dependent data and unknown distributions while maintaining strong theoretical guarantees on false alarm rates.

The RCS-Detector Method

The authors propose the RCS-Detector (Reduction from Change detection to Sequential estimation). The core building block of this approach is the Confidence Sequence (CS). Unlike a standard confidence interval that is only valid for a fixed, predetermined sample size, a CS is "anytime-valid." It is guaranteed to contain the true parameter with high probability at every single time step simultaneously.

The algorithm is elegantly simple and operates in three continuous steps:

  1. Initialize: At every time step $n$, start a new level-$(1-\alpha)$ confidence sequence that treats the current observation $X_n$ as its first data point.
  2. Update: As new data arrives, update all previously started, active confidence sequences.
  3. Detect: Continuously check the intersection of all active confidence sequences. If the intersection becomes empty—meaning there is no single parameter value consistent with all the estimators started at different times—proclaim that a change has occurred.

Crucially, this approach is a "forward-only" method. It improves upon the authors' previous work (the BCS-Detector), which relied on "backward" confidence sequences. Because backward sequences essentially require reversing time, they are strictly limited to independent data. By sticking to the forward direction, the RCS-Detector successfully handles martingale-dependent data streams.

Theoretical Guarantees and Insights

The theoretical foundation of the RCS-Detector relies on the recently developed "e-detector" framework. By demonstrating that their intersection-based rule is stochastically dominated by an e-detector, the authors prove a strict false alarm guarantee: the Average Run Length (ARL) is at least $1/\alpha$. For instance, setting $\alpha = 0.01$ guarantees an average wait of at least 100 steps before a false alarm occurs.

Average Run Length (ARL) versus alpha for the RCS and BCS detectors.

Surprisingly, the RCS-Detector achieves an ARL bound that is roughly twice as good as the previous BCS-Detector, despite requiring much weaker assumptions about the data (allowing for dependency rather than strictly independent observations). The authors also prove a one-to-one correspondence between their RCS-Detector and Lorden’s reduction—a classic 1971 result that reduced change detection to repeated hypothesis testing—providing a modern, nonparametric bridge between estimation and detection.

Empirical Performance

The paper evaluates the method using synthetic simulations to verify its theoretical bounds across two primary scenarios:

  • Independent Data: Observations drawn from Beta distributions where the mean shifts at a specific changepoint.
  • Dependent Data: A custom-built stream where the current observation's distribution depends on the value of the previous observation (a Markov-like structure). This demonstrates that the RCS-Detector succeeds where previous "backward" methods fail.
Detection delay versus change magnitude and delay distributions for specific magnitudes.

For the problem of detecting a change in the mean of bounded variables, the RCS-Detector achieves a detection delay that is order-optimal. It matches the performance of the best possible parametric methods, even though it operates without knowing the underlying distributions. In simulations, the RCS-Detector showed comparable performance to existing methods on i.i.d. data but remained valid and effective on dependent data streams where other methods' guarantees break down.

Limitations and Future Directions

While theoretically robust, the RCS-Detector faces practical limitations regarding computational complexity. Because a new estimator is initialized at every single time step, the memory and computation requirements grow linearly with time ($O(n)$ per step, resulting in $O(n^2)$ total complexity).

To mitigate this, the authors suggest implementing "windowing" strategies—limiting the number of active CSs to a window of the most recent $w$ observations to cap computational costs. However, choosing the optimal window size $w$ without prior knowledge of the change magnitude remains an open research question. Additionally, in practice, the authors utilized "shrunk" versions of confidence sequences to prevent the detector from being overly conservative, indicating that refining the "tightness" of these sequences for specific real-world applications is a promising area for future work.

Summary updated

BibTeX
@inproceedings{shekhar2024reducing,
  author = {Shubhanshu Shekhar and Aaditya Ramdas},
  title = {{Reducing sequential change detection to sequential estimation}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=EZLsxOgcDg},
}
Figure