DTAAD: Dual Tcn-Attention Networks for Anomaly Detection in Multivariate Time Series Data

Lingrui Yu
2/17/2023
cs.LG

Official code: Yu-Lingrui/DTAAD (77 stars, BSD-3-Clause, last commit 2024-04-29).

Abstract

Anomaly detection techniques enable effective anomaly detection and diagnosis in multi-variate time series data, which are of major significance for today's industrial applications. However, establishing an anomaly detection system that can be rapidly and accurately located is a challenging problem due to the lack of anomaly labels, the high dimensional complexity of the data, memory bottlenecks in actual hardware, and the need for fast reasoning. In this paper, we propose an anomaly detection and diagnosis model, DTAAD, based on Transformer and Dual Temporal Convolutional Network (TCN). Our overall model is an integrated design in which an autoregressive model (AR) combines with an autoencoder (AE) structure. Scaling methods and feedback mechanisms are introduced to improve prediction accuracy and expand correlation differences. Constructed by us, the Dual TCN-Attention Network (DTA) uses only a single layer of Transformer encoder in our baseline experiment, belonging to an ultra-lightweight model. Our extensive experiments on seven public datasets validate that DTAAD exceeds the majority of currently advanced baseline methods in both detection and diagnostic performance. Specifically, DTAAD improved F1 scores by $8.38\%$ and reduced training time by $99\%$ compared to the baseline. The code and training scripts are publicly available on GitHub at https://github.com/Yu-Lingrui/DTAAD.

View on arXivView PDF

Code Implementations(1)

Yu-Lingrui/DTAADOfficial100%
BSD-3-Clause

Code support as a published paper!

7710PythonDec 24, 20222 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{yu2023dtaad,
  title  = {DTAAD: Dual Tcn-Attention Networks for Anomaly Detection in Multivariate Time Series Data},
  author = {Lingrui Yu},
  year   = {2023},
  eprint = {2302.10753},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.10753v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.10753.svg)](https://codeofpaper.com/paper/2302.10753)

Discussion