Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260100122-813.doi: 10.11896/jsjkx.260100122

• Big Data & Data Science • Previous Articles     Next Articles

TCVAE:Robust Semi-supervised Anomaly Detection Method for Industrial Time Series Stream Data——Case Study on Water Level Anomaly Detection in Industrial Pump Rooms

WANG Zhonglei1, SUN Di1, XU Luyu2, WANG Tianyu2, HUANG Shuaibo3, DONG Xinxin2   

  1. 1 Guoneng Xuzhou Power Generation Co.,Ltd.,Xuzhou,Jiangsu 221100,China
    2 School of Energy and Mechanical Engineering,Nanjing Normal University,Nanjing 210023,China
    3 School of Integrated Circuits,Southeast University,Nanjing 211189,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:WANG Zhonglei,born in 1984,engineer.His main research interests include electrical engineering and automatic control.
    DONG Xinxin,born in 1991,Ph.D,associate professor.His main research interest is engineering thermophysics and its process simulation.
  • Supported by:
    This work was supported by the Youth Talents Support Program in Jiangsu(TSTJ-2025-208) and Scientific Research Foundation for Recruited Talents,Nanjing Normal University(184080H201B74).

Abstract: The water level in industrial pump stations is influenced by various factors,including groundwater levels,pipeline conditions,and pump power,typically exhibiting a regular and periodic fluctuation curve.Abnormal variations in this curve generally indicate sudden anomalies in equipment or resources.Timely and accurate anomaly detection is a critical task in daily infrastructure maintenance and operation,essential for preventing catastrophic consequences.However,facility management for water level control is challenging and time-consuming.The rarity of anomalous states further exacerbates this issue,creating an urgent need for automated,efficient,and precise detection methods.To address this,this paper proposes a semi-supervised anomaly detection method based on a time-series contrastive variational autoencoder.the proposed method utilizes a bidirectional long short-term memory(Bi-LSTM) network-based encoder-decoder architecture to capture the bidirectional dependencies of water level time series.A key innovation lies in the design of a hybrid loss function composed of reconstruction loss,contrastive loss,and encoding loss.Specifically,the contrastive loss introduces a dynamically updated normal prototype vector.This mechanism constrains the features of normal samples to cluster toward the prototype in the model’s latent space while repelling abnormal sample features,thereby forming a clear and adaptive decision boundary.Experimental results demonstrate that the proposed method effectively utilizes a small amount of labeled anomaly samples and exhibits strong robustness against domain shifts in normal data distributions.On the UCR time-series dataset,with only 5% labeled anomaly data,the method achieves a 6.2% improvement in F1-score compared to traditional deep autoencoder models.This approach provides an efficient and reliable technical solution for the intelligent operation and maintenance of water level monitoring facilities.

Key words: Anomaly detection, Deep learning, Variational autoencoder, Contrastive learning, Time series, Domain shift

CLC Number: 

  • TP183
[1] KANYAMA M N,BHUNU SHAVA F,GAMUNDANI A M,et al.Machine learning applications for anomaly detection in Smart Water Metering Networks:A systematic review[J].Physics and Chemistry of the Earth,Parts A/B/C,2024,134:103558.
[2] HU C,ZHOU L,GONG Y,et al.Research on Water Level Anomaly Data Alarm Based on CNN-BiLSTM-DA Model[J].Water,2023,15(9):1659.
[3] XIE X,WANG B,WAN T,et al.Multivariate Abnormal Detection for Industrial Control Systems Using 1D CNN and GRU[J].IEEE Access,2020,8:88348-88359.
[4] NICHOLAUS I T,LEE J S,KANG D K.One-Class Convolutional Neural Networks for Water-Level Anomaly Detection[J].Sensors,2022,22(22):8764.
[5] ZHOU K,LIU Z,QIAO Y,et al.Domain Generalization:A Survey[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2023,45(4):4396-4415.
[6] GREGOR K,PAPAMAKARIOS G,BESSE F,et al.Temporal Difference Variational Auto-Encoder[PP/OL].arXiv:org/abs/1806.03107,2018.
[7] LI P,PEI Y,LI J.A comprehensive survey on design and application of autoencoder in deep learning[J].Applied Soft Computing,2023,138:110176.
[8] NICHOLAUS I T,PARK J R,JUNG K,et al.Anomaly Detection of Water Level Using Deep Autoencoder[J].Sensors,2021,21(19):6679.
[9] ASPERTI A,EVANGELISTA D,LOLI PICCOLOMINI E.A Survey on Variational Autoencoders from a Green AI Perspective[J].SN Computer Science,2021,2(4):301.
[10] HU H,WANG X,ZHANG Y,et al.A comprehensive survey on contrastive learning[J].Neurocomputing,2024,610:128645.
[11] DAU H A,BAGNALL A,KAMGAR K,et al.The UCR Time Series Archive[PP/OL] arXiv(2019-09-09)[2025-09-12].http://arxiv.org/abs/1810.07758.
[1] ZHANG Rongjie, PANG Xiongwen, WANG Fengling. Review of Large Language Model-based Time Series Modeling via Fine-tuning and AgentArchitecture [J]. Computer Science, 2026, 53(9): 55-70.
[2] HE Yuhuang, WANG Qianlei DAI Yuntong DU Wu, QIN Xiaolin. Six Degrees of Freedom Pose Estimation Method Fusing Spectral and Geometric Features [J]. Computer Science, 2026, 53(9): 209-218.
[3] CHEN Yarui, HONG Lehan, SHAO Jianlin, YANG Jianning, LIAO Yun, SHI Yancui. Multimodal Probabilistic Generative Model Based on Cross-modal Consistency Constraints [J]. Computer Science, 2026, 53(9): 291-298.
[4] TAO Zekun, CHEN Di, ZHU Kaijie, XIA Yi, ZHANG Yichen, CHEN Yue. BGP Anomaly Detection and Localization via Multi-view Neighborhood Perturbation Awareness [J]. Computer Science, 2026, 53(9): 365-374.
[5] WANG Chenxu, WANG Shihao, WANG Zhanggong, SHEN Yancheng, MENG Panpan. Momentum Contrast and GAN-Enhanced Sampling for Graph Contrastive Learning [J]. Computer Science, 2026, 53(9): 432-438.
[6] CAI Yi, WANG Xiaobin, CHEN Ruili, XU Jinfeng. Handwriting Gender Recognition Method Based on Multi-scale Directional Attention Transformer [J]. Computer Science, 2026, 53(8): 156-164.
[7] ZHOU Haobin, LU Yunhao, QIN Jun, JIAO Xintao, ZENG Biqing. CCSFR:Collaborative-Content Semantic Fusion for Review-enhanced Recommendation [J]. Computer Science, 2026, 53(8): 276-284.
[8] REN Yanzhang, GAO Tai, LI Ying, WANG Bin. Gated Bidirectional Mamba Multimodal Feature Fusion Framework for Drug-Target InteractionPrediction [J]. Computer Science, 2026, 53(8): 326-335.
[9] LI Xiaochao, YUAN Zisu, LI Qianmu, LIU Fan, CHE Xun. Survey on Code Representation Learning for Vulnerability Detection [J]. Computer Science, 2026, 53(8): 388-402.
[10] JIANG Lingla, CHEN Wen, SUN Wei, ZHAO Kui. Research on Deep Learning-based Side-channel Analysis Method with Dynamically ComposableMulti-head Attention [J]. Computer Science, 2026, 53(8): 437-445.
[11] LIU Yanze, HAN Bo, YUAN Jidong, SU Dongliang, REN Jia, CAI Zhiming, WANG Zhihai. Anomaly Detection in Time Series Based on Time-Frequency Contrastive Learning [J]. Computer Science, 2026, 53(8): 20-28.
[12] WANG Yuqi, ZHANG Yangsen, GUO Yalong, KANG Jing, WANG Yalun. Time Series Language Model for Continuous Glucose Monitoring Interpretation [J]. Computer Science, 2026, 53(8): 29-39.
[13] PAN Yuquan, YUAN Deyu, WANG Anran, JIA Yuan. Enhanced GNNs Across Social Networks User Identity Linkage Algorithm Based on HiddenFeatures [J]. Computer Science, 2026, 53(8): 50-60.
[14] WU Shuiqing, QIU Jihao, LIU Xiang, DONG Yuxi, WEN Yimin. Proxy-based Source-free Domain Adaptation for EEG Emotion Recognition Method [J]. Computer Science, 2026, 53(8): 94-102.
[15] YANG Hang, HUANG Ruizhang, XUE Jingjing, QIN Yongbin, CHEN Yanping, LIN Chuan. Graph-structure-aware Single-cell Transcriptomic Embedding Clustering Model [J]. Computer Science, 2026, 53(7): 280-288.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!