English

AMAD: AutoMasked Attention for Unsupervised Multivariate Time Series Anomaly Detection

Machine Learning 2025-04-28 v3 Artificial Intelligence

Abstract

Unsupervised multivariate time series anomaly detection (UMTSAD) plays a critical role in various domains, including finance, networks, and sensor systems. In recent years, due to the outstanding performance of deep learning in general sequential tasks, many models have been specialized for deep UMTSAD tasks and have achieved impressive results, particularly those based on the Transformer and self-attention mechanisms. However, the sequence anomaly association assumptions underlying these models are often limited to specific predefined patterns and scenarios, such as concentrated or peak anomaly patterns. These limitations hinder their ability to generalize to diverse anomaly situations, especially where the lack of labels poses significant challenges. To address these issues, we propose AMAD, which integrates \textbf{A}uto\textbf{M}asked Attention for UMTS\textbf{AD} scenarios. AMAD introduces a novel structure based on the AutoMask mechanism and an attention mixup module, forming a simple yet generalized anomaly association representation framework. This framework is further enhanced by a Max-Min training strategy and a Local-Global contrastive learning approach. By combining multi-scale feature extraction with automatic relative association modeling, AMAD provides a robust and adaptable solution to UMTSAD challenges. Extensive experimental results demonstrate that the proposed model achieving competitive performance results compared to SOTA benchmarks across a variety of datasets.

Keywords

Cite

@article{arxiv.2504.06643,
  title  = {AMAD: AutoMasked Attention for Unsupervised Multivariate Time Series Anomaly Detection},
  author = {Tiange Huang and Yongjun Li},
  journal= {arXiv preprint arXiv:2504.06643},
  year   = {2025}
}

Comments

fix some grammar issues

R2 v1 2026-06-28T22:51:56.276Z