English

GenIAS: Generator for Instantiating Anomalies in time Series

Machine Learning 2026-02-06 v2

Abstract

Synthetic anomaly injection is a recent and promising approach for time series anomaly detection (TSAD), but existing methods rely on ad hoc, hand-crafted strategies applied to raw time series that fail to capture diverse and complex anomalous patterns, particularly in multivariate settings. We propose a synthetic anomaly generation method named Generator for Instantiating Anomalies in Time Series (GenIAS), which generates realistic and diverse anomalies via a novel learnable perturbation in the latent space of a variational autoencoder. This enables abnormal patterns to be injected across different temporal segments at varying scales based on variational reparameterization. To generate anomalies that align with normal patterns while remaining distinguishable, we introduce a learning strategy that jointly learns the perturbation scale and compact latent representations via a tunable prior, which improves the distinguishability of generated anomalies, as supported by our theoretical analysis. Extensive experiments show that GenIAS produces more diverse and realistic anomalies, and that detection models trained with these anomalies outperform 17 baseline methods on 9 popular TSAD benchmarks.

Keywords

Cite

@article{arxiv.2502.08262,
  title  = {GenIAS: Generator for Instantiating Anomalies in time Series},
  author = {Zahra Zamanzadeh Darban and Qizhou Wang and Geoffrey I. Webb and Shirui Pan and Charu C. Aggarwal and Mahsa Salehi},
  journal= {arXiv preprint arXiv:2502.08262},
  year   = {2026}
}