Root Cause Analysis of Outliers with Missing Structural Knowledge
William Roy Orchard, Nastaran Okati, Sergio Hernan Garrido Mejia, Patrick Blöbaum, Dominik Janzing
TL;DR
This work tackles root-cause analysis when only a single anomalous sample is available and the causal graph is unknown or restricted to a polytree. It leverages information-theoretic anomaly scores to avoid estimating conditional probabilities, proving that marginal scores suffice for causal reasoning in polytrees and providing guarantees via SMOOTH TRAVERSAL (known graph) and SCORE ORDERING (unknown graph). The approach yields non-parametric p-value bounds and top-k guarantees, with competitive results on synthetic data and real cloud-services datasets, while noting limitations when moving beyond polytrees. Overall, the paper offers practical, theory-grounded RCA methods that scale to single-sample settings and nonparametric regimes. The results address a key bottleneck in RCA: identifying root causes with minimal data and minimal structural assumptions, enabling faster and more reliable diagnosis in real-world systems.
Abstract
The goal of Root Cause Analysis (RCA) is to explain why an anomaly occurred by identifying where the fault originated. Several recent works model the anomalous event as resulting from a change in the causal mechanism at the root cause, i.e., as a soft intervention. RCA is then the task of identifying which causal mechanism changed. In real-world applications, one often has either few or only a single sample from the post-intervention distribution: a severe limitation for most methods, which assume one knows or can estimate the distribution. However, even those that do not are statistically ill-posed due to the need to probe regression models in regions of low probability density. In this paper, we propose simple, efficient methods to overcome both difficulties in the case where there is a single root cause and the causal graph is a polytree. When one knows the causal graph, we give guarantees for a traversal algorithm that requires only marginal anomaly scores and does not depend on specifying an arbitrary anomaly score cut-off. When one does not know the causal graph, we show that the heuristic of identifying root causes as the variables with the highest marginal anomaly scores is causally justified. To this end, we prove that anomalies with small scores are unlikely to cause those with larger scores in polytrees and give upper bounds for the likelihood of causal pathways with non-monotonic anomaly scores.
