Lune

AAAI2024Top-tier venue

Root Cause Analysis in Microservice Using Neural Granger Causal Discovery

Cheng-Ming Lin, Ching Chang, Wei-Yao Wang, Kuang-Da Wang, Wen-Chih Peng

Abstract

In recent years, microservices have gained widespread adoption in IT operations due to their scalability, maintenance, and flexibility. However, it becomes challenging for site reliability engineers (SREs) to pinpoint the root cause due to the complex relationships in microservices when facing system malfunctions. Previous research employed structured learning methods (e.g., PC-algorithm) to establish causal relationships and derive root causes from causal graphs. Nevertheless, they ignored the temporal order of time series data and failed to leverage the rich information inherent in the temporal relationships. For instance, in cases where there is a sudden spike in CPU utilization, it can lead to an increase in latency for other microservices. However, in this scenario, the anomaly in CPU utilization occurs before the latency increase, rather than simultaneously. As a result, the PC-algorithm fails to capture such characteristics. To address these challenges, we propose RUN, a novel approach for root cause analysis using neural Granger causal discovery with contrastive learning. RUN enhances the backbone encoder by integrating contextual information from time series, and leverages a time series forecasting model to conduct neural Granger causal discovery. In addition, RUN incorporates Pagerank with a personalization vector to efficiently recommend the top-k root causes. Extensive experiments conducted on the synthetic and realworld microservice-based datasets demonstrate that RUN noticeably outperforms the state-of-the-art root cause analysis methods. Moreover, we provide an analysis scenario for the sock-shop case to showcase the practicality and efficacy of RUN in microservice-based applications. Our code is publicly available at https://github.com/zmlin1998/RUN .

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

  • Formalizing and Falsifying Causal Pathways of Rare Events cites Root Cause Analysis for Microservice System based on Causal Inference: How Far Are We?
  • Formalizing and Falsifying Causal Pathways of Rare Events cites Root Cause Analysis of Outliers with Missing Structural Knowledge
  • Root Cause Analysis for Microservice System based on Causal Inference: How Far Are We? cites Root Cause Analysis of Failures in Microservices through Causal Discovery
  • StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems cites Root Cause Analysis of Failures in Microservices through Causal Discovery
  • Root Cause Analysis of Outliers with Missing Structural Knowledge cites Root Cause Analysis for Microservice System based on Causal Inference: How Far Are We?
  • Root Cause Analysis of Outliers with Missing Structural Knowledge cites Root Cause Analysis of Failures in Microservices through Causal Discovery
  • TS2Vec: Towards Universal Representation of Time Series cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Rethinking the Evaluation of Microservice RCA with a Fault Propagation-Aware Benchmark cites Root Cause Analysis of Failures in Microservices through Causal Discovery
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Root Cause Analysis of Outliers with Missing Structural KnowledgeWilliam Roy Orchard, Nastaran Okati, Sergio Hernan Garrido Mejia, Patrick Blöbaum et al.NeurIPS 2025 · 24 citations
  2. Root Cause Analysis for Microservice System based on Causal Inference: How Far Are We?Luan Pham, Huong Ha, Hongyu ZhangASE 2024 · 14 citations
  3. StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent SystemsTaiyu Zhu, Yifan Wu, Weilin Jin, Ying Li et al.KDD 2026 · 2 citations
  4. Rethinking the Evaluation of Microservice RCA with a Fault Propagation-Aware BenchmarkAoyang Fang, Songhan Zhang, Yifan Yang, Haotong Wu et al.FSE 2026 · 1 citation
  5. Formalizing and Falsifying Causal Pathways of Rare EventsAnahita Haghighat, Dominik JanzingICML 2026

Builds on9

  1. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  2. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  3. TS2Vec: Towards Universal Representation of Time SeriesZhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang et al.AAAI 2022 · 938 citations
  4. Root Cause Analysis of Failures in Microservices through Causal DiscoveryAzam Ikram, Sarthak Chakraborty, Subrata Mitra, Shiv Kumar Saini et al.NeurIPS 2022 · 185 citations
  5. DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep LearningChenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang et al.ICSE 2022 · 163 citations

Related papers

  1. MULAN: Multi-modal Causal Structure Learning and Root Cause Analysis for Microservice SystemsLecheng Zheng, Zhengzhang Chen, Jingrui He, Haifeng ChenWWW 2024 · 53 citations
  2. TraceCRL: contrastive representation learning for microservice trace analysisChenxi Zhang, Xin Peng, Tong Zhou, Chaofeng Sha et al.FSE 2022 · 36 citations
  3. StaR: Stateful Dynamic-Graph Root Cause Analysis through Memory-Enhanced Causality DiscoveryHaiyu Huang, Man Tik Ng, Jiewei Lyu, Yujie Huang et al.KDD 2026
  4. Trace-based Multi-Dimensional Root Cause Localization of Performance Issues in Microservice SystemsChenxi Zhang, Zhen Dong, Xin Peng, Bicheng Zhang et al.ICSE 2024 · 9 citations
  5. MRCA: Metric-level Root Cause Analysis for Microservices via Multi-Modal DataYidan Wang, Zhouruixing Zhu, Qiuai Fu, Yuchi Ma et al.ASE 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines