Residual-Tail-Informed Flow Matching for Time Series Anomaly Detection
Shyam Sundar Saravanan, Tie Luo, Sanjay Madria
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-FMtime-series-anomaly
Create a lesson
Related papers
Late-Time Dynamics of Flow Matching: Distance Geometry and Learning
Shared title terminology · Umberto Biccari, Junqing Huang, Kang Liu et al.
Mamba Flow Matching Neural Processes: Linear-Time Inference for Irregularly Observed Spatial Fields
Shared title terminology · Cosmo Santoni, Giovanni Charles, Timothy James Hitge et al.
Lift Out, Kick In: Decoupling Event Effects for Time Series Forecasting
Shared title terminology · Yunying Zhu, Zichun Cao, Siwei Sun et al.
Hierarchical Hybrid-Coordinate Flow Matching for Accurate and Physically Plausible Apo-to-Holo Protein Generation
Shared title terminology · Minjong Kim, Jaemin Sim, Dongwoo Kim et al.
COMPASS: Cross-modal Observation with Multi-Path Adaptive Stopping and Selection for Early Time Series Classification
Shared title terminology · Cheng-En Chung, Yujia Wu, Oscar Tai-Yuan Chen et al.
Self-Supervised Learning with Recursive Quadrature Filters for Neural Time Series
Shared title terminology · Mirko Morello, Shivang Rawat, David J. Heeger