An Efficient Anomaly Detection Approach using Cube Sampling with Streaming Data
Abstract
Anomaly detection is critical in various fields, including intrusion detection, health monitoring, fault diagnosis, and sensor network event detection. The isolation forest (or iForest) approach is a well-known technique for detecting anomalies. It is, however, ineffective when dealing with dynamic streaming data, which is becoming increasingly prevalent in a wide variety of application areas these days. In this work, we extend our previous work by proposed an efficient iForest based approach for anomaly detection using cube sampling that is effective on streaming data. Cube sampling is used in the initial stage to choose nearly balanced samples, significantly reducing storage requirements while preserving efficiency. Following that, the streaming nature of data is addressed by a sliding window technique that generates consecutive chunks of data for systematic processing. The novelty of this paper is in applying Cube sampling in iForest and calculating inclusion probability. The proposed approach is equally successful at detecting anomalies as existing state-of-the-art approaches, requiring significantly less storage and time complexity. We undertake empirical evaluations of the proposed approach using standard datasets and demonstrate that it outperforms traditional approaches in terms of Area Under the ROC Curve (AUC-ROC) and can handle high-dimensional streaming data.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| Satellite | Cube-sampling iForest (Proposed Approach) | AUC-ROC | 0.72 | Anomaly DetectionSource quoteL132: Satellite │ 0.72 │ 0.70 │ 0.67 │ 0.66 │ 0.64 |
| Satellite | iForest | AUC-ROC | 0.70 | Anomaly DetectionSource quoteL132: Satellite │ 0.72 │ 0.70 │ 0.67 │ 0.66 │ 0.64 |
| Forest Cover | Cube-sampling iForest (Proposed Approach) | AUC-ROC | 0.93 | Anomaly DetectionSource quoteL134: Forest Cover │ 0.93 │ 0.91 │ 0.70 │ 0.74 │ 0.65 |
| Forest Cover | iForest | AUC-ROC | 0.91 | Anomaly DetectionSource quoteL134: Forest Cover │ 0.93 │ 0.91 │ 0.70 │ 0.74 │ 0.65 |
| Synthetic sine-wave streaming setup (Figure setup2) | Cube-sampling iForest (suggested method) | AUC-ROC | 0.99 | The first 256 samples are used for training; the succeeding data stream is used to comp…Source quoteL141: The first 256 samples are utilized for training the anomaly detector, and the succeeding data stream is used to compute the anomaly scores. The following classification accuracy metrics are collected for specific anomalies: Contextual Anomaly (0.99); Point Anomaly (1.00); and Collective Anomaly (0.962). Moreover, an AUC-ROC score of 0.99 is obtained, indicating that the suggested method is effective with a variety of anomaly patterns. When tested on iForest trivially, an AUC-ROC score of 0.83 is recorded, suggesting that iForest is not effective in handling streaming data. |
| Synthetic sine-wave streaming setup (Figure setup2) | iForest | AUC-ROC | 0.83 | The first 256 samples are used for training; the succeeding data stream is used to comp…Source quoteL141: The first 256 samples are utilized for training the anomaly detector, and the succeeding data stream is used to compute the anomaly scores. The following classification accuracy metrics are collected for specific anomalies: Contextual Anomaly (0.99); Point Anomaly (1.00); and Collective Anomaly (0.962). Moreover, an AUC-ROC score of 0.99 is obtained, indicating that the suggested method is effective with a variety of anomaly patterns. When tested on iForest trivially, an AUC-ROC score of 0.83 is recorded, suggesting that iForest is not effective in handling streaming data. |
BibTeX
@inproceedings{jain2021efficient,
author = {Seemandhar Jain and Prarthi Jain and Abhishek Srivastava},
title = {{An Efficient Anomaly Detection Approach using Cube Sampling with Streaming Data}},
booktitle = {Premi},
year = {2021},
doi = {10.1007/978-3-031-12700-7\_51},
}Ask Althea to put this paper to the test.
Loading related content...