[Paper Review] Time Series Anomaly Detection; Detection of anomalous drops with limited features and sparse examples in noisy highly periodic data
The paper explores detecting anomalous drops in noisy, highly periodic time series using a two-part approach: regression-based prediction with TensorFlow models and rule-based anomaly detection, with emphasis on sustained anomalies and limited labeled data.
Google uses continuous streams of data from industry partners in order to deliver accurate results to users. Unexpected drops in traffic can be an indication of an underlying issue and may be an early warning that remedial action may be necessary. Detecting such drops is non-trivial because streams are variable and noisy, with roughly regular spikes (in many different shapes) in traffic data. We investigated the question of whether or not we can predict anomalies in these data streams. Our goal is to utilize Machine Learning and statistical approaches to classify anomalous drops in periodic, but noisy, traffic patterns. Since we do not have a large body of labeled examples to directly apply supervised learning for anomaly classification, we approached the problem in two parts. First we used TensorFlow to train our various models including DNNs, RNNs, and LSTMs to perform regression and predict the expected value in the time series. Secondly we created anomaly detection rules that compared the actual values to predicted values. Since the problem requires finding sustained anomalies, rather than just short delays or momentary inactivity in the data, our two detection methods focused on continuous sections of activity rather than just single points. We tried multiple combinations of our models and rules and found that using the intersection of our two anomaly detection methods proved to be an effective method of detecting anomalies on almost all of our models. In the process we also found that not all data fell within our experimental assumptions, as one data stream had no periodicity, and therefore no time based model could predict it.
Motivation & Objective
- Motivate detection of sustained drops in noisy, highly periodic time series streams.
- Develop a two-part detection framework that works with limited labeled data.
- Leverage machine learning (DNNs, RNNs, LSTMs) for forecasting and statistical/rule-based methods for anomaly identification.
- Evaluate intersection of regression-based predictions and anomaly rules to improve detection.
- Highlight limitations when data lack clear periodicity or time-based predictability.
Proposed method
- Train TensorFlow models (DNNs, RNNs, LSTMs) to perform regression and predict the expected time series value.
- Develop anomaly detection rules that flag deviations between actual and predicted values.
- Focus on detecting continuous segments of anomalous activity rather than isolated points.
- Combine multiple model/rule outputs and use their intersection as the final detector.
Experimental results
Research questions
- RQ1Can anomalies in periodic but noisy time series be detected with limited labeled examples?
- RQ2Do prediction-based and rule-based anomaly detectors complement each other to improve detection?
- RQ3Does enforcing detection of sustained anomalous segments outperform single-point anomaly detection?
- RQ4Are there data streams where time-based models fail due to lack of periodicity or predictability?
- RQ5What is the impact of combining models/rules on detection performance?
Key findings
- Intersection of the two anomaly detection methods proved effective across most models tested.
- DNNs, RNNs, and LSTMs were explored for regression to predict expected values.
- Anomalies were defined as sustained deviations, not momentary events.
- Some data streams did not exhibit periodicity and thus resisted time-based modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.