FuseAD: Unsupervised Anomaly Detection in Streaming Sensors Data by Fusing Statistical and Deep Learning Models

Mohsin Munir, Shoaib Ahmed Siddiqui, Muhammad Ali Chattha, Andreas Dengel, Sheraz Ahmed2019

TL;DR

This paper introduces FuseAD, a novel unsupervised anomaly detection method for streaming sensor data that combines the strengths of statistical (ARIMA) and deep learning (CNN) models. By employing a residual learning scheme, FuseAD allows the network to dynamically learn how to best fuse predictions from both models, leading to improved anomaly detection accuracy compared to individual models and existing state-of-the-art methods.

What Problem Does This Paper Address?

The proliferation of smart devices and IoT sensors has led to an explosion of streaming data. Effectively monitoring this data is crucial for tasks like predicting device failures and ensuring system reliability. Anomaly detection, the process of identifying unusual patterns in this data, is a key component of such monitoring. However, different types of data and anomaly patterns often favor different detection techniques. Statistical methods, like ARIMA, are transparent and work well for certain time-series characteristics, while deep learning models, like CNNs, excel at capturing complex, non-linear patterns. The challenge lies in selecting the "best" model for a given scenario or finding a way to leverage the strengths of multiple models without the complexity of traditional ensembling. This paper addresses the need for a robust, unsupervised anomaly detection system that can adapt to diverse streaming sensor data by intelligently combining statistical and deep learning approaches.

Methods

FuseAD employs a two-module system: a forecasting pipeline and an anomaly detector.

  • Forecasting Pipeline: This is the core innovation. Instead of using ARIMA and CNN independently, FuseAD fuses them using a residual learning scheme. The CNN is trained to predict an offset or correction to the ARIMA model's forecast. This means the CNN learns to compensate for ARIMA's weaknesses. If ARIMA's prediction is good, the CNN's output will be small; if ARIMA is off, the CNN will generate a larger correction. Crucially, the CNN's output is conditioned on the ARIMA prediction, allowing it to learn how to best adjust. This approach allows the system to learn "itself how and when to fuse" the two models.
  • Anomaly Detector: Once the forecasting pipeline generates a predicted value, the anomaly detector calculates an anomaly score based on the Euclidean distance between the actual and predicted values. A high score indicates a potential anomaly.

Datasets

The proposed FuseAD method was evaluated on two benchmark datasets:

  • Yahoo Webscope Dataset: This benchmark consists of both real and synthetic time-series data, divided into four sub-benchmarks (A1-A4). It includes Yahoo membership login data and synthetically generated series with specified anomaly characteristics.
  • Numenta Anomaly Benchmark (NAB): This dataset comprises streaming data from various domains like internet traffic, advertisements, and cloud services. It includes both real and artificial time-series, with anomalies labeled within defined windows. The paper notes issues with the NAB dataset's labeling mechanism, which can impact evaluation metrics.

Key Insights and Ideas

  • Synergy of Statistical and Deep Learning: The paper demonstrates that combining statistical and deep learning models in a residual learning framework can yield better results than either approach alone. This "fusion" allows the models to complement each other's strengths and weaknesses.
  • Adaptive Fusion: The residual learning scheme allows the model to dynamically learn when and how much to rely on each forecasting component, making it adaptable to different data patterns and anomaly types.
  • Improved Anomaly Detection Accuracy: The fused approach significantly outperforms individual ARIMA and CNN models, as well as several other state-of-the-art anomaly detection methods, particularly on the Yahoo Webscope dataset.
  • Handling Complex Time-Series: The method shows promise in detecting point anomalies that might be missed by traditional methods, especially in time-series with trends and seasonality.

Key Results

  • FuseAD achieved superior performance compared to state-of-the-art anomaly detection methods on the Yahoo Webscope dataset, as evidenced by higher Area Under the Curve (AUC) scores across all sub-benchmarks (A1-A4). For instance, on sub-benchmark A2, FuseAD achieved an AUC of 0.9993, significantly outperforming other methods.
  • An ablation study confirmed the contribution of both the ARIMA and CNN components. Removing either model led to a decrease in performance, highlighting the benefit of the fusion approach.
  • Qualitative analysis showed FuseAD's ability to accurately detect anomalies that were missed by individual ARIMA or CNN models, with fewer false positives and false negatives.

Limitations and Future Work

  • NAB Dataset Challenges: The authors acknowledge that the labeling mechanism of the NAB dataset presents challenges, leading to chaotic results and making it difficult to definitively assess performance on this benchmark.
  • Future Work: The authors plan to extend FuseAD by:
  • Evaluating it on multi-variant time-series datasets.
  • Fusing it with other traditional distance-based anomaly detection methods (e.g., LOF, k-NN).
  • Integrating other deep learning models (e.g., LSTM).

Summary updated

BibTeX
@misc{munir2019fusead,
  author = {Mohsin Munir and Shoaib Ahmed Siddiqui and Muhammad Ali Chattha and Andreas Dengel and Sheraz Ahmed},
  title = {{FuseAD: Unsupervised Anomaly Detection in Streaming Sensors Data by Fusing Statistical and Deep Learning Models}},
  year = {2019},
  doi = {10.3390/s19112451},
}
Figure