A Three-Dimensional ResNet and Transformer-Based Approach to Anomaly Detection in Multivariate Temporal-Spatial Data

Entropy (Basel). 2023 Jan 17;25(2):180. doi: 10.3390/e25020180.

Abstract

Anomaly detection in multivariate time series is an important problem with applications in several domains. However, the key limitation of the approaches that have been proposed so far lies in the lack of a highly parallel model that can fuse temporal and spatial features. In this paper, we propose TDRT, a three-dimensional ResNet and transformer-based anomaly detection method. TDRT can automatically learn the multi-dimensional features of temporal-spatial data to improve the accuracy of anomaly detection. Using the TDRT method, we were able to obtain temporal-spatial correlations from multi-dimensional industrial control temporal-spatial data and quickly mine long-term dependencies. We compared the performance of five state-of-the-art algorithms on three datasets (SWaT, WADI, and BATADAL). TDRT achieves an average anomaly detection F1 score higher than 0.98 and a recall of 0.98, significantly outperforming five state-of-the-art anomaly detection methods.

Keywords: anomaly detection; deep learning; multivariate temporal–spatial data.