计算机科学 ›› 2023, Vol. 50 ›› Issue (7): 237-245.doi: 10.11896/jsjkx.220700078
衡红军, 周文华
HENG Hongjun, ZHOU Wenhua
摘要: 信息物理系统(CPSs)中传感器和执行器等现场设备收集的数据中隐含复杂的上下文信息和未知分布噪声。为了提取并融合数据中的上下文信息以及减轻噪声带来的干扰,提出了上下文信息融合与噪声自适应的异常检测方法。该方法中设计了一种由自适应降噪编码器、上下文信息编码器和解码器构成的编解码网络建模CPSs状态空间模型。自适应降噪编码器在训练过程中通过拟合数据中噪声的分布模式生成自适应噪声,并利用该噪声对训练数据中的传感器数据加噪,以提升编解码网络的鲁棒性,减轻噪声带来的干扰,同时可迫使降噪自编码器学习到泛化性更强的系统的隐藏状态;上下文信息编码器利用LSTM和CNN提取数据窗口内的时序和空间上下文信息,并使用自注意力机制融合这两类上下文信息和系统隐藏状态,融合结果用于推断当前时刻系统隐藏状态,以提升此隐藏状态中的信息量;解码器利用以上系统隐藏状态可以更准确地解码出相应的传感器数据。编解码网络训练完成后,得到系统隐藏状态和传感器解码值,基于无迹卡尔曼滤波算法计算异常评分。在SWaT和PUMP两个实际CPSs数据集上的实验结果表明,所提方法的F1值均优于其他对比方法,验证了其有效性。
中图分类号:
[1]YANG P,STANKEVICIUS D,MAROZAS V,et al.Lifelogging data validation model for internet of things enabled personalized healthcare[J].IEEE Transactions on Systems,Man,and Cybernetics,Systems,2016,48(1):50-64. [2]YIN C,XI J,SUN R,et al.Location privacy protection based on differential privacy strategy for big data in industrial internet of things[J].IEEE Transactions on Industrial Informatics,2017,14(8):3628-3636. [3]BLÁZQUEZ-GARCÍA A,CONDE A,MORI U,et al.A review on outlier/anomaly detection in time series data[J].ACM Computing Surveys(CSUR),2021,54(3):1-33. [4]LIN S,CLARK R,BIRKE R,et al.Anomaly detection for time series using vae-lstm hybrid model[C]//Proceedings of the ICASSP 2020-2020 IEEE International Conference on Acoustics,Speech and Signal Processing(ICASSP).USA,IEEE,2020:4322-4326. [5]LI J,GAO H.Survey on sensor network research[J].Journal of Computer Research and Development,2008,45(1):1-15. [6]FEI H,XIAO F,LI G H,et al.An anomaly detection method of wireless sensor network based on multi-modals data stream[J].Chinese Journal of Computers,2017,40(8):1829-1842. [7]ZHANG C,SONG D,CHEN Y,et al.A deep neural network for unsupervised anomaly detection and diagnosis in multivariate time series data[C]//Proceedings of the AAAI Conference on Artificial Intelligence.USA,AAAI,2019,33(1):1409-1416. [8]KIM T Y,CHO S B.Web traffic anomaly detection using C-LSTM neural networks[J].Expert Systems with Applications,2018,106:66-76. [9]YIN C,ZHANG S,WANG J,et al.Anomaly detection based on convolutional recurrent autoencoder for IoT time series[J].IEEE Transactions on Systems,Man,and Cybernetics,Systems,2020,52(1):112-122. [10]MALHOTRA P,RAMAKRISHNAN A,ANAND G,et al.LSTM-based encoder-decoder for multi-sensor anomaly detection[J].arXiv:1607.00148,2016. [11]PARK D,HOSHI Y,KEMP C C.A multimodal anomaly detector for robot-assisted feeding using an lstm-based variational autoencoder[J].IEEE Robotics and Automation Letters,2018,3(3):1544-1551. [12]LI D,CHEN D,JIN B,et al.MAD-GAN,Multivariate anomaly detection for time series data with generative adversarial networks[C]//Proceedings of International Conference on Artificial Neural Networks.Cham,Springer,2019:703-716. [13]SCHREYER M,SATTAROV T,SCHULZE C,et al.Detection of accounting anomalies in the latent space using adversarial autoencoder neural networks[J].arXiv:1908.00734,2019. [14]AUDIBERT J,MICHIARDI P,GUYARD F,et al.Usad,Unsupervised anomaly detection on multivariate time series[C]//Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.USA,ACM,2020:3395-3404. [15]HUNDMAN K,CONSTANTINOU V,LAPORTE C,et al.Detecting spacecraft anomalies using lstms and nonparametric dynamic thresholding[C]//Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mi-ning.USA,ACM,2018:387-395. [16]SU Y,ZHAO Y,NIU C,et al.Robust anomaly detection for multivariate time series through stochastic recurrent neural network[C]//Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.USA,ACM,2019:2828-2837. [17]DENG A,HOOI B.Graph neural network-based anomaly detection in multivariate time series[C]//Proceedings of the AAAI Conference on Artificial Intelligence.USA,AAAI,2021,35(5):4027-4035. [18]FENG C,TIAN P.Time series anomaly detection for cyber-physical systems via neural system identification and bayesian filtering[C]//Proceedings of the 27th ACM SIGKDD Confe-rence on Knowledge Discovery & Data Mining.USA:ACM,2021:2858-2867. [19]SCHNEIDER T,QIU C,KLOFT M,et al.Detecting Anomalies within Time Series using Local Neural Transformations[J].arXiv:2202.03944,2022. [20]LEE E A,SESHIA S A.Introduction to embedded systems,A cyber-physical systems approach[M].USA,MIT Press,2016:181-207. [21]JULIER S J,UHLMANN J K.Unscented filtering and nonli-near estimation[J].Proceedings of the IEEE,2004,92(3):401-422. [22]INOUE H.Multi-sample dropout for accelerated training andbetter generalization[J].arXiv:1905.09788,2019. [23]JULIER S J.The scaled unscented transformation[C]//Proceedings of the 2002 American Control Conference(IEEE Cat.No.CH37301).USA,IEEE,2002:4555-4559. [24]SIPPLE J.Interpretable,multidimensional,multimodal anomaly detection with negative sampling for detection of device failure[C]//Proceeding of the 37th International Conference on Machine Learning.USA,ACM,2020:9016-9025. [25]LIU F T,TING K M,ZHOU Z H,et al.Isolation forest[C]//Proceedings of 2008 Eighth IEEE International Conference on Data Mining.USA,IEEE Computer Society,2008:413-422. [26]NG A.Sparse autoencoder[J].CS294A Lecture Notes,2011,72(2011):1-19. [27]GOH J,ADEPU S,TAN M,et al.Anomaly detection in cyber physical systems using recurrent neural networks[C]//Procee-dings of 2017 IEEE 18th International Symposium on High Assurance Systems Engineering(HASE).USA,IEEE,2017:140-145. [28]ZONG B,SONG Q,MIN M R,et al.Deep autoencoding Gaussian mixture model for unsupervised anomaly detection[C]//Proceedings of International Conference on Learning Representations.USA,IEEE,2018:1-19. [29]SHEN L,LI Z,KWOK J.Timeseries anomaly detection using temporal hierarchical one-class network[J].Advances in Neural Information Processing Systems,2020,33:13016-13026. |
|