Interpretable Credit Application Predictions With Counterfactual Explanations

Rory McGrath, Luca Costabello, Chan Le Van, Paul Sweeney, Farbod Kamiab, Zhao Shen, Freddy Lécué

Abstract

Machine learning models in credit risk assessment often operate as "black boxes," complicating regulatory compliance and user trust. This paper proposes a human-centric framework for explaining AI-driven credit decisions using "positive counterfactuals" and weighted feature importance. By providing accepted applicants with a "safety margin" and ensuring explanations are compact and actionable, the proposed method enhances transparency and aligns model outputs with human cognitive limits.

Introduction

In financial services, high-performing models like deep neural networks are frequently used for credit risk assessment. However, regulations such as the GDPR mandate a "right to explanation" for automated decisions. Counterfactual explanations have emerged as a leading solution, providing users with the minimal changes required to alter a decision (e.g., "If your income were $5,000 higher, your loan would be approved").

Despite their utility, standard counterfactual methods suffer from two primary limitations: they are rarely applied to successful outcomes, and they often suggest an overwhelming number of feature changes, exceeding human cognitive capacity.

Methodology

The authors extend the optimization framework for counterfactual generation to address these gaps.

Conceptual Framework

A counterfactual explanation seeks a hypothetical input $x'$ that is proximal to the original input $x$ but yields the target outcome $y'$. This process identifies the necessary shift ($\Delta X$) to reach a desired state.

Conceptual framework for generating counterfactual explanations.

Positive Counterfactuals and Safety Margins

While traditional counterfactuals explain rejection, "positive counterfactuals" explain acceptance. By identifying the minimum changes that would lead to a denial, the system provides a "safety margin." This informs accepted users how close they are to the decision boundary, offering a measure of financial stability.

Weighted Counterfactuals for Compactness

To reduce cognitive load, the authors introduce a weight vector into the distance metric. This penalizes the modification of numerous features, forcing the model to find "compact" explanations involving fewer variables. Two strategies are employed:

  1. Global Feature Importance: Prioritizing features with high statistical variance (ANOVA F-values).
  2. K-Nearest Neighbors (KNN): Identifying realistic changes based on similar successful applicants.
Examples of positive and negative counterfactual explanations for loan applications.

Evaluation and Results

The approach was evaluated using the FICO HELOC dataset (9,870 records, 22 features). The researchers tested several black-box models, including Gradient Boosting and Multi-layer Perceptrons, all achieving predictive accuracy between 0.72 and 0.74.

The primary success was observed in Explanation Size. The "Global Importance" weighting strategy consistently produced the most compact explanations. For instance, in Logistic Regression models, the baseline required changing 4.86 features on average, whereas the weighted strategy reduced this to 3.95—an 11.2% improvement in compactness without compromising the validity of the explanation.

Conclusion

By shifting the focus toward compactness and safety margins, this research makes AI-driven financial decisions more actionable and transparent. Future work will involve human-in-the-loop studies to validate the perceived helpfulness of these weighted explanations and stricter handling of immutable features like credit history length.

Summary updated

BibTeX
@inproceedings{mcgrath2018interpretable,
  author = {Rory McGrath and Luca Costabello and Chan Le Van and Paul Sweeney and Farbod Kamiab and Zhao Shen and Freddy Lécué},
  title = {{Interpretable Credit Application Predictions With Counterfactual Explanations}},
  booktitle = {HAL},
  year = {2018},
}
Figure