Skip to main content
QUICK REVIEW

[Paper Review] Explainable AI in Credit Risk Management

Joerg Osterrieder, Branka Hadji Misheva|Data Archiving and Networked Services (DANS)|Mar 1, 2021
Explainable Artificial Intelligence (XAI)Computer Science6 citations
TL;DR

This paper implements LIME and SHAP—two state-of-the-art post-hoc explainability techniques—on machine learning-based credit scoring models using the Lending Club dataset to enhance transparency in credit risk decisions. Results show both methods produce consistent, financially interpretable explanations, with SHAP demonstrating robustness in feature importance estimation despite high computational costs.

ABSTRACT

Artificial Intelligence (AI) has created the single biggest technology revolution the world has ever seen. For the finance sector, it provides great opportunities to enhance customer experience, democratize financial services, ensure consumer protection and significantly improve risk management. While it is easier than ever to run state-of-the-art machine learning models, designing and implementing systems that support real-world finance applications have been challenging. In large part because they lack transparency and explainability which are important factors in establishing reliable technology and the research on this topic with a specific focus on applications in credit risk management. In this paper, we implement two advanced post-hoc model agnostic explainability techniques called Local Interpretable Model Agnostic Explanations (LIME) and SHapley Additive exPlanations (SHAP) to machine learning (ML)-based credit scoring models applied to the open-access data set offered by the US-based P2P Lending Platform, Lending Club. Specifically, we use LIME to explain instances locally and SHAP to get both local and global explanations. We discuss the results in detail and present multiple comparison scenarios by using various kernels available for explaining graphs generated using SHAP values. We also discuss the practical challenges associated with the implementation of these state-of-art eXplainabale AI (XAI) methods and document them for future reference. We have made an effort to document every technical aspect of this research, while at the same time providing a general summary of the conclusions.

Motivation & Objective

  • To address the lack of transparency in ML-based credit scoring models, which hinders trust and regulatory compliance.
  • To evaluate the effectiveness of post-hoc explainability techniques—LIME and SHAP—in interpreting ML predictions for credit risk.
  • To provide practical insights into implementing XAI methods in real-world financial applications under computational and technical constraints.
  • To support financial inclusion by enabling fairer, more interpretable credit decisions through explainable AI.
  • To document implementation challenges and solutions for future research and industrial deployment of XAI in finance.

Proposed method

  • Applied LIME for local, instance-level explanations of individual loan predictions using a model-agnostic approach.
  • Used SHAP for both local and global explanations, leveraging Shapley values to quantify feature contributions to predictions.
  • Trained multiple ML models (logistic regression, random forest, SVM) on the Lending Club dataset and used their predictions as input to explainers.
  • Employed ALE (Accumulated Local Effects) plots to analyze feature impact on predictions, with interval size selected via visualization and stability checks.
  • Optimized SHAP computation by using k-means clustering on a 20,000-point sub-sample to generate a representative background data set for the Kernel Explainer.
  • Addressed model compatibility issues by retraining the best GridSearchCV model as a standalone estimator to enable LIME integration.

Experimental results

Research questions

  • RQ1How do LIME and SHAP explain predictions from ML-based credit scoring models in a way that aligns with financial logic?
  • RQ2To what extent do the top features identified by LIME and SHAP remain stable across different data sample sizes?
  • RQ3What are the practical challenges in deploying post-hoc explainability methods in real financial ML pipelines?
  • RQ4How do different SHAP explainers and kernel configurations affect the interpretability and consistency of feature importance plots?
  • RQ5Can explainable AI techniques improve trust and adoption of ML models in credit risk management while satisfying regulatory requirements like GDPR?

Key findings

  • LIME and SHAP produced consistent, interpretable explanations that align with financial intuition, such as higher total payments reducing default risk.
  • The top 20 features influencing credit risk remained stable across varying test set sizes, increasing confidence in the model's feature importance rankings.
  • SHAP values demonstrated robustness in capturing feature impacts, with the 'total_pymnt' feature showing a 0.65-point decrease in prediction score as payments increased from 0 to 40,000.
  • The 'total_rec_int' (total received interest) feature was found to increase the likelihood of being classified as high risk, indicating higher interest collection correlates with risk.
  • Computational demands were high, especially for SHAP’s Kernel Explainer, requiring sampling (2,000 test points) and background data approximation (30 k-means centroids) to reduce runtime.
  • Model-specific challenges, such as SVM probability estimation and explainability tool compatibility, were resolved through careful preprocessing and model retraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.