PRIM: Meta-Learned Bayesian Root Cause Analysis
Christopher Lohse, Anish Dhir, Amadou Ba, Bradley Eck, Marco Ruffini, Jonas Wahl
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Causal Discovery · Type: new method · Keywords: root cause analysis, causal meta-learning, Bayesian inference, transformer neural process, zero-shot diagnosis
Areas: Causal Inference › Causal Learning › Causal Discovery for Temporal Systems
Summary
PRIM is a causal meta-learning approach that performs Bayesian root cause analysis using a synthetic prior and a transformer neural process, enabling zero-shot inference in milliseconds.
Explained to a 5-year-old
When something goes wrong in a big machine, we need to find out why. Usually we have to look at many parts and know how they are connected, which is hard. This paper makes a tool that looks at normal and broken times together, and guesses the cause without learning a lot. It works fast, like in a blink. This helps fix problems quickly.
Explained to a 5-year-old, longer
When a machine or a computer system has a problem, we want to know what started it. This is called root cause analysis, and it can be tricky because many things are connected. Often we need to know the rules that link the parts, but we might not have them. Also, figuring out the cause can take a lot of time and computer power. The paper creates a new way to solve this puzzle by using a kind of memory that learns from many examples. It builds a fake model of how things could be related, then looks at both normal and broken data. By comparing the two, it spots changes that show the problem's source. It does this without having to learn a new detailed model each time, which saves time. The method uses a special kind of network that can think about many pieces at once. It can give an answer in just a few milliseconds, so it feels instant. This makes it possible to check many systems quickly, even those with many parts. The approach works well on both made-up test cases and real-world examples, helping engineers fix issues faster.
For a technical reader
PRIM tackles the hard problem of finding why a system failed by treating root cause analysis as a Bayesian inference task. It learns a synthetic prior over causal models and uses a transformer neural process to compare normal and anomalous data, spotting changes without fitting a new graph each time. This design lets it infer root causes in about 17 ms even for systems with up to 100 variables. The method is evaluated on synthetic benchmarks and two real datasets, showing competitive performance against graph-aware baselines and superior results on graph-unaware tasks, with further gains from lightweight fine-tuning.
Problem
Root cause analysis in complex systems is difficult because errors propagate across many variables, structural causal knowledge is required, and inference can be computationally expensive.
Method
The approach frames root cause analysis as a Bayesian inference problem over a synthetic prior of causal models, marginalising structural uncertainty and using a transformer neural process that attends over baseline and anomalous data to infer distributional changes without fitting a causal graph at test time.
Results
The approach matches or exceeds performance of graph-aware methods and surpasses graph-unaware methods on several tasks, with further gains from lightweight fine-tuning.
Contributions
The paper introduces a causal meta-learning framework that performs Bayesian root cause analysis using a synthetic prior and a transformer neural process, enabling zero-shot inference without explicit model fitting, and demonstrates strong performance on synthetic and real benchmarks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction