Causal structure based root cause analysis of outliers

Dominik Janzing, Kailash Budhathoki, Lenon Minorics, Patrick Blöbaum
12/5/2019
stat.MLcs.LGmath.ST

Official code: py-why/dowhy (8,409 stars, Python, MIT, last commit 2026-10-20).

Abstract

We describe a formal approach to identify 'root causes' of outliers observed in $n$ variables $X_1,\dots,X_n$ in a scenario where the causal relation between the variables is a known directed acyclic graph (DAG). To this end, we first introduce a systematic way to define outlier scores.

Show full abstract

Further, we introduce the concept of 'conditional outlier score' which measures whether a value of some variable is unexpected *given the value of its parents* in the DAG, if one were to assume that the causal structure and the corresponding conditional distributions are also valid for the anomaly. Finally, we quantify to what extent the high outlier score of some target variable can be attributed to outliers of its ancestors. This quantification is defined via Shapley values from cooperative game theory.

View on arXivView PDF

Code Implementations(1)

py-why/dowhyOfficial100%
MIT

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.

8,4091,071PythonMay 31, 20181 months agoMIT
bayesian-networkscausal-inferencecausal-machine-learningcausal-modelscausality+6 more

Similar Papers

Cite this paper

@article{janzing2019causal,
  title  = {Causal structure based root cause analysis of outliers},
  author = {Dominik Janzing and Kailash Budhathoki and Lenon Minorics and Patrick Blöbaum},
  year   = {2019},
  eprint = {1912.02724},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.02724}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.02724.svg)](https://codeofpaper.com/paper/1912.02724)

Discussion