Home

Awesome

GANF

Offical implementation of "Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series" (ICLR 2022). [paper]

Requirements

torch==1.7.1

Overview

Datasets

The paper uses three datasets for experiments:

Experiments

To train a GANF model on SWaT, run the bash script:

bash train_water.sh

The training log will be located at ./log as a reference to reproduce the results in the paper.

We also provide trained models in ./checkpoint/eval for evaluation. You can call:

python eval_water.py

To train a GANF model on Metr-LA, run:

python train_traffic.py

Citation

If you find this repo useful, please cite the paper. Thank you!

@inproceedings{
dai2022graphaugmented,
title={Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series},
author={Enyan Dai and Jie Chen},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=45L_dgP48Vd}
}