计算机科学 ›› 2023, Vol. 50 ›› Issue (11A): 230300022-8.doi: 10.11896/jsjkx.230300022
梁李芳1, 关东海1, 张吉2, 袁伟伟1
LIANG Lifang1, GUAN Donghai1, ZHANG Ji2, YUAN Weiwei1
摘要: 物联网系统被广泛应用于各种基础设施,系统中涉及许多相互连接的传感器,这些传感器产生大量的多元时间序列数据。由于物联网系统容易遭受网络攻击,多元时间序列异常检测方法被用于及时监测系统中发生的异常,这对于保障系统安全至关重要。然而,由于高维传感器数据关系复杂,现有的大多数异常检测方法难以明确学习多元时间序列的相关性,导致异常检测的准确率较低。因此,提出一种基于时空注意力机制的多元时间序列异常检测方法(STA)。首先,以图形结构的形式学习传感器间的关系,再使用多跳图注意力网络为图中每个传感器节点的多跳邻居节点分配不同的注意力权重,用于捕捉序列的空间相关性。其次,采用基于长短时间记忆网络的时间注意力机制自适应地选择相应的时间序列,用于学习序列的时间相关性。在4个真实世界传感器数据集上的实验结果表明,STA可以比基线方法更准确地检验时间序列中的异常,其F1分数分别优于最佳基线31.03%,14.29%,15.91%和21.74%。此外,消融实验和灵敏度分析验证了模型中的关键组件的有效性。总的来说,STA可以有效捕捉多元时间序列中的空间和时间相关性,提高模型的异常检测性能。
中图分类号:
[1]MATHUR A P.TIPPENHAUER N O.SWaT:a water treatment testbed for research and training on ICS security[C]//2016 International Workshop on Cyber-physical Systems for Smart Water Networks(CySWater).IEEE,2016:31-36. [2]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.2019:1409-1416. [3]LIN S,CLARK R,BIRKE R,et al.Anomaly detection for time series using vae-lstm hybrid model[C]//2020 IEEE InternationalConference on Acoustics,Speech and Signal Processing(ICASSP 2020).IEEE,2020:4322-4326. [4]SCHLICHTKRULL M,KIPF T N,BLOEM P,et al.Modelingrelational data with graph convolutional networks[C]//The Semantic Web:15th International Conference(ESWC 2018).Herak-lion,Crete,Greece,Springer International Publishing,2018:593-607. [5]VELIČKOVIČ P,CUCURULL G,CASANOVA A,et al.Graph attention networks[J].arXiv:1710.10903,2017. [6]ZHANG Z,LI M,LIN X,et al.Multistep speed prediction on traffic networks:A deep learning approach considering spatio-temporaldependencies[J].Transportation Research Part C:Emerging Technologies,2019,105:297-322. [7]ZHENG C,FAN X,WANG C,et al.GMAN:A Graph Multi-Attention Network for Traffic Prediction[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:1234-1241. [8]DENG A,HOOI B.Graph neural network-based anomaly detection in multivariate time series[C]//Proceedings of the 35th AAAI Conference on Artificial Intelligence.2021. [9]WANG X,HE X,CAOY,et al.Kgat:Knowledge graph attention network for recommendation[C]//Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Disco-very & Data Mining.2019:950-958. [10]HOCHREITER S,SCHMIDHUBER J.Long short-term memory[J].Neural computation,1997,9(8):1735-1780. [11]PANG G,SHEN C,CAO L,et al.Deep learning for anomaly detection:A review[J].ACM Computing Surveys(CSUR),2021,54(2):1-38. [12]HAWKINS S,HE H,WILLIAMS G,et al.Outlier detectionusing replicator neural networks[C]//Data Warehousing and Knowledge Discovery.Springer Berlin Heidelberg,2002:170-180. [13]GARG A,ZHANG W,SAMARANJ,et al.An evaluation of anomaly detection and diagnosis in multivariate time series[J].IEEE Transactions on Neural Networks and Learning Systems,2021,33(6):2508-2517. [14]MALHOTRA P,RAMAKRISHNAN A,ANANDG,et al.LSTM-based encoder-decoder for multi-sensor anomaly detection[J].arXiv:1607.00148,2016. [15]SHYU M L,CHEN S C,SARINNAPAKORN K,et al.A novel anomaly detection scheme based on principal component classifier[R].Miami Univ Coral Gables Fl Dept of Electrical and Computer Engineering,2003. [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.2019:2828-2837. [17]KIM S,CHOI K,CHOI H S,et al.Towards a rigorous evaluation of time-series anomaly detection[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2022:7194-7201. [18]HUNDMAN K,CONSTANTINOU V,LAPORTE C,et al.De-tecting spacecraft anomalies using lstms and nonparametric dynamic thresholding[C]//Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mi-ning.2018:387-395. [19]BAI S,KOLTER J Z,KOLTUNV.An empirical evaluation ofgeneric convolutional and recurrent networks for sequence mo-deling[J].arXiv:1803.01271,2018. [20]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. [21]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.2019:2828-2837. [22]AHMED C M,PALLETI V R,MATHUR A P.WADI:a water distribution testbed for research in the design of secure cyber physical systems[C]//Proceedings of the 3rd International Workshop on Cyber-physical Systems for Smart Water Networks.2017:25-28. [23]BARTYŚ M,PATTON R,SYFERT M,et al.Introduction to the DAMADICS actuator FDI benchmark study[J].Control Engineering Practice,2006,14(6):577-596. |
|