Next Article in Journal
Monetary Asymmetry and ESG Governance in the Eurozone: Mapping Evolving Risk Narratives Through Bibliometric Analysis
Next Article in Special Issue
Advanced Insurance Risk Modeling for Pseudo-New Customers Using Balanced Ensembles and Transformer Architectures
Previous Article in Journal
Can Macroprudential Policy for Retail Banks Reduce Bank Runs? Evidence from WAEMU’s Banking Sector
Previous Article in Special Issue
Enhancing Predictive Performance of LSTM–Attention Models for Investment Risk Forecasting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Framework for Interpreting Machine Learning Models in Bond Default Risk Prediction Using LIME and SHAP

School of Economics and Management, University of Electronic Science and Technology of China, Chengdu 611731, China
*
Author to whom correspondence should be addressed.
Risks 2026, 14(2), 23; https://doi.org/10.3390/risks14020023
Submission received: 23 December 2025 / Revised: 21 January 2026 / Accepted: 22 January 2026 / Published: 28 January 2026
(This article belongs to the Special Issue Artificial Intelligence Risk Management)

Abstract

Interpretability analysis methods, such as LIME and SHAP, are widely employed to explain the predictions of artificial intelligence models; however, they primarily function as post hoc tools and do not directly quantify the intrinsic interpretability of the models. Although it is commonly assumed that model transparency decreases with increasing complexity, there is currently no standardized framework for evaluating interpretability as an inherent property of AI models. In this study, we examine the prediction of bond defaults using several widely used machine learning algorithms. The classification performance of each algorithm is first evaluated, followed by the application of LIME and SHAP to assess the influence of input features on model outputs. Based on these analyses, we propose a novel approach for quantifying intrinsic model interpretability. The results align with theoretical expectations and provide insights into the trade-off between model complexity and interpretability.

1. Introduction

In recent years, the rapid growth in computational power has fueled significant advances in artificial intelligence (AI) algorithms, including machine learning techniques, which are now widely applied across many fields. In finance, AI-based models have been increasingly adopted for credit risk assessment due to their superior predictive performance and ability to process large and complex datasets. However, despite these advantages, many AI models operate as “black boxes,” raising concerns regarding transparency, interpretability, and regulatory compliance. These concerns have stimulated growing interest in explainable artificial intelligence (XAI), which aims to make model predictions more understandable and trustworthy.
In this study, we investigate the interpretability of machine learning models in the context of corporate bond default risk prediction. Using a sample of bonds issued by Chinese enterprises, we compare traditional statistical models and machine learning methods, including Logistic Regression (LR), Decision Trees (DT), Random Forests (RF), and eXtreme Gradient Boosting (XGBoost). To explain model predictions, we employ two widely used XAI techniques—Local Interpretable Model-agnostic Explanations (LIME) and Shapley Additive Explanations (SHAP). Building on these methods, we propose a novel interpretability metric that evaluates the consistency base on LIME and SHAP as a measure of robustness in model interpretability.
Our empirical analysis yields several important findings. First, although more complex machine learning models such as RF and XGBoost achieve higher predictive accuracy, they exhibit substantially lower interpretability consistency than simpler models. In particular, Logistic Regression demonstrates the highest level of consistency between LIME and SHAP, while XGBoost performs the worst according to the proposed interpretability metric. This result highlights a clear trade-off between predictive accuracy and interpretability robustness across different model classes.
Second, despite differences in model complexity and interpretability, certain financial variables exhibit stable and economically meaningful effects on default risk. Return on assets is consistently associated with a lower probability of default, in line with established financial theory, while the short-term debt-to-total debt ratio plays a significant role in explaining default risk, reflecting firms’ liquidity pressure. These findings suggest that explainable AI techniques can identify core drivers of credit risk, but their reliability depends on both model choice and explanation method.
This study contributes to the literature in several important respects. First, it advances research on explainable artificial intelligence by proposing a quantitative interpretability metric grounded in the consistency between LIME and SHAP, thereby addressing the absence of standardized frameworks for evaluating interpretability (Giudici and Kolesnikov 2026). Second, it enriches the credit risk and corporate bond literature by systematically investigating the trade-off between predictive performance and interpretability in a real-world default prediction context.
The paper is related to several strands of the literature. One strand focuses on the conceptual foundations and logical frameworks of XAI (Miller 2019). Early work by Van Lent et al. (2004) emphasizes interpretable reasoning processes linking inputs, internal representations, and outputs, while Phillips et al. (2021) summarize core principles of XAI, including explanation relevance, user understanding, faithfulness, and confidence. A second strand examines explainable methods for interpreting black-box models, with LIME (Ribeiro et al. 2016) and SHAP (Lundberg and Lee 2017) being among the most widely adopted approaches. A third strand applies XAI techniques across various domains, including asset pricing (Gu et al. 2020; Giudici et al. 2024; LoGrasso 2025), default prediction and credit risk management (Zhang et al. 2025; Nallakaruppan et al. 2024; Lin and Wang 2025; Dichev et al. 2025; Xie and Shingadia 2025; Nkambule et al. 2024; Nayak 2022; Bussmann et al. 2021; de Lange et al. 2022), Cybersecurity (Hermosilla et al. 2025; Jinad et al. 2024), disease prediction (Rezk et al. 2024), public health assessment (Givisis et al. 2025), among others.
The remainder of this paper is organized as follows: Section 2 provides an overview of several machine learning algorithms and their corresponding interpretability measures. Section 3 presents an application analysis using corporate bond data. Section 4 discusses the research methods and presents the conclusions, while Section 5 offers a summary of the paper.

2. Methods

2.1. LIME and SHAP

Local Interpretable Model-Agnostic Explanations (LIME) is a widely used technique for interpreting the predictions of machine learning models. The central idea of LIME is to provide local explanations for individual predictions generated by complex models, thereby enhancing the transparency of the decision-making process without requiring access to the model’s internal structure. As a model-agnostic approach, LIME constructs local surrogate models to approximate the behavior of a black-box model in the neighborhood of a specific instance.
Specifically, LIME operates by perturbing the input features around a given observation to generate a set of synthetic samples. An interpretable and relatively simple model—such as linear regression or a decision tree—is then fitted to these locally generated data, with the objective of approximating the predictions of the original black-box model. The resulting surrogate model provides insights into the relative importance of input features and the factors driving the model’s prediction for that particular instance.
The explanations provided by LIME for each observation x is obtained as follows (Ribeiro et al. 2016):
ξ x = argmin g G L f , g , π x + Ω ( g )
G is a class of potentially interpretable models, gG is an explanation considered as a model, and f is the model being explained. π x is the proximity measure of an instance from x. Ω ( g ) is a measure of complexity. Because L f , g , π x is the measure of how unfaithful g is in approximating f in the locality defined by π x . Then the goal is to minimize L f , g , π x while having Ω ( g ) below enough to be interpretable by humans.
LIME is particularly well-suited to scenarios involving highly complex models—such as deep learning architectures and random forests—where the objective is to explain individual predictions in a manner that is understandable to human users. This capability is especially important in application domains such as healthcare, finance, and law, where model interpretability is critical for decision-making and regulatory compliance. In summary, LIME facilitates the interpretation of complex machine learning models by providing human-understandable local approximations that illuminate the reasoning underlying individual predictions.
Shapley Additive Explanations (SHAP) is a widely used approach for interpreting the outputs of machine learning models by assigning a contribution value to each input feature. The method is grounded in Shapley values derived from cooperative game theory, which provide a principled framework for fairly attributing a model’s prediction to its explanatory variables. Importantly, SHAP enables the assessment of each feature’s contribution to an individual prediction in a model-agnostic manner, regardless of the underlying model structure. Conceptually, SHAP treats the machine learning model as a cooperative game in which input features are regarded as players that jointly contribute to the model’s output, interpreted as the reward. The contribution of each feature is quantified by measuring its marginal effect on the difference between the model’s prediction for a given instance and the average prediction across all instances. Formally, the Shapley value for a feature in a model prediction is defined as follows (Lundberg and Lee 2017)
ϕ i f = S N \ { i } S ! ( N S 1 ) ! N ! [ f ( S { i } ) f S ]
In Equation (2),
ϕ i f is the Shapley value for feature i .
S represents subsets of features excluding i .
N is the set of all features.
f ( S ) is the model’s prediction for the subset of features S .
By analyzing SHAP values, researchers can identify the features that are most influential in driving a model’s predictions. Owing to their solid theoretical foundation, consistency properties, and broad applicability across a wide range of machine learning models, SHAP values have become one of the most widely adopted approaches for model explainability.

2.2. Several Machine Learning Models

We first employ the LIME and SHAP methods to analyze the interpretability of four algorithms used for bond default prediction and then assess the intrinsic interpretability of each model based on the evaluation framework proposed below.
(1) Logistic Regression (LR). Logistic regression is a widely used statistical method for binary classification tasks and can be naturally extended to multi-class classification problems. Its core objective is to model the probability that a given input instance belongs to a particular class. This is achieved through the logistic (sigmoid) function, which maps a linear combination of input features to a value in the interval [0,1], thereby representing the estimated class membership probability.
(2) Decision Tree (DT). Decision trees are supervised machine learning algorithms applicable to both classification and regression tasks. They model decisions and their potential outcomes using a tree-like structure, where nodes represent features or decision points and branches correspond to possible outcomes. The primary objective of a decision tree is to recursively partition the dataset into subsets based on feature values, ultimately yielding predictions for individual instances. Decision trees are highly interpretable and provide an intuitive framework for splitting data according to feature values, which makes them particularly suitable for applications where transparency is important. Nevertheless, decision trees are prone to overfitting, which is why they are often combined with techniques such as pruning or ensemble methods, including Random Forests.
(3) Random Forest (RF). Random Forest is an ensemble learning method widely used for both classification and regression tasks. The algorithm constructs a large number of decision trees during training and generates predictions by aggregating the outputs of individual trees—using the mode for classification and the mean for regression. The primary strength of Random Forest lies in its ability to mitigate overfitting through averaging across multiple decision trees, thereby enhancing both predictive accuracy and generalization performance.
(4) Extreme Gradient Boosting (XGBoost). XGBoost is a widely used and highly efficient machine learning algorithm based on the gradient boosting framework. It has achieved broad adoption due to its speed, predictive accuracy, and strong performance in supervised learning tasks, particularly classification and regression. XGBoost is an ensemble method in which multiple weak learners—typically decision trees—are sequentially combined to form a strong predictive model. The core principle of gradient boosting is to iteratively build models such that each subsequent model aims to correct the errors (residuals) of the previous models.

2.3. Measurement of Interpretability of Machine Learning Models

LIME and SHAP may all have an explanation model that is a linear function of binary variables (Lundberg and Lee 2017):
g z = ϕ 0 + i = 1 M ϕ i z i
In Equation (3), M is the number of simplified input features, z i 0,1 M ,   ϕ i R is an effect by each feature if z i = 1 . In SHAP method, ϕ i could be regarded as the Shapley value for feature i . On the other hand, in LIME method, ϕ i could be regarded as the contribution of a feature variable in a linear regression model.
Let z = [ z 1 , z 2 , , z M ] is the Shapley value for feature variable, w = [ w 1 , w 2 , , w M ] is the contribution of a feature variable by LIME method, we define the Cosine Similarity of z and w is the measurement of interpretability of AI models (MIAI):
M I A I = z · w z w
It is commonly assumed that the interpretability of machine learning models is inversely related to algorithmic complexity. Linear models are generally regarded as the most interpretable, followed by decision trees and related methods, whereas more complex algorithms, such as gradient boosting models (e.g., XGBoost), are often considered less interpretable. Despite this general perception, there is currently no standardized metric or framework for quantitatively assessing model interpretability.
To address this gap, we propose the variable MIAI, defined in Equation (4), as a measure of AI model interpretability. The underlying rationale is that, for a model to be considered interpretable, the feature-level explanations obtained via LIME and SHAP should exhibit a high degree of consistency, particularly regarding the direction and relative importance of feature contributions. Accordingly, we suggest using the correlation between LIME and SHAP results as a quantitative indicator of a model’s interpretability.
The interpretability of an AI model refers to the ease with which the logical relationship between inputs and outputs can be established and understood. Both LIME and SHAP are explanation methods designed to characterize how input features contribute to model predictions, albeit from different methodological perspectives. If different explanation methods exhibit a high degree of consistency in analyzing and reconstructing the input–output relationships, this suggests that the underlying prediction mechanism of the model is more stable and transparent, and therefore easier to interpret. Based on this perspective, this study focuses on measuring the interpretability of AI models and proposes to characterize it through the consistency across different explanation methods.

3. The Interpretability of Machine Learning Models

3.1. Sample Data and Definition of Variables

Sample data for a total of 6471 Chinese corporate bond issuers in 2018 were obtained from the Wind database, among which 50 issuers defaulted in 2019. Based on existing literature, this study selected 16 financial indicators reflecting four key dimensions of bond issuer performance: profitability, operational capacity, solvency, and capital structure (see Table 1), in addition to the external audit opinion. External audit opinions are categorized into four types: (1) unable to express an opinion, (2) unqualified opinion with emphasis of matter paragraph, (3) qualified opinion, and (4) standard unqualified opinion. A numerical value is assigned to each category to indicate the degree to which the financial statements are deemed acceptable, with 1 representing ‘unable to express an opinion,’ 2 for ‘unqualified opinion with emphasis of matter paragraph,’ 3 for ‘qualified opinion,’ and 4 for ‘standard unqualified opinion.
Following common practice in machine learning applications, 80% of the total sample is randomly assigned to the training set, while the remaining 20% is reserved for testing.

3.2. Prediction by Machine Learning Algorithm

Firstly, using Python’s (3.0 version) machine learning libraries, we trained models for four algorithms: Random Forest (RF), Logistic Regression (LR), Decision Tree (DT), and eXtreme Gradient Boosting (XGBoost), and evaluated their performance on the test dataset. Model performance is assessed using the Area Under the Curve (AUC), a widely adopted metric for evaluating classification models. Figure 1, Figure 2, Figure 3 and Figure 4 show the Auc of four models The performance results for each model are summarized in Table 2.
Due to the presence of class imbalance in the dataset, accuracy is not used as a performance metric. To preserve the integrity of the interpretability analysis, the original imbalanced dataset is retained without applying any data balancing techniques.
Regarding the performance of the predictive models, it is evident that XGBoost and Random Forest outperform Logistic Regression (LR) and Decision Tree (DT) algorithms in terms of classification accuracy. Specifically, the LR model demonstrates the poorest performance on this imbalanced dataset, a result that aligns with common expectations regarding the relative effectiveness of these algorithms under such conditions.

3.3. Measurement of Interpretability Based on LIME and SHAP

On the test dataset, we applied both SHAP and LIME methods to analyze the interpretability of the different models. Since LIME generates explanations at the individual sample level, we used it to evaluate the contribution of each feature to the prediction for each instance. We then computed the average feature contribution across all test samples to obtain an overall assessment of how each feature influences the model’s output. The aggregated results are presented in Table 3.
We also calculate the average effect of the SHAP model on each feature value as presented in Table 4.
Figure 5, Figure 6, Figure 7 and Figure 8 show the summary plot. It helps us overview which features are most important for four models.
Finally, based on the definition in Equation (4), we computed the correlation between the contributions of each feature, as determined by LIME and SHAP, to assess the interpretability of the four models. The results of this analysis are presented in Table 5 and Figure 9.

4. Discussion

According to conventional corporate finance theory, ceteris paribus, certain financial indicators are negatively associated with default risk, meaning that higher values of these indicators correspond to a lower likelihood of default. Conversely, the remaining indicators are positively related to default risk, such that larger values are associated with an increased probability of default. For a model to exhibit strong explanatory power, the observed feature contributions should be consistent with these established theoretical relationships.
Beyond the descriptive comparison reported in Table 6 and Table 7, the results provide several important insights into the relationship between model complexity, interpretability, and economic consistency in corporate bond default prediction. Although more complex models such as RF and XGBoost achieve higher predictive performance, their interpretability—measured by the consistency between LIME and SHAP—is substantially lower than that of simpler models. This finding highlights a clear trade-off between predictive accuracy and interpretability, which has been widely discussed in the explainable AI literature.
The higher interpretability score of the logistic regression model suggests that linear models remain advantageous in settings where transparency and stability of explanations are critical, such as financial risk management and regulatory contexts. This result is consistent with prior studies emphasizing that simpler models often produce more stable and economically meaningful explanations, even when their predictive accuracy is relatively limited. In contrast, the lower consistency observed for RF and XGBoost indicates that ensemble-based nonlinear models may generate explanations that are more sensitive to the choice of interpretability method, thereby reducing their reliability for economic interpretation.
Importantly, the feature-level analysis further reveals that certain financial indicators retain robust economic meaning across different models and explanation techniques. For example, return on assets (ROA) exhibits a consistently negative relationship with default risk in the LIME-based analysis, which aligns well with established financial theory and prior empirical evidence that more profitable firms are less likely to default. Similarly, the SHAP-based results show that the short-term debt-to-total debt ratio plays a significant role in default risk assessment, reflecting the well-documented impact of debt maturity structure on firms’ liquidity risk and rollover pressure.
These findings suggest that, even when interpretability consistency is limited at the global level, specific core financial variables may still provide stable and theory-consistent signals of credit risk. From a practical perspective, this implies that explainable AI tools can complement traditional credit risk analysis by identifying economically meaningful drivers of default risk, while caution should be exercised when interpreting explanations from highly complex models. Overall, the results underscore the necessity of jointly considering predictive performance, interpretability robustness, and economic plausibility when applying machine learning models in financial risk assessment.

5. Conclusions

This study proposes a quantitative metric for evaluating the interpretability of explainable artificial intelligence (XAI) models. Specifically, we suggest assessing model interpretability by integrating LIME and SHAP methods. Using our dataset, we applied this approach to four commonly used classification algorithms, and the resulting interpretability assessments are consistent with intuitive expectations.
Given that the interpretability of AI models remains an area of ongoing debate, the proposed method may have certain limitations. For example, since the underlying LIME and SHAP methods are not fully robust across all data environments, applying our approach to different datasets may yield varying conclusions. Nonetheless, we consider the proposed method a meaningful contribution toward addressing this challenge. Future research could extend this framework by integrating additional post hoc interpretability techniques to further refine and enhance the assessment of model interpretability.
The most important limitation of this study is the theoretical justification for the proposed interpretability metric. Specifically, our approach assumes that a high correlation between LIME- and SHAP-based feature explanations reflects greater model interpretability. While this assumption is supported by empirical observations in our dataset, the underlying theoretical or causal rationale linking explanation consistency to model interpretability remains to be fully established. Future research could aim to develop formal theoretical frameworks or axiomatic definitions that rigorously connect explanation agreement with interpretability, potentially integrating human judgment or expert evaluation to validate quantitative metrics.

Author Contributions

Conceptualization, Y.Z. and L.C.; Methodology, L.C.; Investigation, Y.Z.; Writing—original draft preparation, L.C.; Writing—review & editing, L.C.; Project administration, Y.T.; Funding acquisition, Y.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the National Office of Philosophy and Social Sciences under the General Project (Grant No. 24BJY216).

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available as they were purchased from a third-party commercial database (https://www.wind.com.cn/portal/zh/EDB/index.html, accessed on 1 December 2025) and are subject to strict licensing and usage restriction.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bussmann, Niklas, Paolo Giudici, Dimitri Marinelli, and Jochen Papenbrock. 2021. Explainable machine learning in credit risk management. Computational Economics 57: 203–16. [Google Scholar] [CrossRef]
  2. de Lange, Petter Eilif, Borger Melsom, Christian Bakke Vennerød, and Sjur Westgaard. 2022. Explainable AI for credit assessment in banks. Journal of Risk and Financial Management 15: 556. [Google Scholar] [CrossRef]
  3. Dichev, Antonio, Silvia Zarkova, and Petko Angelov. 2025. Machine Learning as a Tool for Assessment and Management of Fraud Risk in Banking Transactions. Journal of Risk and Financial Management 18: 130. [Google Scholar] [CrossRef]
  4. Giudici, Paolo, Alessandro Piergallini, Maria Cristina Recchioni, and Emanuela Raffinetti. 2024. Explainable artificial intelligence methods for financial time series. Physica A: Statistical Mechanics and Its Applications 655: 130176. [Google Scholar] [CrossRef]
  5. Giudici, Paolo, and Vasily Kolesnikov. 2026. SAFE AI metrics: An integrated approach. Machine Learning with Applications 23: 100821. [Google Scholar] [CrossRef]
  6. Givisis, Ioannis, Dimitris Kalatzis, Christos Christakis, and Yiannis Kiouvrekis. 2025. Comparing explainable AI models: SHAP, LIME, and their role in electric field strength prediction over urban areas. Electronics 14: 4766. [Google Scholar] [CrossRef]
  7. Gu, Shihao, Bryan Kelly, and Dacheng Xiu. 2020. Empirical asset pricing via machine learning. The Review of Financial Studies 33: 2223–73. [Google Scholar] [CrossRef]
  8. Hermosilla, Pamela, Sebastián Berríos, and Héctor Allende-Cid. 2025. Explainable AI for forensic analysis: A comparative study of SHAP and LIME in intrusion detection models. Applied Sciences 15: 7329. [Google Scholar] [CrossRef]
  9. Jinad, Razaq, ABM Islam, and Narasimha Shashidhar. 2024. Interpretability and transparency of machine learning in file fragment analysis with explainable artificial intelligence. Electronics 13: 2438. [Google Scholar] [CrossRef]
  10. Lin, Luyun, and Yiqing Wang. 2025. SHAP Stability in Credit Risk Management: A Case Study in Credit Card Default Model. Risks 13: 238. [Google Scholar] [CrossRef]
  11. LoGrasso, Marc. 2025. Could ChatGPT have earned abnormal returns? A retrospective test from the US stock market. Modern Finance 3: 112–32. [Google Scholar] [CrossRef]
  12. Lundberg, Scott, and Su-In Lee. 2017. A Unied Approach to Interpreting Model Predictions. Paper presented at the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, December 4–9; pp. 4768–77. [Google Scholar]
  13. Miller, Tim. 2019. Explanation in artificial intelligence: Insights from the social sciences. Artificial Intelligence 267: 1–38. [Google Scholar] [CrossRef]
  14. Nallakaruppan, M. K., Balamurugan Balusamy, M. Lawanya Shri, V. Malathi, and Siddhartha Bhattacharyya. 2024. An explainable AI framework for credit evaluation and analysis. Applied Soft Computing 153: 111307. [Google Scholar] [CrossRef]
  15. Nayak, Saugat. 2022. Harnessing explainable AI (XAI) for transparency in credit scoring and risk management in fintech. International Journal of Applied Engineering and Technology 4: 214–36. [Google Scholar]
  16. Nkambule, Dumisani Selby, Bhekisipho Twala, and Jan Harm Christiaan Pretorius. 2024. Effective Machine Learning Techniques for Dealing with Poor Credit Data. Risks 12: 172. [Google Scholar] [CrossRef]
  17. Phillips, P. Jonathon, Carina A. Hahn, Amy N. Yates, Kristen Greene, David A. Broniatowski, and Mark A. Przybocki. 2021. Four Principles of Explainable Artificial Intelligence; NIST Interagency Report 8312; Gaithersburg: National Institute of Standards and Technology.
  18. Rezk, Nermeen Gamal, Samah Alshathri, Amged Sayed, Ezz El-Din Hemdan, and Heba El-Behery. 2024. XAI-augmented voting ensemble models for heart disease prediction: A SHAP and LIME-based approach. Bioengineering 11: 1016. [Google Scholar] [CrossRef] [PubMed]
  19. Ribeiro, Marco Tulio, Sameer Singh, and Carlos Guestrin. 2016. “Why Should I Trust You?”: Explaining the Predictions of Any Classifier. Paper presented at the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Jose, CA, USA, August 13–16; pp. 1135–44. [Google Scholar]
  20. Van Lent, Michael, William Charles Fisher, and Michael Mancuso. 2004. An Explainable Artificial Intelligence System for Small-Unit Tactical Behavior. Paper presented at the National Conference on Artificial Intelligence, San Jose, CA, USA, July 25–29. [Google Scholar]
  21. Xie, Shengkun, and Tara Shingadia. 2025. Explainable Machine Learning Framework for Predicting Auto Loan Defaults. Risks 13: 172. [Google Scholar] [CrossRef]
  22. Zhang, Xinyu, Tianhui Zhang, Lingmin Hou, Xianchen Liu, Zhen Guo, Yuanhao Tian, and Yang Liu. 2025. Data-driven loan default prediction: A machine learning approach for enhancing business process management. Systems 13: 581. [Google Scholar] [CrossRef]
Figure 1. AUC of Logistic Regression.
Figure 1. AUC of Logistic Regression.
Risks 14 00023 g001
Figure 2. AUC of Decision Tree.
Figure 2. AUC of Decision Tree.
Risks 14 00023 g002
Figure 3. AUC of Random Forest.
Figure 3. AUC of Random Forest.
Risks 14 00023 g003
Figure 4. AUC of XGBoost.
Figure 4. AUC of XGBoost.
Risks 14 00023 g004
Figure 5. SHAP value of LR model.
Figure 5. SHAP value of LR model.
Risks 14 00023 g005
Figure 6. SHAP value of DT model.
Figure 6. SHAP value of DT model.
Risks 14 00023 g006
Figure 7. SHAP value of RF model.
Figure 7. SHAP value of RF model.
Risks 14 00023 g007
Figure 8. SHAP value of XGBoost model.
Figure 8. SHAP value of XGBoost model.
Risks 14 00023 g008
Figure 9. Measurement of the interpretability of four models.
Figure 9. Measurement of the interpretability of four models.
Risks 14 00023 g009
Table 1. Definition of variables.
Table 1. Definition of variables.
Variable SymbolsDefinition of Variables
Identifying variablesDefaultif bond default, then default = 1, or default = 0
Feature
variables
PrcbProfit rate of core businesses
IgrbIncome growth rate of core businesses
RoaReturn on asset
RoeReturn on equity
EBIIEBITDA/Total Income
OcebiOperating cash/EBITDA
LrLiquidity ratio
QrQuick ratio
RstRate of stock turnover
AlrAsset-liability ratio
SdtdShort-term debt/total debt
DitcDebt with interest/total investment capita
MtdMonetary/total debt
ImInterest multiples
EbitEBITDA/total debt with interest
AouAudit opinion
Table 2. Comparative prediction of several models.
Table 2. Comparative prediction of several models.
LRDTRFXGBoost
AUC0.63680.88790.99170.9911
Table 3. The impact of features on model output (LIME).
Table 3. The impact of features on model output (LIME).
Feature
Variables
LRDTRFXGBoost
Prcb0.0006−0.0042−0.00982−0.0638
Igrb0.0679−0.0002−0.0059−0.0080
Roa−0.0111−0.0155−0.02057−0.0402
Roe−0.06450.0125−0.01548−0.0070
EBII0.00150.0009−0.006450.0014
Ocebi0.00130.0008−0.00873−0.0012
Lr0.07070.0002−0.002370.0184
Qr0.0445−0.0036−0.00337−0.0007
Rst0.0274−0.00110.000827−0.0235
Alr0.00910.0002−0.004980.0259
Sdtd0.0043−0.0001−0.00071−0.0654
Ditc−0.0157−0.0004−0.01196−0.0545
Mtd0.0023−0.0002−0.00846−0.0118
Im0.04840.00010.005066−0.0378
Ebit0.07630.0002−0.00662−0.0136
Aou−0.01890.00000.0000−0.1348
Table 4. The impact of features on model output (SHAP).
Table 4. The impact of features on model output (SHAP).
Feature
Variables
LRDTRFXGBoost
Prcb0.00100.00350.0006−0.0116
Igrb23.48390.00110.0001−0.0016
Roa0.0875−0.0086−0.0025−0.0038
Roe0.0245−0.00150.0017−0.0324
EBII0.0001−0.00050.00040.0021
Ocebi0.00010.00230.0004−0.0010
Lr−3.72790.0009−0.00010.0026
Qr−1.14890.00000.0005−0.0007
Rst−0.22690.00040.00000.0354
Alr−0.02350.00000.00050.0003
Sdtd0.13840.00010.00030.0091
Ditc0.0018−0.0002−0.0006−0.0011
Mtd0.01230.0003−0.0004−0.0060
Im−0.12950.00010.00070.0017
Ebit0.65730.00000.00020.0003
Aou−0.01190.02670.00250.0000
Table 5. The measurement of the interpretability of the model.
Table 5. The measurement of the interpretability of the model.
LRDTRFXGBoost
M I A I 0.34590.17080.1430−0.0182
Table 6. Comparative analysis with financial theory (LIME).
Table 6. Comparative analysis with financial theory (LIME).
Feature
Variables
The Impact on Default Based on Financial TheoryLRDTRFXGBoost
PrcbNegativePositiveNegativeNegativeNegative
IgrbNegativePositiveNegativeNegativeNegative
RoaNegativeNegativeNegativeNegativeNegative
RoeNegativeNegativePositiveNegativeNegative
EBIINegativePositivePositiveNegativePositive
OcebiNegativePositivePositiveNegativeNegative
LrNegativePositivePositiveNegativePositive
QrNegativePositiveNegativeNegativeNegative
RstNegativePositiveNegativePositiveNegative
AlrPositivePositivePositiveNegativePositive
SdtdPositivePositiveNegativeNegativeNegative
DitcPositiveNegativeNegativeNegativeNegative
MtdNegativePositiveNegativeNegativeNegative
ImNegativePositivePositivePositiveNegative
EbitNegativePositivePositiveNegativeNegative
AouNegativeNegativePositivePositiveNegative
Table 7. Comparative analysis with financial theory (SHAP).
Table 7. Comparative analysis with financial theory (SHAP).
Feature
Variables
The Impact of on Default Based on Financial TheoryLRDTRFXGBoost
PrcbNegativePositivePositivePositiveNegative
IgrbNegativePositivePositivePositiveNegative
RoaNegativePositiveNegativeNegativeNegative
RoeNegativePositiveNegativePositiveNegative
EBIINegativePositiveNegativePositivePositive
OcebiNegativePositivePositivePositiveNegative
LrNegativeNegativePositiveNegativePositive
QrNegativeNegativePositivePositiveNegative
RstNegativeNegativePositivePositivePositive
AlrPositiveNegativePositivePositivePositive
SdtdPositivePositivePositivePositivePositive
DitcPositivePositiveNegativeNegativeNegative
MtdNegativePositivePositiveNegativeNegative
ImNegativeNegativePositivePositivePositive
EbitNegativePositivePositivePositivePositive
AouNegativeNegativePositivePositivePositive
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, Y.; Chen, L.; Tian, Y. A Framework for Interpreting Machine Learning Models in Bond Default Risk Prediction Using LIME and SHAP. Risks 2026, 14, 23. https://doi.org/10.3390/risks14020023

AMA Style

Zhang Y, Chen L, Tian Y. A Framework for Interpreting Machine Learning Models in Bond Default Risk Prediction Using LIME and SHAP. Risks. 2026; 14(2):23. https://doi.org/10.3390/risks14020023

Chicago/Turabian Style

Zhang, Yan, Lin Chen, and Yixiang Tian. 2026. "A Framework for Interpreting Machine Learning Models in Bond Default Risk Prediction Using LIME and SHAP" Risks 14, no. 2: 23. https://doi.org/10.3390/risks14020023

APA Style

Zhang, Y., Chen, L., & Tian, Y. (2026). A Framework for Interpreting Machine Learning Models in Bond Default Risk Prediction Using LIME and SHAP. Risks, 14(2), 23. https://doi.org/10.3390/risks14020023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop