Abstract
Algorithmic recourse is a process that leverages counterfactual explanations, going beyond understanding why a system produced a given classification, to providing a user with actions they can take to change their predicted outcome. Existing approaches to compute such interventions—known as recourse—identify a set of points that satisfy some desiderata—e.g. an intervention in the underlying causal graph, minimizing a cost function, etc. Satisfying these criteria, however, requires extensive knowledge of the underlying model structure, an often unrealistic amount of information in several domains. We propose a data-driven and model-agnostic framework to compute counterfactual explanations. We introduce StEP, a computationally efficient method that offers incremental steps along the data manifold that directs users towards their desired outcome. We show that StEP uniquely satisfies a desirable set of axioms. Furthermore, via a thorough empirical and theoretical investigation, we show that StEP offers provable robustness and privacy guarantees while outperforming popular methods along important metrics.
Introduction
When an algorithm denies a loan application or rejects a resume, users naturally ask: "What can I do to change this?" This is the core of algorithmic recourse. While many methods provide "counterfactual explanations," they often suggest unrealistic "jumps" or require deep internal knowledge of the model's logic.
Researchers from Google DeepMind and UMass Amherst have introduced StEP (Stepwise Explainable Paths), a data-driven, model-agnostic framework. StEP provides incremental directions toward a desired outcome, ensuring users follow a realistic path grounded in the underlying data distribution.
The Problem with Current Recourse
Existing methods often treat recourse as a single "jump" from a rejection point to an acceptance point. This approach has three major flaws:
- Information Overload: It often requires full access to model architectures or causal graphs, which are rarely available in real-world settings.
- Off-Manifold Suggestions: Without understanding the "data manifold" (the distribution of real-world data), algorithms may suggest impossible changes, such as decreasing age while increasing income.
- Lack of Agency: Users often cannot make one large leap and instead require a step-by-step path they can follow iteratively.
The StEP Framework
StEP shifts the focus from finding a specific destination point to identifying a recourse direction. Instead of optimizing a complex loss function, StEP uses training data to calculate directions based on the location of successfully classified points.
Core Components
- Directional Guidance: Directions are calculated as a weighted sum of vectors pointing toward positively classified points. Points closer to the user carry more weight, ensuring local relevance.
- Clustering for Diversity: By partitioning data into $k$ clusters, StEP offers multiple paths (e.g., "improve credit score" vs. "increase savings"), granting users agency in their recourse.
- Axiomatic Foundation: StEP is the only method proven to satisfy six fundamental axioms, including Shift Invariance (advice remains consistent across unit changes) and Data Manifold Symmetry (advice depends on real data points, not empty space).
- Privacy and Robustness: StEP can be made $(\epsilon, \delta)$-differentially private by adding Gaussian noise, ensuring that recourse directions do not leak sensitive information about individuals in the training set.
Empirical Evaluation
The researchers evaluated StEP against popular baselines (DiCE, FACE, and C-CHVAE) using three real-world datasets: Credit Card Default, Give Me Some Credit, and UCI Adult. These were tested across various model types, including Logistic Regression, Random Forests, and Deep Neural Networks (DNNs).
Key Results
- Success and Proximity: StEP consistently achieved near 100% success rates with lower "travel distance" than methods like DiCE. While DiCE offers diversity, its suggestions are often too distant to be actionable.
- Efficiency: StEP's computational complexity scales linearly with dataset size, making it significantly faster than optimization-based alternatives.
- Consistency: StEP maintains a robust balance between validity, proximity, and diversity across various models and datasets, outperforming FACE and C-CHVAE which often struggle in specific metrics.
Discussion and Future Work
StEP demonstrates that model-agnosticism is a significant feature; it only requires training data and model outputs. Grounding directions in actual data points naturally prevents "impossible" feature combinations. Interestingly, the authors found that stochasticity—users not following directions perfectly—can actually improve success rates by helping users avoid local minima in the model's decision space.
Future work will focus on improving distance metrics for categorical data and investigating group fairness to ensure equitable recourse across different demographic groups.
Summary updated