arXiv:2608.24562cs.CYAug 2026

Manuscript Offprint

arXiv:2608.24562

Counterfactual Explanations and the Scope of Contestability

Alice C. W. Huang, Thomas Grote

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alice C.W. Huang

Department of Philosophy and Department of Computer Science, University of Western Ontario

Schwartz Reisman Institute for Technology and Society

Email: alice.huang@uwo.ca

Orcid: 0000-0002-1719-1945

Thomas Grote

Department of Computer Science and Artificial Intelligence, University of Technology

Nuremberg

Email: thomas.grote@utn.de

Orcid: 0000-0002-9832-6046

Abstract: The automation of consequential decisions through opaque machine learning models in societal domains impedes our agency. This paper is about how agency can be reinstated by the provision of certain kinds of knowledge. More precisely, we discuss whether a specific type of explanation, counterfactual explanations, facilitates our ability to contest algorithmic decisions. Against this backdrop, our paper makes three contributions: First, we develop an account of contestability, where contestability is defined as the provision of information, sufficient for a decision-subject to use as a basis for demanding that a decision be revoked. We also demarcate contestability from adjacent concepts in the discourse surrounding the right to explanation, such as justification and recourse. Second, we examine to what extent counterfactual explanations are conducive to contestability by considering a variety of failure modes causing problematic algorithmic decisions and scrutinize to what extent counterfactual explanations help us detect the underlying errors. Third, we propose ways in which, with certain modifications, counterfactual explanations can be made more fitting to serve the desired function. In this vein, we sketch the contours of a multi-shot approach to counterfactuals, where decision-subjects can query a model to test their own counterfactuals for a (limited) number of times.

Keywords: Right to Explanation; Counterfactual Explanations; Contestability; Explainable AI; Machine Learning;

1. Introduction

The automation of consequential decisions through opaque machine learning models in societal domains impedes our agency, and concerns about agency often underpin discussions about the right to explanation (Selbst & Barocas, 2018; Jongepier & Keymolen, 2022; Vredenburgh, 2022). This paper is about how agency can be reinstated by the provision of certain kinds of knowledge. More precisely, we discuss whether—and to what extent—a specific type of explanation, counterfactual explanations, facilitates the ability to contest algorithmic decisions, which is central to our agency.

The importance of contestability in the context of algorithmic decisions has been a subject of discussion since the General Data Protection Regulation (GDPR) was enacted. In article 22 of GDPR, it is stated that “the data controller shall implement suitable measures to safeguard the data subject’s rights and freedoms and legitimate interests, at least the right to obtain human intervention on the part of the controller, to express his or her point of view and to contest the decision (our emphasis).” Subsequently, many have reaffirmed the connection between the ability to contest automated decisions and the right to explanation. Some have argued that the right to explanation is necessary for, and derived from, the right to contest (Mendoza & Bygrave, 2017; Brkan, 2019). Vredenburgh (2022), in her influential paper defending the right to explanation, also regards the ability to contest decisions as being central to informed self-advocacy, which she takes to ground the right to explanation.

While there seems to be a general agreement on the importance of contestability, much less ink has been spilt on what it means exactly for explanations about algorithmic decisions to enable contestability, and the literature is scattered across different subfields (Ploug & Holm, 2020; Kaminski & Urban, 2021; Alfrink et al., 2023; Karusala et al., 2024).

Against this backdrop, our paper has three interrelated goals:

  1. We develop an account of contestability, where contestability is defined as the provision of information, sufficient for a decision-subject to use as a basis for demanding that a decision be revoked.

  2. We examine to what extent counterfactual explanations are conducive to contestability.

  3. We highlight how, with additional procedural support, counterfactual explanations can be made more fitting to serve the desired function.

Counterfactual explanations describe how the output of a machine learning model would change if certain input features were different. These explanations provide insights that are easy to understand by laypeople, for example, by stating that “a loan would have been approved if income were 5,000 higher.” To automate the generation of these explanations, often an algorithm is used to search for a modified version of the original input that changes the output while remaining as similar to the original as possible, for a defined metric of similarity. 1^{1}

We focus on counterfactual explanations for two reasons. First, since the publication of the seminal paper by Wachter et al. (2017), counterfactual explanations have become the standard approach in the machine learning literature to help decision-subjects understand algorithmic decisions and navigate changes that could alter future decisions about them. The same authors also stress their importance for contestability, stating that “counterfactuals could be helpful for contesting decisions, and thus provide greater protection for the data subject than currently envisioned by the GDPR.....By providing information about the external factors and key variables that contributed to a specific decision, counterfactuals can provide valuable information for data subjects to exercise their right to contest (p. 41).”

1^{1} The assumption that a similarity metric can sensibly be defined is contentious, and what similarity means could vary depending on the context.

Second, counterfactual explanations are one type of model explanation that appear to sidestep some of the criticisms often directed at advocates of the right to explanation, notably Vredenburgh (2022). 2^{2}

Institutional critiques argue that the right to explanation entails demands for transparency that go way beyond current standards of service industries, public policy, or even best scientific practices. Consequently, they contend that the target of the right to explanation must be profoundly revised or outright refused (Taylor, 2024; Karlan & Kugelberg, 2025). Otherwise, we risk imposing a double-standard between algorithm-based and traditional decision-processes, which has undesirable consequences for the design of institutions (see also Zerilli et al., 2019).

Others criticize the adequacy of most types of algorithmic explanations by pointing out that the kinds of explanations that can be generated for algorithmic decisions fall short in their intended goals. Taylor (2024) argues that algorithmic explanations might not be sufficiently sensitive to contextual factors or can fail to capture the real difference makers in an algorithmic decision. Grote & Paulo (2025) claim that the correct interpretation of algorithmic explanations requires a combination of statistical literacy and domain-knowledge that cannot be presupposed for laypeople. They are therefore unlikely to understand the underlying logic of algorithmic decisions to the degree necessary to make real use of that information. 3^{3}

Counterfactual explanations seem to be able to fend off some of these criticisms. For decision-making authorities, generating counterfactual explanations is computationally cheap, model agnostic and side-steps the problem of having to open up the black box (Wachter et al., 2017). This can at least alleviate some of the worries of institutional critiques. Against the inadequacy argument, it has been shown that, given certain conditions, counterfactual explanations are indeed able to capture difference makers (Baron, 2023). Finally, unlike explainability techniques providing summary statistics, they are intuitive—as psychological research suggests that the capability for past counterfactual reasoning emerges some time between the age of five and twelve in children (for review, Goddu & Gopnik, 2024). Counterfactual explanations therefore seem to be less affected by arguments of intellectual over-demandingness.

Unfortunately, a closer examination of the failure modes leading to faulty algorithmic decisions lends itself to a pessimistic view regarding the extent to which counterfactual explanations provide a sufficient basis for demanding that a decision be revoked. For example, when faulty decisions are a byproduct of errors in data or computation, counterfactual explanations are an inefficient tool for detecting said errors. Moreover, the information necessary to contest decisions is often too complex or might lie outside of what can meaningfully be provided by counterfactual explanations. However, part of our positive contribution is to highlight how some of the problems

2^{2} For more thorough reconstructions of the relevant debate, see Dishaw (2025); Grote & Paulo (2025); and Vredenburgh (2024).

3^{3} There is another variant of criticisms that argue that informed-self advocacy, the interest that Vredenburgh (2022) takes to ground the right to explanation, alone is not sufficient to establish that we have a right to explanation. We either need other more foundational concepts (Grant et al., 2025; Dishaw, 2025), or complementary concepts (Lazar, 2024) to account for why we have a right to explanations.

can be remedied by modifying the way(s) in which counterfactual explanations are currently used. To this end, we sketch the contours of a multi-shot approach to counterfactuals, where decision-subjects can query a model to test their own counterfactuals for a (limited) number of times.

We proceed as follows: Section 2 develops an account of contestability, using justification and recourse as contrast classes. Section 3 considers a variety of failure modes causing incorrect algorithmic decisions and scrutinizes to what extent counterfactual explanations are able to detect the underlying errors. Section 4 then provides the outlines of a modified approach to counterfactual explanations, better suited to rendering algorithmic decisions contestable.

References (73)