cs.LGMar 13, 2026

Surprised by Attention: Predictable Query Dynamics for Time Series Anomaly Detection

Authors: Kadir-Kaan Özer, René Ebeling, Markus Enzweiler

Organizations: Mercedes-Benz AG, Germany · Institute for Intelligent Systems, Esslingen University of Applied Sciences, Germany

Abstract

Multivariate time series anomalies often manifest as shifts in cross-channel dependencies rather than simple amplitude excursions. In autonomous driving, for instance, a steering command might be internally consistent but decouple from the resulting lateral acceleration. Residual-based detectors can miss such anomalies when flexible sequence models still reconstruct signals plausibly despite altered coordination. We introduce AxonAD, an unsupervised detector that treats multi-head attention query evolution as a short horizon predictable process. A gradient-updated reconstruction pathway is coupled with a history-only predictor that forecasts future query vectors from past context. This is trained via a masked predictor-target objective against an exponential moving average (EMA) target encoder. At inference, reconstruction error is combined with a tail-aggregated query mismatch score, which measures cosine deviation between predicted and target queries on recent timesteps. This dual approach provides sensitivity to structural dependency shifts while retaining amplitude-level detection. On proprietary in-vehicle telemetry with interval annotations and on the TSB-AD multi-variate suite (17 datasets, 180 series) with threshold-free and range-aware metrics, AxonAD improves ranking quality and temporal localization over strong baselines. Ablations confirm that query prediction and combined scoring are the primary drivers of the observed gains. Code is available at the URL https://github.com/iis-esslingen/AxonAD.

Figures & tables

Explore similar work

CardsList
  1. Correlation-Aware Reconstruction for Multivariate Time Series Anomaly Detection

    Oct 11, 2026Md. Johir Raihan, Zahra Zamanzadeh Darban, Yueyang Liu +3Time-Series Anomaly DetectionAnomaly Detection

  2. No Scale Left Behind: Multi-Scale Autoencoder with Bi-directional Attention for Time Series Anomaly Detection

    Sep 29, 2026Jiaheng Guo, Haochen Zhang, Yu-Chao Huang +3Reconstruction-Based Anomaly DetectionAttention Mechanisms

  3. PaAno+: Multiscale Encoding and Cross-Variable Attention for Time Series Anomaly Detection

    Jun 18, 2026Youji Zhu, Hongbing Wang, Wenchao Liu +2Self-Supervised Time Series Representation LearningTime-Series Anomaly Detection