Skip to content

PatchAD, deep learning, anomaly detection, outlier detection, time series

License

Notifications You must be signed in to change notification settings

EmorZz1G/PatchAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatchAD

This is the implementation of PatchAD: A Lightweight Patch-based MLP-Mixer for Time Series Anomaly Detection.

You can download the paper from arXiv.

Abstract

Anomaly detection in time series analysis is a pivotal task, yet it poses the challenge of discerning normal and abnormal patterns in label-deficient scenarios. While prior studies have largely employed reconstruction-based approaches, which limits the models' representational capacities. Moreover, existing deep learning-based methods are often not sufficiently lightweight. Addressing these issues, we present PatchAD, our novel, highly efficient multi-scale patch-based MLP-Mixer architecture that utilizes contrastive learning for representation extraction and anomaly detection. With its four distinct MLP Mixers and innovative dual project constraint module, PatchAD mitigates potential model degradation and offers a lightweight solution, requiring only 3.2MB. Its efficacy is demonstrated by state-of-the-art results across nine datasets, outperforming over 30 comparative algorithms. PatchAD significantly improves the classical F1 score by 50.5%, the Aff-F1 score by 7.8%, and the AUC by 10.0%. The code is publicly available.

Architecture

Architecture

Overall Performance & Model Size

Overall Performance Model Size

Datasets

You can download all datasets here. (Thanks for DCdetector repo and its authors.)

Citation

If you find this repo useful, please cite our paper.

@misc{zhong2024patchad,
    title={PatchAD: A Lightweight Patch-based MLP-Mixer for Time Series Anomaly Detection},
    author={anonymous authors},
    year={2024},
    eprint={2401.09793},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

About

PatchAD, deep learning, anomaly detection, outlier detection, time series

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages