Abstract
Detecting distribution shifts, or "concept drift," in high-dimensional data streams is essential for maintaining the reliability of predictive models. Traditional methods often suffer from the "dilution effect," where noise from stable dimensions masks significant changes in a small subset of features. This paper introduces the Adaptive Bernstein Change Detector (ABCD), a framework designed to monitor reconstruction loss from dimensionality reduction models. By applying a statistical test based on Bernstein’s inequality within an adaptive window, ABCD achieves high precision in identifying change points. Furthermore, the framework extends beyond simple detection to identify the specific "change subspace" and estimate the severity of the shift.
Introduction
In dynamic environments such as industrial sensor networks or network traffic monitoring, data distributions are rarely static. Detecting these shifts is vital, yet high-dimensional data presents unique challenges. First, the dilution effect occurs when a change in a few dimensions is obscured by the aggregate noise of the entire feature space. Second, most existing detectors are "black boxes" that signal a change without providing diagnostic information regarding which dimensions are affected or the magnitude of the shift.
The ABCD Framework
The ABCD framework addresses these challenges through a multi-stage process that leverages the properties of reconstruction error and robust statistical bounds.
1. Reconstruction Loss as a Proxy
Rather than monitoring every dimension individually—which is computationally expensive and prone to false alarms—ABCD utilizes an encoder-decoder model (such as PCA or an Autoencoder). The model is trained on a stable segment of the data stream. ABCD then monitors the reconstruction loss (Mean Squared Error). When the underlying data distribution shifts, the model’s ability to reconstruct the data degrades, leading to a detectable spike in the loss signal.
2. Adaptive Bernstein Scoring
To distinguish between stochastic noise and genuine distribution shifts, ABCD employs an adaptive windowing strategy that grows during stability and shrinks upon detection. The detector applies a statistical test based on Bernstein’s inequality. Unlike the more common Hoeffding’s inequality, Bernstein’s bound incorporates the variance of the observed errors. This results in a "tighter" bound, allowing the detector to identify subtle changes more reliably while maintaining high precision and minimizing false alarms.
3. Subspace and Severity Estimation
Upon detecting a change, ABCD analyzes the per-dimension reconstruction loss to isolate the change subspace—the specific features responsible for the shift. It then calculates a severity score ($\Delta$) by comparing the loss levels before and after the change point, normalized by the historical standard deviation. To maintain efficiency, ABCD uses Welford aggregates to calculate mean and variance incrementally, allowing it to evaluate thousands of potential change points in constant time.
Experimental Evaluation
The researchers evaluated ABCD against five state-of-the-art competitors across a variety of datasets, including real-world sensor data (HAR, GAS) and synthetic image streams (MNIST, CIFAR-10) where shifts were simulated via label switching.
Key Results
- High Precision and F1-Score: ABCD (Autoencoder version) achieved an average F1-score of 0.90, significantly outperforming competitors like D3. Its precision often exceeded 0.95, demonstrating a robust resistance to false alarms that frequently plagued other models.
- Diagnostic Accuracy: The framework correctly identified the change subspace with approximately 78-79% accuracy.
- Scalability: Runtime analysis confirmed that ABCD scales efficiently to streams with up to 10,000 dimensions, as the core statistical scoring remains constant in complexity relative to dimensionality.
Conclusion
The Adaptive Bernstein Change Detector provides a robust solution for monitoring high-dimensional streams where precision and diagnostic capability are paramount. While it may exhibit a slightly higher latency in detection compared to some aggressive methods, its superior false-alarm control makes it highly suitable for real-world applications. Future work includes integrating spatial-aware models like Convolutional Autoencoders to enhance performance on image-based data streams.
Summary updated