What are counterfactual explanations?

What are counterfactual explanations?

A counterfactual explanation describes a causal situation in the form: “If X had not occurred, Y would not have occurred”. Displayed as a graph, the relationship between the inputs and the prediction is very simple: The feature values cause the prediction.

What is a contrastive explanation?

However, research in philosophy and social sciences shows that explanations are contrastive: that is, when people ask for an explanation of an event — the fact — they (sometimes implicitly) are asking for an explanation relative to some contrast case; that is, “Why P rather than Q?”.

What is a counterfactual in philosophy?

Counterfactual: A counterfactual assertion is a conditional whose antecedent is false and whose consequent describes how the world would have been if the antecedent had obtained. The counterfactual takes the form of a subjunctive conditional: �If P had obtained, then Q would have obtained�.

What is a counterfactual model?

In the counterfactual model, a causal factor is a necessary factor without which the outcome (e.g. treatment success) would not have occurred. As the condition is not required to be sufficient for the outcome, multiple causal factors are allowed.

What is counterfactual thinking example?

A counterfactual thought occurs when a person modifies a factual prior event and then assesses the consequences of that change. For example, a person may reflect upon how a car accident could have turned out by imagining how some of the factors could have been different, for example, If only I hadn’t been speeding….

Is counterfactual history useful?

Historians do use counterfactuals all the time as an analytical tool, a method for uncovering causal connections. For historians, counterfactuals are statements about what would have happened in the past if some historical fact had been otherwise.

What is an example of counterfactual thinking?

Can counterfactuals be true?

Many counterfactuals have false antecedents and consequents, but some are true and others false.

What is the point of counterfactual history?

As a method of intellectual enquiry, counterfactual history explores history and historical incidents by extrapolating a timeline in which key historical events either did not occur or had an outcome different from the actual historical outcome.

What is the purpose of counterfactual history?

Historians use counterfactuals because they are closely linked to a common-sense understanding of causation. The claim that event A caused event B implies that if A had not occurred, B would not have occurred. Counterfactuals therefore serve as thought experiments to test causal claims.

Do you have to be an example of a counterfactual?

Unlike prototypes, counterfactuals do not have to be actual instances from the training data, but can be a new combination of feature values. Before discussing how to create counterfactuals, I would like to discuss some use cases for counterfactuals and how a good counterfactual explanation looks like.

Why are counterfactual explanations human-friendly explanations?

Counterfactuals are human-friendly explanations, because they are contrastive to the current instance and because they are selective, meaning they usually focus on a small number of feature changes. But counterfactuals suffer from the ‘Rashomon effect’.

How are counterfactual explanations used in machine learning?

In interpretable machine learning, counterfactual explanations can be used to explain predictions of individual instances. The “event” is the predicted outcome of an instance, the “causes” are the particular feature values of this instance that were input to the model and “caused” a certain prediction.

Which is a quality criterion for a counterfactual?

Another quality criterion is that a counterfactual should be as similar as possible to the instance regarding feature values. The distance between two instances can be measured, for example, with the Manhattan distance or the Gower distance if we have both discrete and continuous features.