SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.09690 · 2026

Contextual and Seasonal LSTMs for Time Series Anomaly Detection

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 2 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

FunctionStatusWhere it lives
CSLSTMs Ran NESA-Lab/Contextual-and-Seasonal-LSTMs-for-TSAD/CS-LSTMs/cs_lstms.py
pointer only (licence: NONE) · get_code("ee7683e3830fee5e")
Series_decop Ran NESA-Lab/Contextual-and-Seasonal-LSTMs-for-TSAD/CS-LSTMs/cs_lstms.py
pointer only (licence: NONE) · get_code("a8c7d14050970ad9")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 frequencydomain 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-theart methods, highlighting their effectiveness and practical value in robust time series anomaly detection.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.09690")
get_code_for_paper("2602.09690")
have("2602.09690")

Connect an agent — have() is free.