Explainable Unsupervised Change-point Detection via Graph Neural Networks

Ruohong Zhang, Yu Hao, Donghan Yu, Wei-Cheng Chang, Guokun Lai, Yiming YangarXiv 2020

Abstract

Change-point detection (CPD) aims to detect abrupt changes over time series data. Intuitively, effective CPD over multivariate time series should require explicit modeling of the dependencies across input variables. However, existing CPD methods either ignore the dependency structures entirely or rely on the (unrealistic) assumption that the correlation structures are static over time. In this paper, we propose a Correlation-aware Dynamics Model for CPD, which explicitly models the correlation structure and dynamics of variables by incorporating graph neural networks into an encoder-decoder framework. Extensive experiments on synthetic and real-world datasets demonstrate the advantageous performance of the proposed model on CPD tasks over strong baselines, as well as its ability to classify the change-points as correlation changes or independent changes.

Introduction

Change-point detection (CPD) is the task of identifying moments when the underlying properties of a time series change abruptly—such as a sensor failing in a factory or a sudden shift in stock market behavior. In multivariate settings, most existing methods have a significant blind spot: they either ignore the dependencies between variables entirely or assume those dependencies never change.

In reality, a change-point can be "independent" (e.g., one stock's price drops due to a company-specific scandal) or "correlation-based" (e.g., two stocks that usually move together suddenly decouple). Failing to model these shifting relationships leads to poor detection performance and a lack of interpretability regarding the cause of the change.

Comparison of independent vs. correlation-based change-points.

Methodology: CorD-CPD

The authors propose CorD-CPD (Correlation-aware Dynamics Model for Change-point Detection), an encoder-decoder architecture designed to capture both individual variable dynamics and inter-variable correlations.

The Encoder (Correlation Extraction)

The encoder infers a "correlation matrix" (essentially a graph) for every time step. It uses Temporal Encoding Layers (TEL) to capture time-dependent features and Spatial Encoding Layers (SEL) to model how variables relate to one another. The architecture allows for the extraction of a dynamic graph structure that evolves over time.

The CorD-CPD encoder architecture for correlation extraction.

The Decoder (Dynamics Modeling)

Given the inferred correlation graph, the decoder attempts to predict the next state of the system. It uses a Graph Neural Network (GNN) to incorporate the learned graph structure into its predictions, ensuring that the predicted dynamics are consistent with the current correlation state.

Dual Scoring and Explainability

A key innovation of CorD-CPD is its dual scoring system, which provides a level of interpretability rare in deep learning CPD:

  • Correlation Score ($s_r$): Measures how much the inferred graph changed between time steps.
  • Independent Score ($s_d$): Measures the prediction error (MSE). If the model's prediction is significantly off despite an accurate correlation graph, an independent change likely occurred.

These scores are normalized and summed to provide a robust, final change-point signal.

Evaluation and Results

The researchers evaluated CorD-CPD on two main fronts: a synthetic Particle-Spring Simulation and the real-world PAMAP2 Physical Activity Monitoring dataset.

  • Detection Performance: CorD-CPD significantly outperformed both traditional statistical methods and deep learning baselines. On the synthetic dataset, it achieved an AUC of ~0.98, while the best deep learning baseline (LSTNet) hovered around 0.58. On PAMAP2, it reached an AUC of 0.8277, a massive jump over the next best baseline at 0.7868.
  • Classification Accuracy: The model was remarkably good at identifying the type of change, achieving over 97% accuracy in distinguishing between independent (location/speed) changes and correlation (connection) changes.

Discussion and Future Work

By treating multivariate time series as a dynamic graph, CorD-CPD introduces a powerful inductive bias suitable for complex interacting systems. The authors also proposed the Triangle Utility (TRI) metric, a hinge-loss-based metric that rewards predictions temporally close to the ground truth, addressing the limitations of standard metrics like AUC-ROC for time series data.

Future work involves adapting the model for real-time, streaming data and exploring more complex "mixtures" of changes where correlation and independent dynamics shift simultaneously.

Summary updated

BibTeX
@misc{zhang2020explainable,
  author = {Ruohong Zhang and Yu Hao and Donghan Yu and Wei-Cheng Chang and Guokun Lai and Yiming Yang},
  title = {{Explainable Unsupervised Change-point Detection via Graph Neural Networks}},
  year = {2020},
  eprint = {2004.11934},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.11934},
}
Figure