Sequential Gradient Descent and Quasi-Newton's Method for Change-Point Analysis

Xianyang Zhang, Trisha DawnAISTATS 2023

Introduction

Change-point analysis is a critical statistical tool used to identify structural breaks in time-series data, such as shifts in financial volatility or genetic mutations. While algorithms like Pruned Exact Linear Time (PELT) are efficient for simple mean-shift models, they encounter significant computational bottlenecks when applied to complex models like Generalized Linear Models (GLMs) or Lasso regression. In these scenarios, calculating the cost of a single segment requires solving a non-trivial optimization problem, leading to a worst-case complexity of $O(T^3)$ for a dataset of size $T$.

The Sequential Updating (SE) Method

To address this inefficiency, researchers have introduced the Sequential Updating (SE) method. The fundamental innovation is the realization that model parameters do not need to be re-optimized from scratch for every new data point added to a segment. Instead, the SE method employs sequential updates:

  • Sequential Gradient Descent (SeGD): Updates parameter estimates using a single gradient step for each new data point.
  • Sequential Newton’s Method (SeN): Utilizes second-order Hessian information to accelerate convergence.
  • Sequential Proximal Gradient Descent: Extends the approach to penalized models like Lasso using soft-thresholding to maintain sparsity.

By integrating these updates with PELT's pruning logic, the SE method "warm-starts" the optimization for every potential segment, reducing the cost calculation per step to $O(1)$.

Empirical Evaluation

The authors tested the SE method against the standard PELT algorithm using both simulated and real-world datasets. Simulations included logistic regression across various dimensions ($d=1, 3, 5$) and magnitudes of change.

Massive Speedups without Accuracy Loss

The results demonstrate that the SE method achieves orders-of-magnitude faster performance. In logistic regression simulations with $T=1500$, SE was approximately 350 times faster than PELT. For instance, in a scenario with three change points, SE completed the task in roughly 8.8 seconds, whereas PELT required over 52 minutes.

Figure 1: Comparison of average computational time (in seconds) between PELT and SE methods across different dimensions (d) and change magnitudes.

Crucially, this speedup does not come at the expense of accuracy. The Rand Index, which measures the similarity between true and predicted change-point clusters, remained nearly identical between the exact PELT method and the approximate SE method across all test cases.

Figure 2: Average Rand Index comparison between PELT and SE methods, demonstrating accuracy parity.

Real-World Application: HIV-1 Transmission

The SE method was also applied to the MTCT of HIV-1 dataset to identify thresholds in neutralizing antibody (NAb) scores correlating with transmission risk. Both SE and PELT identified the exact same change point (NAb score of 7.55). However, SE finished in just 0.62 seconds, compared to 22 seconds for PELT, highlighting its practical utility for real-time or large-scale analysis.

Conclusion

The Sequential Updating method represents a significant leap forward in change-point analysis. By replacing exhaustive optimization with sequential gradient updates, it breaks the $O(T^3)$ computational barrier for complex models while maintaining the accuracy of exact algorithms. Future work may further enhance these methods through Nesterov-style acceleration or multi-epoch updates for even greater precision in high-dimensional settings.

Summary updated

BibTeX
@inproceedings{zhang2023sequential,
  author = {Xianyang Zhang and Trisha Dawn},
  title = {{Sequential Gradient Descent and Quasi-Newton's Method for Change-Point Analysis}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure