计算机工程与应用 ›› 2024, Vol. 60 ›› Issue (21): 142-153.DOI: 10.3778/j.issn.1002-8331.2307-0188

• 模式识别与人工智能 • 上一篇    下一篇

双特征层次嵌入的多维时序异常检测方法

陈文礼,苏宇,陈玲俐,高欣,程瑛颖,邹波   

  1. 1.国网重庆市电力公司 营销服务中心 计量技术部,重庆 400023
    2.北京邮电大学 人工智能学院,北京 100876
    3.国网重庆市电力公司 市场营销部,重庆 400014
  • 出版日期:2024-11-01 发布日期:2024-10-25

Double Feature Hierarchical Embedding Multivariate Time Series Anomaly Detection Method

CHEN Wenli, SU Yu, CHEN Lingli, GAO Xin, CHENG Yingying, ZOU Bo   

  1. 1.Measurement Technology Department, Marketing Service Center, State Grid Chongqing Electric Power Company, Chongqing 400023, China
    2.School of Artificial Intelligence, Beijing University of Posts and Telecommunications, Beijing 100876, China
    3.Marketing Department, State Grid Chongqing Electric Power Company, Chongqing 400014, China
  • Online:2024-11-01 Published:2024-10-25

摘要: 开展多维时序特征下的工业实体设备实时运行状态在线异常检测,对维护复杂工业系统稳定运行、推动国家经济发展提质增效具有重要意义。针对现有异常检测方法对时序数据高度非线性的时间依赖关系及其模式多样的维度耦合关系分析不足的问题,综合考虑监控数据分布未知导致训练数据中可能掺杂噪声或异常数据的情况,提出双特征层次嵌入的多维时序异常检测方法。通过循环神经网络对时序特征数据进行处理,引入流模型仿射机制拓展数据分布并得到时间嵌入变量,捕捉长时间序列的全局及局部特征;与此同时,利用变分自编码器将多维输入映射到潜空间,共享时间嵌入的流模型参数,基于门控循环单元对维度间的耦合关系进一步关联分析,充分挖掘多维时序数据的时间依赖性和维度相关性,提高异常检测准确率。在5个权威公开的多维时序数据集上开展实验,与12种典型时序异常检测方法进行对比,所提算法在多种评价指标上的平均排名均位列第一,验证了所提方法的先进性和有效性。

关键词: 多维时序异常检测, 循环神经网络, 变分自编码器, 流模型, 层次特征嵌入

Abstract: It is of great significance to carry out anomaly detection of real-time operation status of industrial entity equipment under multivariate time series characteristics for maintaining stable operation of complex industrial system and promoting national economic development, improving quality and efficiency. Aiming at the problem that the existing anomaly detection methods are insufficient in analyzing the characteristics of the highly nonlinear time dependence of the equipment running state and the various dimensional correlations among the monitoring data of the internal sensors, considering the situation that the distribution of monitoring data is unknown and the train data might be mixed with noise or abnormal data, a multivariate time series anomaly detection method based on double feature hierarchical embedding is proposed. The sequence time feature is compressed through time-gated recurrent units and the data distribution is expanded to obtain time embedded variables with the affine mechanism of the flow model to capture global and local features of long-term sequences. At the same time, the original input is mapped to the latent space using a variational autoencoder. Embedding time features through the flow model of shared parameters and further analyzing the coupling relationship between sequences based on gated cyclic units, fully mining the time dependence and dimension correlation of time series, improving abnormality detection accuracy. Experiment is carried out on 5 authoritative published multivariate time series datasets. Compared with 12 typical time series anomaly detection methods, the proposed algorithm improved in two evaluation indexes, and ranked first in the two indexes on average, which verifies the advanced nature and effectiveness of the proposed method.

Key words: multivariate time series anomaly detection, recurrent neural network, variational autoencoder, flow model, hierarchical feature embedding