Construction method and system of credit risk model based on rejection inference, and storage medium

Through the credit risk model construction method based on rejection inference, combined with the two-stage method and the iterative regeneration method, the deficiencies in the interpretability and business rule inheritance of the existing model are solved, and credit risk with high accuracy and explainability is achieved. Model, suitable for the field of financial risk control.

CN118710388APending Publication Date: 2024-09-27XIAMEN INT BANK CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410723618.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

While pursuing high prediction accuracy, existing credit risk models often sacrifice the interpretability of the model and the inheritance of existing business rules, making it difficult to provide intuitive and easy-to-understand rules or decision-making basis.

Method used

A credit risk model construction method based on rejection inference is adopted, and a credit risk model with strong interpretability is constructed by mixing the two-stage method and the iterative regeneration method. Specific steps include constructing an AGB sample set, obtaining key variables based on monotonic variable selection and binning algorithms, building a preliminary model, and improving model performance through iterative optimization and extrapolation.

Benefits of technology

It achieves high accuracy and interpretability of the credit risk model, can better handle the problem of missing data or incomplete information in the real world, improves the accuracy and reliability of the model when predicting new samples, and reduces the complexity of the model. Spend.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a method and a system for constructing a credit risk model based on rejection inference, and a storage medium. The method comprises the following steps: constructing an AGB sample set; on the basis of a monotonicity variable selection rule, selecting a variable of which the rejection rate is higher than a preset threshold value, and processing the customer data with the presentation period by applying a monotonicity binning algorithm so as to obtain a key variable with monotonicity; constructing a preliminary credit risk model based on the selected key variables, and performing preliminary scoring on the AGB sample set based on the KGB sample set; performing equal-frequency binning on the scores on the AGB sample set to obtain the passing rate of the customers with the presentation period and the overdue rate of the customers with the presentation period under each score level, and calculating the risk factor of each score level; and carrying out iterative optimization on the initial credit risk model through an iterative regeneration method, and carrying out fitting estimation on the risk factor of each scoring grade by adopting an extrapolation method after each iteration until the model performance reaches a preset standard, thereby obtaining a credit risk model with strong interpretability based on rejection inference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial risk control technology, and in particular to a method for constructing a credit risk model based on rejection inference, a system for constructing a credit risk model based on rejection inference using the method, and a computer-readable storage medium. Background Art

[0002] The complexity and uncertainty of the financial market make risk management a key link in the operation of financial institutions. Financial institutions face challenges from credit risk, market risk, operational risk, liquidity risk, etc. In order to effectively deal with these risks, financial institutions need to adopt a series of risk management measures, including risk assessment, risk monitoring, risk control and risk reporting.

[0003] Among them, loan risk control is an important topic in the development of the financial industry. Especially driven by advanced technologies such as big data and artificial intelligence, risk control methods are undergoing a transformation from traditional manual review to systematic approval based on quantitative models and rules. However, this transformation also brings a series of challenges and problems.

[0004] At present, the technical means of rule extraction are mostly decision trees, gradient boosting trees, generative adversarial networks, etc. These rule extraction and machine learning models often sacrifice the interpretability of the model and the inheritance of existing business rules while pursuing high prediction accuracy. For example, the rule extraction process of models such as decision trees and gradient boosting trees is usually data-driven, which is difficult to meet the expectations of business experts and existing rules, and as the depth of the tree increases, the interpretability of the model will gradually decrease; more complex machine learning models such as generative adversarial networks (GANs) are even more difficult to explain. These models approach the optimal solution through complex internal structures and parameter optimization, but often cannot provide intuitive and easy-to-understand rules or decision-making basis. Summary of the invention

[0005] The main purpose of the present invention is to provide a method, system and storage medium for constructing a credit risk model based on rejection inference, and to obtain a credit risk model based on rejection inference with strong interpretability by using a two-stage method and an iterative regeneration method in combination.

[0006] To achieve the above object, the present invention provides a method for constructing a credit risk model based on rejection inference, which comprises the following steps:

[0007] Step a. Construct an AGB sample set; the AGB sample set represents all samples, including a KGB sample set and an IGB sample set; the KGB sample set includes known good and bad samples in the lending samples, and the IGB sample set includes rejected samples with unknown labels;

[0008] Step b. Based on the monotonic variable selection rule, select variables with a rejection rate higher than a preset threshold, and apply the monotonic binning algorithm to process the customer data with a performance period to obtain key variables with monotonicity;

[0009] Step c. construct a preliminary credit risk model based on the selected key variables, and perform preliminary scoring on the AGB sample set based on the KGB sample set;

[0010] Step d. Perform equal frequency binning on the scores of the AGB sample set to obtain the pass rate and overdue rate of customers with performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate;

[0011] Step e. Iteratively optimize the preliminary credit risk model through iterative regeneration method, and use extrapolation method to fit and estimate the risk factors of each scoring level after each iteration until the model performance reaches the preset standard.

[0012] Preferably, the step b further comprises:

[0013] b1. Variable selection based on monotonicity: Calculate the monotonicity index between the candidate variables and the target variable, and select the variables whose monotonicity index is higher than the preset monotonicity threshold;

[0014] b2. Variable filtering based on rejection rate: Calculate the rejection rate of each variable for the selected variables, and further select variables with a rejection rate higher than a preset rejection rate threshold;

[0015] b3. Monotonic binning of variables: by classifying and / or sorting the variables, and then using equal frequency binning to divide the variables into multiple intervals, binning variables are obtained;

[0016] b4. Obtain key variables with monotonicity: Evaluate the monotonicity of binned variables and select binned variables that maintain monotonicity with the target variable as key variables.

[0017] Preferably, the step c further comprises:

[0018] c1. Use the selected key variables and the selected model type to construct a preliminary credit risk model; the model type is any one of a logistic regression model, a decision tree model, a support vector machine model, and a neural network model;

[0019] c2. Use the KGB sample set to train the preliminary credit risk model;

[0020] c3. Use the trained preliminary credit risk model to score the KGB sample set;

[0021] c4. Use the trained preliminary credit risk model to predict the IGB sample set and make a preliminary score based on the prediction results.

[0022] Preferably, the step d further comprises:

[0023] d1. Sort the score data on the AGB sample set in ascending or descending order, and perform equal-frequency binning on the sorted score data according to the preset number of bins;

[0024] d2. Determine the scoring level of each sample data in the AGB sample set according to the binning results;

[0025] d3. Count the pass rate and overdue rate of customers with performance period under each rating level, and assume that there is a proportional relationship between the model pass rate and the overdue rate. With the pass rate as the horizontal axis and the overdue rate as the vertical axis, plot the data points corresponding to the pass rate and the overdue rate under each rating level on a two-dimensional graph, and use any one of linear regression, polynomial regression, and exponential regression methods to fit the data points to a trend line, and obtain an AGB sample pass rate graph;

[0026] d4. Calculate the risk factor for each scoring level; for each data point, the calculation formula of the risk factor is: risk factor = actual overdue rate / expected overdue rate; wherein the expected overdue rate adopts the industry average or historical average, and the actual overdue rate is the corresponding data point on the trend line.

[0027] Preferably, in step e, the extrapolation method specifically comprises the following steps:

[0028] e1. Set hyperparameters and determine the fluctuation range of the risk threshold, and perform fluctuations of different risk thresholds in the ratio of [-20%, 20%];

[0029] e2. Training the credit risk model using historical data and set hyperparameters;

[0030] e3. Evaluate the credit risk model using the volatility-adjusted risk threshold to obtain the KS value and AUC value of the model;

[0031] e4. Evaluate whether the selected rule variables are still monotonic in the rejection interval;

[0032] e5. Rank and score the models based on the KS value, AUC value, and monotonicity of the rule variables;

[0033] e6. Repeat steps e1 to e5 to iteratively optimize the model until the model performance reaches the expected target.

[0034] Furthermore, the historical data in step e2 is obtained by preliminarily scoring the IGB sample set using the initial credit risk model, obtaining the bad customer data in the IGB sample set based on a preset rejection rate threshold, and then adding the bad customer data to the sample to obtain the AGB sample set; repeatedly rescoring the remaining IGB sample sets, and iteratively optimizing the AGB sample set.

[0035] Preferably, the method further includes calibrating the overdue rate of the credit risk model, wherein the calibration is divided into two steps: optimistic estimation and pessimistic estimation:

[0036] Optimistic estimate: Use the direct alignment method to directly run the corresponding relationship between the model rating and the overdue rate during the performance period, form a score table with 10 frequencies, and obtain an optimistic estimate table;

[0037] Pessimistic estimation: The scores on the AGB sample set are binned into 20 equal frequency bins to obtain the pass rate and overdue rate of customers with performance period under each score level, and the risk factor of each score level is calculated based on the pass rate and the overdue rate; and the risk performance of the 10 equal frequency scores during the performance period is redrawn, and the actual pessimistic performance overdue rate is calculated through the risk factor to obtain the pessimistic estimation table;

[0038] The optimistic estimate table and the pessimistic estimate table are combined to obtain a total overdue rate table.

[0039] Preferably, the method further comprises the following steps:

[0040] Step f. In the iterative optimization process, a variable threshold tuning algorithm is applied to dynamically adjust the proportional relationship between the model pass rate and the overdue rate;

[0041] Step g. Use the secondary verification method of key decision variables to perform secondary verification on the variables with higher rankings;

[0042] Step h. Select the variables that have been verified twice and ranked the highest as the decision variables of the final model to build the final credit risk model.

[0043] Corresponding to the method for constructing a credit risk model based on rejection inference, the present invention provides a system for constructing a credit risk model based on rejection inference, which comprises:

[0044] A sample construction module is used to construct an AGB sample set; the AGB sample set represents the full amount of samples, including a KGB sample set and an IGB sample set; the KGB sample set includes known good and bad samples in the lending samples, and the IGB sample set includes unknown label rejection samples;

[0045] The variable screening module selects variables with a rejection rate higher than a preset threshold based on the monotonic variable selection rule, and applies the monotonic binning algorithm to process customer data with a performance period to obtain key variables with monotonicity;

[0046] A model building module, which builds a preliminary credit risk model based on the selected key variables and performs preliminary scoring on the AGB sample set based on the KGB sample set;

[0047] The model optimization module is used to perform equal-frequency binning on the scores on the AGB sample set, obtain the pass rate and overdue rate of customers with a performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate; and iteratively optimize the preliminary credit risk model through the iterative regeneration method, and use the extrapolation method to fit and estimate the risk factors of each score level after each iteration until the model performance reaches the preset standard.

[0048] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which is stored a program for constructing a credit risk model based on rejection inference. When the program for constructing a credit risk model based on rejection inference is executed by a processor, the steps of the method for constructing a credit risk model based on rejection inference as described above are implemented.

[0049] The beneficial effects of the present invention are:

[0050] (1) The present invention constructs an AGB sample set, which includes not only the known KGB sample set, but also the IGB sample set, i.e., the group that is rejected for some reason (such as over-assessed risk) but may actually be a good or bad sample. This approach effectively improves the integrity of the sample set, allowing the model to learn potential risk characteristics more comprehensively.

[0051] (2) The present invention is based on the monotonic variable selection rule, which can ensure that there is a clear trend relationship between the variables used in the model and the target variable, so that the selected variables have clear positive and negative effects in credit risk prediction and have stable sensitivity to risk changes. At the same time, the monotonic binning algorithm can process customer data with performance periods and further extract key variables with monotonicity, thereby improving the accuracy of model prediction.

[0052] (3) The present invention performs preliminary scoring on the AGB sample set and obtains the pass rate and overdue rate of customers with performance period at each scoring level based on the equal frequency binning method, which can more accurately quantify the risk level at different scoring levels. This calculation method based on actual data is more scientific and reliable than simple empirical judgment or assumption.

[0053] (4) The present invention iteratively optimizes the preliminary credit risk model through an iterative regeneration method, and uses an improved extrapolation method to fit and estimate the risk factors of each scoring level after each iteration, which can ensure that the model performance is gradually improved until it reaches the preset standard. This iterative optimization method not only improves the efficiency of model optimization, but also ensures the stability and accuracy of the model in practical applications.

[0054] (5) The present invention obtains a credit risk model based on rejection inference with strong interpretability by combining the two-stage method and the iterative regeneration method. The credit risk model finally obtained by the present invention takes the rejection samples into consideration, so it can better deal with the problem of underestimation or overestimation of risks caused by missing data or incomplete information in the real world, which helps to improve the accuracy and reliability of the model in predicting new samples.

[0055] (6) The variables screened by the present invention not only have a monotonic relationship with the target variable, but are also filtered based on the rejection rate, ensuring that these variables have a strong correlation with the rejection decision, thereby helping the model to better reflect actual business scenarios and improve the business relevance and interpretability of the model.

[0056] (7) The present invention can convert continuous variables or discrete variables into ordered categorical variables by monotonically binning the variables, which helps the model capture the nonlinear relationship between the variables and the target variables and improves the prediction accuracy of the model; and through the screening and binning process, variables that have no obvious relationship with the target variable can be removed, reducing redundant information in the model, reducing the complexity of the model, and helping to improve the operating efficiency of the model.

[0057] (8) The credit risk model described in the present invention scores the AGB sample set based on the KGB sample set. The IGB sample set usually contains some samples whose credit status is between good customers and bad customers. The present invention uses the trained preliminary credit risk model to predict and score the IGB sample set, which can help the model better handle these ambiguous situations and improve the generalization ability of the model in actual business scenarios. In addition, the present invention identifies bad customer data based on a preset rejection rate threshold, and adds these bad customer data to the sample set to form the AGB sample set, which can significantly improve the quality of the sample set and make the model training closer to the risk distribution in actual business scenarios.

[0058] (9) The traditional extrapolation method uses a fixed risk threshold for evaluation, which limits the adaptability of the model under different risk tolerances. The present invention uses an improved extrapolation method, which allows the risk threshold to fluctuate within the range of [-20%, 20%] through hyperparameterization to simulate different market environments and business needs, thereby significantly improving the generalization ability and adaptability of the model.

[0059] (10) The present invention adopts both optimistic and pessimistic estimation methods, and the scheme can comprehensively consider the overdue rate under different risk scenarios. The direct alignment method used in the optimistic estimation can directly reflect the corresponding relationship between the model rating and the overdue rate, thereby improving the accuracy of the overdue rate prediction, while the pessimistic estimation provides a more cautious prediction. This comprehensive risk management strategy helps credit institutions make more reasonable credit decisions in different market environments.

[0060] (11) The present invention applies a variable threshold tuning algorithm to dynamically adjust the proportional correspondence between the model pass rate and the overdue rate. It can dynamically adjust the threshold according to the performance of the model and find the threshold that best suits the current data and market environment, thereby improving the accuracy and stability of the model. By performing secondary verification on the key decision variables with higher rankings, it can further ensure that the contribution of these variables to the model prediction results is true and reliable, and the key decision variables that have undergone secondary verification often have stronger explanatory power and can more intuitively explain the model's prediction results. Selecting only the key decision variables to construct the final model can simplify the model structure and reduce the complexity of the model. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be clearly and completely described in combination with the specific technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0062] A method for constructing a credit risk model based on rejection inference of the present invention comprises the following steps:

[0063] Step a. Construct an AGB (All Good Bad) sample set; the AGB sample set represents the full amount of samples, including the KGB (Known Good Bad) sample set and the IGB (Inferred Good Bad) sample set; the KGB sample set includes known good and bad samples in the loan samples, and the IGB sample set includes unknown label rejection samples;

[0064] Step b. Based on the monotonic variable selection rule, select variables with a rejection rate higher than a preset threshold, and apply the monotonic binning algorithm to process the customer data with a performance period to obtain key variables with monotonicity;

[0065] Step c. construct a preliminary credit risk model based on the selected key variables, and perform preliminary scoring on the AGB sample set based on the KGB sample set;

[0066] Step d. Perform equal frequency binning on the scores of the AGB sample set to obtain the pass rate and overdue rate of customers with performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate;

[0067] Step e. Iteratively optimize the preliminary credit risk model through iterative regeneration method, and use extrapolation method to fit and estimate the risk factors of each scoring level after each iteration until the model performance reaches the preset standard.

[0068] In step a, the IGB (Inferred Good Bad) sample set refers to the sample set rejected by the admission model, that is, the group of samples that are rejected for some reason (such as over-risk assessment) but may actually belong to good or bad samples. The labels of these samples are unknown. Since these samples are rejected, they do not have clear "good" or "bad" labels, so it is necessary to infer their possible good or bad labels through the rejection inference technology (Reject Inference).

[0069] Methods for rejecting inferences can be divided into two main categories:

[0070] (1) Assignment method: For example, the proportional allocation method assumes that the proportion of overdue users among rejected users is higher than that of users who have been granted credit, usually set at two to five times. Then, these rejected users are randomly divided into "good" and "bad" accounts, and the proportion of "bad" accounts is set based on this assumption.

[0071] (2) Augmentation methods: including simple augmentation, fuzzy augmentation, simple augmentation and parcelling. These methods usually score rejected users based on an established logistic regression model (or other models) and divide these users into "good" and "bad" accounts according to certain rules or thresholds. For example, the simple augmentation method divides rejected users into two categories based on the score of the logistic regression model and the set threshold.

[0072] In this embodiment, the step b further comprises:

[0073] b1. Variable selection based on monotonicity: Calculate the monotonicity index between the candidate variables and the target variable, and select the variables whose monotonicity index is higher than the preset monotonicity threshold;

[0074] b2. Variable filtering based on rejection rate: Calculate the rejection rate of each variable for the selected variables, and further select variables with a rejection rate higher than a preset rejection rate threshold;

[0075] b3. Monotonic binning of variables: by classifying and / or sorting the variables, and then using equal frequency binning to divide the variables into multiple intervals, binning variables are obtained;

[0076] b4. Obtain key variables with monotonicity: Evaluate the monotonicity of binned variables and select binned variables that maintain monotonicity with the target variable as key variables.

[0077] In the step b1, a variable that should be monotonic is selected, and then a rule with a rejection rate higher than 5% or 3% is selected to obtain the variable value corresponding to the rule. For customers with a performance period, a monotonic binning algorithm is used to obtain variables with monotonic binning, which is used as a basis for subsequent judgment on the quality of the credit model for rejection inference.

[0078] In this embodiment, the rejection inference technology mainly builds a logistic regression model (or other model) on the users who accept the credit as the base model (base_logit_model), uses the rejection inference technology to infer the credit performance of the users who are rejected, merges the users who accept the credit and the inferred users who refuse the credit into a data set, and builds a new logistic regression model (or other model) through the merged complete data set to obtain the final model (final_logit_model). The specific steps include:

[0079] c1. Use the selected key variables and the selected model type to construct a preliminary credit risk model; the model type is any one of a logistic regression model, a decision tree model, a support vector machine model, and a neural network model;

[0080] c2. Use the KGB sample set to train the preliminary credit risk model;

[0081] c3. Use the trained preliminary credit risk model to score the KGB sample set;

[0082] c4. Use the trained preliminary credit risk model to predict the IGB sample set and make a preliminary score based on the prediction results.

[0083] In this embodiment, the step d further comprises:

[0084] d1. Sort the score data on the AGB sample set in ascending or descending order, and perform equal-frequency binning on the sorted score data according to the preset number of bins;

[0085] d2. Determine the scoring level of each sample data in the AGB sample set according to the binning results;

[0086] d3. Count the pass rate and overdue rate of customers with performance period under each rating level, and assume that there is a proportional relationship between the model pass rate and the overdue rate. With the pass rate as the horizontal axis and the overdue rate as the vertical axis, plot the data points corresponding to the pass rate and the overdue rate under each rating level on a two-dimensional graph, and use any one of linear regression, polynomial regression, and exponential regression methods to fit the data points to a trend line, and obtain an AGB sample pass rate graph;

[0087] d4. Calculate the risk factor for each scoring level; for each data point, the calculation formula of the risk factor is: risk factor = actual overdue rate / expected overdue rate; wherein the expected overdue rate adopts the industry average or historical average, and the actual overdue rate is the corresponding data point on the trend line.

[0088] In this embodiment, in step e, the extrapolation method specifically includes the following steps:

[0089] e1. Set hyperparameters and determine the fluctuation range of the risk threshold, and perform fluctuations of different risk thresholds in the ratio of [-20%, 20%];

[0090] e2. Training the credit risk model using historical data and set hyperparameters;

[0091] e3. Evaluate the credit risk model using the volatility-adjusted risk threshold to obtain the KS (Kolmogorov-Smirnov Statistic) value and AUC (Area Under the Curve) value of the model;

[0092] e4. Evaluate whether the selected rule variables are still monotonic in the rejection interval;

[0093] e5. Rank and score the models based on the KS value, AUC value, and monotonicity of the rule variables;

[0094] e6. Repeat steps e1 to e5 to iteratively optimize the model until the model performance reaches the expected target.

[0095] Among them, the historical data in step e2 is obtained by preliminarily scoring the IGB sample set using the initial credit risk model, obtaining the bad customer data in the IGB sample set based on a preset rejection rate threshold, and then adding the bad customer data to the sample to obtain the AGB sample set; repeatedly re-scoring the remaining IGB sample sets, and iteratively optimizing the AGB sample set.

[0096] The AUC value, that is, the area under the ROC (Receiver Operating Characteristic) curve, is a common indicator for evaluating the performance of a binary classification model. The ROC curve is a graph of the relationship between the True Positive Rate (TPR) and the False Positive Rate (FPR). The AUC value is between 0 and 1. The larger the value, the better the classification effect of the model. When AUC = 0.5, the model has no predictive value, because the probability of the model predicting a positive sample is equal to the probability of random guessing; when AUC = 1, the model has perfect predictive ability.

[0097] The KS value, also known as the KS statistic, is used to measure the model's ability to distinguish between good and bad customers (or positive and negative examples). It is usually obtained by calculating the maximum difference between the cumulative distribution function (CDF) of good and bad samples. The larger the KS value, the stronger the model's ability to distinguish between good and bad samples. However, it should be noted that a too high KS value may mean that the model is overfitting the training data, so in practical applications, it is necessary to consider the KS value and other performance indicators comprehensively.

[0098] In this embodiment, the hyperparameter fluctuation threshold is set to 0%, that is, the risk factor obtained based on the simplified two-stage method is used to bring it into the customers of the equal-frequency bins to obtain the cutoff value of each bin. The cutoff is a limit or threshold set in the data binning process, which is used to divide the data into different bins or intervals. These bins or intervals are usually set based on the distribution of data, business rules or model performance.

[0099] First, after using the initial KGB model to score the rejected samples, the number of bad customers in the rejected samples is obtained based on the threshold, and it is added to the self-sample to form an AGB sample set. The rejected samples are re-scored, and a new overdue score is iterated. The steps of adding bad samples are repeated, and training is iterated until the position of the Log(odds)-score curve changes (that is, log(odds)-score converges), completing the modeling of this round of hyperparameters.

[0100] Then, all the obtained models are scored using a voting scoring method, namely, the KS ranking of the model test set; the AUC ranking of the test set; and the ranking of the number of features that should have a monotonic rule on the overall customers (that is, the rejected features have the same trend as the features of the binning results that perform well).

[0101] Finally, the variables with the highest ranking are obtained through ranking and scoring, which are the variables that refuse to infer the final model.

[0102] In this embodiment, the overdue rate calibration of the credit risk model is also included. If the AUC (Area Under the Curve) of the credit risk model is greater than 0.65, and the LIFT of the last 10% of the tail is greater than 2, the model is calibrated for the overdue rate. Among them, the value of AUC is between 0 and 1, and the larger the value, the higher the discrimination of the model and the better the prediction performance; LIFT represents the ratio of the proportion of true positive samples in the instances predicted by the model as positive samples to the proportion of positive samples in random selection; the higher the LIFT value, the stronger the ability of the model to identify positive samples (such as overdue customers) in the selected sample group.

[0103] The calibration is divided into two steps: optimistic estimation and pessimistic estimation:

[0104] Optimistic estimate: Use the direct alignment method to directly run the corresponding relationship between the model rating and the overdue rate during the performance period, form a score table with 10 frequencies, and obtain an optimistic estimate table;

[0105] Pessimistic estimation: The scores on the AGB sample set are binned into 20 equal frequency bins to obtain the pass rate and overdue rate of customers with performance period under each score level, and the risk factor of each score level is calculated based on the pass rate and the overdue rate; and the risk performance of the 10 equal frequency scores during the performance period is redrawn, and the actual pessimistic performance overdue rate is calculated through the risk factor to obtain the pessimistic estimation table;

[0106] The optimistic estimate table and the pessimistic estimate table are combined to obtain a total overdue rate table.

[0107] In this embodiment, the following steps are also included:

[0108] Step f. In the iterative optimization process, a variable threshold tuning algorithm is applied to dynamically adjust the proportional relationship between the model pass rate and the overdue rate;

[0109] Step g. Use the secondary verification method of key decision variables to perform secondary verification on the variables with higher rankings;

[0110] Step h. Select the variables that have been verified twice and ranked the highest as the decision variables of the final model to build the final credit risk model.

[0111] The step f specifically comprises:

[0112] f1. Calculate the pass rate and overdue rate under different thresholds based on the prediction results of the current model and the true label;

[0113] f2. Set target pass rate or overdue rate based on business needs and risk tolerance;

[0114] f3. Adjust the threshold value step by step through iteration so that the passing rate or overdue rate of the model is close to the set target value;

[0115] f4. During the threshold adjustment process, continuously monitor changes in other performance indicators to ensure that the overall performance of the model does not drop significantly due to the threshold adjustment.

[0116] Among them, grid search, random search, Bayesian optimization, gradient descent, or genetic algorithm can be used to optimize the selection of the threshold.

[0117] The step g specifically comprises:

[0118] g1. Select variables with higher rankings as key decision variables based on the model's importance score, influence coefficient or other statistical indicators;

[0119] g2. Set the goal of secondary verification, such as verifying the stability, predictive ability or business significance of key variables, and determine the time point, frequency and scope of verification;

[0120] g3. Collect new, independent validation datasets for selected key decision variables;

[0121] g4. Re-evaluate key decision variables using a new validation dataset.

[0122] Among them, statistical methods (such as correlation analysis, t-test, ANOVA, etc.) or machine learning models (such as logistic regression, decision tree, etc.) can be used for secondary verification.

[0123] The step h specifically comprises:

[0124] h1. Summarize the results of all the key decision variables that have been verified twice in step g;

[0125] h2. Rank the key decision variables based on the results of the secondary verification;

[0126] h3. Select the highest ranked variable as the decision variable for the final model;

[0127] h4. Based on the selected decision variables, select the appropriate model type, such as logistic regression, decision tree, random forest, neural network, etc., to build the final credit risk model.

[0128] Corresponding to the method for constructing a credit risk model based on rejection inference, the present invention provides a system for constructing a credit risk model based on rejection inference, which comprises:

[0129] A sample construction module is used to construct an AGB (All Good Bad) sample set; the AGB sample set represents the full amount of samples, including a KGB (Known Good Bad) sample set and an IGB (Inferred Good Bad) sample set; the KGB sample set includes known good and bad samples in the loan samples, and the IGB sample set includes unknown label rejection samples;

[0130] The variable screening module selects variables with a rejection rate higher than a preset threshold based on the monotonic variable selection rule, and applies the monotonic binning algorithm to process customer data with a performance period to obtain key variables with monotonicity;

[0131] A model building module, which builds a preliminary credit risk model based on the selected key variables and performs preliminary scoring on the AGB sample set based on the KGB sample set;

[0132] The model optimization module is used to perform equal-frequency binning on the scores on the AGB sample set, obtain the pass rate and overdue rate of customers with a performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate; and iteratively optimize the preliminary credit risk model through the iterative regeneration method, and use the extrapolation method to fit and estimate the risk factors of each score level after each iteration until the model performance reaches the preset standard.

[0133] An embodiment of the present invention also provides a computer-readable storage medium, on which is stored a program for constructing a credit risk model based on rejection inference. When the program for constructing a credit risk model based on rejection inference is executed by a processor, the steps of the method for constructing a credit risk model based on rejection inference as described above are implemented.

[0134] The computer-readable storage medium may be a computer-readable storage medium contained in the memory in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores at least one instruction, which is loaded and executed by the processor to implement the method for constructing a credit risk model based on rejection inference. The computer-readable storage medium may be a read-only memory, a disk or an optical disk, etc.

[0135] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the system embodiment and the storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0136] Furthermore, in this document, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.

[0137] The above description shows and describes the preferred embodiments of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention, through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not depart from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.

Claims

1. A method for constructing a credit risk model based on rejection inference, characterized in that: The following steps are involved: Step a. Construct an AGB sample set; the AGB sample set represents all samples, including a KGB sample set and an IGB sample set; the KGB sample set includes known good and bad samples in the lending samples, and the IGB sample set includes rejected samples with unknown labels; Step b. Based on the monotonic variable selection rule, select variables with a rejection rate higher than a preset threshold, and apply the monotonic binning algorithm to process the customer data with a performance period to obtain key variables with monotonicity; Step c. construct a preliminary credit risk model based on the selected key variables, and perform preliminary scoring on the AGB sample set based on the KGB sample set; Step d. Perform equal frequency binning on the scores on the AGB sample set to obtain the pass rate and overdue rate of customers with performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate; Step e. Iteratively optimize the preliminary credit risk model through iterative regeneration method, and use extrapolation method to fit and estimate the risk factors of each scoring level after each iteration until the model performance reaches the preset standard.

2. A method for constructing a credit risk model based on rejection inference according to claim 1, characterized in that: The step b further comprises: b1. Variable selection based on monotonicity: Calculate the monotonicity index between the candidate variables and the target variable, and select the variables whose monotonicity index is higher than the preset monotonicity threshold; b2. Variable filtering based on rejection rate: Calculate the rejection rate of each variable for the selected variables, and further select variables with a rejection rate higher than a preset rejection rate threshold; b3. Monotonic binning of variables: by classifying and / or sorting the variables, and then using equal frequency binning to divide the variables into multiple intervals, binning variables are obtained; b4. Obtain key variables with monotonicity: Evaluate the monotonicity of binned variables and select binned variables that maintain monotonicity with the target variable as key variables.

3. The method for constructing a credit risk model based on rejection inference according to claim 1, characterized in that: The step c further comprises: c1. Use the selected key variables and the selected model type to construct a preliminary credit risk model; the model type is any one of a logistic regression model, a decision tree model, a support vector machine model, and a neural network model; c2. Use the KGB sample set to train the preliminary credit risk model; c3. Use the trained preliminary credit risk model to score the KGB sample set; c4. Use the trained preliminary credit risk model to predict the IGB sample set and make a preliminary score based on the prediction results.

4. The method for constructing a credit risk model based on rejection inference according to claim 1, characterized in that: The step d further comprises: d1. Sort the score data on the AGB sample set in ascending or descending order, and perform equal-frequency binning on the sorted score data according to the preset number of bins; d2. Determine the scoring level of each sample data in the AGB sample set according to the binning results; d3. Count the pass rate and overdue rate of customers with performance period under each rating level, and assume that there is a proportional correspondence between the model pass rate and the overdue rate. With the pass rate as the horizontal axis and the overdue rate as the vertical axis, plot the data points corresponding to the pass rate and the overdue rate under each rating level on a two-dimensional graph, and use any one of linear regression, polynomial regression, and exponential regression methods to fit the data points to a trend line, and obtain an AGB sample pass rate graph; d4. Calculate the risk factor for each scoring level; for each data point, the calculation formula of the risk factor is: risk factor = actual overdue rate / expected overdue rate; wherein the expected overdue rate adopts the industry average or historical average, and the actual overdue rate is the corresponding data point on the trend line.

5. The method for constructing a credit risk model based on rejection inference according to claim 1, characterized in that: In the step e, the extrapolation method specifically comprises the following steps: e1. Set hyperparameters and determine the fluctuation range of the risk threshold, and perform fluctuations of different risk thresholds in the ratio of [-20%, 20%]; e2. Training the credit risk model using historical data and set hyperparameters; e3. Evaluate the credit risk model using the volatility-adjusted risk threshold to obtain the KS value and AUC value of the model; e4. Evaluate whether the selected rule variables are still monotonic in the rejection interval; e5. Rank and score the models based on the KS value, AUC value, and monotonicity of the rule variables; e6. Repeat steps e1 to e5 to iteratively optimize the model until the model performance reaches the expected target.

6. The method for constructing a credit risk model based on rejection inference according to claim 5, characterized in that: The historical data in step e2 is obtained by preliminarily scoring the IGB sample set using the initial credit risk model, obtaining the bad customer data in the IGB sample set based on a preset rejection rate threshold, and then adding the bad customer data to the sample to obtain the AGB sample set; repeatedly rescoring the remaining IGB sample sets, and iteratively optimizing the AGB sample set.

7. The method for constructing a credit risk model based on rejection inference according to claim 1, characterized in that: It also includes calibrating the overdue rate of the credit risk model, and the calibration is divided into two steps: optimistic estimation and pessimistic estimation: Optimistic estimation: Use the direct alignment method to directly run the corresponding relationship between the model rating and the overdue rate during the performance period, form a score table with equal 10 frequencies, and obtain an optimistic estimation table; Pessimistic estimation: The scores on the AGB sample set are divided into 20 equal frequency bins to obtain the pass rate and overdue rate of customers with performance period under each score level, and the risk factor of each score level is calculated based on the pass rate and the overdue rate; And re-plot the risk performance of the 10-frequency score during the performance period, calculate the actual pessimistic performance overdue rate through the risk factor, and obtain the pessimistic estimate table; The optimistic estimate table and the pessimistic estimate table are combined to obtain a total overdue rate table.

8. A method for constructing a credit risk model based on rejection inference according to any one of claims 1 to 7, characterized in that: The following steps are also included: Step f. In the iterative optimization process, a variable threshold tuning algorithm is applied to dynamically adjust the proportional relationship between the model pass rate and the overdue rate; Step g. Use the secondary verification method of key decision variables to perform secondary verification on the variables with higher rankings; Step h. Select the variables that have been verified twice and ranked the highest as the decision variables of the final model to build the final credit risk model.

9. A system for constructing a credit risk model based on rejection inference, characterized in that: include: A sample construction module is used to construct an AGB sample set; the AGB sample set represents the full amount of samples, including a KGB sample set and an IGB sample set; the KGB sample set includes known good and bad samples in the lending samples, and the IGB sample set includes unknown label rejection samples; The variable screening module selects variables with a rejection rate higher than a preset threshold based on the monotonic variable selection rule, and applies the monotonic binning algorithm to process customer data with a performance period to obtain key variables with monotonicity; A model building module, which builds a preliminary credit risk model based on the selected key variables and performs preliminary scoring on the AGB sample set based on the KGB sample set; A model optimization module is used to perform equal frequency binning on the scores on the AGB sample set, obtain the pass rate and overdue rate of customers with performance period under each score level, and calculate the risk factor of each score level based on the pass rate and the overdue rate; The preliminary credit risk model is iteratively optimized through the iterative regeneration method. After each iteration, the risk factors of each scoring level are fitted and estimated using the extrapolation method until the model performance reaches the preset standard.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for constructing a credit risk model based on rejection inference. When the program for constructing a credit risk model based on rejection inference is executed by a processor, the steps of the method for constructing a credit risk model based on rejection inference as described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Equipment health state detection method and device, equipment, storage medium and product

    CN118966842A

  • Method and equipment for determining flight parameter safety threshold of runway rushing-out risk

    CN120580891A