Robust and Transferable Log-based Anomaly Detection
Надёжное и переносимое обнаружение аномалий на основе журналов
2023-05-26
SCID: 54.1/pgvsfqjd
Discuss with AI
RT-Logadaptive relation modelingdistribution shiftenvironment invariant representationslog-based anomaly detection
Figures from the paper
Abstract (AI)
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.
Key Findings
1
A general environment-generalization technique learns environment-invariant representations intended to improve robustness and transferability across runtime environments.
2
Existing learning-based log anomaly detectors are substantially impaired by incomplete information and distribution shifts in changing runtime environments.
3
Experiments on large real-world datasets show that RT-Log consistently and significantly outperforms state-of-the-art anomaly detection methods under different settings.
4
RT-Log analyzes multiple parsed log information fields rather than only event information, using adaptive relation modeling to capture selective, dynamic, and interpretable feature interactions.
Research Object
real-world system log messages across changing runtime environments
Research Subject
robust and transferable anomaly detection based on complete log-information fields, with environment-invariant representations under distribution shift
Publication Details
Publication Date
2023-05-26
Journal
Publisher
ISSN
Cited by
25
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest