This repository provides a PyTorch implementation of MADGA, which transforms the unsupervised anomaly detection to graph alignment problem.
We test our method for five publicly processed datasets, e.g., SWaT, WADI, PSM, MSL, and SMD.
SWaTWADIPSMis released inRANSynCoders.MSLis released inGDN.SMDis released inOmniAnomaly.
mkdir Dataset
cd Dataset
mkdir inputDownload the dataset in Data/input.
- train for MADGA For example, training for WADI
sh script/run_WADI.sh- train for
DeepSVDD,DeepSAD,DROCC, andALOCC.
python3 baseline_train.py --name SWaT --model DeepSVDD- train for
USADandDAGMMWe report the results by the implementations in the following links:USADandDAGMM
We provide the pretained model of MADGA.
For example, testing for WADI
sh script/test_WADI.shIf you find this paper or repository helpful, please cite our paper. Thanks a lot~
@article{wang2024interdependency,
title={Interdependency Matters: Graph Alignment for Multivariate Time Series Anomaly Detection},
author={Wang, Yuanyi and Sun, Haifeng and Wang, Chengsen and Zhu, Mengde and Wang, Jingyu and Tang, Wei and Qi, Qi and Zhuang, Zirui and Liao, Jianxin},
journal={arXiv preprint arXiv:2410.08877},
year={2024}
}
