Towards Non-adversarial Algorithmic Recourse

Tobias Leemann, Martin Pawelczyk, Bardh Prenkaj, Gjergji Kasneci

Introduction

In high-stakes decision-making systems, such as loan approvals or university admissions, machine learning models are increasingly used to automate or assist human experts. Algorithmic recourse aims to provide individuals with actionable recommendations to reverse unfavorable outcomes (e.g., "increase your savings by $5,000 to get approved").

The workflow of algorithmic recourse in an institutional setting where experts make the final decision based on model suggestions.

However, a critical issue arises: many recourse algorithms behave like adversarial attacks. They find the minimal perturbation to flip a model's prediction without necessarily changing the underlying reality that a human expert would consider. If a bank's model is tricked into an 'accept' state while a human loan officer would still 'reject' based on the same data, the recourse is adversarial—a hack rather than a genuine improvement in the user's situation.

Defining Non-Adversarial Recourse

This research formalizes the distinction between mere model-flipping and meaningful change by introducing the concept of Non-Adversarial Recourse. A recommendation is considered non-adversarial if it satisfies three conditions: it is close to the original data point, it changes the model's prediction ($f(x)$), and it aligns with the "ground-truth" decision ($y(x)$) typically made by human experts.

Geometric distinction between the decision boundaries of a model $f$ and the ground-truth expert $y$. A counterfactual may flip the model but fail to reach the expert's boundary.

To quantify this, the authors propose the Non-Adversarialness (NADV) measure. This metric evaluates whether suggested changes lie in "discriminative" directions—features that truly matter to the ground truth—rather than "noise" directions that only exploit model vulnerabilities. In practice, since ground truth is often latent, the researchers simulate it using a $k$-nearest neighbor ($k$-NN) classifier acting as a proxy for a "human expert panel."

Experimental Evaluation

The study evaluates various recourse methods (like DiCE) and adversarial attacks (like PGD) across four high-stakes tabular datasets: Admission (law school grades), German Credit, COMPAS (recidivism), and HELOC (home equity loans).

Key Insights

  • Model Quality Over Algorithm Choice: The specific optimization algorithm used to generate recourse is less important than the quality of the underlying ML model. More accurate models naturally yield more non-adversarial recourse.
  • The Role of Robustness: Models trained with adversarial training—designed to resist small perturbations—produce significantly better recourse. A robust model's decision boundary is harder to bypass with meaningless tweaks, forcing the recourse algorithm to find more substantial, ground-truth-aligned changes.
  • The Cost of Truth: Non-adversarial recourse is typically "more expensive," requiring larger feature changes than adversarial counterparts. This implies that seeking the "optimal" (minimal) change often leads to useless, adversarial results.
  • Tabular Transferability: Interestingly, adversarial attacks originally designed for computer vision (e.g., DeepFool) are highly effective at generating recourse for tabular data, often outperforming specialized recourse methods.

Conclusion

Providing meaningful recourse requires moving beyond simple optimization of model outputs. By focusing on model robustness and alignment with expert ground truth, developers can ensure that algorithmic recommendations lead to genuine improvement for the user rather than just exploiting model weaknesses. Future work will likely integrate causal modeling to ensure that suggested changes are not just correlated with better outcomes but are the actual drivers of them.

Summary updated

BibTeX
@inproceedings{leemann2024towards,
  author = {Tobias Leemann and Martin Pawelczyk and Bardh Prenkaj and Gjergji Kasneci},
  title = {{Towards Non-adversarial Algorithmic Recourse}},
  booktitle = {xAI},
  year = {2024},
  url = {https://openreview.net/forum?id=gFR66o0CBp},
}
Figure