Abstract
Detecting an abrupt and persistent change in the underlying distribution of online data streams is an important problem in many applications. This paper proposes a new robust score-based algorithm called RSCUSUM, which can be applied to unnormalized models and addresses the issue of unknown post-change distributions. RSCUSUM replaces the Kullback-Leibler divergence with the Fisher divergence between pre- and post-change distributions for computational efficiency in unnormalized statistical models and introduces a notion of the "least favorable" distribution for robust change detection. The algorithm and its theoretical analysis are demonstrated through simulation studies.
Introduction
In the field of quickest change detection (QCD), the objective is to monitor a live data stream and detect abrupt shifts in its underlying statistical properties with minimal delay while maintaining a low false alarm rate. Traditionally, optimal algorithms like CUSUM rely on likelihood ratios. However, modern high-dimensional machine learning models—such as energy-based models and score-based generative models—are often unnormalized. These models lack a computed normalizing constant, making standard likelihood ratios computationally prohibitive.
A recent advancement, the SCUSUM algorithm, addressed this by utilizing the Hyvärinen score, which only requires the gradient of the log-density. However, SCUSUM assumes the exact post-change distribution is perfectly known. In practice, the post-change state is often uncertain, belonging to a broad "uncertainty class." If the assumed post-change distribution is even slightly inaccurate, SCUSUM can fail to detect the change. This paper introduces RSCUSUM (Robust Score-based CUSUM) to provide a robust solution for these unknown post-change scenarios.
The RSCUSUM Framework
RSCUSUM introduces several key innovations to achieve robustness and scalability:
- Hyvärinen Score Integration: By using the Hyvärinen score, RSCUSUM bypasses the need for normalizing constants, making it highly scalable for complex, unnormalized models.
- The Least Favorable Distribution (LFD): To handle uncertainty, the algorithm is designed around a "worst-case scenario." It identifies the LFD—the specific distribution within the post-change uncertainty class that is hardest to distinguish from the pre-change distribution.
- Fisher Divergence as a Metric: While classical QCD relies on Kullback-Leibler (KL) divergence, RSCUSUM redefines the LFD using Fisher divergence. This shift is mathematically natural for score-based methods and remains tractable for high-dimensional data.
- Neural Network Optimization: The authors propose a practical method to identify the LFD within a convex set of distributions (e.g., a Gaussian mixture model). A lightweight neural network is trained to estimate the mixture coefficients that minimize the Fisher divergence to the pre-change distribution.
Experimental Validation
The authors evaluated RSCUSUM using synthetic online data streams, allowing for rigorous testing of theoretical bounds. The data streams were generated from diverse families, including Multivariate Normal (MVN) distributions (testing mean and covariance shifts), Exponential family (EXP) distributions, and Gauss-Bernoulli Restricted Boltzmann Machines (RBMs).
As shown in the table above, the proposed neural network method successfully identified the true LFD in the uncertainty class across all tested models, assigning a weight of approximately 1.00 to the correct worst-case basis distribution ($j=1$) and near-zero weights to others.
Key Results and Insights
- Theoretical Optimality: The authors prove that RSCUSUM's Expected Detection Delay (EDD) scales linearly with the log of the Average Running Length (ARL), matching the asymptotic optimality of classical CUSUM while extending it to unnormalized models.
- Empirical Robustness: In simulations, RSCUSUM successfully detected changes with the predicted linear increase in EDD vs. log(ARL). Conversely, the non-robust SCUSUM baseline completely failed when the post-change distribution was misidentified, often failing to trigger an alarm entirely.
- Mathematical Foundation: The authors established a novel mathematical lemma involving a reverse triangle inequality for Fisher divergence, proving that the detection score correctly drifts downward before a change and upward after.
Conclusion
RSCUSUM provides a robust and computationally efficient framework for quickest change detection in unnormalized models. By leveraging Fisher divergence and the concept of the Least Favorable Distribution, it bridges the gap between theoretical optimality and practical application in high-dimensional, uncertain environments. Future work may explore extending this framework to composite pre-change classes where the initial state of the system is also uncertain.
Summary updated