atlas

Research map / Probabilistic and scientific modeling / Causal discovery

Root Cause Analysis in Microservice Using Neural Granger Causal Discovery

AAAI 2024 · Probabilistic and scientific modeling › Causal discovery · approach: Causal discovery from time series · 33 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes RUN, a root cause analysis method for microservices that pre-trains a DLinear encoder with contrastive learning on same-timestamp positive pairs (SimSiam-style, no negatives), learns a Granger causal graph via per-variable forecasters with a learnable attention matrix, and ranks root causes with personalized PageRank.

Problem

Root cause analysis in microservice systems from multivariate KPI time series; prior causal-discovery methods (PC-algorithm based) ignore temporal order, and prior neural Granger methods do not exploit contextual information in time series.

Approach

Contrastive pre-training that treats only identical timestamps with different contexts as positives (no negatives, to avoid pushing apart periodically similar timestamps), followed by neural Granger causal discovery via a learnable causal attention matrix and PageRank with a personalization vector and modified access-distance tie-breaking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RUN instead of ε-DiagnosisSock-shop CPU hog root cause analysis · Sock-shop, CPU hogHR@1: 0.28 -> 0.40Helped
Use RUN instead of ε-DiagnosisSock-shop Memory leak root cause analysis · Sock-shop, Memory leakHR@1: 0.20 -> 0.12Hurt
Use RUN instead of ε-DiagnosisSock-shop CPU hog root cause analysis · Sock-shop, CPU hogHR@3: 0.32 -> 0.48Helped
Use RUN instead of ε-DiagnosisSock-shop Memory leak root cause analysis · Sock-shop, Memory leakHR@3: 0.20 -> 0.32Helped
Use RUN instead of ε-DiagnosisSock-shop CPU hog root cause analysis · Sock-shop, CPU hogHR@5: 0.32 -> 0.52Helped
Use RUN instead of ε-DiagnosisSock-shop Memory leak root cause analysis · Sock-shop, Memory leakHR@5: 0.20 -> 0.36Helped
Use RUN instead of ε-DiagnosisSock-shop CPU hog root cause analysis · Sock-shop, CPU hogMRR: 0.304 -> 0.484Helped
Use RUN instead of ε-DiagnosisSock-shop Memory leak root cause analysis · Sock-shop, Memory leakMRR: 0.227 -> 0.248Helped
remove the pre-training stage (ablation)RUN · Sock-shoproot cause analysis performanceHurt
incorporate negative pairs in contrastive learning (ablation)RUN · Sock-shoproot cause analysis performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Synthetic data generated via RCD procedure with PyAgrum CPTs Sock-shop microservice dataset

Benchmarks: Sock-shop (CPU hog, memory leak) Synthetic data (10-50 nodes)

Metrics: HR@1 HR@3 HR@5 MRR

Baselines: epsilon-Diagnosis AutoMAP RCD Psi-PC CausalRCA

Builds on: Granger causality DLinear SimSiam GrootRank TS2Vec

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy