A time–frequency contrastive learning model for anomaly detection in multivariate time series

Anomaly detection in multivariate time series is critical for applications such as industrial maintenance, early warning systems, and environmental monitoring. However, existing reconstruction-based models often exhibit poor generalization and high false-negative rates, limiting their effectiveness. To address these challenges, this paper proposes a time–frequency contrastive learning (TFCL) anomaly detection model that integrates a contrastive learning module with a gated feature fusion module. The contrastive learning module employs a time-weighted and temperature-controlled loss function to enhance feature representation from both time and frequency perspectives. Meanwhile, the feature fusion module utilizes a gating mechanism to dynamically adjust the integration of time and frequency features, generating robust joint representations. Additionally, a latent-feature-driven and component-weighted anomaly discrimination strategy is proposed, leveraging reconstruction residuals and feature importance to precisely identify anomalies. The model’s performance was evaluated on publicly available datasets (SWaT and WADI) and real-world air quality monitoring data (AQMD). Experimental results demonstrate that TFCL achieves an average F1 score of 92.47% on SWaT and WADI, outperforming state-of-the-art methods and demonstrating good generalization. Moreover, the proposed TFCL achieves accurate anomaly detection in AQMD, which highlights its practical value in real-world scenarios.

Authors

Institutions

Publication Details

Journal
Complex & Intelligent Systems
Published
2025-10-24
DOI
https://doi.org/10.1007/s40747-025-02119-w
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A time–frequency contrastive learning model for anomaly detection in multivariate time series

Kong Pengfei, Xin Li, Ying Liu, Wěi Zhāng et al.
Complex & Intelligent Systems
Anomaly Detection Techniques and Applications
article

A time–frequency contrastive learning model for anomaly detection in multivariate time series

Kong Pengfei, Xin Li, Ying Liu, Wěi Zhāng, Shuo Zhang, Jian Ma, Huijuan Li
article en

Abstract

Anomaly detection in multivariate time series is critical for applications such as industrial maintenance, early warning systems, and environmental monitoring. However, existing reconstruction-based models often exhibit poor generalization and high false-negative rates, limiting their effectiveness. To address these challenges, this paper proposes a time–frequency contrastive learning (TFCL) anomaly detection model that integrates a contrastive learning module with a gated feature fusion module. The contrastive learning module employs a time-weighted and temperature-controlled loss function to enhance feature representation from both time and frequency perspectives. Meanwhile, the feature fusion module utilizes a gating mechanism to dynamically adjust the integration of time and frequency features, generating robust joint representations. Additionally, a latent-feature-driven and component-weighted anomaly discrimination strategy is proposed, leveraging reconstruction residuals and feature importance to precisely identify anomalies. The model’s performance was evaluated on publicly available datasets (SWaT and WADI) and real-world air quality monitoring data (AQMD). Experimental results demonstrate that TFCL achieves an average F1 score of 92.47% on SWaT and WADI, outperforming state-of-the-art methods and demonstrating good generalization. Moreover, the proposed TFCL achieves accurate anomaly detection in AQMD, which highlights its practical value in real-world scenarios.

Complex & Intelligent SystemsVol. 11(12)
University of Electronic Science and Technology of China (CN), Hebei University of Science and Technology (CN)
Openalex Percentile: Top 84%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A time–frequency contrastive learning model for anomaly detection in multivariate time series — Kong Pengfei, Xin Li, et al. · Complex & Intelligent Systems (2025) | TGRS Research Map | TGRS