Quantitative evaluation of local fidelity in surrogate-based explanations of stacking ensembles for credit scoring

(1) Rida Perwitasari Mail (Master Program in Artificial Intelligence, Department of Computer Science and Electronics, Universitas Gadjah Mada, Indonesia)
(2) * Afiahayati Afiahayati Mail (Department of Computer Science and Electronics, Universitas Gadjah Mada, Indonesia)
(3) Zaki Indra Sukma Mail (School of Computing, University of Georgia, United States)
*corresponding author

Abstract


Explainable artificial intelligence (XAI) has become increasingly essential in decision-support applications that demand both predictive accuracy and transparency. In areas such as credit scoring, interpretability is essential to promote fairness, accountability, effective risk assessment, and compliance with regulatory requirements. Despite recent progress in explainable machine learning, there is still limited empirical evidence demonstrating whether XAI explanations truly reflect how black-box models make their predictions and decisions in real-world applications. This study investigates how effectively surrogate models in the Local Interpretable Model-agnostic Explanations (LIME) framework can approximate the behavior of an XGBoost black box model for credit-risk evaluation. The quality and reliability of these explanations depend on how closely the surrogate reflects the reasoning pattern of the original predictive model. Using the Lending Club dataset, several machine learning models were evaluated, and XGBoost achieved the best predictive performance; therefore, it was selected as the primary black-box model for subsequent fidelity analysis. Three surrogate models: Decision Tree, Logistic Regression, and Naïve Bayes, were then evaluated using local fidelity metrics including log-loss, fidelity accuracy, F1-score, and Pearson correlation. The evaluation was conducted on stratified 5% subsets of the test dataset, followed by statistical validation using the Anderson–Darling, Friedman, and Wilcoxon tests. Results indicate that Naïve Bayes achieved the most consistent and stable performance across the majority of fidelity metrics, demonstrating superior probabilistic calibration and classification reliability across local neighborhoods. These findings suggest that surrogate model selection significantly affects the reliability of local explanations, and that fidelity validation is essential for ensuring trustworthy, robust, and accountable XAI in credit-scoring applications.

Keywords


Credit scorring; LIME; Surrogate model; Fidelity evaluation; Local explanation

DOI

10.26555/ijain.v12i4.2372

Article metrics

Abstract views: 144

Cite

Full Text

References


[1] E. Permana, S. Mulyana, and T. Ratnaningsih, “An Explainable Machine Learning Model with SHAP Feature Selection and Hybrid Sampling for Anemia Pre-Screening,” in 2025 International Conference on Advanced Machine Learning and Data Science (AMLDS), 2025, pp. 398–403, doi: 10.1109/AMLDS63918.2025.11159396.

[2] “Explainable AI in Credit Scoring: Improving Transparency in Loan Decisions,” J. Inf. Syst. Eng. Manag., vol. 10, no. 27s, pp. 506–515, Mar. 2025, doi: 10.52783/jisem.v10i27s.4437.

[3] A. Adadi and M. Berrada, “Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI),” IEEE Access, vol. 6, pp. 52138–52160, 2018, doi: 10.1109/ACCESS.2018.2870052.

[4] C. Molnar, Interpretable Machine Learning A Guide for Making Black Box Models Explainable. 2019, [online]. Available: https://christophm.github.io/interpretable-ml-book/

[5] N. Rane, S. Choudhary, and J. Rane, “Explainable Artificial Intelligence (XAI) Approaches for Transparency and Accountability in Financial Decision-Making,” SSRN Electron. J., 2023, doi: 10.2139/ssrn.4640316.

[6] P. E. De Lange, B. Melsom, C. B. Vennerød, and S. Westgaard, “Explainable AI for Credit Assessment in Banks,” J. Risk Financ. Manag., vol. 15, no. 12, p. 556, Nov. 2022, doi: 10.3390/jrfm15120556.

[7] D. Martens, J. Vanthienen, W. Verbeke, and B. Baesens, “Performance of classification models from a user perspective,” Decis. Support Syst., vol. 51, no. 4, pp. 782–793, Nov. 2011, doi: 10.1016/j.dss.2011.01.013.

[8] B. H. Misheva, J. Osterrieder, A. Hirsa, O. Kulkarni, and S. F. Lin, “Explainable AI in Credit Risk Management.” arXiv, vol. 1, pp. 1-16, Mar-2021. [online]. Available: https://arxiv.org/abs/2103.00949

[9] M. K. Nallakaruppan et al., “Credit Risk Assessment and Financial Decision Support Using Explainable Artificial Intelligence,” Risks, vol. 12, no. 10, p. 164, Oct. 2024, doi: 10.3390/risks12100164.

[10] F. Doshi-Velez and B. Kim, “Towards A Rigorous Science of Interpretable Machine Learning.” arXiv, vol. 2, pp. 1-13, Mar-2017. [online]. Available: https://arxiv.org/abs/1702.08608

[11] C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” Nat. Mach. Intell., vol. 1, no. 5, pp. 206–215, May 2019, doi: 10.1038/s42256-019-0048-x.

[12] M. T. Ribeiro, S. Singh, and C. Guestrin, “‘Why Should I Trust You?’: Explaining the Predictions of Any Classifier,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, pp. 1135–1144, doi: 10.1145/2939672.2939778.

[13] D. Slack, S. Hilgard, E. Jia, S. Singh, and H. Lakkaraju, “Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methods,” in Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, 2020, pp. 180–186, doi: 10.1145/3375627.3375830.

[14] R. Guidotti, F. Bodria, F. Giannotti, F. Naretto, D. Pedreschi, and S. Rinzivillo, “Benchmarking and survey of explanation methods for black box models,” Data Min. Knowl. Discov., vol. 37, no. 5, pp. 1719–1778, Sep. 2023, doi: 10.1007/s10618-023-00933-9.

[15] A. Hedström et al., “Quantus: An Explainable AI Toolkit for Responsible Evaluation of Neural Network Explanations and Beyond.” arXiv, vol. 3, pp. 1-11, Apr-2023. [online]. Available: https://arxiv.org/abs/2202.06861

[16] K. Sokol and P. Flach, “One Explanation Does Not Fit All: The Promise of Interactive Explanations for Machine Learning Transparency,” KI - Künstliche Intelligenz, vol. 34, no. 2, pp. 235–250, Jun. 2020, doi: 10.1007/s13218-020-00637-y.

[17] R. Poyiadzi, X. Renard, T. Laugel, R. Santos-Rodriguez, and M. Detyniecki, “Understanding surrogate explanations: the interplay between complexity, fidelity and coverage.” arXiv, vol. 1, pp. 1-12, Jul-2021. [online]. Available: https://arxiv.org/abs/2107.04309

[18] C.-K. Yeh, C.-Y. Hsieh, A. S. Suggala, D. I. Inouye, and P. Ravikumar, “On the (In)fidelity and Sensitivity for Explanations.” arXiv, vol. 4, pp. 1-25, Nov-2019. [online]. Available: https://arxiv.org/abs/1901.09392

[19] E. Mariotti, A. Sivaprasad, and J. M. A. Moral, “Beyond Prediction Similarity: ShapGAP for Evaluating Faithful Surrogate Models in XAI,” in Explainable Artificial Intelligence, vol. 1901, L. Longo, Ed. Cham: Springer Nature Switzerland, 2023, pp. 160–173, doi: 10.1007/978-3-031-44064-9_10.

[20] S. Shrestha, R. Dubey, and H. Liu, “Beyond Linear Surrogates: High-Fidelity Local Explanations for Black-Box Models.” arXiv, Mar-2026, doi: 10.1609/aaaiss.v8i1.42587.

[21] S. Ali et al., “Explainable Artificial Intelligence (XAI): What we know and what is left to attain Trustworthy Artificial Intelligence,” Inf. Fusion, vol. 99, p. 101805, Nov. 2023, doi: 10.1016/j.inffus.2023.101805.

[22] A. Barredo Arrieta et al., “Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI,” Inf. Fusion, vol. 58, pp. 82–115, Jun. 2020, doi: 10.1016/j.inffus.2019.12.012.

[23] A. Papenmeier, G. Englebienne, and C. Seifert, “How model accuracy and explanation fidelity influence user trust.” arXiv, vol. 1, pp. 1-7, Jul-2019. [online]. Available: https://arxiv.org/abs/1907.12652

[24] Q. Zhang et al., “Towards an Integrated Evaluation Framework for XAI: An Experimental Study,” Procedia Comput. Sci., vol. 207, pp. 3884–3893, 2022, doi: 10.1016/j.procs.2022.09.450.

[25] P. Lopes, E. Silva, C. Braga, T. Oliveira, and L. Rosado, “XAI Systems Evaluation: A Review of Human and Computer-Centred Methods,” Appl. Sci., vol. 12, no. 19, p. 9423, Sep. 2022, doi: 10.3390/app12199423.

[26] M. Mersha, K. Lam, J. Wood, A. K. AlShami, and J. Kalita, “Explainable artificial intelligence: A survey of needs, techniques, applications, and future direction,” Neurocomputing, vol. 599, p. 128111, Sep. 2024, doi: 10.1016/j.neucom.2024.128111.

[27] M. Nauta et al., “From Anecdotal Evidence to Quantitative Evaluation Methods: A Systematic Review on Evaluating Explainable AI,” ACM Comput. Surv., vol. 55, no. 13s, pp. 1–42, Dec. 2023, doi: 10.1145/3583558.

[28] F. Sovrano and F. Vitali, “An objective metric for Explainable AI: How and why to estimate the degree of explainability,” Knowledge-Based Syst., vol. 278, p. 110866, Oct. 2023, doi: 10.1016/j.knosys.2023.110866.

[29] M. Velmurugan, C. Ouyang, Y. Xu, R. Sindhgatta, B. Wickramanayake, and C. Moreira, “Developing Guidelines for Functionally-Grounded Evaluation of Explainable Artificial Intelligence using Tabular Data.” arXiv, Sep-2024, doi: 10.1016/j.engappai.2024.109772.

[30] M. R. Zafar and N. Khan, “DLIME: A Deterministic Local Interpretable Model - Agnostic Explanations Approach for Computer-Aided Diagnosis Systems.” May-2023, doi: 10.32920/22734359.

[31] D. Alvarez-Melis and T. S. Jaakkola, “On the Robustness of Interpretability Methods.” arXiv, vol. 1, pp. 1-6, Jun-2018. [online]. Available: https://arxiv.org/abs/1806.08049

[32] Z. Tan, Y. Tian, and J. Li, “GLIME: General, Stable and Local LIME Explanation.” arXiv, Nov-2023, doi: 10.52202/075280-1573.

[33] V. Arya et al., “One Explanation Does Not Fit All: A Toolkit and Taxonomy of AI Explainability Techniques.” arXiv, vol. 2, pp. 1-18, Sep-2019. [online]. Available: https://arxiv.org/abs/1909.03012

[34] M. A. Kadir, A. Mosavi, and D. Sonntag, “Evaluation Metrics for XAI: A Review, Taxonomy, and Practical Applications,” in 2023 IEEE 27th International Conference on Intelligent Engineering Systems (INES), 2023, pp. 000111–000124, doi: 10.1109/INES59282.2023.10297629.

[35] K. Langat, A. Waititu, and P. Ngare, “Modified XGBoost Hyper-Parameter Tuning Using Adaptive Particle Swarm Optimization for Credit Score Classification,” Mach. Learn. Res., vol. 9, no. 2, pp. 64–74, Oct. 2024, doi: 10.11648/j.mlr.20240902.15.

[36] Y. Li and W. Chen, “A Comparative Performance Assessment of Ensemble Learning for Credit Scoring,” Mathematics, vol. 8, no. 10, p. 1756, Oct. 2020, doi: 10.3390/math8101756.

[37] N. Nguyen and D. Ngo, “Comparative analysis of boosting algorithms for predicting personal default,” Cogent Econ. Financ., vol. 13, no. 1, p. 2465971, Dec. 2025, doi: 10.1080/23322039.2025.2465971.

[38] N. Siddiqi, Intelligent Credit Scoring: Building and Implementing Better Credit Risk Scorecards, 1st ed. Wiley, 2017, doi: 10.1002/9781119282396.

[39] E. A. Garcia, “Learning from Imbalanced Data,” IEEE Trans. Knowl. Data Eng., vol. 21, no. 9, pp. 1263–1284, Sep. 2009, doi: 10.1109/TKDE.2008.239.

[40] H. He and Y. Ma, Eds., Imbalanced Learning: Foundations, Algorithms, and Applications, 1st ed. Wiley, 2013, doi: 10.1002/9781118646106.ch1.

[41] C. Elkan, “The Foundations of Cost-Sensitive Learning,” in Proceedings of the 17th International Joint Conference on Artificial Intelligence (IJCAI), 2001, pp. pp. 973–978. doi: 10.5555/1642194.1642224.

[42] S. P. Pathi and J. S. Pothineni, “Interpretable AI in Credit Scoring: A Comparative Survey of SHAP, LIME, and Hybrid Approaches,” Am. J. Eng. Technol., vol. 07, no. 11, pp. 151–155, Nov. 2025, doi: 10.37547/tajet/v7i11-304.

[43] L. Monje, R. A. Carrasco, and M. Sánchez-Montañés, “Machine Learning XAI for Early Loan Default Prediction,” Comput. Econ., vol. 67, no. 5, pp. 4033–4062, May 2026, doi: 10.1007/s10614-025-10962-9.

[44] A. Namvar, M. Siami, F. Rabhi, and M. Naderpour, “Credit risk prediction in an imbalanced social lending environment:,” Int. J. Comput. Intell. Syst., vol. 11, no. 1, p. 925, 2018, doi: 10.2991/ijcis.11.1.70.

[45] V. Hassija et al., “Interpreting Black-Box Models: A Review on Explainable Artificial Intelligence,” Cognit. Comput., vol. 16, no. 1, pp. 45–74, Jan. 2024, doi: 10.1007/s12559-023-10179-8.




Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
 andri.pranolo.id@ieee.org (publication issues)

View IJAIN Stats

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0