Credit Default Prediction Using Large Language Models and Machine Learning: An Application to Colombia’s Solidarity Sector

Credit default prediction is a standard risk-management task, and large language models (LLMs) have been proposed as prompt-based alternatives, without task-specific parameter updating, for institutions that cannot deploy full machine learning (ML) pipelines. This study evaluates the Informed GPT on Colombian solidarity-sector cooperative lending data, benchmarking gpt-4o-mini against five tuned tree ensemble and gradient boosting classifiers on native imbalanced data (17.3% default rate, 12,861 loans). Six additions relative to the seminal reference are reported: (i) a new empirical domain (Colombian solidarity-sector cooperatives regulated by the SES); (ii) a multi-model benchmark rather than a logistic-regression-only baseline; (iii) a leakage-mitigation prompt design that excludes supervised-analysis-derived hints, causal directions, and target-distribution disclosures; (iv) a calibration analysis using Brier score, log loss, expected calibration error (ECE), reliability diagrams, and calibration slope and intercept; (v) bootstrap 95% confidence intervals, DeLong tests, and McNemar tests for paired significance; and (vi) matched label-budget learning curves for logistic regression, XGBoost, and LightGBM. Tuned ML models attain AUC ≈0.96 (bootstrap CI [0.94,0.98]), while the LLM operates in the AUC 0.67–0.74 range across few-shot sizes N∈{0,10,20,40,80}. Under matched budgets, the LLM outperforms logistic regression at every N but is surpassed by gradient boosting once training samples reach approximately 40–80 observations. LLM probabilities are miscalibrated (ECE 0.11–0.21 vs. ≈0.03 for ML) and over-predict default (mean predicted probability 0.28–0.38 vs. observed base rate 0.17); threshold optimisation and post hoc calibration (Platt scaling, isotonic regression) are required for operational use. The findings qualify earlier claims about LLM auditability and position the approach as an assessment tool for cooperatives with fewer than ≈100 labelled defaults, rather than as a substitute for a well-resourced ML pipeline.

Authors

Institutions

Publication Details

Journal
Journal of risk and financial management
Published
2026-09-10
DOI
https://doi.org/10.3390/jrfm19090716
Primary Topic
Financial Distress and Bankruptcy Prediction
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Credit Default Prediction Using Large Language Models and Machine Learning: An Application to Colombia’s Solidarity Sector

Jhon Jair Quiza Montealegre, María Andrea Arias Serna, Javier André Ferro Pérez
Journal of risk and financial management
Financial Distress and Bankruptcy Prediction
article

Credit Default Prediction Using Large Language Models and Machine Learning: An Application to Colombia’s Solidarity Sector

Jhon Jair Quiza Montealegre, María Andrea Arias Serna, Javier André Ferro Pérez
article en

Abstract

Credit default prediction is a standard risk-management task, and large language models (LLMs) have been proposed as prompt-based alternatives, without task-specific parameter updating, for institutions that cannot deploy full machine learning (ML) pipelines. This study evaluates the Informed GPT on Colombian solidarity-sector cooperative lending data, benchmarking gpt-4o-mini against five tuned tree ensemble and gradient boosting classifiers on native imbalanced data (17.3% default rate, 12,861 loans). Six additions relative to the seminal reference are reported: (i) a new empirical domain (Colombian solidarity-sector cooperatives regulated by the SES); (ii) a multi-model benchmark rather than a logistic-regression-only baseline; (iii) a leakage-mitigation prompt design that excludes supervised-analysis-derived hints, causal directions, and target-distribution disclosures; (iv) a calibration analysis using Brier score, log loss, expected calibration error (ECE), reliability diagrams, and calibration slope and intercept; (v) bootstrap 95% confidence intervals, DeLong tests, and McNemar tests for paired significance; and (vi) matched label-budget learning curves for logistic regression, XGBoost, and LightGBM. Tuned ML models attain AUC ≈0.96 (bootstrap CI [0.94,0.98]), while the LLM operates in the AUC 0.67–0.74 range across few-shot sizes N∈{0,10,20,40,80}. Under matched budgets, the LLM outperforms logistic regression at every N but is surpassed by gradient boosting once training samples reach approximately 40–80 observations. LLM probabilities are miscalibrated (ECE 0.11–0.21 vs. ≈0.03 for ML) and over-predict default (mean predicted probability 0.28–0.38 vs. observed base rate 0.17); threshold optimisation and post hoc calibration (Platt scaling, isotonic regression) are required for operational use. The findings qualify earlier claims about LLM auditability and position the approach as an assessment tool for cooperatives with fewer than ≈100 labelled defaults, rather than as a substitute for a well-resourced ML pipeline.

Journal of risk and financial managementVol. 19(9)
Municipality of Medellín (CO), Universidad de Medellín (CO)
Openalex Percentile: Top 4%
Financial Distress and Bankruptcy Prediction
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.