Abstract
Unsupervised Time Series Anomaly Detection (TSAD) often suffers from a lack of labeled anomalous data. GenIAS (Generator for Instantiating Anomalies in Time Series) addresses this "cold start" problem by generating realistic, diverse synthetic anomalies through latent-space perturbation. By utilizing a Temporal Convolutional Network-based Variational Autoencoder (TCN-VAE) with a tunable compact prior, GenIAS creates training signals that respect temporal context and multi-dimensional correlations. Experimental results across nine benchmarks show that GenIAS-enhanced models outperform state-of-the-art baselines by up to 29% in F1 score.
Introduction
The scarcity of labeled anomalies makes TSAD a challenging unsupervised task. While synthetic anomaly injection is a common workaround, traditional methods often produce simplistic "cut-paste" noise that lacks realism or temporal consistency. These "out-of-context" anomalies can lead to poor model generalization and high false-positive rates when the boundary between normal and synthetic data is poorly defined. GenIAS overcomes these limitations by moving the generation process from the raw data space into a structured latent space.
Methodology
GenIAS employs a hybrid architecture combining Temporal Convolutional Networks (TCNs) for long-range dependency modeling with a Variational Autoencoder (VAE) for latent representation.
Latent Space Perturbation
Unlike standard VAEs, GenIAS introduces a compact KL divergence loss with a tunable prior ($\sigma_{prior} < 1$). This forces normal data into a tight manifold, widening the gap between normal and anomalous samples. Rather than shifting the latent mean—which can create unrealistic "hallucinations"—GenIAS perturbs the latent variance ($\sigma$) using a learnable scale ($\psi$). This approach generates "extreme versions" of existing patterns, mimicking real-world surges or oscillations while maintaining the underlying data "shape."
Deviation-Based Patching
To maintain realism, GenIAS uses a patching strategy that only replaces specific dimensions where the deviation exceeds a threshold. This ensures that the generated anomaly is embedded within a realistic temporal context, preserving normal behavior in non-anomalous dimensions.
Experimental Results
The framework was evaluated on nine multivariate and univariate benchmarks, including MSL, SMAP, and Yahoo-A1. When integrated with the CARLA detector, GenIAS achieved an average F1 score improvement of 9.4% over the next best baseline.
Visual analysis via t-SNE (above) demonstrates that GenIAS-generated anomalies overlap significantly with real ground-truth anomalies. In contrast, baseline methods like NCAD or CutAddPaste often generate anomalies in regions of the latent space that real data never occupies, leading to less effective training signals.
Conclusion
GenIAS demonstrates that latent-space variance perturbation is a powerful tool for generating high-quality synthetic anomalies. By focusing on compactness and context-aware patching, it provides a robust solution for the "cold start" problem in time series anomaly detection. Future work will explore adaptive perturbation scales and explicit modeling of inter-dimensional correlations to further enhance synthetic data complexity.
Summary updated