Saved in:
Bibliographic Details
Main Authors: Weilbach, Juliane, Gerwinn, Sebastian, Barsim, Karim, Fränzle, Martin
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.08106
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916283654602752
author Weilbach, Juliane
Gerwinn, Sebastian
Barsim, Karim
Fränzle, Martin
author_facet Weilbach, Juliane
Gerwinn, Sebastian
Barsim, Karim
Fränzle, Martin
contents Identifying the underlying reason for a failing dynamic process or otherwise anomalous observation is a fundamental challenge, yet has numerous industrial applications. Identifying the failure-causing sub-system using causal inference, one can ask the question: "Would the observed failure also occur, if we had replaced the behaviour of a sub-system at a certain point in time with its normal behaviour?" To this end, a formal description of behaviour of the full system is needed in which such counterfactual questions can be answered. However, existing causal methods for root cause identification are typically limited to static settings and focusing on additive external influences causing failures rather than structural influences. In this paper, we address these problems by modelling the dynamic causal system using a Residual Neural Network and deriving corresponding counterfactual distributions over trajectories. We show quantitatively that more root causes are identified when an intervention is performed on the structural equation and the external influence, compared to an intervention on the external influence only. By employing an efficient approximation to a corresponding Shapley value, we also obtain a ranking between the different subsystems at different points in time being responsible for an observed failure, which is applicable in settings with large number of variables. We illustrate the effectiveness of the proposed method on a benchmark dynamic system as well as on a real world river dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08106
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Counterfactual-based Root Cause Analysis for Dynamical Systems
Weilbach, Juliane
Gerwinn, Sebastian
Barsim, Karim
Fränzle, Martin
Machine Learning
Identifying the underlying reason for a failing dynamic process or otherwise anomalous observation is a fundamental challenge, yet has numerous industrial applications. Identifying the failure-causing sub-system using causal inference, one can ask the question: "Would the observed failure also occur, if we had replaced the behaviour of a sub-system at a certain point in time with its normal behaviour?" To this end, a formal description of behaviour of the full system is needed in which such counterfactual questions can be answered. However, existing causal methods for root cause identification are typically limited to static settings and focusing on additive external influences causing failures rather than structural influences. In this paper, we address these problems by modelling the dynamic causal system using a Residual Neural Network and deriving corresponding counterfactual distributions over trajectories. We show quantitatively that more root causes are identified when an intervention is performed on the structural equation and the external influence, compared to an intervention on the external influence only. By employing an efficient approximation to a corresponding Shapley value, we also obtain a ranking between the different subsystems at different points in time being responsible for an observed failure, which is applicable in settings with large number of variables. We illustrate the effectiveness of the proposed method on a benchmark dynamic system as well as on a real world river dataset.
title Counterfactual-based Root Cause Analysis for Dynamical Systems
topic Machine Learning
url https://arxiv.org/abs/2406.08106