Robust and Transferable Log-based Anomaly Detection

Author:

Jia Peng1ORCID,Cai Shaofeng2ORCID,Ooi Beng Chin2ORCID,Wang Pinghui1ORCID,Xiong Yiyuan2ORCID

Affiliation:

1. Xi'an Jiaotong University, Xi'an, China

2. National University of Singapore, Singapore, Singapore

Abstract

Log messages provide a valuable source of runtime information for ensuring the safety and consistency of systems. Recently, many machine learning and deep learning methods have been proposed to automatically detect anomalous log messages, obviating the need for manual detection by experts. However, we find that in practice, the effectiveness of existing learning-based methods is severely affected by incomplete information and distribution shift. Specifically, each log message can actually be parsed into a fixed number of key information fields, while existing methods analyze log messages using only the log event information and ignore other useful information fields that can be critical to anomaly detection. Further, the distribution of real-world log messages changes continuously due to the dynamic nature of the runtime environment and thus, a detection model conventionally trained based on the unrealistic i.i.d. assumption may not provide the expected and consistent performance. In this paper, we present a robust and transferable anomaly detection framework RT-Log to address the above problems. To perform a comprehensive analysis of log messages, we introduce an adaptive relation modeling technique, which captures feature interactions among log information fields selectively and dynamically for effective and interpretable log representations. To establish its robustness and transferability, we propose a general environment generalization technique for learning the environment invariant representations that can generalize across different runtime environments. We evaluate the anomaly detection performance of RT-Log on large real-world datasets. Extensive experimental results demonstrate that RT-Log consistently outperforms state-of-the-art methods by a significant margin under different settings.

Funder

Shenzhen Basic Research Grant

the National Key R&D Program of China

National Research Foundation, Singapore under its Emerging Areas Research Projects (EARP) Funding Initiative.

National Natural Science Foundation of China

Publisher

Association for Computing Machinery (ACM)

Reference68 articles.

1. Shivam Agarwal . 2013 . Data Mining: Data Mining Concepts and Techniques . In ICMIRA. IEEE , 203--207. Shivam Agarwal. 2013. Data Mining: Data Mining Concepts and Techniques. In ICMIRA. IEEE, 203--207.

2. Martin Arjovsky , Léon Bottou , Ishaan Gulrajani , and David Lopez-Paz . 2019. Invariant Risk Minimization. CoRR , Vol. abs/ 1907 .02893 ( 2019 ), 1--31. Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. 2019. Invariant Risk Minimization. CoRR, Vol. abs/1907.02893 (2019), 1--31.

3. Alexei Baevski Wei-Ning Hsu Alexis Conneau and Michael Auli. 2021. Unsupervised Speech Recognition. In NeurIPS. 1--14. Alexei Baevski Wei-Ning Hsu Alexis Conneau and Michael Auli. 2021. Unsupervised Speech Recognition. In NeurIPS. 1--14.

4. Shaofeng Cai , Kaiping Zheng , Gang Chen , H. V. Jagadish , Beng Chin Ooi, and Meihui Zhang . 2021 . ARM-Net: Adaptive Relation Modeling Network for Structured Data. In SIGMOD. ACM , 207--220. Shaofeng Cai, Kaiping Zheng, Gang Chen, H. V. Jagadish, Beng Chin Ooi, and Meihui Zhang. 2021. ARM-Net: Adaptive Relation Modeling Network for Structured Data. In SIGMOD. ACM, 207--220.

5. Towards linear algebra over normalized data

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Impact of log parsing on deep learning-based anomaly detection;Empirical Software Engineering;2024-08-17

2. PreLog: A Pre-trained Model for Log Analytics;Proceedings of the ACM on Management of Data;2024-05-29

3. LBSC: A Cost-Aware Caching Framework for Cloud Databases;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13

4. Contrastive Learning for Fraud Detection from Noisy Labels;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13

5. Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems;Proceedings of the VLDB Endowment;2024-01

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3