mlsanityData to 14 Oct 2026

Sub-Adjacent Transformer: Improving Time Series Anomaly Detection with Reconstruction Error from Sub-Adjacent Neighborhoods

arXiv 2404.18948 ↗First posted 27 Apr 2024cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

In this paper, we present the Sub-Adjacent Transformer with a novel attention mechanism for unsupervised time series anomaly detection. Unlike previous approaches that rely on all the points within some neighborhood for time point reconstruction, our method restricts the attention to regions not immediately adjacent to the target points, termed sub-adjacent neighborhoods. Our key observation is that owing to the rarity of anomalies, they typically exhibit more pronounced differences from their sub-adjacent neighborhoods than from their immediate vicinities. By focusing the attention on the sub-adjacent areas, we make the reconstruction of anomalies more challenging, thereby enhancing their detectability. Technically, our approach concentrates attention on the non-diagonal areas of the attention matrix by enlarging the corresponding elements in the training stage. To facilitate the implementation of the desired attention matrix pattern, we adopt linear attention because of its flexibility and adaptability. Moreover, a learnable mapping function is proposed to improve the performance of linear attention. Empirically, the Sub-Adjacent Transformer achieves state-of-the-art performance across six real-world anomaly detection benchmarks, covering diverse fields such as server monitoring, space exploration, and water treatment.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 22 of its 49 references that are in the map. First posted on arXiv 27 Apr 2024.

Builds on

22 of 49 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  7. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
  8. 2018Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholdingcited by 410
  9. 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 394
  10. 2021Graph Neural Network-Based Anomaly Detection in Multivariate Time Seriescited by 301
  11. 2022TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Datacited by 214
  12. 2017A Multimodal Anomaly Detector for Robot-Assisted Feeding Using an LSTM-based Variational Autoencodercited by 209
10 more
  1. 2018A Deep Neural Network for Unsupervised Anomaly Detection and Diagnosis in Multivariate Time Series Datacited by 182
  2. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  3. 2020Multivariate Time-series Anomaly Detection via Graph Attention Networkcited by 167
  4. 2021Learning Graph Structures with Transformer for Multivariate Time Series Anomaly Detection in IoTcited by 104
  5. 2021An Evaluation of Anomaly Detection and Diagnosis in Multivariate Time Seriescited by 68
  6. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  7. 2021Adjusting for Autocorrelated Errors in Neural Networks for Time Seriescited by 18
  8. 2023Nominality Score Conditioned Time Series Anomaly Detection by Point/Sequential Reconstructioncited by 17
  9. 2023Time Series Anomaly Detection using Diffusion-based Modelscited by 12
  10. 2022A Comparative Study on Unsupervised Anomaly Detection for Time Series: Experiments and Analysiscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 4.

10 papers.