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

被引:8
|
作者
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 条
  • [21] User profile attack anomaly detection algorithm based on time series analysis
    Xu, Yuchen
    Liang, Qiang
    Zhang, Fuzhi
    Journal of Information and Computational Science, 2010, 7 (11): : 2201 - 2206
  • [22] Anomaly Detection in UASN Localization Based on Time Series Analysis and Fuzzy Logic
    Das, Anjana P.
    Thampi, Sabu M.
    Lloret, Jaime
    MOBILE NETWORKS & APPLICATIONS, 2020, 25 (01): : 55 - 67
  • [23] Multiple Cycles of Time Series Anomaly Detection Algorithm Based on Wavelet Analysis
    Chen, Danbo
    Zhou, Xiaofeng
    2015 7TH INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS IHMSC 2015, VOL II, 2015,
  • [24] Anomaly Detection in UASN Localization Based on Time Series Analysis and Fuzzy Logic
    Anjana P. Das
    Sabu M. Thampi
    Jaime Lloret
    Mobile Networks and Applications, 2020, 25 : 55 - 67
  • [25] Integrated Modular Avionics Anomaly Detection Based on Symbolic Time Series Analysis
    Lei, Sifan
    He, Lin
    Liu, Yang
    Song, Dong
    2017 IEEE 2ND ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC), 2017, : 2095 - 2099
  • [26] Hydrologic Time Series Anomaly Detection Based on Flink
    Ye, Feng
    Liu, Zihao
    Liu, Qinghua
    Wang, Zhijian
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2020, 2020
  • [27] NLP Based Anomaly Detection for Categorical Time Series
    Horak, Matthew
    Chandrasekaran, Sowmya
    Tobar, Giovanni
    2022 IEEE 23RD INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION FOR DATA SCIENCE (IRI 2022), 2022, : 27 - 34
  • [28] Anomaly detection in time series based on interval sets
    Ren, Huorong
    Liu, Mingming
    Liao, Xiujuan
    Liang, Li
    Ye, Zhixing
    Li, Zhiwu
    IEEJ TRANSACTIONS ON ELECTRICAL AND ELECTRONIC ENGINEERING, 2018, 13 (05) : 757 - 762
  • [29] Unsupervised diffusion based anomaly detection for time series
    Zuo, Haiwei
    Zhu, Aiqun
    Zhu, Yanping
    Liao, Yinping
    Li, Shiman
    Chen, Yun
    APPLIED INTELLIGENCE, 2024, 54 (19) : 8968 - 8981
  • [30] Time series anomaly detection based on shapelet learning
    Laura Beggel
    Bernhard X. Kausler
    Martin Schiegg
    Michael Pfeiffer
    Bernd Bischl
    Computational Statistics, 2019, 34 : 945 - 976