In automated decision-making systems—such as those used for loan approvals or medical diagnoses—a negative outcome often prompts the question: "What can I change to get a 'yes' next time?" This has led to the development of algorithmic recourse and counterfactual explanations. However, a significant challenge remains: many current methods suggest changes that "game" the algorithm rather than improving the user's real-world situation.
A recent paper by Jesse Friedbaum, Sudarshan Adiga, and Ravi Tandon introduces Trustworthy Actionable Perturbations (TAP). This framework ensures that suggested recourses are both practically feasible and substantively effective, moving beyond mere adversarial exploitation of model brittleness.
The Problem: Adversarial Counterfactuals
Standard machine learning classifiers are often brittle. A typical counterfactual might suggest a loan applicant change their mailing address to a wealthier zip code. While this might flip the model's decision to "approved," it does not improve the applicant's actual likelihood of repayment. Such suggestions are adversarial counterfactuals: they exploit model quirks rather than reflecting meaningful changes in the underlying state.
Furthermore, existing methods often rely on generic distance metrics (like $\ell_1$ or $\ell_2$ norms) that fail to account for the varying "effort" required for different real-world actions. For instance, increasing income is generally harder than reducing a requested loan amount, yet standard metrics treat them as equivalent.
The TAP Framework
The authors propose a robust three-pronged approach to generating trustworthy recourse:
- Two-Step Verification: TAP utilizes a generator to find perturbations that meet a desired goal while minimizing real-world costs. These suggestions are then passed through an independently trained verifier $V(x, \tilde{x})$. This verifier assesses whether the original and modified points belong to the same underlying class. If the main model predicts a class change but the verifier indicates the class remains the same, the change is flagged as adversarial and rejected.
- Flexible Target Sets: Rather than just crossing a 50% probability threshold, TAP allows users to define specific Target Sets (e.g., "at least an 80% probability of repayment"). The authors derived a differentiable closed-form solution for the distance to these sets using $f$-divergences, enabling efficient gradient-based optimization.
- Real-World Cost Functions: TAP incorporates application-specific cost matrices. These matrices can account for immutable features (e.g., age), directional changes (e.g., education can only increase), and the specific "effort" associated with different features.
Empirical Evaluation and Results
The framework was evaluated on four diverse datasets: Adult Income, Law School Success, Diabetes Prediction, and German Credit.
Superior Efficiency
TAP consistently identified recourses that moved individuals into target goals at lower real-world costs compared to standard methods like DICE or Wachter’s counterfactuals. In the German Credit dataset, for example, TAP found that zero-cost actions, such as closing empty accounts, were often sufficient to significantly improve credit risk scores.
Robustness Against Gaming
The verification step proved highly effective, identifying that approximately 14% of TAP’s own suggestions and up to 27% of standard counterfactuals were actually "gaming" the model. Notably, the verifier was 100% effective at eliminating Carlini-Wagner adversarial attacks, which standard methods often misidentify as valid recourse.
Conclusion
TAP represents a significant advancement in algorithmic recourse by formalizing the link between counterfactuals and adversarial attacks. By introducing an independent verification step and nuanced cost functions, it provides users with "trustworthy" paths to improvement. Future work may involve integrating explicit causal models to further refine the definition of valid recourse and extending the framework to non-differentiable classifiers.
Reference: Friedbaum, J., Adiga, S., & Tandon, R. (2024). Trustworthy Actionable Perturbations. Proceedings of the 41st International Conference on Machine Learning (ICML).
Summary updated