Min-SCUSUM: Sequential Change Detection
- Min-SCUSUM is a sequential detection algorithm that uses differences in Hyvärinen scores to identify abrupt changes in multistream data without needing normalization constants.
- The method generalizes classical CUSUM by replacing log-likelihood increments with score differences, ensuring controlled false alarm rates and asymptotically optimal detection delays via Fisher divergence.
- It is applicable to high-dimensional and energy-based models, offering robust performance even when traditional likelihood-based methods are infeasible.
The min-SCUSUM method is a sequential detection and diagnosis algorithm designed for multistream quickest change detection under settings where explicit likelihood ratios are infeasible or undesirable. By relying on the Hyvärinen score and Fisher divergence, min-SCUSUM generalizes the classical CUSUM/Min-CuSum framework to unnormalized statistical models, enabling effective and provably optimal performance in high-dimensional and energy-based contexts (Warner et al., 2023, Wu et al., 2023, Chen et al., 6 Nov 2025).
1. Theoretical Foundations
Min-SCUSUM extends the concept of online sequential analysis to the regime of multiple independent data streams, each of which may undergo an abrupt distributional change at an unknown time. The key innovation is the replacement of log-likelihood increments with differences of Hyvärinen scores:
- Given parallel streams, the goal is to detect as quickly as possible when any stream transitions from a “pre-change” density to a stream-specific “post-change” density , without requiring normalization constants.
- The Hyvärinen score for a twice-differentiable density on is defined as , where is the Laplacian.
- The Fisher divergence, , quantifies the separation between distributions and governs the algorithm’s asymptotic detection delay.
- For each stream , the instantaneous increment at time is , guaranteeing a negative drift under the null () and a positive drift after the change to .
This approach is strictly proper and scale-invariant, circumventing normalization by relying only on gradients and Laplacians of the (potentially unnormalized) log-densities.
2. Algorithm Definition and Workflow
The min-SCUSUM algorithm operates with parallel detection statistics, each recursively updating a CUSUM-like statistic:
- For each stream , initialize .
- At each time , for stream :
- Compute .
- Update .
Fix a threshold .
- Define stopping times for each stream and .
- At time , declare a change and diagnose the altered stream via .
Min-SCUSUM Pseudocode
1 2 3 4 5 6 7 8 9 10 11 |
for i in range(1, M+1): W[i] = 0 for t in count(1): observe X_t = (X_{1,t}, ..., X_{M,t}) for i in range(1, M+1): d = S_H(X_{i,t}; p) - S_H(X_{i,t}; q_i) W[i] = max(0, W[i] + d) if any(W[i] >= b for i in range(1, M+1)): T = t D = argmax(W) break # declare change at time T in stream D |
This architecture requires only the computation of gradients and Laplacians for and updates all statistics in parallel using vectorized and efficient code.
3. Performance Guarantees
3.1 False Alarm Control
Under the no-change regime (all streams distributed as ), the mean time to the first false alarm satisfies: Thus, setting ensures for any desired false-alarm rate (Chen et al., 6 Nov 2025).
3.2 Asymptotic Detection Delay
When a change occurs in stream at time $0$,
For , the worst-case delay (Lorden’s criterion)
Similar results hold for the Kullback–Leibler-based Min-CuSum, replacing with (Warner et al., 2023, Wu et al., 2023).
3.3 Misidentification Probability
The probability of misdiagnosis—declaring instead of the true changed stream —is exponentially controlled: where as . With , the misidentification rate decays as (Chen et al., 6 Nov 2025).
Summary Table
| Parameter | Min-SCUSUM Control | Asymptotic Behavior |
|---|---|---|
| False Alarm Rate | ||
| Detection Delay | ||
| Misidentification |
4. Comparison to Likelihood-Based Approaches
Traditional Min-CuSum relies on explicit log-likelihood ratios, yielding
However, such approaches are impractical for unnormalized densities or intractable partition functions. Min-SCUSUM instead requires only access to the unnormalized log-density and its derivatives, greatly expanding the class of models (e.g., energy-based models, RBMs, diffusion models) amenable to rigorous sequential change detection and diagnosis.
Theoretically, both approaches admit first-order asymptotic optimality under Lorden’s delay criterion when calibrated to ensure the false alarm and misidentification constraints (Warner et al., 2023, Chen et al., 6 Nov 2025).
5. Practical Estimation and Implementation Considerations
Estimating the required score functions can be accomplished via:
- Score-matching (Hyvärinen, 2005): Empirically minimize Fisher divergence to fit parametric models for using observed samples.
- Deep score network approaches: Denoising-diffusion training (Song & Ermon, NeurIPS'19) enables accurate approximation of score functions in high dimensions.
Once estimators for the required gradients and Laplacians are obtained, the running cost per sample is , where is the data dimensionality.
Calibration of the threshold is governed by the desired false-alarm rate and number of channels, and all performance guarantees hold uniformly in the change-point.
6. Empirical and Application Evidence
Simulation studies on multidimensional Gaussian models and energy-based models including Gauss–Bernoulli RBMs corroborate theory:
- The detection delay tracks the law, and misidentification remains bounded below the exponential theoretical upper bound.
- Experiments document that a threshold as per the analytic formula yields empirical false alarm rates and delays as predicted.
- In real-world applications such as video anomaly detection across multiple camera streams, min-SCUSUM identifies altered streams with high reliability even when neither pre- nor post-change densities are normalized (Chen et al., 6 Nov 2025).
A plausible implication is that min-SCUSUM enables rigorous sequential change diagnosis in modern high-dimensional settings where the likelihood-based CuSum approaches are computationally infeasible or ill-defined.
7. Connections, Limitations, and Extensions
Min-SCUSUM is directly linked to the general class of proper scoring rules, with the Hyvärinen score being a special choice that confers tractability for unnormalized models.
The method relies on the assumption that score functions are differentiable and Laplacians well-defined, which may restrict its application in discrete or degenerate models. For misspecified models, or when only approximate score estimators are available, the exponential tail bounds on misidentification error and the minimality of delay require empirical verification.
Future directions include adaptation to asynchronous changes, nonparametric score estimation, and rigorous finite-sample performance guarantees in highly misspecified settings. The framework remains extensible to more complex structural change regimes as long as the score differences retain negative and positive drift properties pre- and post-change (Chen et al., 6 Nov 2025).