Asymptotically Optimal Change Detection for Unnormalized Pre- and Post-Change Distributions

Arman Adibi, Sanjeev R. Kulkarni, H. Vincent Poor, Taposh Banerjee, Vahid TarokharXiv 2024 · DOI

Introduction

In many scientific and engineering domains, from monitoring physical systems to financial market analysis, the ability to detect sudden changes in a data stream is paramount. The Cumulative Sum (CUSUM) algorithm is the established gold standard for Quickest Change Detection (QCD), offering optimal performance when the pre-change ($P_0$) and post-change ($P_1$) distributions are known. However, a significant bottleneck arises when dealing with complex models like Energy-Based Models (EBMs), where we only have access to unnormalized distributions. In these cases, the normalizing constant (the partition function $Z$) is often intractable, involving high-dimensional integrals that are NP-hard to compute.

The Challenge of Unnormalized Distributions

Standard CUSUM relies on the log-likelihood ratio: $$\log \frac{P_1(x)}{P_0(x)} = \log \frac{\tilde{P}_1(x)}{\tilde{P}_0(x)} + \log \frac{Z_0}{Z_1}$$ where $\tilde{P}$ represents the unnormalized density. Without the log-ratio of the partition functions, $\log(Z_0/Z_1)$, the algorithm cannot be implemented. Previous attempts to bypass this, such as Score-based CUSUM (SCUSUM), utilize the Hyvärinen score (gradients of the log-density). While effective for shifts in mean, SCUSUM fails when changes occur in the "scale" or "temperature" of a distribution, as the gradient remains unchanged. Furthermore, naive Monte Carlo estimates of $Z$ introduce bias, which accumulates in sequential detection, leading to frequent false alarms or excessive delays.

The LPA-CUSUM Approach

Adibi et al. propose the Log-Partition Approximation CUSUM (LPA-CUSUM) to address these limitations. The core innovation is the integration of Thermodynamic Integration (TI), a technique from statistical physics, into the CUSUM framework.

Thermodynamic Integration (TI)

Instead of estimating $Z_0$ and $Z_1$ independently, TI constructs a continuous path (an annealing schedule) between the two distributions. By integrating the expected potential along this path, TI provides an unbiased estimator of the log-ratio $\log(Z_1/Z_0)$. This unbiasedness is critical; it prevents the "drift" that plagues biased estimators in sequential settings.

Theoretical Optimality

The authors leverage supermartingale theory to demonstrate that LPA-CUSUM is asymptotically optimal. As the threshold for false alarms ($h$) increases, the detection delay of LPA-CUSUM approaches the theoretical lower bound of the ideal CUSUM (which assumes full knowledge of the normalization constants). They also provide a rigorous analysis of sample complexity, relating the number of TI samples to the resulting detection delay.

Experimental Evaluation

The researchers evaluated LPA-CUSUM against several baselines, including SCUSUM, kernel-based methods (MMD), and naive estimators, using two primary synthetic datasets: Multivariate Normal (MVN) and the Boltzmann Distribution (EXP).

Comparison of LPA-CUSUM against baselines on the Boltzmann distribution.

Key Results

The experiments confirmed that LPA-CUSUM consistently outperforms existing methods when normalization is unavailable.

  • Convergence: As the number of samples for the TI estimator increases, LPA-CUSUM's performance converges to that of the ideal CUSUM.
  • Robustness to Temperature Changes: In the Boltzmann experiment, where SCUSUM was entirely ineffective, LPA-CUSUM maintained efficient detection.
  • Superiority over Naive Methods: LPA-CUSUM showed significantly lower Conditional Average Detection Delay (CADD) for a given Average Run Length (ARL) compared to naive or kernel-based approaches.
Performance on Multivariate Normal distributions.

Conclusion

LPA-CUSUM represents a significant advancement in statistical signal processing by successfully importing tools from statistical mechanics to solve the QCD problem for unnormalized distributions. By providing an unbiased estimator for the log-partition ratio, it achieves asymptotic optimality where previous methods failed. While the computational cost of MCMC sampling for TI is a consideration, the theoretical guarantees and empirical performance make it a powerful tool for complex, high-dimensional change detection tasks.

Summary updated

BibTeX
@misc{adibi2024asymptotically,
  author = {Arman Adibi and Sanjeev R. Kulkarni and H. Vincent Poor and Taposh Banerjee and Vahid Tarokh},
  title = {{Asymptotically Optimal Change Detection for Unnormalized Pre- and Post-Change Distributions}},
  year = {2024},
  eprint = {2410.14615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14615},
}
Figure