# Impact of Recurrent Neural Networks and Deep Learning Frameworks on Real-time Lightweight Time Series Anomaly Detection

arXiv: https://arxiv.org/abs/2407.18439 · HTML: https://mlsanity.com/paper/2407.18439/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 16 of its 40 references that are in the map.
- First posted on arXiv 26 Jul 2024.

## Builds on (most cited first, 16 of 16)

- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling](https://mlsanity.com/paper/1412.3555/) (2014)
- [On the Properties of Neural Machine Translation: Encoder-Decoder Approaches](https://mlsanity.com/paper/1409.1259/) (2014)
- [Time-Series Anomaly Detection Service at Microsoft](https://mlsanity.com/paper/1906.03821/) (2019)
- [Anomaly Detection in Univariate Time-series: A Survey on the State-of-the-Art](https://mlsanity.com/paper/2004.00433/) (2020)
- [pCAMP: Performance Comparison of Machine Learning Packages on the Edges](https://mlsanity.com/paper/1906.01878/) (2019)
- [Time Series Anomaly Detection for Smart Grids: A Survey](https://mlsanity.com/paper/2107.08835/) (2021)
- [Benchmarking of DL Libraries and Models on Mobile Devices](https://mlsanity.com/paper/2202.06512/) (2022)
- [RePAD: Real-time Proactive Anomaly Detection for Time Series](https://mlsanity.com/paper/2001.08922/) (2020)
- [ReRe: A Lightweight Real-time Ready-to-Go Anomaly Detection Approach for Time Series](https://mlsanity.com/paper/2004.02319/) (2020)
- [How Far Should We Look Back to Achieve Effective Real-Time Time-Series Anomaly Detection?](https://mlsanity.com/paper/2102.06560/) (2021)
- [SALAD: Self-Adaptive Lightweight Anomaly Detection for Real-time Recurrent Time Series](https://mlsanity.com/paper/2104.09968/) (2021)
- [Time is of the Essence: Machine Learning-based Intrusion Detection in Industrial Time Series Data](https://mlsanity.com/paper/1809.07500/) (2018)
- [RePAD2: Real-Time, Lightweight, and Adaptive Anomaly Detection for Open-Ended Time Series](https://mlsanity.com/paper/2303.00409/) (2023)
- [RoLA: A Real-Time Online Lightweight Anomaly Detection System for Multivariate Time Series](https://mlsanity.com/paper/2305.16509/) (2023)
- [Impact of Deep Learning Libraries on Online Adaptive Lightweight Time Series Anomaly Detection](https://mlsanity.com/paper/2305.00595/) (2023)

## Built on by (most cited first, 1 of 1)

- [Exploring the impact of Optimised Hyperparameters on Bi-LSTM-based Contextual Anomaly Detector](https://mlsanity.com/paper/2501.15053/) (2025)

## Abstract (arXiv)

Real-time lightweight time series anomaly detection has become increasingly crucial in cybersecurity and many other domains. Its ability to adapt to unforeseen pattern changes and swiftly identify anomalies enables prompt responses and critical decision-making. While several such anomaly detection approaches have been introduced in recent years, they primarily utilize a single type of recurrent neural networks (RNNs) and have been implemented in only one deep learning framework. It is unclear how the use of different types of RNNs available in various deep learning frameworks affects the performance of these anomaly detection approaches due to the absence of comprehensive evaluations. Arbitrarily choosing a RNN variant and a deep learning framework to implement an anomaly detection approach may not reflect its true performance and could potentially mislead users into favoring one approach over another. In this paper, we aim to study the influence of various types of RNNs available in popular deep learning frameworks on real-time lightweight time series anomaly detection. We reviewed several state-of-the-art approaches and implemented a representative anomaly detection approach using well-known RNN variants supported by three widely recognized deep learning frameworks. A comprehensive evaluation is then conducted to analyze the performance of each implementation across real-world, open-source time series datasets. The evaluation results provide valuable guidance for selecting the appropriate RNN variant and deep learning framework for real-time, lightweight time series anomaly detection.
