Personal repayment risk prediction method, device, equipment, medium and product
Through the repayment risk prediction model based on neural network, multiple data source information is used for processing and training, which solves the problems of low calculation accuracy and heavy dependence on external ratings in the existing technology, and achieves higher accuracy of repayment risk prediction. sex and coverage.
Patent Information
- Application Number
- CN202411019956.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing repayment capacity models of financial institutions rely on limited historical data, have low calculation accuracy, and rely heavily on external rating agencies. They lack a single data source calculation model with high accuracy and high coverage.
A repayment risk prediction model based on neural networks is used to obtain information from multiple data sources, including actual paid amount, payable amount, account accumulated principal and interest and other indicators, and then perform data cleaning, correlation analysis and normalization processing to construct a three-dimensional A neural network with hidden layers is trained iteratively to improve prediction accuracy.
It improves the accuracy of personal repayment risk prediction, overcomes the low accuracy problem caused by the limited number of parameters of traditional models, covers more comprehensive data sources, provides real-time and accurate customer information, abandons traditional logistic regression algorithms, and uses deep learning models to improve Model robustness and fault tolerance.
Smart Images

Figure CN118822720A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of repayment prediction, and in particular to a method, device, equipment, medium and product for predicting personal repayment risk. Background Art
[0002] The Individual Customer Repayment Ability Model (hereinafter referred to as the "Model") is a model for defining personal financial rights that has emerged in recent years to protect the financial security of banks and other financial institutions (hereinafter referred to as "financial institutions").
[0003] In the current market, financial institutions use model calculation methods based on the credit history of customers, using traditional machine learning algorithm models such as logistic regression to obtain different levels of credit score scores. Based on the customer score, the amount of money the customer can hold is determined to ensure the security of repayment and other services. Generally speaking, the higher the repayment ability, the lower the default rate.
[0004] The disadvantages of this technology include the following main aspects:
[0005] 1. Disadvantages in data sources and freshness. Financial institutions are limited by the scope of available information and mainly rely on data such as bank statements, personal income tax, housing provident fund, real estate, or historical credit status to judge customers' repayment ability. Since each data source has different focuses, the data barriers are high, and the data used is historical information of customers, which is not fresh enough, the accuracy of the calculation results will inevitably be affected.
[0006] 2. Low algorithm precision. Existing repayment capacity model applications mostly use traditional logistic regression models, which have fewer parameters, insufficient precision, strict requirements on data quality, and cumbersome feature data.
[0007] 3. High external dependence. For customer groups that cannot be covered by their own data, financial institutions often need to purchase scores from external rating agencies and weight them in multiple dimensions.
[0008] To sum up, there is currently a lack of a customer repayment capacity calculation model with high accuracy and wide coverage from a single data source. Summary of the invention
[0009] The purpose of this application is to provide a personal repayment risk prediction method, device, equipment, medium and product, which can improve the accuracy of personal repayment risk prediction.
[0010] To achieve the above objectives, this application provides the following solutions:
[0011] In a first aspect, the present application provides a method for predicting personal repayment risk, the method comprising:
[0012] Acquire data source information data; the data source information data includes indicators and data corresponding to the indicators; the indicators include: actual payment amount, amount payable, accumulated principal and interest of the account, total salary of employees, actual payment amount of the unit, years of account establishment, payment base and number of payment months;
[0013] Processing the data source information data to obtain processed data source information data;
[0014] Inputting the processed data source information data into the repayment risk prediction model to obtain a prediction value; the prediction value is used to characterize the risk level of personal repayment; the repayment risk prediction model is obtained by training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other;
[0015] The predicted value is mapped in a set manner to obtain a personal repayment amount.
[0016] Optionally, processing the data source information data to obtain processed data source information data specifically includes:
[0017] Cleaning the data source information data to obtain cleaned data source information data;
[0018] Performing correlation analysis on the cleaned data source information data to obtain analyzed data source information data;
[0019] The analyzed data source information data is normalized and mapped to obtain processed data source information data.
[0020] Optionally, the data source information data is cleansed to obtain cleaned data source information data, specifically including:
[0021] Performing statistical analysis on the data source information data to obtain statistical data;
[0022] Determine field indicator data according to the data source information data; the field indicator data includes: mode, continuous growth value and same field value;
[0023] According to the field indicator data, the empty values and abnormal values in the statistical data are filled to obtain cleaned data source information data; the abnormal value is a value that exceeds a set threshold.
[0024] Optionally, correlation analysis is performed on the cleaned data source information data to obtain analyzed data source information data, specifically including:
[0025] The forward stepwise regression method and the backward stepwise regression method are used to screen the cleaned data source information data based on the contribution degree to obtain the screened data; the contribution degree is determined based on the regression coefficient of the collinearity analysis; the contribution degree includes: weight;
[0026] Sorting the screened data according to the contribution values to obtain sorted data;
[0027] The sorted data is determined as the analyzed data source information data.
[0028] Optionally, the method for determining the repayment risk prediction model includes:
[0029] Acquire training data; the training data includes: training processing data source information data and real values corresponding to the training processing data source information data;
[0030] Constructing a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other;
[0031] The training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the loss function value being within a set range as the goal, to obtain a trained neural network; the loss function is determined based on the output value of the neural network and the real value corresponding to the training processing data source information data; the parameters include: weighted weights and biases;
[0032] The trained neural network is determined as the repayment risk prediction model.
[0033] Optionally, the training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the loss function value being within a set range as the goal to obtain a trained neural network, specifically including:
[0034] For any number of iterations:
[0035] Inputting the training data into the first hidden layer, and performing weighted and nonlinear processing according to the parameters of the first hidden layer to obtain first processed data;
[0036] Inputting the first processed data into the second hidden layer, and performing weighted and nonlinear processing according to the parameters of the second hidden layer to obtain second processed data;
[0037] Inputting the second processed data into the third hidden layer, and performing weighted and nonlinear processing according to the parameters of the third hidden layer to obtain an output value of the neural network;
[0038] Determining the loss function according to the real value corresponding to the trained processed data source information data and the output value of the neural network;
[0039] According to the loss function, performing partial derivative processing on the parameters of the third hidden layer to obtain third partial derivative parameters;
[0040] According to the third partial derivative parameter and the loss function, a parameter of the second hidden layer is subjected to partial derivative processing to obtain a second partial derivative parameter;
[0041] According to the second partial derivative parameter and the loss function, the parameters of the first hidden layer are subjected to partial derivative processing to obtain first partial derivative parameters;
[0042] The first partial derivative parameter is used as the parameter of the first hidden layer for the next iteration number, and "the training data is input into the first hidden layer, and weighted and nonlinearly processed according to the parameter of the first hidden layer to obtain the first processed data" is returned until the value of the loss function is within the set range or the number of iterations reaches the set threshold, and the iteration is stopped;
[0043] The neural network corresponding to the parameters when the iteration is stopped is determined as the trained neural network.
[0044] In a second aspect, the present application provides a personal repayment risk prediction device, the personal repayment risk prediction device comprising:
[0045] A data acquisition module is used to acquire data source information data; the data source information data includes indicators and data corresponding to the indicators; the indicators include: actual payment amount, amount payable, accumulated principal and interest of the account, total salary of employees, actual payment amount of the unit, years of account establishment, payment base and number of payment months;
[0046] A data processing module, used for processing the data source information data to obtain processed data source information data;
[0047] A prediction module, used for inputting the processed data source information data into a repayment risk prediction model to obtain a prediction value; the prediction value is used to characterize the risk level of individual repayment; the repayment risk prediction model is obtained by training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other;
[0048] A mapping module is used to perform mapping processing according to the predicted value in a set manner to obtain a personal repayment amount.
[0049] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned personal repayment risk prediction method.
[0050] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned personal repayment risk prediction method.
[0051] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the above-mentioned personal repayment risk prediction method when executed by a processor.
[0052] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0053] The present application provides a method for predicting personal repayment risk, which obtains data source information data, processes the data source information data, and obtains processed data source information data; inputs the processed data source information data into a repayment risk prediction model to obtain a predicted value; the predicted value is used to characterize the risk level of personal repayment; and performs mapping processing according to a set method based on the predicted value to obtain the personal repayment amount. Since the data source information data of the present application is no longer limited to the limited range that can be obtained, and the repayment risk prediction model is obtained by training based on a neural network, it overcomes the problem of limited model parameters in the prior art, resulting in low accuracy. Therefore, on this basis, the present application can improve the accuracy of personal repayment risk prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 This is a flow chart of a method for predicting personal repayment risk in an embodiment of the present application;
[0056] Figure 2 This is a diagram showing the population structure covered by the individual repayment capacity estimation model based on social security data in this application;
[0057] Figure 3 This is the neural network structure diagram corresponding to the repayment risk prediction model in this application;
[0058] Figure 4 Schematic diagram of the process of weighted processing and nonlinear processing for this application;
[0059] Figure 5 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0062] like Figure 1 As shown, the embodiment of the present application provides a method for predicting personal repayment risk, the method comprising:
[0063] Step 100: Obtain data source information data. The data source information data includes indicators and data corresponding to the indicators; the indicators include: actual payment amount, amount payable, accumulated principal and interest of the account, total salary of employees, actual payment amount of the unit, years of household establishment, payment base and number of payment months.
[0064] Step 200: Process the data source information data to obtain processed data source information data.
[0065] The data source information data is processed to obtain the processed data source information data, specifically including:
[0066] The data source information data is cleaned to obtain cleaned data source information data.
[0067] A correlation analysis is performed on the cleaned data source information data to obtain analyzed data source information data.
[0068] The analyzed data source information data is normalized and mapped to obtain processed data source information data.
[0069] Step 300: Input the processed data source information data into the repayment risk prediction model to obtain a prediction value. The prediction value is used to characterize the risk level of individual repayment; the repayment risk prediction model is obtained by training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer that are interconnected.
[0070] The method for determining the repayment risk prediction model includes:
[0071] Acquire training data; the training data includes: training processing data source information data and real values corresponding to the training processing data source information data.
[0072] A neural network is constructed; the neural network includes a first hidden layer, a second hidden layer, and a third hidden layer that are connected to each other.
[0073] The training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the goal of keeping the value of the loss function within a set range to obtain a trained neural network; the loss function is determined based on the output value of the neural network and the true value corresponding to the training processing data source information data; the parameters include: weighted weights and biases.
[0074] The trained neural network is determined as the repayment risk prediction model.
[0075] Step 400: Mapping is performed according to the predicted value in a set manner to obtain the personal repayment amount.
[0076] In one embodiment, the data source information data is cleansed to obtain cleaned data source information data, specifically including:
[0077] Perform statistical analysis on the data source information to obtain statistical data.
[0078] The field indicator data is determined according to the data source information data; the field indicator data includes: mode, continuous growth value and same field value.
[0079] According to the field indicator data, the empty values and abnormal values in the statistical data are filled to obtain the cleaned data source information data; the abnormal value is a value that exceeds the set threshold.
[0080] The cleaned data source information data is subjected to correlation analysis to obtain analyzed data source information data, specifically including:
[0081] The forward stepwise regression method and the backward stepwise regression method are used to screen the cleaned data source information data based on the contribution degree to obtain the screened data; the contribution degree is determined based on the regression coefficient of the collinearity analysis; the contribution degree includes: weight.
[0082] The filtered data are sorted according to the contribution values to obtain sorted data; and the sorted data are determined as the analyzed data source information data.
[0083] In one embodiment, the training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the loss function value being within a set range as the goal to obtain a trained neural network, specifically including:
[0084] For any number of iterations:
[0085] The training data is input into the first hidden layer, and weighted and nonlinearly processed according to the parameters of the first hidden layer to obtain first processed data.
[0086] The first processed data is input into the second hidden layer, and weighted and nonlinearly processed according to the parameters of the second hidden layer to obtain second processed data.
[0087] The second processed data is input into the third hidden layer, and weighted and nonlinearly processed according to the parameters of the third hidden layer to obtain the output value of the neural network.
[0088] The loss function is determined based on the true value corresponding to the trained processed data source information data and the output value of the neural network.
[0089] According to the loss function, the parameters of the third hidden layer are partially derived to obtain the third partial derivative parameters.
[0090] According to the third partial derivative parameter and the loss function, the parameters of the second hidden layer are partially derived to obtain the second partial derivative parameters.
[0091] According to the second partial derivative parameter and the loss function, the parameters of the first hidden layer are partially derived to obtain the first partial derivative parameters.
[0092] The first partial derivative parameter is used as the parameter of the first hidden layer for the next iteration number, and the method "input the training data into the first hidden layer, and perform weighted and nonlinear processing according to the parameters of the first hidden layer to obtain the first processed data" is returned until the value of the loss function is within the set range or the number of iterations reaches the set threshold, and the iteration is stopped.
[0093] The neural network corresponding to the parameters when the iteration is stopped is determined as the trained neural network.
[0094] In practical applications, such as Figure 2-Figure 4 As shown, the method mentioned in this application includes the following steps:
[0095] Step 1: Through the Gbase platform of the Information Center of the Ministry of Human Resources and Social Security, obtain the urban employee pension insurance database, urban and rural resident pension insurance database, universal insurance registration database, employment monitoring database, unemployment insurance networking indicators and other data of China's national social security, and extract 200,000 sample population data covering various industries, provinces / municipalities, different age groups, and different payment base levels, that is, data source information data. Clean the sample data indicator fields. Data cleaning is completed based on the Gbase platform and Python development scripts. The sample data is processed to obtain the average or maximum value of the past year to represent the specific value of a certain indicator field of an individual. The specific processing process is: statistical analysis of each field, calculation of the mode, continuous growth value, and same field value of different insurance types of each field, use these statistical values to reasonably fill in the empty values and abnormal values in each field, and finally calculate the average and maximum value of each field.
[0096] Step 2: Perform correlation analysis on more than 600 indicator fields and payment bases, including the actual payment amount, the amount payable, the accumulated principal and interest of the account, the total salary of employees, the actual payment amount of the unit, the years of household establishment, the payment base, the number of payment months, etc. in step 1, and obtain the analyzed data source information data. The specific process is: Analyze the multicollinearity between fields. When there is a high correlation between multiple fields, the regression coefficient estimation will be inaccurate, and then the collinearity problem will occur. Use the forward stepwise regression and backward stepwise regression methods to screen out the contribution, that is, the fields with large weights, and introduce the fields one by one into the relevant model, that is, the model for collinearity analysis. After introducing a field, check whether the introduction of the field causes a significant change in the model. If a significant change occurs, then the field is introduced into the model, otherwise the field is ignored until all fields are traversed. That is, the fields are arranged from large to small according to the contribution, and added in sequence. Finally, the above 8 indicator fields are screened out. That is, the analyzed data source information data is obtained.
[0097] Step 3: Normalize the indicator field and map it to between 0 and 1. The specific process is: find out the abnormally large value of each indicator and remove it, then calculate the maximum value of each indicator field, and finally divide the indicator field by its maximum value.
[0098] Step 4: Build a model, i.e., a repayment risk prediction model. The model building process is as follows: output the training data a to the first hidden layer of the neural network model, and calculate z with the initialization parameters, i.e., the initial weighted weight W0 and the initial bias b0. Use the activation function Relu to perform nonlinear processing on the input data to obtain a1, maximize the data expression ability, output the processed data to the second hidden layer, and calculate with the parameters of the second hidden layer. After calculating for a total of 3 layers, the predicted value Y is obtained. This process is called the forward propagation of the neural network. The predicted value Y calculated by the model and the actual Y1 value of the training sample, i.e., the payment base of the sample performance period, are calculated by the mean square error to obtain the loss function. Then, the loss function is used to obtain the partial derivative of the parameters of the third hidden layer to obtain dw3 and db3. This calculation and reverse advancement obtain the parameters of the third hidden layer after partial derivative dw1 and db1. This process is called the back propagation of the neural network. The above process is the first iteration of the model. The obtained dwi and dbi are calculated with the hyperparameter learning rate r and the initialization parameters, namely W0 and b0, to obtain the updated parameters W and bias b. The model is iterated again with the new parameters. After more than 4000 iterations, the error between the predicted value Y and the true value Y1 is within the given range, and the model training can be terminated.
[0099] The calculation formula for the nonlinear processing of the activation function Relu is:
[0100]
[0101] in, is the value predicted by the neural network; W3 1×4 W2 is the parameter connecting the third hidden layer and the output layer, which is a matrix with one row and three columns; 4×8 W1 is the parameter for connecting the second hidden layer and the third hidden layer, which is a matrix with four rows and eight columns; 8×8 X is the parameter connecting the first hidden layer and the second hidden layer, which is a matrix of eight rows and eight columns; 8×N b1 is the data source input to the model, which is a matrix with eight rows and N columns. The eight rows represent that each data has eight indicators, and N is the number of data, which is 200,000 here. 8×1 b2 is the bias parameter connecting the first hidden layer and the second hidden layer, which is a matrix with eight rows and one column; 4×1 b3 is the bias parameter connecting the second hidden layer and the third hidden layer, which is a matrix with four rows and one column; 1×1 is the bias parameter connecting the third hidden layer and the output layer, which is a matrix with one row and one column.
[0102] Step 5: Considering data security and the principle that social security data should not be exported, the neural network model needs to be disassembled layer by layer and deployed to the database using SQL language. The parameters learned by each layer of the neural network, namely W and b, are disassembled, and these parameters and the specific values of the 8 input fields are calculated through nested SQL layers to finally obtain the estimated value of personal repayment ability. The estimated value is finally mapped to 31 to 57 points, and different values represent different repayment abilities, where 31 points represent 0 to 1000, 32 represents 1000 to 2000, and an increase of 1 point means an increase of 1000 in repayment ability. The maximum score of 57 represents a repayment ability of more than 26,000.
[0103] Specifically, regarding data preparation: 200,000 sample populations covering various industries, provinces / municipalities, different age groups, and different payment base levels were extracted from the social security urban employee pension insurance database, urban and rural resident pension insurance database, universal insurance registration database, employment monitoring database, and unemployment insurance networking indicators. Then the indicator fields of these sample populations were cleaned. Since the local social security data was omitted or filled in incorrectly during the reporting process, the data quality was poor, so the average or maximum value of the past year was used to represent the specific value of a certain indicator field of an individual. A total of nearly 500 indicator fields were cleaned, and correlation analysis was performed with the payment base. Finally, the eight indicator fields with the best effect were retained, namely the eight indicators of the input layer in the neural network structure diagram. In order to avoid errors caused by different orders of magnitude between indicator fields, the eight indicators were normalized and mapped to between 0 and 1, which greatly improved the stability and accuracy of the model training process. The final 200,000 people and their eight indicator fields were used as our modeling data.
[0104] About model training: The processed 200,000 sample data are input into the model and reach the first hidden layer. They are connected through an 8-row and 8-column parameter matrix, that is, each indicator field is weighted by 8 different coefficients to obtain a value of the first hidden layer. The obtained value is Relu activated and then connected through a 4-row and 8-column parameter matrix to obtain the second hidden layer. That is, each value of the first hidden layer is weighted by 4 different coefficients to obtain a value of the second hidden layer, and then weighted in this way to obtain the output result. The model is iterated 5,000 times in this way, and the model accuracy reaches 95.8%, and the model training is completed.
[0105] Model verification: After the model training is completed, 50,000 data points outside the 200,000 samples are used to verify the model. The output results are compared with the customer's actual payment base. The accuracy of the results reaches 96% when the payment base floats by 10%. The model verification is completed and meets the requirements. The parameter matrix W and intercept b in the model are extracted as coefficients.
[0106] Model deployment: Extract the data of 1.2 billion people in the database, and clean out their eight indicator fields. Perform operations with the extracted parameter matrix to obtain predicted values, and map these values to a range of 0 to 57 points. Each score represents the customer's repayment ability level.
[0107] Rule supplement: Among the 1.2 billion people, people for whom the specific results cannot be calculated, special groups, and sensitive groups are given different rule strategies, and the final results are mapped between 0 and 57.
[0108] Parameter description: The middle fully connected line is the parameter matrix W, where W1 is a parameter matrix of 8 rows and 8 columns, with a total of 64 parameters, W2 is a parameter matrix of 4 rows and 8 columns, with a total of 32 parameters, and W3 is a parameter matrix of 1 row and 4 columns, with a total of 4 parameters. These parameters are all involved in the calculation of 8 features and are also the data that the model ultimately retains and uses. In addition, there is an intercept parameter matrix b after each W. The first hidden layer and the second hidden layer are the middle layers of the neural network, responsible for fully connecting the input data output results to increase the nonlinear expression of the neural network and improve the prediction ability of the neural network. Relu is an activation function, whose purpose is to perform nonlinear processing on the calculated intermediate results to avoid overfitting during the training process, so that the model performs well on the training set, but poorly on the test set and production data. After the model training is completed, the parameter matrix of the intermediate process is extracted, and it is converted into SQL language for matrix operation with the input field. The model can be deployed in the Gbase database and the desired result data can be generated quickly in batches.
[0109] The method mentioned in this application is used in actual applications regarding customer calls: the final generated personal score, that is, the risk level, has been used nearly 30 million times by cooperating financial institutions in actual financial scenarios.
[0110] This application combines massive social security data with cutting-edge algorithm technology for the first time, responding to the call of "big data artificial intelligence +" to ensure that data is taken from the people and used for the people. It also converts the neural network model into a linear SQL script for the first time, so that the model can be deployed in the database and complex models can be processed simply.
[0111] This application visualizes and interprets neural networks for the first time. Neural networks have always had a "black box" nature. This model can obtain the weight coefficients of the features by perturbing different input features, making the model interpretable. The model is visualized by extracting the intermediate parameter matrix of the model for data analysis.
[0112] The intermediate parameters of the model built based on the neural network are extracted as the weight coefficients used, without the need for the final result of the model; the input features are all continuous variables and normalized, and the model training is fast and accurate; the Relu activation function is used to avoid gradient vanishing during model training and thus make the model invalid; multiple features and power operations of hundreds of parameters are combined into hundreds of millions of calculation methods to obtain personal repayment ability scores, effectively protecting personal information from leakage.
[0113] This application describes the design method and technical implementation of calculating the individual repayment ability score based on massive social security data using AI neural network algorithms. In order to comprehensively, accurately and in real time reflect the customer's repayment ability level, AI modeling and analysis based on social security data are used to form an estimation model to obtain a score, provide financial security for financial institutions, infer the customer's monthly repayment ability, and quantify the customer's repayment ability indicators.
[0114] Beneficial effects of this application:
[0115] Covering more comprehensive data sources. Using social security urban employee pension insurance, urban employee unemployment insurance, urban employee work-related injury insurance, urban and rural resident pension insurance, employment monitoring, and universal social security data, and removing sensitive personnel information to ensure information security. The model covers 1.2 billion people from all walks of life across the country, fully supplementing the customer base information of banks and other financial institutions, and meeting the needs of almost all institutions.
[0116] Provide real-time and accurate customer information. The model uses social security data of multiple types that are updated monthly in real time, which can reflect the current real situation of customers and uses data such as payment base that is directly linked to repayment ability, ensuring the accuracy of the model results.
[0117] Accurately predict the level of personal repayment ability. Abandon the traditional logistic regression algorithm and use the neural network model in deep learning. It is better than almost all machine learning algorithms and can fully approximate any complex linear or nonlinear relationship. The larger the amount of data, the more the network learns, and the more accurate the model prediction. The network consists of many layers, and different activation functions are used between different layers, which greatly improves the robustness and fault tolerance of the model.
[0118] Based on the same inventive concept, the embodiment of the present application also provides a personal repayment risk prediction device for implementing the personal repayment risk prediction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more personal repayment risk prediction device embodiments provided below can refer to the limitations of the personal repayment risk prediction method above, and will not be repeated here.
[0119] In an exemplary embodiment, a personal repayment risk prediction device is provided, the device comprising:
[0120] The data acquisition module is used to obtain data source information data; the data source information data includes indicators and data corresponding to the indicators; the indicators include: the actual paid amount, the amount payable, the accumulated principal and interest of the account, the total salary of employees, the actual paid amount of the unit, the number of years of household establishment, the payment base and the number of payment months.
[0121] The data processing module is used to process the data source information data to obtain processed data source information data.
[0122] The prediction module is used to input the processed data source information data into the repayment risk prediction model to obtain a prediction value; the prediction value is used to characterize the risk level of personal repayment; the repayment risk prediction model is obtained through training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer that are interconnected.
[0123] The mapping module is used to perform mapping processing according to the predicted value in a set manner to obtain the personal repayment amount.
[0124] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a personal repayment risk prediction method is implemented.
[0125] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0126] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0127] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0128] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0130] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0131] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0132] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0133] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for predicting personal repayment risk, It is characterized in that The personal repayment risk prediction method includes: Acquire data source information data; the data source information data includes indicators and data corresponding to the indicators; the indicators include: actual payment amount, amount payable, accumulated principal and interest of the account, total salary of employees, actual payment amount of the unit, years of account establishment, payment base and number of payment months; Processing the data source information data to obtain processed data source information data; Inputting the processed data source information data into the repayment risk prediction model to obtain a prediction value; the prediction value is used to characterize the risk level of personal repayment; the repayment risk prediction model is obtained by training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other; The predicted value is mapped in a set manner to obtain a personal repayment amount.
2. The personal repayment risk prediction method according to claim 1, It is characterized in that Processing the data source information data to obtain processed data source information data specifically includes: Cleaning the data source information data to obtain cleaned data source information data; Performing correlation analysis on the cleaned data source information data to obtain analyzed data source information data; The analyzed data source information data is normalized and mapped to obtain processed data source information data.
3. The personal repayment risk prediction method according to claim 2, It is characterized in that The data source information data is cleaned to obtain cleaned data source information data, specifically including: Performing statistical analysis on the data source information data to obtain statistical data; Determine field indicator data according to the data source information data; the field indicator data includes: mode, continuous growth value and same field value; According to the field indicator data, the empty values and abnormal values in the statistical data are filled to obtain cleaned data source information data; the abnormal value is a value that exceeds a set threshold.
4. The personal repayment risk prediction method according to claim 2, It is characterized in that The cleaned data source information data is subjected to correlation analysis to obtain analyzed data source information data, specifically including: The forward stepwise regression method and the backward stepwise regression method are used to screen the cleaned data source information data based on the contribution degree to obtain the screened data; the contribution degree is determined based on the regression coefficient of the collinearity analysis; the contribution degree includes: weight; Sorting the screened data according to the contribution values to obtain sorted data; The sorted data is determined as the analyzed data source information data.
5. The personal repayment risk prediction method according to claim 1, It is characterized in that The method for determining the repayment risk prediction model includes: Acquire training data; the training data includes: training processing data source information data and real values corresponding to the training processing data source information data; Constructing a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other; The training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the loss function value being within a set range as the goal, to obtain a trained neural network; the loss function is determined based on the output value of the neural network and the real value corresponding to the training processing data source information data; the parameters include: weighted weights and biases; The trained neural network is determined as the repayment risk prediction model.
6. The personal repayment risk prediction method according to claim 5, It is characterized in that The training data is input into the neural network, and the parameters of the neural network are iteratively updated and trained with the loss function value being within a set range as the goal to obtain a trained neural network, specifically including: For any number of iterations: Inputting the training data into the first hidden layer, and performing weighted and nonlinear processing according to the parameters of the first hidden layer to obtain first processed data; Inputting the first processed data into the second hidden layer, and performing weighted and nonlinear processing according to the parameters of the second hidden layer to obtain second processed data; Inputting the second processed data into the third hidden layer, and performing weighted and nonlinear processing according to the parameters of the third hidden layer to obtain an output value of the neural network; Determining the loss function according to the real value corresponding to the trained processed data source information data and the output value of the neural network; According to the loss function, performing partial derivative processing on the parameters of the third hidden layer to obtain third partial derivative parameters; According to the third partial derivative parameter and the loss function, a parameter of the second hidden layer is subjected to partial derivative processing to obtain a second partial derivative parameter; According to the second partial derivative parameter and the loss function, the parameters of the first hidden layer are subjected to partial derivative processing to obtain first partial derivative parameters; The first partial derivative parameter is used as the parameter of the first hidden layer for the next iteration number, and "the training data is input into the first hidden layer, and weighted and nonlinearly processed according to the parameter of the first hidden layer to obtain the first processed data" is returned until the value of the loss function is within the set range or the number of iterations reaches the set threshold, and the iteration is stopped; The neural network corresponding to the parameters when the iteration is stopped is determined as the trained neural network.
7. A personal repayment risk prediction device, It is characterized in that The personal repayment risk prediction device comprises: A data acquisition module is used to acquire data source information data; the data source information data includes indicators and data corresponding to the indicators; the indicators include: actual payment amount, amount payable, accumulated principal and interest of the account, total salary of employees, actual payment amount of the unit, years of account establishment, payment base and number of payment months; A data processing module, used for processing the data source information data to obtain processed data source information data; A prediction module, used for inputting the processed data source information data into a repayment risk prediction model to obtain a prediction value; the prediction value is used to characterize the risk level of individual repayment; the repayment risk prediction model is obtained by training based on a neural network; the neural network includes a first hidden layer, a second hidden layer and a third hidden layer connected to each other; A mapping module is used to perform mapping processing according to the predicted value in a set manner to obtain a personal repayment amount.
8. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the personal repayment risk prediction method described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the personal repayment risk prediction method described in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the personal repayment risk prediction method described in any one of claims 1 to 6 is implemented.
