Time Series Anomaly Detection for KPIs Based on Correlation Analysis and HMM

被引:10
|
作者
Shang, Zijing [1 ]
Zhang, Yingjun [2 ]
Zhang, Xiuguo [1 ]
Zhao, Yun [1 ]
Cao, Zhiying [1 ]
Wang, Xuejie [1 ]
机构
[1] Dalian Maritime Univ, Sch Informat Sci & Technol, Dalian 116026, Peoples R China
[2] Dalian Maritime Univ, Nav Coll, Dalian 116026, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2021年 / 11卷 / 23期
基金
国家重点研发计划;
关键词
convolutional neural network (CNN); temporal convolutional network (TCN); anomaly detection of KPIs; hidden Markov model (HMM); correlation analysis;
D O I
10.3390/app112311353
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
KPIs (Key Performance Indicators) in distributed systems may involve a variety of anomalies, which will lead to system failure and huge losses. Detecting KPI anomalies in the system is very important. This paper presents a time series anomaly detection method based on correlation analysis and HMM. Correlation analysis is used to obtain the correlation between abnormal KPIs in the system, thereby reducing the false alarm rate of anomaly detection. The HMM (Hidden Markov Model) is used for anomaly detection by finding the close relationship between abnormal KPIs. In our correlation analysis of abnormal KPIs, firstly, the time series prediction model (1D-CNN-TCN) is proposed. The residual sequence is obtained by calculating the residual between the predicted value and the actual value. The residual sequence can highlight the abnormal segment in each data point and improve the accuracy of anomaly screening. According to the obtained residual sequence, these abnormal KPIs are preliminarily screened out from the historical data. Next, KPI correlation analysis is performed, and the correlation score is obtained by adding a sliding window onto the obtained anomaly index residual sequence. The correlation analysis based on the residual sequence can eliminate the interference of the original data fluctuation itself. Then, a correlation matrix of abnormal KPIs is constructed using the obtained correlation scores. In anomaly detection, the constructed correlation matrix is processed to obtain the adaptive parameters of the HMM model, and the trained HMM is used to quickly discover the abnormal KPI that may cause a KPI anomaly. Experiments on public data sets show that the method obtains good results.
引用
收藏
页数:23
相关论文
共 50 条
  • [1] A new anomaly detection method based on hierarchical HMM
    Zhang, XQ
    Fan, PZ
    Zhu, ZL
    PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS AND TECHNOLOGIES, PDCAT'2003, PROCEEDINGS, 2003, : 249 - 252
  • [2] Unsupervised Anomaly Detection Method for Bearing Based on VAE-GAN and Time-Series Data Correlation Enhancement (June 2023)
    Fan, Zehao
    Wang, Yi
    Meng, Lihua
    Zhang, Guangyao
    Qin, Yi
    Tang, Baoping
    IEEE SENSORS JOURNAL, 2023, 23 (23) : 29345 - 29356
  • [3] An Enhanced HMM-Based for Fuzzy Time Series Forecasting Model
    Cheng, Yi-Chung
    Chen, Pei-Chih
    Chen, Chih-Chuan
    Chuang, Hui-Chi
    Li, Sheng-Tun
    PROCEEDINGS OF THE 2015 CONFERENCE OF THE INTERNATIONAL FUZZY SYSTEMS ASSOCIATION AND THE EUROPEAN SOCIETY FOR FUZZY LOGIC AND TECHNOLOGY, 2015, 89 : 320 - 325
  • [4] A Stochastic HMM-Based Forecasting Model for Fuzzy Time Series
    Li, Sheng-Tun
    Cheng, Yi-Chung
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 2010, 40 (05): : 1255 - 1266
  • [5] Correlation Analysis-Based Classification of Human Activity Time Series
    Malhotra, Akshay
    Schizas, Ioannis D.
    Metsis, Vangelis
    IEEE SENSORS JOURNAL, 2018, 18 (19) : 8085 - 8095
  • [6] Multivariate time series anomaly detection: A framework of Hidden Markov Models
    Li, Jinbo
    Pedrycz, Witold
    Jamal, Iqbal
    APPLIED SOFT COMPUTING, 2017, 60 : 229 - 240
  • [7] Point out the mistakes: An HMM-based anomaly detection algorithm for sleep stage classification
    Wang, Ziyi
    Liu, Hang
    Cai, Yukai
    Li, Hongjin
    Yang, Chuanshuai
    Zhang, Xinlei
    Cong, Fengyu
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2025, 99
  • [8] Correlation analysis techniques for uncertain time series
    Mahsa Orang
    Nematollaah Shiri
    Knowledge and Information Systems, 2017, 50 : 79 - 116
  • [9] Correlation analysis techniques for uncertain time series
    Orang, Mahsa
    Shiri, Nematollaah
    KNOWLEDGE AND INFORMATION SYSTEMS, 2017, 50 (01) : 79 - 116
  • [10] Correlation analysis and prediction of multivariate time series based on phase space synchronization
    Han M.
    Wei R.
    Xi Tong Gong Cheng Yu Dian Zi Ji Shu/Systems Engineering and Electronics, 2010, 32 (11): : 2426 - 2430