Towards Non-Adversarial Algorithmic Recourse
Tobias Leemann, Martin Pawelczyk, Bardh Prenkaj, Gjergji Kasneci
TL;DR
This work defines non-adversarial algorithmic recourse as counterfactual explanations that not only flip model predictions but also align with the ground-truth label in high-stakes, human-in-the-loop decisions. It formalizes a unified optimization framework for recourse and adversarial examples, and introduces NADV-based cost weighting to emphasize discriminative features. Theoretical results show how the choice of model, distance metric, and optimization routine shape non-adversarial outcomes, with a precise solution for linear models under noisy labels. Empirically, robust and accurate models, together with targeted cost weighting and adversarial training, reduce adversarial recourse across multiple tabular datasets, suggesting practical strategies for reliable, GDPR-compliant recourse in real-world decision-making.
Abstract
The streams of research on adversarial examples and counterfactual explanations have largely been growing independently. This has led to several recent works trying to elucidate their similarities and differences. Most prominently, it has been argued that adversarial examples, as opposed to counterfactual explanations, have a unique characteristic in that they lead to a misclassification compared to the ground truth. However, the computational goals and methodologies employed in existing counterfactual explanation and adversarial example generation methods often lack alignment with this requirement. Using formal definitions of adversarial examples and counterfactual explanations, we introduce non-adversarial algorithmic recourse and outline why in high-stakes situations, it is imperative to obtain counterfactual explanations that do not exhibit adversarial characteristics. We subsequently investigate how different components in the objective functions, e.g., the machine learning model or cost function used to measure distance, determine whether the outcome can be considered an adversarial example or not. Our experiments on common datasets highlight that these design choices are often more critical in deciding whether recourse is non-adversarial than whether recourse or attack algorithms are used. Furthermore, we show that choosing a robust and accurate machine learning model results in less adversarial recourse desired in practice.
