Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PRIM: Meta-Learned Bayesian Root Cause Analysis

About

Root cause analysis (RCA) in complex systems is challenging due to error propagation across multiple variables, the need for structural causal knowledge, and the computational cost of inference at test time. We introduce PRIM (Prior-fitted Root cause Identification with Meta-learning), a causal meta-learning approach that frames RCA as a Bayesian inference task over a synthetic prior of causal models. By marginalising out structural uncertainty, PRIM implicitly identifies changes in the data-generating mechanism between baseline and anomalous periods. In doing so, PRIM infers distributional differences without explicit statistical testing, and implicitly learns causal structure without model fitting at test time. Following the simulation-based meta-learning paradigm of prior-fitted networks, PRIM uses a Model-Averaged Causal Estimation (MACE) transformer neural process that jointly attends over observational and anomalous samples and the causal structure of nodes, enabling zero-shot inference in 17,ms for systems with up to 100 variables. Across synthetic benchmarks and two realistic benchmark datasets, PetShop and CausRCA, PRIM is competitive with methods that are aware of the system's causal graphical structure a priori while outperforming graph-unaware methods on several tasks. Lightweight fine-tuning to specific domains and data dynamics improves performance further.

Christopher Lohse, Anish Dhir, Amadou Ba, Bradley Eck, Marco Ruffini, Jonas Wahl• 2026

Related benchmarks

TaskDatasetResultRank
Root Cause AnalysisPetshop low traffic scenario
Recall@188
16
Root Cause AnalysisPetshop temporal traffic scenario
Recall@167
16
Root Cause AnalysisPetshop high traffic scenario
Recall@110
16
Root Cause AnalysisCausRCA Probe (Sub)
MAP@345
15
Root Cause AnalysisCausRCA Hydraulics (Sub)
MAP@391
15
Root Cause AnalysisCausRCA Coolant (Sub)
MAP@396
15
Root Cause AnalysisCausRCA Coolant (Full)
MAP@363
14
Root Cause AnalysisCausRCA Hydraulics (Full)
MAP@366
14
Root Cause AnalysisCausRCA Probe (Full)
MAP@30.00e+0
14
Root Cause AnalysisPetShop low traffic, latency
Top-3 Recall60
8
Showing 10 of 16 rows

Other info

Follow for update