Introduction
Detecting changes in the statistical properties of data streams, often referred to as "concept drift," is a critical task in fields ranging from industrial monitoring to network security. Real-world data streams present three primary challenges: high-dimensional multivariate complexity, unknown underlying distributions, and the need for strict false alarm control. Traditional parametric models often fail when data does not conform to specific distributional assumptions, while non-parametric methods like the original QuantTree (QT) struggle to capture complex, non-axis-aligned data structures.
The KQT-EWMA Framework
To address these challenges, this paper introduces KQT-EWMA, a non-parametric algorithm designed for online change detection in multivariate streams. The method integrates two core components:
- Kernel-QuantTree (KQT): Unlike standard QuantTree, which uses axis-parallel splits to create rectangular bins, KQT employs kernel functions (such as Weighted Mahalanobis distance) to partition the d-dimensional space. This allows the algorithm to create flexible bins that better represent the actual geometry of the stationary data distribution.
- Exponentially Weighted Moving Average (EWMA): This sequential monitoring statistic enables real-time analysis. As new samples arrive, they are mapped to KQT bins, and a running average of bin counts is maintained. This approach prioritizes recent data, facilitating rapid detection of abrupt changes.
Because KQT-EWMA is built on the QuantTree framework, the distribution of its test statistic under stationary conditions is known and independent of the input data distribution. This allows practitioners to use Monte Carlo simulations to set detection thresholds that guarantee a specific Average Run Length ($ARL_0$)—the expected time between false alarms.
Computational Complexity
The enhanced modeling capability of KQT-EWMA comes with an increased computational cost compared to simpler methods. The following table details the training and inference costs for KQT-EWMA variants and several baseline algorithms.
While KQT-EWMA (WM) has a higher inference cost of $O(K M d^2)$ compared to the $O(K)$ cost of QT-EWMA, this investment allows for significantly more accurate modeling of correlated and multimodal data, which is often necessary in high-stakes multivariate environments.
Experimental Evaluation
The performance of KQT-EWMA was evaluated against competitors such as Scan-B, SPLL, and QT-EWMA across a variety of datasets:
- Synthetic Streams: Gaussian mixtures with varying components (1 to 3) and dimensions (2 to 64).
- Real-World Benchmarks: Seven datasets from the UCI repository, including climate (El Niño), biochemical (Protein), and financial (Credit Card Fraud) data.
- INSECTS Dataset: A specialized benchmark for abrupt changes in sensor-captured biological data.
Key Results and Insights
The experimental results highlight several strengths of the KQT-EWMA approach:
- Superior False Alarm Control: KQT-EWMA consistently maintained the target $ARL_0$, whereas competitors like Scan-B and SPLL often deviated significantly as the target $ARL_0$ increased.
- Reduced Detection Delay: In scenarios involving complex multimodal distributions, KQT-EWMA achieved detection speeds up to twice as fast as the previous state-of-the-art, QT-EWMA.
- Kernel Efficacy: The use of Weighted Mahalanobis (WM) kernels proved essential for capturing nuances in correlated data that axis-parallel splits missed.
- Scalability: The method remained robust in dimensions up to $d=28$, though performance began to degrade as dimensionality approached 64, highlighting a common bottleneck in multivariate analysis.
Conclusion and Future Work
KQT-EWMA provides a robust, distribution-free solution for online change detection, offering a unique combination of flexible modeling and rigorous false alarm control. Currently, the method's reliance on the sample covariance matrix requires a training set size that scales with dimensionality. Future research will focus on developing kernel designs that bypass covariance matrix computation, potentially enhancing the algorithm's scalability for extremely high-dimensional or data-scarce environments.
Summary updated