Sequential Change Point Detection via Denoising Score Matching

Wenbin Zhou, Liyan Xie, Zhigang Peng, Shixiang ZhuarXiv 2025 · DOI

Introduction

Sequential change-point detection (CPD) is a critical task in data science, focused on identifying the exact moment the underlying distribution of a data stream shifts. This has profound implications for real-time monitoring in fields ranging from sensor failure detection and financial market analysis to epidemic tracking.

The traditional gold standard for CPD is the Cumulative Sum (CUSUM) test. However, CUSUM relies on a significant prerequisite: knowledge of the probability distributions both before and after the change. In complex, high-dimensional real-world scenarios, these distributions are rarely known. Researchers often resort to rigid parametric assumptions, such as Gaussianity, which frequently fail to capture non-linear complexities, leading to high false-alarm rates or delayed detections.

Methodology: The DSM-CUSUM Framework

To address these limitations, this paper introduces DSM-CUSUM, a framework that avoids modeling full probability densities. Instead, it focuses on the score function—the gradient of the log-density ($\nabla_x \log p(x)$). By modeling the direction of data growth rather than absolute probability, the method bypasses the need to calculate the computationally expensive "normalizing constant" (partition function) inherent in high-dimensional modeling.

Key Components

  • Denoising Score Matching (DSM): To ensure robustness, the model injects controlled Gaussian noise into the training data. This technique forces the neural network to learn the distribution's shape even in regions where data samples are sparse.
  • Hyvärinen Score: This metric is employed to compare pre-change and post-change score models, allowing for a CUSUM-style statistic that remains computationally efficient as dimensionality increases.
  • Online Estimation: The framework includes an online algorithm that utilizes a sliding window to update the post-change model dynamically, making it suitable for real-time data streams.

The Noise Tradeoff

A core theoretical contribution of this work is the quantification of the "Noise Tradeoff." When training the score network, the choice of noise scale ($\sigma$) is pivotal.

The noise tradeoff in DSM-CUSUM: balancing estimation and perturbation errors.

As illustrated in the figure above, adding noise reduces estimation error by making the neural network easier to train on sparse data. However, it simultaneously increases perturbation error by shifting the model away from the true, "clean" distribution. The authors demonstrate that a moderate noise level represents a "sweet spot" that maximizes the model's detection power.

Experimental Validation and Results

The authors evaluated DSM-CUSUM against several benchmarks, including synthetic 2D ring distributions and complex 10D neural network-generated data. In these tests, DSM-CUSUM consistently achieved a lower Worst-case Average Detection Delay (WADD) compared to traditional Gaussian Mixture CUSUM and standard Score Matching methods.

Real-World Application: Earthquake Precursor Detection

The framework's efficacy was further tested on a geophysical dataset from monitoring stations in China, aimed at detecting precursors to a 2014 earthquake.

DSM-CUSUM performance on the earthquake precursor dataset compared to traditional baselines.

While traditional methods like Hotelling’s $T^2$ and M-Statistics fluctuated wildly due to seasonal variations—which would trigger frequent false alarms—DSM-CUSUM remained remarkably stable. As shown in the figure, it clearly identified a precursor signal emerging in mid-June 2014, aligning with retrospective expert analysis and providing a significantly cleaner detection signal than the baselines.

Conclusion and Future Work

DSM-CUSUM represents a significant step forward in non-parametric change-point detection. By leveraging score matching and denoising techniques, it offers a robust solution for monitoring complex data streams without the need for rigid distributional assumptions.

Future research will focus on developing a more rigorous theoretical framework to automatically determine the optimal noise level and exploring the scalability of the method for even higher-dimensional "big data" environments where computational efficiency is paramount.

Summary updated

BibTeX
@misc{zhou2025sequential,
  author = {Wenbin Zhou and Liyan Xie and Zhigang Peng and Shixiang Zhu},
  title = {{Sequential Change Point Detection via Denoising Score Matching}},
  year = {2025},
  eprint = {2501.12667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.12667},
}
Figure