cs.LGNov 15, 2026

Residual-Tail-Informed Flow Matching for Time Series Anomaly Detection

Authors: Shyam Sundar Saravanan, Tie Luo, Sanjay Madria

Organizations: Department of Computer Science, Missouri University of Science and Technology, Rolla, MO, USA · Department of Electrical and Computer Engineering, University of Kentucky, Lexington, KY 40506, USA

Abstract

Time series anomaly detection (TSAD) models are often trained on nominal data using average-risk objectives, which emphasize dominant normal patterns. However, real time series can contain rare but valid nominal regimes that are underrepresented in the training distribution. We show that data-space flow matching can over-penalize such rare-normal windows and assign them anomaly scores comparable to those of true anomalies. To address this, we propose Residual-Tail-Informed Flow Matching (RT-FM), an unsupervised framework that uses a temporal variational autoencoder to estimate residual latent tailness and converts it into bounded, warmup-annealed weights for training a data-space flow matching model. Experiments on seven TSAD benchmarks show that RT-FM improves rare-normal coverage while preserving strong anomaly discrimination, substantially reducing false alarms on such windows and resulting in improved aggregate detection performance. The code is available at: https://github.com/trustAIoT/RT-FM_time-series-anomaly

Figures & tables

Explore similar work

CardsList
  1. HCFM: Helmholtz Component Flow Matching for Time Series Anomaly Detection

    Oct 18, 2026Shyam Sundar Saravanan, Tie Luo, Sanjay MadriaTime-Series Anomaly DetectionUnsupervised Anomaly Detection

  2. VAN-AD: Visual Masked Autoencoder with Normalizing Flow For Time Series Anomaly Detection

    Mar 27, 2026PengYu Chen, Shang Wan, Xiaohou Shi +3Masked AutoencodersVision Foundation Model Adaptation

  3. Temporal-Conditioned Normalizing Flows for Multivariate Time Series Anomaly Detection

    Mar 10, 2026David Baumgartner, Helge Langseth, Kenth Engø-Monsen +1Time-Series Anomaly DetectionNormalizing Flows