Mamba Adaptive Anomaly Transformer with association discrepancy for time series

Abdellah Zakaria Sellam, Ilyes Benaissa, Abdelmalik Taleb-Ahmed, Luigi Patrono, Cosimo Distante
2/11/2025
cs.LG

No official code found. Best implementation: ilyesbenaissa/MAAT (31 stars, last commit 2025-11-14).

Abstract

Anomaly detection in time series is essential for industrial monitoring and environmental sensing, yet distinguishing anomalies from complex patterns remains challenging. Existing methods like the Anomaly Transformer and DCdetector have progressed, but they face limitations such as sensitivity to short-term contexts and inefficiency in noisy, non-stationary environments. To overcome these issues, we introduce MAAT, an improved architecture that enhances association discrepancy modeling and reconstruction quality. MAAT features Sparse Attention, efficiently capturing long-range dependencies by focusing on relevant time steps, thereby reducing computational redundancy. Additionally, a Mamba-Selective State Space Model is incorporated into the reconstruction module, utilizing a skip connection and Gated Attention to improve anomaly localization and detection performance. Extensive experiments show that MAAT significantly outperforms previous methods, achieving better anomaly distinguishability and generalization across various time series applications, setting a new standard for unsupervised time series anomaly detection in real-world scenarios.

View on arXivView PDF

Code Implementations(1)

ilyesbenaissa/MAATCommunity100%

Official Implementation of Mamba Adaptive Anomaly Transformer (MAAT) - paper is now available in Engineering Applications of Artificial Intelligence Journal: https://doi.org/10.1016/j.engappai.2025.111685

316Shell, PythonFeb 19, 202511 months ago

Similar Papers

Cite this paper

@article{sellam2025mamba,
  title  = {Mamba Adaptive Anomaly Transformer with association discrepancy for time series},
  author = {Abdellah Zakaria Sellam and Ilyes Benaissa and Abdelmalik Taleb-Ahmed and Luigi Patrono and Cosimo Distante},
  year   = {2025},
  eprint = {2502.07858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.07858v3}
}

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/2502.07858.svg)](https://codeofpaper.com/paper/2502.07858)

Discussion