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 条
  • [1] Anomaly Detection on Industrial Time Series Based on Correlation Analysis
    Ding X.-O.
    Yu S.-J.
    Wang M.-X.
    Wang H.-Z.
    Gao H.
    Yang D.-H.
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (03): : 726 - 747
  • [2] Iterative Anomaly Detection Algorithm based on Time Series Analysis
    Qi, Jingxiang
    Chu, Yanjie
    He, Liang
    2018 IEEE 15TH INTERNATIONAL CONFERENCE ON MOBILE AD HOC AND SENSOR SYSTEMS (MASS), 2018, : 548 - 552
  • [3] Analysis of time series data for anomaly detection
    Ferencz, Katalin
    Domokos, Jozsef
    Kovacs, Levente
    2022 IEEE 22ND INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND INFORMATICS AND 8TH IEEE INTERNATIONAL CONFERENCE ON RECENT ACHIEVEMENTS IN MECHATRONICS, AUTOMATION, COMPUTER SCIENCE AND ROBOTICS (CINTI-MACRO), 2022, : 95 - 100
  • [4] Research of Anomaly Detection Based on Time Series
    Wang, Guilan
    Wang, Zhenqi
    Luo, Xianjin
    2009 WRI WORLD CONGRESS ON SOFTWARE ENGINEERING, VOL 1, PROCEEDINGS, 2009, : 444 - 448
  • [5] Time Series Anomaly Detection Based on GAN
    Sun, Yong
    Yu, Wenbo
    Chen, Yuting
    Kadam, Aishwarya
    2019 SIXTH INTERNATIONAL CONFERENCE ON SOCIAL NETWORKS ANALYSIS, MANAGEMENT AND SECURITY (SNAMS), 2019, : 375 - 382
  • [6] Anomaly Detection in Smart City Traffic Based on Time Series Analysis
    Bawaneh, Mohammad
    Simon, Vilmos
    2019 27TH INTERNATIONAL CONFERENCE ON SOFTWARE, TELECOMMUNICATIONS AND COMPUTER NETWORKS (SOFTCOM), 2019, : 60 - 65
  • [7] Network Anomaly Detection Based on Statistical Approach and Time Series Analysis
    Huang Kai
    Qi Zhengwei
    Liu Bo
    2009 INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS WORKSHOPS: WAINA, VOLS 1 AND 2, 2009, : 205 - 211
  • [8] Machine Learning-Based Anomaly Detection for Multivariate Time Series With Correlation Dependency
    Chauhan, Shashank
    Lee, Sudong
    IEEE ACCESS, 2022, 10 : 132062 - 132070
  • [9] Image encoding selection based on Pearson correlation coefficient for time series anomaly detection
    Rahadian, Helmy
    Bandong, Steven
    Widyotriatmo, Augie
    Joelianto, Endra
    ALEXANDRIA ENGINEERING JOURNAL, 2023, 82 : 304 - 322
  • [10] Machine Learning-Based Anomaly Detection for Multivariate Time Series with Correlation Dependency
    Chauhan, Shashank
    Lee, Sudong
    IEEE Access, 2022, 10 : 132062 - 132070