Lune

SIGMOD2023Top-tier venue

Robust and Transferable Log-based Anomaly Detection

Peng Jia, Shaofeng Cai, Beng Chin Ooi, Pinghui Wang, Yiyuan Xiong

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Pluto: Sample Selection for Robust Anomaly Detection on Polluted Log Data cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Log-based Anomaly Detection Without Log Parsing cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Powering In-Database Dynamic Model Slicing for Structured Data Analytics cites Database Native Model Selection: Harnessing Deep Neural Networks in Database Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Do LLMs Understand Visual Anomalies? Uncovering LLM's Capabilities in Zero-shot Anomaly DetectionJiaqi Zhu, Shaofeng Cai, Fang Deng, Beng Chin Ooi et al.ACM MM 2024 · 30 citations
  2. Database Native Model Selection: Harnessing Deep Neural Networks in Database SystemsNaili Xing, Shaofeng Cai, Gang Chen, Zhaojing Luo et al.VLDB 2024 · 14 citations
  3. Powering In-Database Dynamic Model Slicing for Structured Data AnalyticsLingze Zeng, Naili Xing, Shaofeng Cai, Gang Chen et al.VLDB 2024 · 7 citations
  4. Pluto: Sample Selection for Robust Anomaly Detection on Polluted Log DataLei Ma, Lei Cao, Peter M. VanNostrand, Dennis M. Hofmann et al.SIGMOD 2025 · 3 citations
  5. REACT: Residual-Adaptive Contextual Tuning for Fast Model Adaptation in Threat DetectionJiayun Zhang, Junshen Xu, Bugra Can, Yi FanWWW 2025 · 3 citations

Builds on10

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
  2. Deep Hough Voting for 3D Object Detection in Point CloudsCharles R. Qi, Or Litany, Kaiming He, Leonidas J. GuibasICCV 2019 · 1,467 citations
  3. The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations
  4. Unsupervised Speech RecognitionAlexei Baevski, Wei-Ning Hsu, Alexis Conneau, Michael AuliNeurIPS 2021 · 309 citations
  5. Log-based Anomaly Detection Without Log ParsingVan-Hoang Le, Hongyu ZhangASE 2021 · 249 citations

Related papers

  1. Semantic Curriculum for Anomaly Detection: A Unified Language-Driven Meta-Optimization FrameworkKai Tan, Yangliu Du, Dongyang Zhan, Haining Yu et al.INFOCOM 2026
  2. LogMoE: Lightweight Expert Mixture for Cross-System Log Anomaly DetectionJiaxing Qi, Zhongzhi Luan, Shaohan Huang, Carol J. Fung et al.ASE 2025 · 2 citations
  3. LogFormer: A Pre-train and Tuning Pipeline for Log Anomaly DetectionHongcheng Guo, Jian Yang, Jiaheng Liu, Jiaqi Bai et al.AAAI 2024 · 68 citations
  4. End-to-End AutoML for Unsupervised Log Anomaly DetectionShenglin Zhang, Yuhe Ji, Jiaqi Luan, Xiaohui Nie et al.ASE 2024 · 6 citations
  5. LogAction: Consistent Cross-system Anomaly Detection through Logs via Active Domain AdaptationChiming Duan, Minghua He, Pei Xiao, Tong Jia et al.ASE 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines