Counterfactual Causality for Reachability and Safety based on Distance Functions

08/22/2023
by   Julie Parreaux, et al.
0

Investigations of causality in operational systems aim at providing human-understandable explanations of why a system behaves as it does. There is, in particular, a demand to explain what went wrong on a given counterexample execution that shows that a system does not satisfy a given specification. To this end, this paper investigates a notion of counterfactual causality in transition systems based on Stalnaker's and Lewis' semantics of counterfactuals in terms of most similar possible worlds and introduces a novel corresponding notion of counterfactual causality in two-player games. Using distance functions between paths in transition systems, this notion defines whether reaching a certain set of states is a cause for the violation of a reachability or safety property. Similarly, using distance functions between memoryless strategies in reachability and safety games, it is defined whether reaching a set of states is a cause for the fact that a given strategy for the player under investigation is losing. The contribution of the paper is two-fold: In transition systems, it is shown that counterfactual causality can be checked in polynomial time for three prominent distance functions between paths. In two-player games, the introduced notion of counterfactual causality is shown to be checkable in polynomial time for two natural distance functions between memoryless strategies. Further, a notion of explanation that can be extracted from a counterfactual cause and that pinpoints changes to be made to the given strategy in order to transform it into a winning strategy is defined. For the two distance functions under consideration, the problem to decide whether such an explanation imposes only minimal necessary changes to the given strategy with respect to the used distance function turns out to be coNP-complete and not to be solvable in polynomial time if P is not equal to NP, respectively.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/29/2021

Causality-Based Game Solving

We present a causality-based algorithm for solving two-player reachabili...
research
10/10/2017

Counterfactual Causality from First Principles?

In this position paper we discuss three main shortcomings of existing ap...
research
05/11/2020

Reaching Your Goal Optimally by Playing at Random

Shortest-path games are two-player zero-sum games played on a graph equi...
research
02/18/2019

Coverability in 1-VASS with Disequality Tests

We show that the control-state reachability problem for one-dimensional ...
research
12/22/2017

Companions, Causality and Codensity

In the context of abstract coinduction in complete lattices, the notion ...
research
09/06/2023

TSO Games – On the decidability of safety games under the total store order semantics (extended version with appendix)

We consider an extension of the classical Total Store Order (TSO) semant...
research
10/06/2020

Towards Coalgebras in Stylometry

The syntactic behaviour of texts can highly vary depending on their cont...

Please sign up or login with your details

Forgot password? Click here to reset