English

Generative Anomaly Detection for Time Series Datasets

Machine Learning 2022-06-30 v1 Artificial Intelligence Signal Processing

Abstract

Traffic congestion anomaly detection is of paramount importance in intelligent traffic systems. The goals of transportation agencies are two-fold: to monitor the general traffic conditions in the area of interest and to locate road segments under abnormal congestion states. Modeling congestion patterns can achieve these goals for citywide roadways, which amounts to learning the distribution of multivariate time series (MTS). However, existing works are either not scalable or unable to capture the spatial-temporal information in MTS simultaneously. To this end, we propose a principled and comprehensive framework consisting of a data-driven generative approach that can perform tractable density estimation for detecting traffic anomalies. Our approach first clusters segments in the feature space and then uses conditional normalizing flow to identify anomalous temporal snapshots at the cluster level in an unsupervised setting. Then, we identify anomalies at the segment level by using a kernel density estimator on the anomalous cluster. Extensive experiments on synthetic datasets show that our approach significantly outperforms several state-of-the-art congestion anomaly detection and diagnosis methods in terms of Recall and F1-Score. We also use the generative model to sample labeled data, which can train classifiers in a supervised setting, alleviating the lack of labeled data for anomaly detection in sparse settings.

Keywords

Cite

@article{arxiv.2206.14597,
  title  = {Generative Anomaly Detection for Time Series Datasets},
  author = {Zhuangwei Kang and Ayan Mukhopadhyay and Aniruddha Gokhale and Shijie Wen and Abhishek Dubey},
  journal= {arXiv preprint arXiv:2206.14597},
  year   = {2022}
}

Comments

A shorter version of the paper was accepted at the ITSC 2022

R2 v1 2026-06-24T12:08:14.672Z