Introduction
When an AI model denies an individual a loan or a job, "Algorithmic Recourse" (AR) provides a mechanism to tell that person exactly what they can change to achieve a favorable outcome next time (e.g., "increase your savings by $5,000"). This paper introduces RABIT (Recourse-Aware gradient Boosted decIsion Trees), a novel framework for training Gradient Boosted Decision Trees (GBDTs) that guarantees users have a viable "way out" if they receive an unfavorable prediction. By incorporating a differentiable recourse loss into the boosting process, RABIT achieves significantly better recourse options for individuals without sacrificing the predictive accuracy or computational speed that makes GBDTs an industry standard for tabular data.
The Challenge of Recourse in GBDTs
Most existing research treats algorithmic recourse as a post-hoc problem: taking a fully trained model and searching for a path to a different result. However, if a model is trained solely to maximize accuracy, it may rely so heavily on "immutable" features (like age or credit history length) that a valid path to a different result simply does not exist for many users.
While some researchers have successfully baked recourse into the training process for Neural Networks, doing so for GBDTs is notoriously difficult. GBDTs are non-differentiable and rely on regression trees as base learners, causing standard gradient-based recourse optimization techniques to fail. A common, naive baseline is to simply hide non-actionable features from the model (often called "Actionable Features Only" or OAF), but this severely degrades predictive accuracy.
The RABIT Framework
To solve this, the authors propose RABIT, which tackles the problem through two primary mechanisms:
- Recourse-Aware Training: The authors add a "recourse loss" term to the standard GBDT objective function. To make this compatible with the second-order Taylor expansion used by modern libraries like XGBoost, they derive a differentiable upper bound for the recourse loss using a "LogSumExp" trick. This smooth approximation bridges the gap between discrete tree structures and continuous optimization, allowing the model to favor splits that predict accurately while leaving "doors open" for users to change their classification.
- Leaf Refinement (Post-processing): RABIT also introduces a method to fine-tune the leaf weights of an already-trained ensemble. This step minimizes empirical risk while strictly enforcing a recourse guarantee. The authors provide a PAC-style analysis, proving that a model refined this way will likely provide valid recourse even for unseen test data.
Key Results
The authors evaluated RABIT on four standard real-world benchmarks commonly used in fairness and recourse literature: FICO, COMPAS, Adult, and Bail.
Accuracy vs. Recourse
The most striking insight from the evaluation is that accuracy and recourse are not a zero-sum game. RABIT uses all features for prediction but ensures the model's decision boundaries are positioned so that changes in actionable features remain effective.
As shown above, RABIT drastically improves the "recourse ratio" (the percentage of people who have a valid way to change their outcome) compared to Vanilla GBDTs and the Actionable-Features-Only (OAF) baseline. For instance, on the Adult dataset, the Vanilla GBDT provided recourse for only about 30% of test instances. RABIT boosted this to over 45% while maintaining the same ~85% accuracy. Furthermore, the suggested actions are typically lower-cost and involve changing fewer features than actions extracted from standard models.
Computational Efficiency
Importantly, the training complexity of RABIT remains $O(N \cdot D)$, meaning it scales just as well as standard GBDT implementations.
Training times for RABIT are nearly identical to standard Vanilla GBDTs across all datasets, proving the method is highly practical for production environments where training speed is a priority.
Limitations and Future Work
While RABIT represents a significant step forward, the authors note a few limitations:
- Cost Function Constraints: The current mathematical derivation relies on $\ell_\infty$-type cost functions (evaluating the maximum change across features). It does not yet handle more complex $\ell_1$ or $\ell_2$ (Euclidean) cost structures as efficiently.
- Conservative Bounds: The theoretical bound used in the paper is somewhat conservative. Developing a tighter bound could lead to even more efficient training.
- Scalability Features: The core algorithm is efficient, but the current implementation does not yet include advanced features of modern GBDT libraries, such as histogram-based learning or stochastic sampling, which are targets for future iterations.
Summary updated