https://github.com/aimilefth/anomaly-transformer

About Code release for "Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy" (ICLR 2022 Spotlight), https://openreview.net/forum?id=LzQQ89U1qm_

https://github.com/aimilefth/anomaly-transformer

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

About Code release for "Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy" (ICLR 2022 Spotlight), https://openreview.net/forum?id=LzQQ89U1qm_

Basic Info
  • Host: GitHub
  • Owner: aimilefth
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 26 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of thuml/Anomaly-Transformer
Created over 1 year ago · Last pushed over 1 year ago

https://github.com/aimilefth/Anomaly-Transformer/blob/main/

# Anomaly-Transformer (ICLR 2022 Spotlight)
Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy

Unsupervised detection of anomaly points in time series is a challenging problem, which requires the model to learn informative representation and derive a distinguishable criterion. In this paper, we propose the Anomaly Transformer in these three folds:

- An inherent distinguishable criterion as **Association Discrepancy** for detection.
- A new **Anomaly-Attention** mechanism to compute the association discrepancy.
- A **minimax strategy** to amplify the normal-abnormal distinguishability of the association discrepancy.

## Get Started 1. Install Python 3.6, PyTorch >= 1.4.0. (Thanks lise for the contribution in solving the environment. See this [issue](https://github.com/thuml/Anomaly-Transformer/issues/11) for details.) 2. Download data. You can obtain four benchmarks from [Google Cloud](https://drive.google.com/drive/folders/1gisthCoE-RrKJ0j3KPV7xiibhHWT9qRm?usp=sharing). **All the datasets are well pre-processed**. For the SWaT dataset, you can apply for it by following its official tutorial. 3. Train and evaluate. We provide the experiment scripts of all benchmarks under the folder `./scripts`. You can reproduce the experiment results as follows: ```bash bash ./scripts/SMD.sh bash ./scripts/MSL.sh bash ./scripts/SMAP.sh bash ./scripts/PSM.sh ``` Especially, we use the adjustment operation proposed by [Xu et al, 2018](https://arxiv.org/pdf/1802.03903.pdf) for model evaluation. If you have questions about this, please see this [issue](https://github.com/thuml/Anomaly-Transformer/issues/14) or email us. ## Main Result We compare our model with 15 baselines, including THOC, InterFusion, etc. **Generally, Anomaly-Transformer achieves SOTA.**

## Citation If you find this repo useful, please cite our paper. ``` @inproceedings{ xu2022anomaly, title={Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy}, author={Jiehui Xu and Haixu Wu and Jianmin Wang and Mingsheng Long}, booktitle={International Conference on Learning Representations}, year={2022}, url={https://openreview.net/forum?id=LzQQ89U1qm_} } ``` ## Contact If you have any question, please contact wuhx23@mails.tsinghua.edu.cn.

Owner

  • Login: aimilefth
  • Kind: user

GitHub Events

Total
  • Push event: 9
Last Year
  • Push event: 9