Credit scoring model capability offset description method and system
By obtaining and binning the sample data of the credit scoring model, calculating the distribution distance and offset distance, and marking the direction of the model's ability to shift, it solves the problem of the credit scoring model's identification ability shifting on customer groups and improves the risk of financial institutions. management capabilities.
Patent Information
- Application Number
- CN202410716247.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-03
AI Technical Summary
The ability of credit scoring models to identify certain customer groups will shift over time, causing financial institutions to have inaccurate expectations of overall risks. It is difficult for existing technologies to effectively characterize and adjust models.
By obtaining the modeling sample data and monitoring sample data, divided into boxes A and B, calculate the edge distribution distance, the distribution distance under non-overdue and overdue conditions, calculate the offset distance D, and mark the model's ability bias on the customer group. Shift direction to quantify and tune the model.
It realizes the quantification and direction marking of credit scoring model capability deviation, helping financial institutions to adjust models in a timely manner and improve the accuracy and efficiency of risk management.
Smart Images

Figure CN118587000A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of big data processing, and in particular relates to a method and system for characterizing capability deviation of a credit scoring model. Background Art
[0002] Credit scoring models are key tools used by financial institutions to assess the credit risk of borrowers. They are usually based on statistical and machine learning algorithms and predict the future probability of default by analyzing the borrower's historical data. These models play an important role in pre-loan approval, risk pricing, post-loan management and collection strategies.
[0003] Although the credit scoring model shows high prediction accuracy in the initial stage, the recognition ability of the credit scoring model on certain customer groups may shift over time. This shift may be due to changes in customer characteristics, fluctuations in macroeconomic conditions, policy adjustments, evolution of market competition, or the model's own lack of adaptability to emerging risk factors.
[0004] The deviation of the credit scoring model's recognition ability on certain customer groups will lead to inaccurate expectations of overall risk by financial institutions, as shown in the following table:
[0005]
[0006]
[0007] From the above table, we can see that the total number of customers (All) in each segment (score_bins) has not changed, but the bad rate (Badrate) has changed significantly. This shows that the recognition ability of the credit scoring model for certain customer groups has shifted significantly. It is necessary to characterize this shift and the direction of the shift. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a method and system for characterizing the capability deviation of a credit scoring model in view of the deficiencies in the above-mentioned prior art, which quantifies the capability deviation of the credit scoring model and provides a clear mark of the deviation direction, so as to help financial institutions to discover and adjust the model in a timely manner.
[0009] The first aspect of the present invention discloses a method for characterizing the capability deviation of a credit scoring model, comprising the following steps:
[0010] Step 1: Obtain modeling sample data when establishing the credit scoring model and monitoring sample data when monitoring;
[0011] Step 2: Based on the model score of each sample data, the modeling sample data is divided into k A boxes, and the monitoring sample data is divided into k B boxes. The model scores of multiple sample data in the same box of sample data belong to the same score interval;
[0012] Step 3, calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the non-overdue condition, and the distribution distance d3 under the overdue condition;
[0013] Step 4: Calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, g3 is the overdue rate at the modeling time point;
[0014] Step 5: Based on the offset distance D in each score interval, mark the direction of the credit scoring model's ability offset on the corresponding customer group.
[0015] In the above credit scoring model capability deviation characterization method, in step 3, the marginal distribution distance d1 satisfies:
[0016] P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the i-th B box to the total number of monitored samples.
[0017] In the above credit scoring model capability deviation characterization method, in step 3, the distribution distance d2 under the non-overdue condition satisfies:
[0018] P2 建模时点t-i P2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-i is the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
[0019] In the above credit scoring model capability deviation characterization method, in step 3, the distribution distance d3 under the overdue condition satisfies:
[0020] P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
[0021] In the above-mentioned credit scoring model capability shift characterization method, in step 5, based on the shift distance D under each score interval, when marking the capability shift direction of the credit scoring model on the corresponding customer group, if the shift distance D is less than -0.02, then the capability shift direction of the credit scoring model on the corresponding customer group is marked as the direction of increasing overdue rate; if the shift distance D is greater than 0.01, then the capability shift direction of the credit scoring model on the corresponding customer group is marked as the direction of decreasing overdue rate.
[0022] The second aspect of the present invention discloses a credit scoring model capability deviation characterization system, including an acquisition module, a binning module, a first calculation module, a second calculation module and a marking module;
[0023] The acquisition module is used to acquire modeling sample data when establishing a credit scoring model and monitoring sample data when monitoring;
[0024] The binning module is used to divide the modeling sample data into k A bins and the monitoring sample data into k B bins based on the model score of each sample data, and the model scores of multiple sample data in the same bin of sample data all belong to the same score interval;
[0025] The first calculation module is used to calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the condition of not overdue, and the distribution distance d3 under the condition of overdue;
[0026] The second calculation module is used to calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, and g3 is the overdue rate at the modeling time point;
[0027] The marking module is used to mark the ability deviation direction of the credit scoring model on the corresponding customer group based on the deviation distance D under each score interval.
[0028] In the above credit scoring model capability deviation characterization system, the marginal distribution distance d1 satisfies:
[0029] P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the i-th B box to the total number of monitored samples.
[0030] The above credit scoring model capability deviation characterization system, the distribution distance d2 under the non-overdue condition satisfies:
[0031] P2 建模时点t-iP2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-i is the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
[0032] The above credit scoring model capability deviation characterization system, the distribution distance d3 under the overdue condition satisfies:
[0033] P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
[0034] In the above-mentioned credit scoring model capability shift characterization system, the marking module marks the capability shift direction of the credit scoring model on the corresponding customer group based on the offset distance D in each score interval. If the offset distance D is less than -0.02, the capability shift direction of the credit scoring model on the corresponding customer group is marked as the direction of increasing overdue rate. If the offset distance D is greater than 0.01, the capability shift direction of the credit scoring model on the corresponding customer group is marked as the direction of decreasing overdue rate.
[0035] Compared with the prior art, the present invention has the following advantages:
[0036] 1. Data integration: By acquiring modeling sample data and monitoring sample data, the integration of data from the two stages of credit scoring model establishment and monitoring is achieved.
[0037] 2. Binning: Divide the data into different boxes (Box A and Box B) to facilitate comparison and analysis of samples in different score ranges.
[0038] 3. Multi-dimensional analysis: By calculating the marginal distribution distance d1, the distribution distance d2 under non-overdue conditions, and the distribution distance d3 under overdue conditions, a multi-dimensional evaluation of the credit scoring model’s capabilities is achieved.
[0039] 4. Offset distance calculation: The concept of offset distance D is introduced to quantify the model's ability offset on different customer groups and provide a basis for model adjustment.
[0040] 5. Offset direction mark: Based on the offset distance D, the offset direction of the credit scoring model's ability on the corresponding customer group can be clearly identified, which helps to adjust the model in a timely manner to adapt to market changes.
[0041] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1The present invention is a flow chart of the method.
[0043] Figure 2 It is a system architecture diagram of the present invention. DETAILED DESCRIPTION
[0044] Example 1
[0045] like Figure 1 As shown, a method for characterizing the capability deviation of a credit scoring model includes the following steps:
[0046] Step 1: Obtain modeling sample data when establishing the credit scoring model and monitoring sample data when monitoring;
[0047] Step 2: Based on the model score of each sample data, the modeling sample data is divided into k A boxes, and the monitoring sample data is divided into k B boxes, and the model scores of multiple sample data in the same box of sample data belong to the same score interval; preferably, k is 10;
[0048] Step 3, calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the non-overdue condition, and the distribution distance d3 under the overdue condition;
[0049] It should be noted that d1 describes the overall difference between box A and box B. d1 is 0, indicating that there is no difference in the distribution between the two. d2 and d3 respectively describe the difference under the condition of overdue or not. Because in the credit scenario, overdue is directly linked to the income and profit of business indicators, so it is necessary to describe the difference between the two customer groups based on whether there is overdue or not.
[0050] Step 4: Calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, g3 is the overdue rate at the modeling time point;
[0051] It should be noted that the definition of D can not only characterize the difference from the important overdue conditions, but also characterize the direction of deviation, so as to better control bad debts from the direction of customer group deviation;
[0052] Step 5: Based on the offset distance D in each score interval, mark the direction of the credit scoring model's ability offset on the corresponding customer group.
[0053] It should be noted that the above method obtains the modeling sample data when the credit scoring model is established and the monitoring sample data during monitoring. This step ensures that the performance of the model at different time points can be compared, laying the foundation for subsequent analysis. By dividing the modeling sample data and the monitoring sample data into k boxes A and B respectively, the model of the sample data in each box belongs to a score range. This binning process helps to refine the data, making it possible to compare and analyze samples in different score ranges.
[0054] The above method calculates the marginal distribution distance d1, the distribution distance d2 under non-overdue conditions, and the distribution distance d3 under overdue conditions. The calculation of these distances provides a way to quantify the model capability deviation, allowing financial institutions to more accurately evaluate the performance of the model under different conditions.
[0055] By calculating the offset distance D of box B relative to box A in each score interval, this method provides a quantitative indicator to measure the change in model capability. The calculation formula of D takes into account the distribution difference of model scores, the distribution difference between non-overdue and overdue conditions, and the change in overdue rate, which helps to comprehensively evaluate the deviation of the model.
[0056] Based on the calculated offset distance D, this method can mark the direction of the credit scoring model's ability to offset the corresponding customer group. This direction marking is crucial for financial institutions because it is directly related to risk management and the formulation of model adjustment strategies.
[0057] By identifying the direction of model capability deviation, financial institutions can take corresponding measures to adjust the model to adapt to factors such as changes in customer characteristics and fluctuations in macroeconomic conditions, thereby improving the model's predictive accuracy and the effectiveness of risk management.
[0058] In summary, through a series of systematic steps, not only the capacity deviation of the credit scoring model is quantified, but also a clear mark of the deviation direction is provided, which helps financial institutions to timely discover and adjust the model to deal with various factors mentioned in the background technology that may cause model deviation, thereby improving the accuracy and efficiency of overall risk management.
[0059] In this embodiment, in step 3, the edge distribution distance d1 satisfies:
[0060] P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the ith B box to the number of all monitored samples. Ln is the natural logarithm function.
[0061] By defining the calculation formula for the marginal distribution distance d1, the difference in marginal distribution between box A and box B is quantified, which helps to identify the deviation of the model in different score ranges.
[0062] In this embodiment, in step 3, the distribution distance d2 under the non-overdue condition satisfies:
[0063] P2 建模时点t-i P2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-i is the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
[0064] By calculating the distribution distance d2 under the non-overdue condition, the model's ability to distinguish between non-overdue samples can be evaluated, providing a reference for the model's stability and predictive ability.
[0065] In this embodiment, in step 3, the distribution distance d3 under the overdue condition satisfies:
[0066] P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
[0067] By calculating the distribution distance d3 under overdue conditions, we can evaluate the model's ability to distinguish overdue samples, which helps to identify the model's predictive effect on high-risk customers.
[0068] In this embodiment, in step 5, based on the offset distance D under each score interval, when marking the ability offset direction of the credit scoring model on the corresponding customer group, if the offset distance D is less than -0.02, then the ability offset direction of the credit scoring model on the corresponding customer group is marked as the direction of increasing overdue rate; if the offset distance D is greater than 0.01, then the ability offset direction of the credit scoring model on the corresponding customer group is marked as the direction of decreasing overdue rate.
[0069] By setting specific thresholds (D < -0.02 and D > 0.01), the direction of the credit scoring model's ability deviation is clarified, making the adjustment and optimization of the model more targeted. By marking the direction of the increase or decrease in the delinquency rate, it helps financial institutions to better manage and control risks.
[0070] In this embodiment, when adjusting the risk control strategy based on the direction of the customer group's corresponding ability deviation, new dimension scores that are not considered by the existing model can be introduced, such as consumption and payment categories that are not used by the existing model. The scores are introduced as compensation values for the existing scores, and the risks are refitted. The model score threshold is calculated based on the pass rate, and the risk control pass strategy is updated.
[0071] Example 2
[0072] like Figure 2 As shown, a credit scoring model capability deviation characterization system includes an acquisition module, a binning module, a first calculation module, a second calculation module and a marking module;
[0073] The acquisition module is used to acquire modeling sample data when establishing a credit scoring model and monitoring sample data when monitoring;
[0074] The binning module is used to divide the modeling sample data into k A bins and the monitoring sample data into k B bins based on the model score of each sample data, and the model scores of multiple sample data in the same bin of sample data all belong to the same score interval;
[0075] The first calculation module is used to calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the condition of not overdue, and the distribution distance d3 under the condition of overdue;
[0076] The second calculation module is used to calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, and g3 is the overdue rate at the modeling time point;
[0077] The marking module is used to mark the ability deviation direction of the credit scoring model on the corresponding customer group based on the deviation distance D under each score interval.
[0078] In this embodiment, the edge distribution distance d1 satisfies:
[0079] P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the i-th B box to the total number of monitored samples.
[0080] In this embodiment, the distribution distance d2 under the non-overdue condition satisfies:
[0081] P2 建模时点t-i P2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-iis the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
[0082] In this embodiment, the distribution distance d3 under the overdue condition satisfies:
[0083] P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
[0084] In this embodiment, the marking module marks the direction of the credit scoring model's ability shift on the corresponding customer group based on the offset distance D in each score interval. If the offset distance D is less than -0.02, the direction of the credit scoring model's ability shift on the corresponding customer group is marked as the direction of increasing overdue rate. If the offset distance D is greater than 0.01, the direction of the credit scoring model's ability shift on the corresponding customer group is marked as the direction of decreasing overdue rate.
[0085] Since Example 2 adopts the same technical principles and methodology as Example 1, this document will no longer elaborate on the technical details of Example 2, but recommends that readers directly refer to the detailed description and explanation provided in Example 1 to obtain a comprehensive understanding of the working principle of Example 2.
[0086] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any simple modification, change and equivalent structural change made to the above embodiment based on the technical essence of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for characterizing the capability deviation of a credit scoring model, characterized in that: The following steps are involved: Step 1: Obtain modeling sample data when establishing the credit scoring model and monitoring sample data when monitoring; Step 2: Based on the model score of each sample data, the modeling sample data is divided into k A boxes, and the monitoring sample data is divided into k B boxes. The model scores of multiple sample data in the same box of sample data belong to the same score interval; Step 3, calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the non-overdue condition, and the distribution distance d3 under the overdue condition; Step 4: Calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, g3 is the overdue rate at the modeling time point; Step 5: Based on the offset distance D in each score interval, mark the direction of the credit scoring model's ability offset on the corresponding customer group.
2. A method for characterizing capability deviation of a credit scoring model according to claim 1, characterized in that: In step 3, the edge distribution distance d1 satisfies: P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the i-th B box to the total number of monitored samples.
3. A method for characterizing capability deviation of a credit scoring model according to claim 1, characterized in that: In step 3, the distribution distance d2 under the non-overdue condition satisfies: P2 建模时点t-i P2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-i is the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
4. A method for characterizing capability deviation of a credit scoring model according to claim 1, characterized in that: In step 3, the distribution distance d3 under the overdue condition satisfies: P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
5. A method for characterizing capability deviation of a credit scoring model according to claim 1, characterized in that: In step 5, based on the offset distance D under each score interval, when marking the ability offset direction of the credit scoring model on the corresponding customer group, if the offset distance D is less than -0.02, then the ability offset direction of the credit scoring model on the corresponding customer group is marked as the direction of increasing overdue rate; if the offset distance D is greater than 0.01, then the ability offset direction of the credit scoring model on the corresponding customer group is marked as the direction of decreasing overdue rate.
6. A credit scoring model capability deviation characterization system, characterized by: It includes an acquisition module, a binning module, a first calculation module, a second calculation module and a marking module; The acquisition module is used to acquire modeling sample data when establishing a credit scoring model and monitoring sample data when monitoring; The binning module is used to divide the modeling sample data into k A bins and the monitoring sample data into k B bins based on the model score of each sample data, and the model scores of multiple sample data in the same bin of sample data all belong to the same score interval; The first calculation module is used to calculate the edge distribution distance d1 of box A and box B in each score interval, the distribution distance d2 under the condition of not overdue, and the distribution distance d3 under the condition of overdue; The second calculation module is used to calculate the offset distance D of box B relative to box A in each score interval, D = (d1 + d2 + d3 * g3 * 100) * h, h = (g2 - g3), g2 is the overdue rate at the monitoring time point, and g3 is the overdue rate at the modeling time point; The marking module is used to mark the ability deviation direction of the credit scoring model on the corresponding customer group based on the deviation distance D under each score interval.
7. A credit scoring model capability deviation characterization system according to claim 6, characterized in that: The edge distribution distance d1 satisfies: P1 建模时点t-i is the ratio of the number of modeling samples in the ith A box to the total number of modeling samples, P1 监控时点t-i is the ratio of the number of monitored samples in the i-th B box to the total number of monitored samples.
8. A credit scoring model capability deviation characterization system according to claim 6, characterized in that: The distribution distance d2 under the non-overdue condition satisfies: P2 建模时点t-i P2 is the ratio of the number of non-overdue modeling samples in the ith A box to the number of all non-overdue modeling samples. 监控时点t-i is the ratio of the number of non-overdue monitoring samples in the i-th B box to the number of all non-overdue monitoring samples.
9. A credit scoring model capability deviation characterization system according to claim 6, characterized in that: The distribution distance d3 under the overdue condition satisfies: P3 建模时点t-i is the ratio of the number of overdue modeling samples in the ith A box to the number of all overdue modeling samples, P3 监控时点t-i is the ratio of the number of overdue monitoring samples in the i-th B box to the number of all overdue monitoring samples.
10. A credit scoring model capability deviation characterization system according to claim 6, characterized in that: The marking module marks the direction of the credit scoring model's ability shift on the corresponding customer group based on the offset distance D in each score interval. If the offset distance D is less than -0.02, the direction of the credit scoring model's ability shift on the corresponding customer group is marked as the direction of increasing overdue rate. If the offset distance D is greater than 0.01, the direction of the credit scoring model's ability shift on the corresponding customer group is marked as the direction of decreasing overdue rate.
