Attention and Autoencoder Hybrid Model for Unsupervised Online Anomaly Detection

Seyed Amirhossein Najafi, Mohammad Hassan Asemani, Peyman Setoodeh
1/6/2024
cs.LGcs.AIeess.SP

No confident code implementation found for this paper.

Abstract

This paper introduces a hybrid attention and autoencoder (AE) model for unsupervised online anomaly detection in time series. The autoencoder captures local structural patterns in short embeddings, while the attention model learns long-term features, facilitating parallel computing with positional encoding. Unique in its approach, our proposed hybrid model combines attention and autoencoder for the first time in time series anomaly detection. It employs an attention-based mechanism, akin to the deep transformer model, with key architectural modifications for predicting the next time step window in the autoencoder's latent space. The model utilizes a threshold from the validation dataset for anomaly detection and introduces an alternative method based on analyzing the first statistical moment of error, improving accuracy without dependence on a validation dataset. Evaluation on diverse real-world benchmark datasets and comparing with other well-established models, confirms the effectiveness of our proposed model in anomaly detection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{najafi2024attention,
  title  = {Attention and Autoencoder Hybrid Model for Unsupervised Online Anomaly Detection},
  author = {Seyed Amirhossein Najafi and Mohammad Hassan Asemani and Peyman Setoodeh},
  year   = {2024},
  eprint = {2401.03322},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.03322v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.03322.svg)](https://codeofpaper.com/paper/2401.03322)

Discussion