Research / MSc dissertation

MSc dissertation

Enhancing Transparency in Credit Scoring Models

Exploring Explainable AI techniques for loan approval systems: which factors drive a credit decision, and how clearly can different XAI methods explain them to borrowers and lenders?

Status Completed May 2024Institution Northumbria UniversityProgramme MSc Data ScienceModels Random Forest · Decision Tree · XGBoostXAI SHAP · LIME · DiCE · Anchor

01Research background and problem

Credit scoring models estimate how likely an applicant is to default, and machine learning can make them highly accurate. But models like random forests are black boxes: they give no explanation for their decisions, so lenders, regulators and borrowers have little reason to trust them.

Explainable AI (XAI) aims to make those decisions understandable. Several studies have applied XAI to credit scoring, but different techniques can produce different, even conflicting, explanations for the same decision.

02Research objectives

  1. FactorsInvestigate the factors that influence loan approval in credit scoring models.
  2. ClarityExamine how XAI can clarify the significance of those factors for borrowers and stakeholders.
  3. ComparisonCompare Anchor, DiCE, LIME and SHAP on real lending data, identify where their explanations conflict, and propose ways to resolve it.

03Methodology

  1. TargetApplicants are classified into three credit-score classes: good, standard and poor.
  2. Split70% of the data for training, 30% for testing.
  3. BalanceRandom oversampling of the minority classes to correct class imbalance.
  4. OutliersInterquartile range (IQR) detection, with selected features excluded from removal.
  5. TuningHyperparameter search with RandomizedSearchCV, using scikit-learn and XGBoost.

04Machine learning models

ModelBaseline accuracyAfter tuning
Random Forest89.2%≈ 89%
Decision Tree85.5%76.7%
XGBoost83.1%83.3%

The random forest was the best-performing model, with consistently high accuracy, precision, recall and F1-score across all classes, before and after tuning. It became the basis for the explainability experiments.

05Explainability techniques

GlobalSHAPA comprehensive view of each feature's contribution across the model.
LocalLIMELocalised feature importance for an individual decision.
CounterfactualDiCEWhat would need to change for a different outcome; its consistency and coherence need improving.
RulesAnchorClear decision boundaries based on feature thresholds.

06Findings and conclusions

Anchor gave the most relevant and interpretable explanations. LIME and SHAP added complementary local and global perspectives. Because the techniques can disagree, the dissertation proposes a hybrid approach that combines Anchor, LIME and SHAP to resolve conflicts and give a fuller picture of each decision.

Transparent credit scoring helps borrowers understand their outcomes and take steps to improve them.The aim behind the hybrid XAI approach

07Future research opportunities

  • Hybrid XAI: develop and evaluate the combined Anchor, LIME and SHAP approach.
  • Consistency: improve the coherence of counterfactual methods such as DiCE.
  • Stakeholder education: help borrowers and lenders interpret XAI outputs.
  • Continuous evaluation: keep models and explanations current as borrower profiles and economic conditions change.

The same question, how to make high-stakes models trustworthy, now drives my research proposal on explainable digital twins for renewable energy.

← Back to research & academic work