Detecting Anomalies in Time Series Using Kernel Density Approaches
Open Access
- 29 February 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 33420-33439
Abstract
This paper introduces a novel anomaly detection approach tailored for time series data with exclusive reliance on normal events during training. Our key innovation lies in the application of kernel-density estimation (KDE) to scrutinize reconstruction errors, providing an empirically derived probability distribution for normal events post-reconstruction. This non-parametric density estimation technique offers a nuanced understanding of anomaly detection, differentiating it from prevalent threshold-based mechanisms in existing methodologies. In post-training, events are encoded, decoded, and evaluated against the estimated density, providing a comprehensive notion of normality. In addition, we propose a data augmentation strategy involving variational autoencoder-generated events and a smoothing step for enhanced model robustness. The significance of our autoencoder-based approach is evident in its capacity to learn normal representation without prior anomaly knowledge. Through the KDE step on reconstruction errors, our method addresses the versatility of anomalies, departing from assumptions tied to larger reconstruction errors for anomalous events. Our proposed likelihood measure then distinguishes normal from anomalous events, providing a concise yet comprehensive anomaly detection solution. The extensive experimental results support the feasibility of our proposed method, yielding significantly improved classification performance by nearly 10% on the UCR benchmark data.Keywords
Funding Information
- Office of Advanced Scientific Computing Research, Office of Science, U.S. Department of Energy (DE-AC02-05CH11231)
- National Energy Research Scientific Computing Center
- School of Engineering, Zurich University of Applied Sciences
This publication has 37 references indexed in Scilit:
- Early lameness detection in dairy cattle based on wearable gait analysis using semi-supervised LSTM-AutoencoderComputers and Electronics in Agriculture, 2023
- A Comparison of LSTM and GRU Networks for Learning Symbolic Sequences2023
- Flow-based intrusion detection on software-defined networks: a multivariate time series anomaly detection approachNeural Computing and Applications, 2023
- Activities Recognition, Anomaly Detection and Next Activity Prediction Based on Neural Networks in Smart HomesIEEE Access, 2022
- Deep Learning for Anomaly Detection in Time-Series Data: Review, Analysis, and GuidelinesIEEE Access, 2021
- TadGAN: Time Series Anomaly Detection Using Generative Adversarial Networks2020
- Unsupervised Anomaly Detection in Time Series Using LSTM-Based Autoencoders2019
- A Hybrid Autoencoder and Density Estimation Model for Anomaly Detection2016
- On optimal and data-based histogramsBiometrika, 1979
- Smoothing and Differentiation of Data by Simplified Least Squares Procedures.Analytical Chemistry, 1964