Artificial Intelligence in Finance
Online M.Com · Sem 3
0% complete
0/5 lessons
Lesson 2 of 5Fin Analytics
AI Credit Scoring and Default Prediction
Artificial Intelligence in Finance
About the video
LOGISTIC REGRESSION FOR CREDIT RISK | BUILD A REAL BANKING MODEL | 26
Analytics With Rajat
Study notes
AI credit scoring estimates the probability that a borrower will default, using statistical and machine learning models trained on historical loan outcomes. Modern approaches add alternative data and nonlinear models to traditional scorecards, but they must stay accurate, explainable and fair under regulation.
Credit Scoring Basics
- Goal: rank borrowers by risk and estimate Probability of Default (PD), usually over a 12-month horizon.
- Expected Loss = PD x LGD x EAD (loss given default x exposure at default).
- Traditional scorecards use logistic regression on variables such as payment history, utilization, income and debt-to-income ratio.
- Default prediction is a binary classification problem, and the classes are usually imbalanced because few borrowers default.
Machine Learning Models
- Gradient boosting (XGBoost, LightGBM), random forests and neural networks capture nonlinear effects and interactions between variables.
- Alternative data such as rent and utility payments, cash-flow data and mobile data can help score 'thin-file' borrowers who have little credit history.
- Imbalanced classes are handled with resampling, class weights and suitable evaluation metrics.
Evaluation
- AUC-ROC and the Gini coefficient (Gini = 2 x AUC - 1) measure how well a model ranks borrowers.
- The KS statistic measures the maximum separation between the score distributions of good and bad borrowers.
- Calibration checks whether predicted PDs match the default rates actually observed.
- Use out-of-time validation and monitor models for drift once deployed.
Explainability, Fairness and Regulation
- Lenders must give adverse action reasons when they decline an applicant (ECOA/FCRA in the US; GDPR in the EU).
- SHAP and LIME explain individual predictions from complex models.
- Proxy variables such as ZIP code can introduce discrimination even when protected attributes are excluded, so test for disparate impact.
- Model risk management (e.g., SR 11-7) requires validation, documentation and governance.
Key terms
- Probability of Default (PD)
- The likelihood that a borrower fails to meet obligations within a given horizon.
- LGD
- Loss Given Default: the share of the exposure lost if default occurs.
- EAD
- Exposure at Default: the amount owed at the time of default.
- AUC-ROC
- Probability that the model ranks a randomly chosen defaulter above a randomly chosen non-defaulter.
- Alternative data
- Non-traditional data, such as utility or cash-flow records, used to assess creditworthiness.
- SHAP
- A method that attributes a model's prediction to its input features using Shapley values.
- Disparate impact
- Disproportionately adverse outcomes for a protected group, even without intent.
Takeaways
- Credit scoring predicts PD; Expected Loss = PD x LGD x EAD.
- ML models such as gradient boosting often beat logistic regression but need explainability tools.
- Evaluate both discrimination (AUC/Gini, KS) and calibration, and validate out-of-time.
- Fairness testing and regulatory explainability are mandatory, not optional.
Contribute
Was this lesson helpful?
We read every rating and fix the weakest lessons first.