Robust Anomaly Detection in Time Series through Variational AutoEncoders and a Local Similarity Score

Pedro Matias, Pedro Matias, Duarte Folgado, Hugo Gamboa, Hugo Gamboa, André V. Carreiro

2021

Abstract

The rise of time series data availability has demanded new techniques for its automated analysis regarding several tasks, including anomaly detection. However, even though the volume of time series data is rapidly increasing, the lack of labeled abnormal samples is still an issue, hindering the performance of most supervised anomaly detection models. In this paper, we present an unsupervised framework comprised of a Variational Autoencoder coupled with a local similarity score, which learns solely on available normal data to detect abnormalities in new data. Nonetheless, we propose two techniques to improve the results if at least some abnormal samples are available. These include a training set cleaning method for removing the influence of corrupted data on detection performance and the optimization of the detection threshold. Tests were performed in two datasets: ECG5000 and MIT-BIH Arrhythmia. Regarding the ECG5000 dataset, our framework has shown to outperform some supervised and unsupervised approaches found in the literature by achieving an AUC score of 98.79%. In the MIT-BIH dataset, the training set cleaning step removed 60% of the original training samples and improved the anomaly detection AUC score from 91.70% to 93.30%.

Download


Paper Citation


in Harvard Style

Matias P., Folgado D., Gamboa H. and Carreiro A. (2021). Robust Anomaly Detection in Time Series through Variational AutoEncoders and a Local Similarity Score. In Proceedings of the 14th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2021) - Volume 4: BIOSIGNALS; ISBN 978-989-758-490-9, SciTePress, pages 91-102. DOI: 10.5220/0010320500002865


in Bibtex Style

@conference{biosignals21,
author={Pedro Matias and Duarte Folgado and Hugo Gamboa and André V. Carreiro},
title={Robust Anomaly Detection in Time Series through Variational AutoEncoders and a Local Similarity Score},
booktitle={Proceedings of the 14th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2021) - Volume 4: BIOSIGNALS},
year={2021},
pages={91-102},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010320500002865},
isbn={978-989-758-490-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 14th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC 2021) - Volume 4: BIOSIGNALS
TI - Robust Anomaly Detection in Time Series through Variational AutoEncoders and a Local Similarity Score
SN - 978-989-758-490-9
AU - Matias P.
AU - Folgado D.
AU - Gamboa H.
AU - Carreiro A.
PY - 2021
SP - 91
EP - 102
DO - 10.5220/0010320500002865
PB - SciTePress