journal article·2023Open access

A Memory-Guided Anomaly Detection Model with Contrastive Learning for Multivariate Time Series

Wei Zhang, Ping He, Ting Li, Fan Yang, Ying Liu

Computers, Materials & Continua· Volume 77· Issue 2

Abstract

Some reconstruction-based anomaly detection models in multivariate time series have brought impressive performance advancements but suffer from weak generalization ability and a lack of anomaly identification. These limitations can result in the misjudgment of models, leading to a degradation in overall detection performance. This paper proposes a novel transformer-like anomaly detection model adopting a contrastive learning module and a memory block (CLME) to overcome the above limitations. The contrastive learning module tailored for time series data can learn the contextual relationships to generate temporal fine-grained representations. The memory block can record normal patterns of these representations through the utilization of attention-based addressing and reintegration mechanisms. These two modules together effectively alleviate the problem of generalization. Furthermore, this paper introduces a fusion anomaly detection strategy that comprehensively takes into account the residual and feature spaces. Such a strategy can enlarge the discrepancies between normal and abnormal data, which is more conducive to anomaly identification. The proposed CLME model not only efficiently enhances the generalization performance but also improves the ability of anomaly detection. To validate the efficacy of the proposed approach, extensive experiments are conducted on well-established benchmark datasets, including SWaT, PSM, WADI, and MSL. The results demonstrate outstanding performance, with F1 scores of 90.58%, 94.83%, 91.58%, and 91.75%, respectively. These findings affirm the superiority of the CLME model over existing state-of-the-art anomaly detection methodologies in terms of its ability to detect anomalies within complex datasets accurately.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Anomaly Detection Techniques and Applications · Network Security and Intrusion Detection · Time Series Analysis and Forecasting

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (34)

Show source-provided references
1. A review on outlier/anomaly detection in time series data10.1145/3444690 ↗
2. USAD: Unsupervised anomaly detection on multivariate time series
3. Unsupervised anomaly detection via variational auto-encoder for seasonal kpis in web applications
4. Learning sparse latent graph representations for anomaly detection in multivariate time series
5. Contrastive autoencoder for anomaly detection in multivariate time series10.1016/j.ins.2022.07.179 ↗
6. Anomaly detection using a model-agnostic meta-learning-based variational auto-encoder for facility management10.1016/j.jobe.2023.106099 ↗
7. A multimodal anomaly detector for robot-assisted feeding using an lstm-based variational autoencoder10.1109/LRA.2018.2801475 ↗
8. Timeseries anomaly detection using temporal hierarchical one-class network
9. Decomposed transformer with frequency attention for multivariate time series anomaly detection
10. TimesNet: Temporal 2D-variation modeling for general time series analysis
11. TranAD: Deep transformer networks for anomaly detection in multivariate time series data
12. A dilated transformer network for time series anomaly detection
13. Attention is all you need
14. Learning graph structures with transformer for multivariate time series anomaly detection in IoT10.1109/JIOT.2021.3100509 ↗
15. Multivariate time series anomaly detection with adversarial transformer architecture in the Internet of Things10.1016/j.future.2023.02.015 ↗
16. GReLeN: Multivariate time series anomaly detection from the perspective of graph relational learning
17. Probabilistic autoencoder with multi-scale feature extraction for multivariate time series anomaly detection10.1007/s10489-022-04324-3 ↗
18. Memory-augmented U-Transformer for multivariate time series anomaly detection
19. Adaptive memory networks with self-supervised learning for unsupervised anomaly detection
20. Multivariate time-series anomaly detection via graph attention network
21. Memorizing normality to detect anomaly: Memory-augmented deep autoencoder for unsupervised anomaly detection
22. Unsupervised anomaly detection approach based on adversarial memory autoencoders for multivariate time series10.32604/cmc.2023.038595 ↗
23. Tsmae: A novel anomaly detection approach for internet of things time series data using memory-augmented autoencoder
24. Memory-augmented appearance-motion network for video anomaly detection10.1016/j.patcog.2023.109335 ↗
25. Appearance-motion memory consistency network for video anomaly detection
26. Unsupervised outlier detection using memory and contrastive learning10.1109/TIP.2022.3211476 ↗
27. Cluster-memory augmented deep autoencoder via optimal transportation for hyperspectral anomaly detection10.1109/TGRS.2022.3180548 ↗
28. Time-series representation learning via temporal and contextual contrasting
29. TS2Vec: Towards universal representation of time series
30. An attention free transformer
31. A simple framework for contrastive learning of visual representations
32. Dual-branch network with memory for video anomaly detection10.1007/s00530-022-00991-x ↗
33. Learning memory-guided normality for anomaly detection
34. ADAM: A method for stochastic optimization