arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.07769cs.LGstat.ML
收藏

TadGAN:基于生成对抗网络的时间序列异常检测

TadGAN: Time Series Anomaly Detection Using Generative Adversarial Networks

MIT(麻省理工学院);Universidad Rey Juan Carlos(胡安·卡洛斯国王大学)

Alexander Geiger, Dongyu Liu, Sarah Alnegheimish, Alfredo Cuesta-Infante, Kalyan Veeramachaneni

摘要:

时间序列异常可以提供与各个领域面临的关键情况相关的信息,从金融和航空航天到IT,安全和医疗领域。然而,由于异常的模糊定义以及所述数据经常缺乏标签和高度复杂的时间相关性,检测时间序列数据中的异常特别具有挑战性。用于异常检测的当前最先进的无监督机器学习方法遭受可扩展性和可移植性问题,并且可能具有高误报率。在本文中,我们提出了TadGAN,这是一种基于生成对抗网络(GANs)的无监督异常检测方法。为了捕捉时间序列分布的时间相关性,我们使用LSTM递归神经网络作为生成器和批评器的基础模型。TadGAN使用周期一致性损失进行训练,以实现有效的时间序列数据重建。我们进一步提出了几种新的方法来计算重建误差,以及不同的方法来结合重建误差和批评输出来计算异常分数。为了证明我们的方法的性能和通用性,我们测试了几个异常评分技术,并报告最适合的一个。我们将我们的方法与来自多个知名来源(如NASA,Yahoo,Numenta,Amazon和Twitter)的11个数据集上的8种基线异常检测方法进行了比较。结果表明,我们的方法可以有效地检测异常,并优于基线方法在大多数情况下(6出11)。值得注意的是,我们的方法在所有数据集中具有最高的平均F1得分。我们的代码是开源的,可作为基准测试工具。

英文摘要:

Time series anomalies can offer information relevant to critical situations facing various fields, from finance and aerospace to the IT, security, and medical domains. However, detecting anomalies in time series data is particularly challenging due to the vague definition of anomalies and said data's frequent lack of labels and highly complex temporal correlations. Current state-of-the-art unsupervised machine learning methods for anomaly detection suffer from scalability and portability issues, and may have high false positive rates. In this paper, we propose TadGAN, an unsupervised anomaly detection approach built on Generative Adversarial Networks (GANs). To capture the temporal correlations of time series distributions, we use LSTM Recurrent Neural Networks as base models for Generators and Critics. TadGAN is trained with cycle consistency loss to allow for effective time-series data reconstruction. We further propose several novel methods to compute reconstruction errors, as well as different approaches to combine reconstruction errors and Critic outputs to compute anomaly scores. To demonstrate the performance and generalizability of our approach, we test several anomaly scoring techniques and report the best-suited one. We compare our approach to 8 baseline anomaly detection methods on 11 datasets from multiple reputable sources such as NASA, Yahoo, Numenta, Amazon, and Twitter. The results show that our approach can effectively detect anomalies and outperform baseline methods in most cases (6 out of 11). Notably, our method has the highest averaged F1 score across all the datasets. Our code is open source and is available as a benchmarking tool.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑