Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Contextual and Seasonal LSTMs for Time Series Anomaly Detection

About

Univariate time series (UTS), where each timestamp records a single variable, serve as crucial indicators in web systems and cloud servers. Anomaly detection in UTS plays an essential role in both data mining and system reliability management. However, existing reconstruction-based and prediction-based methods struggle to capture certain subtle anomalies, particularly small point anomalies and slowly rising anomalies. To address these challenges, we propose a novel prediction-based framework named Contextual and Seasonal LSTMs (CS-LSTMs). CS-LSTMs are built upon a noise decomposition strategy and jointly leverage contextual dependencies and seasonal patterns, thereby strengthening the detection of subtle anomalies. By integrating both time-domain and frequency-domain representations, CS-LSTMs achieve more accurate modeling of periodic trends and anomaly localization. Extensive evaluations on public benchmark datasets demonstrate that CS-LSTMs consistently outperform state-of-the-art methods, highlighting their effectiveness and practical value in robust time series anomaly detection.

Lingpei Zhang, Qingming Li, Yong Yang, Jiahao Chen, Rui Zeng, Chenyang Lyu, Shouling Ji• 2026

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionWSD (test)
F1 Score0.91
23
Univariate Time Series Anomaly DetectionECG UCR Archive (test)
F1 Score91.8
22
Univariate Time Series Anomaly DetectionCIMIS44AirTemperature UCR Archive (test)
F1 Score95
22
Anomaly DetectionNAB (test)
F1 Score99.6
17
Anomaly DetectionYahoo (test)
F1 Score88.5
17
Inference EfficiencyInference Efficiency Evaluation
Inference Latency (s)0.0046
12
Anomaly DetectionKPI (test)
F1 Score92.9
6
Univariate Anomaly DetectionIT monitoring datasets
CPU Time (s)210
5
Showing 8 of 8 rows

Other info

Follow for update