[Paper Review] Counterfactual Explanations & Adversarial Examples - Common Grounds, Essential Differences, and Potential Transfers.
This paper establishes a conceptual and mathematical link between counterfactual explanations (CEs) and adversarial examples (AEs), showing that both arise from the same optimization problem. It introduces the distinction between feasible and contesting CEs, proving that AEs are a specific subset of contesting CEs, thereby positioning CEs as a more general framework with broader conceptual and practical implications.
The same optimization problem underlies counterfactual explanations (CEs) and adversarial examples (AEs). While this is well known, the relationship between the two at the conceptual level remains unclear. The present paper provides exactly the missing conceptual link. We compare CEs and AEs with respect to their philosophical basis, aims, and modeling techniques. We argue that CEs are a more general object-class than AEs. In particular, we introduce the conceptual distinction between feasible and contesting CEs and show that AEs correspond to the latter.
Motivation & Objective
- To clarify the conceptual relationship between counterfactual explanations (CEs) and adversarial examples (AEs), which are known to stem from the same optimization problem but remain conceptually disconnected.
- To identify and formalize the philosophical, aim-based, and modeling differences between CEs and AEs.
- To demonstrate that CEs are a more general class of explanations, with AEs being a specific, restrictive subset.
- To introduce and define the distinction between feasible and contesting CEs, providing a new conceptual lens for understanding adversarial examples.
Proposed method
- Formalizing the shared optimization problem underlying both CEs and AEs using a unified mathematical framework.
- Introducing the concept of 'feasible CEs'—counterfactuals that are realistic and actionable in real-world contexts.
- Defining 'contestating CEs' as those that challenge the model's decision by minimal perturbations, aligning them with adversarial examples.
- Using this classification to show that AEs are a special case of contesting CEs, where perturbations are minimal and imperceptible.
- Analyzing the philosophical foundations of CEs and AEs, contrasting their aims: interpretability vs. model robustness.
- Establishing a conceptual hierarchy where CEs subsume AEs as a specific, constrained subclass.
Experimental results
Research questions
- RQ1What is the conceptual relationship between counterfactual explanations and adversarial examples, despite their shared optimization basis?
- RQ2How do the philosophical aims and modeling objectives of CEs and AEs differ, even when derived from the same mathematical problem?
- RQ3Why is the distinction between feasible and contesting CEs essential for understanding adversarial examples?
- RQ4In what way are adversarial examples a special case of counterfactual explanations?
- RQ5Can insights from CEs improve the robustness of machine learning models, or vice versa?
Key findings
- Counterfactual explanations are a more general class than adversarial examples, with AEs forming a specific subset defined by minimal, imperceptible perturbations.
- The distinction between feasible and contesting CEs provides a conceptual framework that clarifies the nature of adversarial examples as a form of extreme, non-actionable counterfactuals.
- Adversarial examples correspond exactly to contesting CEs that are not feasible in real-world contexts, highlighting their lack of practical interpretability.
- The shared optimization problem unifies CEs and AEs, but their conceptual roles diverge significantly: CEs aim for interpretability and actionability, while AEs focus on model vulnerability.
- The paper establishes that AEs are not fundamentally different from CEs in mathematical form, but differ critically in their practical and philosophical intent.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.