首页 > AI前沿 > CAST: Context- and Anomaly Structure-Conditioned Time Series Anomaly Generation

CAST: Context- and Anomaly Structure-Conditioned Time Series Anomaly Generation

arXiv机器学习 2026-08-19 10:14 7 阅读 查看原文

Anomalous time series play a critical role in safety-critical domains, yet they are inherently scarce, heterogeneous, and costly to obtain.

Existing time series generation methods predominantly focus on synthesizing normal data, providing limited value when anomalous samples are needed.

We identify two fundamental challenges in anomaly generation: (i) the scarcity of anomaly data, and (ii) the heterogeneous morphological characteristics of anomalies.

To address these challenges, we propose CAST, a Context- and Anomaly Structure-conditioned Time series anomaly generation framework with principled two-stage pretraining and finetuning strategy.

In pretraining stage, we leverage abundant normal time series data to learn underlying system dynamics and substantially mitigate the limited availability of anomaly data.

During finetuning, CAST explicitly conditions the generator on learned anomaly structure representations, enabling it to capture heterogeneous anomaly morphologies under similar contextual conditions.

Extensive experiments on multiple real-world univariate and multivariate datasets demonstrate that CAST consistently outperforms state-of-the-art anomaly generation methods in terms of both generation fidelity and downstream task utility, highlighting the effectiveness of the proposed approach.