Detecting Change Intervals with Isolation Distributional Kernel

Yang Cao, Ye Zhu, Kai Ming Ting, Flora D. Salim, Hong Xian Li, Luxing Yang, Gang Li

TL;DR

This paper introduces iCID, a novel method for detecting change intervals in streaming data by leveraging the Isolation Distributional Kernel (IDK). iCID addresses limitations of existing change-point detection methods, such as missing subtle changes and poor scalability, by framing the problem as change-interval detection and utilizing IDK's data-dependent and efficient properties.

What Problem Does This Paper Address?

Detecting abrupt changes in data distribution is crucial for many real-time applications, from system monitoring to anomaly detection. Traditional Change-Point Detection (CPD) methods often struggle with:

  • Missing subtle changes: They might overlook gradual shifts in data patterns.
  • Poor scalability: Handling infinite streams of data is computationally challenging.
  • Sensitivity to outliers: Noise points can be mistakenly identified as significant changes.

The authors argue that focusing on detecting intervals where changes occur, rather than pinpointing exact change-points, is a more robust and practical approach, especially given potential inaccuracies in ground-truth labels.

Methods

The core of the proposed method, iCID, relies on the Isolation Distributional Kernel (IDK). Here's a breakdown:

  • Change-Interval Detection (CID): The authors reframe the problem from detecting single change-points to identifying intervals that contain one or more change-points. This is achieved by measuring the dissimilarity between adjacent temporal intervals.
  • Isolation Distributional Kernel (IDK): This is a novel kernel designed to measure the similarity between probability distributions. Unlike traditional kernels (like the Gaussian Distributional Kernel - GDK), IDK has:
  • A finite-dimensional feature map: This leads to efficient computation with linear time complexity.
  • Data-dependent property: IDK adapts to the specific data distribution, making it more sensitive to subtle changes and less prone to misinterpreting outliers.
  • iCID Algorithm:
    • The data stream is divided into non-overlapping intervals.
  • IDK is used to map each interval's distribution into a feature space.
  • The dissimilarity between adjacent intervals is calculated using IDK.
  • An "iCID score" is assigned to each interval. If this score exceeds a threshold, the interval is flagged as a change interval.
  • Online and Offline Versions: iCID offers both offline (processing the entire dataset) and online (processing data in real-time) versions.
  • Automated Parameter Selection: iCID includes a method for automatically selecting key parameters (like the subsample size for IDK) to optimize stability and detection performance.

Datasets

The authors evaluated iCID on a variety of datasets:

  • Real-world Datasets:
    • Yahoo-16 (hardware resource usage)
    • USC-HAD (human activity recognition)
    • Google-trend (search popularity)
    • Well_log (nuclear magnetic response)
    • Weather (global monthly mean temperature)
    • HASC (human activity recognition)
  • Synthetic Datasets:
    • S1: One-dimensional Gaussian data with outliers.
  • S2: Two-dimensional Gaussian data with varying covariances.

Key Insights and Ideas

  • CID is more robust than CPD: Framing the problem as detecting change intervals rather than exact points makes the method more resilient to noisy or imprecise ground-truth labels.
  • IDK's data-dependency is key: The ability of IDK to adapt to the data distribution is crucial for detecting subtle changes that data-independent kernels might miss.
  • Efficiency matters: The finite feature map of IDK leads to linear time complexity, making iCID suitable for large-scale streaming data analysis, outperforming deep learning methods in terms of training and inference speed.
  • Outlier tolerance: IDK's focus on distributional dissimilarity, rather than individual points, makes iCID inherently more robust to outliers.

Key Results

  • Effective detection of all change types: iCID successfully identified subtle (Type I), gradual (Type II), and continuous (Type III) change-points across various datasets.
  • Robustness to outliers: iCID demonstrated the ability to detect change intervals without misclassifying outliers.
  • Scalability: Both offline and online versions of iCID exhibit linear time complexity, allowing them to process large datasets efficiently. For example, processing 100,000 points took only a few minutes offline and seconds online.
  • Competitive performance: iCID achieved state-of-the-art or comparable F1 scores against several leading CPD algorithms on large real-world datasets, often outperforming them, especially in detecting subtle changes.
  • Automated parameter tuning: The proposed method for selecting the subsample size parameter ($\psi$) for IDK led to stable and effective detection across different datasets.

Limitations and Future Work

  • Ground-truth label issues: The authors acknowledge that real-world datasets often suffer from inaccurate or missing labels, which can affect the evaluation of any CPD algorithm. They suggest that their interval-based approach is more forgiving of these issues.
  • Curse of dimensionality: For extremely high-dimensional datasets, the effectiveness of distributional change detection might be masked, a challenge that affects all methods.
  • Future Work: The authors plan to investigate iCID's ability to detect drifts in non-i.i.d. streaming data.

Summary updated

BibTeX
@inproceedings{cao2024detecting,
  author = {Yang Cao and Ye Zhu and Kai Ming Ting and Flora D. Salim and Hong Xian Li and Luxing Yang and Gang Li},
  title = {{Detecting Change Intervals with Isolation Distributional Kernel}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=haI33wxPKd},
}
Figure