Saved in:
Bibliographic Details
Main Authors: Tian, Jiyu, Li, Mingchu, Wang, Zumin, Chen, Liming, Qin, Jing, Zhang, Runfa
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.16612
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913559146921984
author Tian, Jiyu
Li, Mingchu
Wang, Zumin
Chen, Liming
Qin, Jing
Zhang, Runfa
author_facet Tian, Jiyu
Li, Mingchu
Wang, Zumin
Chen, Liming
Qin, Jing
Zhang, Runfa
contents Log anomaly detection (LAD) is essential to ensure safe and stable operation of software systems. Although current LAD methods exhibit significant potential in addressing challenges posed by unstable log events and temporal sequence patterns, their limitations in detection efficiency and generalization ability present a formidable challenge when dealing with evolving systems. To construct a real-time and reliable online log anomaly detection model, we propose OMLog, a semi-supervised online meta-learning method, to effectively tackle the distribution shift issue caused by changes in log event types and frequencies. Specifically, we introduce a maximum mean discrepancy-based distribution shift detection method to identify distribution changes in unseen log sequences. Depending on the identified distribution gap, the method can automatically trigger online fine-grained detection or offline fast inference. Furthermore, we design an online learning mechanism based on meta-learning, which can effectively learn the highly repetitive patterns of log sequences in the feature space, thereby enhancing the generalization ability of the model to evolving data. Extensive experiments conducted on two publicly available log datasets, HDFS and BGL, validate the effectiveness of the OMLog approach. When trained using only normal log sequences, the proposed approach achieves the F1-Score of 93.7\% and 64.9\%, respectively, surpassing the performance of the state-of-the-art (SOTA) LAD methods and demonstrating superior detection efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2410_16612
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle OMLog: Online Log Anomaly Detection for Evolving System with Meta-learning
Tian, Jiyu
Li, Mingchu
Wang, Zumin
Chen, Liming
Qin, Jing
Zhang, Runfa
Software Engineering
Cryptography and Security
Log anomaly detection (LAD) is essential to ensure safe and stable operation of software systems. Although current LAD methods exhibit significant potential in addressing challenges posed by unstable log events and temporal sequence patterns, their limitations in detection efficiency and generalization ability present a formidable challenge when dealing with evolving systems. To construct a real-time and reliable online log anomaly detection model, we propose OMLog, a semi-supervised online meta-learning method, to effectively tackle the distribution shift issue caused by changes in log event types and frequencies. Specifically, we introduce a maximum mean discrepancy-based distribution shift detection method to identify distribution changes in unseen log sequences. Depending on the identified distribution gap, the method can automatically trigger online fine-grained detection or offline fast inference. Furthermore, we design an online learning mechanism based on meta-learning, which can effectively learn the highly repetitive patterns of log sequences in the feature space, thereby enhancing the generalization ability of the model to evolving data. Extensive experiments conducted on two publicly available log datasets, HDFS and BGL, validate the effectiveness of the OMLog approach. When trained using only normal log sequences, the proposed approach achieves the F1-Score of 93.7\% and 64.9\%, respectively, surpassing the performance of the state-of-the-art (SOTA) LAD methods and demonstrating superior detection efficiency.
title OMLog: Online Log Anomaly Detection for Evolving System with Meta-learning
topic Software Engineering
Cryptography and Security
url https://arxiv.org/abs/2410.16612