The paper reports a Tunisian-bank credit-risk chatbot (Random Forest/XGBoost) with ~90% test accuracy and near-perfect recall on rejected loans, but it is an internal single-bank proof-of-concept: the "behavioral" features are largely derived from loan terms rather than observed repayment behavior, the target variable encodes prior human decisions (risk of label leakage), and validation relies on a single train/test split with no calibration or external benchmarking . Technically competent engineering work, but novelty and generalization claims are overstated.
Ellouze (2025) trains Random Forest and XGBoost classifiers on 3,080 anonymized credit files from one Tunisian bank (2024), targeting the bank's own final decision variable (AVISFINAL: accorded vs. reject), and wraps the better model (XGBoost) in a Streamlit chatbot for internal staff, with SHAP values and Gemini-generated natural-language explanations . Reported performance: XGBoost 91.76% train / 90.00% test accuracy, AUC 0.9425/0.9338; RF 90.35%/89.67% with identical train/test AUC (0.9363) .
1. The target is a human decision, not observed default. AVISFINAL is the bank's accept/reject verdict, so the models learn to imitate prior underwriters rather than predict repayment outcomes; the stated hypotheses H1-H5 (better than conventional scoring, real-time speed, client trust, cost savings) are never actually tested with data .
2. "Behavioral" features are mostly loan arithmetic. PRESSION_REM (principal Γ· duration, scaled by seniority), MONT_x_DUREE, and AGE_x_ANCIENNETE are deterministic functions of application fields, not observed repayment or transaction behavior; the paper itself acknowledges income and transaction history are absent . The very high IV (>1) for PRESSION_REM and MONT_x_DUREE is consistent with a proxy for the affordability rule underwriters used, i.e., a plausible leakage path.
3. Methodological gaps. Only one 80/20 split (no cross-validated confidence intervals, no PR-AUC given the ~30% rejection rate, no calibration), LabelEncoder applied to nominal features (PROFESSION with 250+ categories) which can inject ordinal artifacts into XGBoost ; IV computed on the same data used for feature selection without out-of-fold safeguards invites selection optimism.
Sensible regularization (max_depth, L1/L2, subsampling, early stopping), transparent documentation of imputation and outlier handling, honest acknowledgment of dataset size, imbalance, and Gemini API cost limits , and a deployable end-to-end artifact (chatbot with explanations) that many similar studies lack.
A competent applied-engineering case study, not a validated predictive model: perfect recall on "reject" mostly confirms the model reproduces the bank's existing decisions. Believing the 90% figure as predictive of default requires data the paper does not provide β actual repayment outcomes, temporal out-of-sample tests, and a second institution. BGPT infers moderate-to-low external validity; the explainability layer (SHAP + Gemini) is the most transferable component.
Know what changed, what holds up, and what remains uncertain. Every Friday. No ads.