Automobile loan overdue day number prediction method fusing multiple types of features
By combining the sliding window and improved SRU network with automobile-related text information, multi-type feature vectors are generated, which solves the problem of insufficient post-loan risk prediction in the field of automobile finance, achieves accurate prediction of customer overdue days, and improves model stability.
Patent Information
- Application Number
- CN202410314057.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-10-29
AI Technical Summary
Existing technologies in the field of auto finance fail to predict post-loan risks, especially overdue risks, resulting in limited market expansion and profitability, and there is a lack of accurate post-loan risk prediction technology.
Using a feature vector generation strategy based on sliding windows and an improved SRU network structure, combined with text information such as car-related reviews and news, multiple types of feature vectors are generated for model training to achieve accurate prediction of customer overdue days.
It improves the accuracy of post-loan risk prediction and model stability, enhances generalization capabilities, achieves accurate prediction of customer overdue days, supports differentiated collection strategies and processes, and reduces costs.
Smart Images

Figure CN118864080A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data processing, and in particular to a method for predicting overdue days of automobile loans by integrating multiple types of features. Background Art
[0002] At present, the focus of risk management in the field of automobile finance is mostly on pre-loan approval. Through pre-loan risk control, automobile financial institutions can obtain customers with the lowest risk. For example, the patent application number is 202210163917.8, which is a method and device for predicting the pre-loan risk of an enterprise, a storage medium and an electronic device. This patent improves the accuracy of the results of the pre-loan risk prediction of the enterprise, thereby meeting the pre-loan contribution prediction.
[0003] However, strict pre-loan risk control will greatly lose the target customer base, which is not conducive to market expansion and profitability. Auto finance companies with strong post-loan management capabilities have gained greater competitive advantages in the market because they can accept higher-risk customers. Therefore, there is a need to predict post-loan risks such as overdue risks. Existing technologies often focus on pre-loan risk prediction and pay less attention to post-loan overdue prediction. In fact, based on relevant information related to Internet vehicles, basic customer information, behavioral characteristics and other internal and external data, it is important to predict various situations that may occur to customers after the loan method, which is of great significance for the collection management work. By predicting the possible overdue days of loan customers, differentiated collection strategies and processes can be adopted for different customers, maintaining a good recovery level at a lower cost, and realizing efficient and convenient collection management. Existing technologies have not yet disclosed accurate technology for predicting post-loan risks. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for predicting the number of days overdue for automobile loans that integrates multiple types of features. By combining relevant information analysis of automobile-related reviews, news and other texts, using a feature vector generation strategy based on a sliding window and a network structure based on an improved SRU, the problem that it is difficult to handle multiple types of features in traditional machine learning is solved, thereby being able to more accurately predict loan risks, further enhance the stability and generalization ability of the model, and achieve accurate prediction of customer overdue days.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is: a method for predicting the number of days overdue for automobile loans by integrating multiple types of features, comprising the following steps:
[0006] S1. Obtaining the relevant information probability vector based on the probability vector generation algorithm of the relevant information analysis;
[0007] S2, a feature vector sequence generation method based on a sliding window obtains multiple types of feature vector sequences to construct model training and test data sets;
[0008] S3. Based on the model training and test data sets, the improved SRU network structure is used for modeling to mine multi-type feature sequences and ultimately achieve accurate prediction of customer overdue days.
[0009] Step S1 includes:
[0010] Relevant information data related to historical automobiles is selected to construct a data set, and the BERT model is used to perform text understanding and vectorization on the relevant information data, and the relevant information probability vector is constructed as the input feature of the model.
[0011] Step S2 includes: using different data processing methods to process the customer's basic information, customer repayment behavior information and related information, and using a sliding window method to generate two types of feature vector sequences as input feature vector sequences of the model.
[0012] In step S1, the probability vector generation algorithm based on relevant information analysis includes two parts: training phase and prediction phase. In the training phase, the model is trained by minimizing the cross entropy loss function and back propagation algorithm using the labeled data on the training set. The training process covers the determination of the BERT model structure and parameters, as well as the optimization of the weights of the fully connected layer. The specific algorithm includes the following steps:
[0013] 1) The length of BERT’s input sentence is limited to a fixed value C. If the length of the text exceeds the predetermined value C, a sentence splitting strategy is adopted to split the text into a set of clauses S, where each clause s i The length of each of them shall not exceed C.
[0014] 2) For texts whose length does not exceed C, BERT is directly used to obtain the text representation vector, and then classification is performed through the fully connected layer and the softmax function to obtain the classification category probability of the text.
[0015] 3) For the clause set S obtained by text segmentation with a length greater than C, BERT is also applied to obtain each clause s i The representation vector v i , and obtain the corresponding classification category probability set P.
[0016] 4) When the length of the processed text is less than or equal to C, the classification category probability is directly output as the relevant information probability vector. For texts with a length greater than C, each probability p in the probability set P is i Perform weighted averaging and use it as the output of the relevant information probability vector.
[0017] In the prediction stage, we collect the latest month's text data in a daily update manner and input it into the trained model to obtain the relevant information probability vector. We weight the relevant information probability vector according to the N categories of text, and finally output a 3-dimensional relevant information probability vector for each category of text. The N category model will eventually output a 3N-dimensional relevant information probability vector. This will serve as the input feature of the subsequent model and provide a basis for further analysis and decision-making.
[0018] The generation of the feature vector sequence based on the sliding window in step S2 includes the following steps:
[0019] 1) Processing of customer-related features: Process the basic information related to the customer's loan to obtain the customer's specified information as the fixed feature vector of the model. Process the customer's repayment behavior related information to obtain the customer's overdue, loan and other features as the variable feature vector of the model. Process the customer and the relevant information about the vehicle purchased to obtain the customer's overdue related features as the external knowledge embedding feature vector of the model.
[0020] 2) Generation of feature vector sequence based on sliding window: The calculated variable feature vector and external knowledge embedding vector are concatenated and fused with the customer's fixed feature vector respectively to obtain two types of feature vector sequences that change over time: variable feature V and external feature E. Then, a sliding window with a size of w and a step length of s is used to select data as input data, and the next position of the sliding window corresponds to the customer's overdue days as the model Y label.
[0021] Customer-related feature processing includes the following steps:
[0022] 1) Basic customer information
[0023] Basic information includes the basic information data of the customer's loan, the customer's credit information of the People's Bank of China, and the customer's corresponding third-party data. The specific processing methods are as follows:
[0024] a) The basic data of customers when applying for loans includes data features such as marital status, age, gender, personal income, and application score card scores, which are processed in different ways. For categorical data, the category encoding is directly processed to obtain the corresponding encoding vector; for numerical data, the numerical value (or normalized result) is used as the feature vector; for text data, one-hot encoding, TF-IDF and other processing are used as its feature vector; for date data, date intervals, holidays, years, months, weeks, days and other processing methods are used as feature vectors.
[0025] b) The PBOC credit data includes the PBOC basic credit data, the PBOC historical repayment data, and the PBOC behavior data such as credit card approval rate, loan approval rate, loan inquiry times, peer inquiries, and other information. The above method is also used to process different types of data.
[0026] c) The third-party data source data includes consumption data, multiple loan data, customized score data, etc. in recent months. In the present invention, the third-party data is mainly provided by a third-party institution, which is numerical data and can be directly used as a feature vector.
[0027] Since the above features are all features when the customer applies and are fixed data, they are used as fixed feature vectors for the customer.
[0028] 2) Repayment behavior data
[0029] The repayment behavior data mainly refers to the repayment behavior data after the customer successfully applies for a loan: such as the repayment behavior for several consecutive months, including the number of overdue days, the maximum overdue days in the past n days, the minimum overdue days in the past n days, the loan balance, the overdue amount, the number of early repayments, the number of withdrawals, the total withdrawal amount, the proportion of the withdrawal amount to the credit amount, the loan interest rate, the loan term, etc. The above processing method is also used for different types of data to obtain the corresponding feature vector. It is worth noting that the repayment behavior data will change with the change of time, so the feature data of the customer every day is used to form a feature sequence as a variable feature vector.
[0030] 3) Embedding relevant information features
[0031] The relevant information uses the relevant information analysis results in step S1, and the relevant information analysis result vector of the day is selected directly as the external knowledge embedding vector.
[0032] The feature vector sequence generation based on the sliding window includes: selecting the feature vectors of the previous 1-30 days i-30 -t i As the input data of the model, the number of overdue days y of the customer on the 31st day i+1 is the model Y label, where the multi-factor feature t i is the variable feature V on day i i and external features E i The combination of features.
[0033] For each customer to be predicted, first, a sliding window with a window size of 30 and a step length of 1 is used to slide along the time series direction to obtain a feature vector sequence of the customer containing two types (variable features and external knowledge features); then, all customers are processed in the above manner, and all processed data are merged to construct a model data set; finally, the constructed data set is divided into the training set, validation set, and test set of the model to train and evaluate the model.
[0034] The prediction of overdue days of loans based on the improved SRU network includes: after the feature vector is generated, based on the improved SRU network, different types of feature vectors are processed and mined respectively through multiple input and output units, the corresponding hidden states are generated and updated, and then the overdue days of the predicted customers are predicted through the regressor. Among them: based on the variable feature vector sequence generated in step S2 and the external knowledge feature vector sequence, the semantic representation is encoded using the improved SRU network. Based on the two input and output units, these two fused vectors are encoded. Process and encode the corresponding hidden layer information respectively, and mine the potential regular information contained in it while ensuring that the correlation of each dimension is not lost. After completing the hidden layer information mining, the generated semantic representation encoding vector is fused to obtain the customer representation vector encoding required for overdue risk prediction. Specifically follow the following steps:
[0035] 1) Forget gate and reset gate update. For the basic information vector and loan performance vector, the vector input at the current moment is used to update and the hidden state at the previous moment Calculate the corresponding forget gate state vector f respectively t basic ,f t loan and reset the gate state vector r t basic ,r t loan , update the forget gate and reset gate of the two input and output units:
[0036]
[0037] Among them, ρ represents the sigmoid activation function, represents the trainable weight matrix corresponding to the forget gate and reset gate for basic information, b f ,b r Represents the bias matrix of the forget gate and reset gate for basic information. represents the trainable weight matrix corresponding to the forget gate and reset gate for loan information, b′ f ,b′ rRepresents the bias matrix of the forget gate and reset gate for loan information.
[0038] 2) Unit state update. After completing the update of the forget gate and reset gate, the basic information unit state vector of the tth time step is updated based on the updated state and the loan information unit state vector To update:
[0039]
[0040] in, are the unit state weight matrix corresponding to the basic information and loan information, the weight parameter and bias term of the hidden state, represents the Hadamard product.
[0041] 3) Semantic representation encoding vector generation. Based on the updated unit state vector information at the tth time step, generate the hidden state vector corresponding to the basic information and loan information, and fuse the two hidden state vectors as the customer's semantic encoding representation vector. Specifically, first update the hidden states of the two input and output units:
[0042]
[0043] in represents the hidden state vector corresponding to the basic information and loan information input and output units at the tth time step, and g represents the activation function. After encoding, the information output by the two units is aggregated to obtain the fused customer semantic representation encoding vector:
[0044]
[0045] Where W basic ,W loan Represents the fusion weight corresponding to basic information and loan information.
[0046] After completing the encoding of the customer semantic representation vector, the encoded vector is input into the fully connected layer to obtain the corresponding overdue days prediction result y i ′:
[0047]
[0048] Where FC represents the fully connected layer. Train this network and use mean-square error (MSE) as the loss function to measure the gap between the model's predicted value and the true value:
[0049]
[0050] Where N represents the number of samples, y iIndicates the actual number of days overdue for the customer, y i ′ represents the predicted number of days the customer will be overdue.
[0051] The advantages of the present invention are as follows: by combining relevant information analysis of automobile-related reviews, news and other texts, using a feature vector generation strategy based on a sliding window and a network structure based on an improved SRU, the problem of difficulty in processing multiple types of features in traditional machine learning is solved, thereby being able to more accurately and effectively use multiple types of features for loan risk prediction, further enhancing the stability and generalization ability of the model, and achieving accurate prediction of customer overdue days.
[0052] The present invention predicts the loan score through an improved SRU network, effectively integrating multiple features such as public opinion information, basic customer information and loan behavior information, thereby improving the accuracy of prediction and the performance of the model. The present invention constructs two types of feature vectors, namely variable feature vectors and external knowledge embedding vectors, by using basic customer loan information, customer repayment behavior information and related information, and generates multiple types of feature vector sequences by means of a sliding window; then, based on the improved SRU network, by introducing a gating mechanism of multiple input and output units, multiple types of feature sequences are mined to further enhance the stability and generalization ability of the model, thereby achieving accurate prediction of customer overdue days.
[0053] Compared with the existing methods, the present invention proposes a method for predicting overdue days of auto loans by integrating multiple types of features. Multiple types of feature sequences are constructed by using two types of feature vectors: a variable feature vector constructed by customer repayment behavior and an external knowledge embedding vector constructed by related information. Then, based on the improved SRU network, the multiple types of feature sequences are mined, which solves the problem that it is difficult to mine multiple types of features in traditional machine learning risk modeling, thereby enhancing the stability and generalization ability of the model and achieving accurate prediction of customer overdue days. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The following is a brief description of the contents expressed in the drawings of the present invention and the symbols in the drawings:
[0055] Figure 1 It is the overall flow chart of the present invention;
[0056] Figure 2 It is a characteristic flow chart of information analysis related to the present invention;
[0057] Figure 3 Generate a flow chart for the data of the present invention;
[0058] Figure 4 Improved SRU structure diagram for the present invention. DETAILED DESCRIPTION
[0059] The specific implementation of the present invention will be further explained in detail below by describing the optimal embodiment with reference to the accompanying drawings.
[0060] The purpose of this embodiment is to integrate multiple types of features, including relevant information features, customer basic information features and repayment related information features, to accurately predict the number of overdue days for car loan customers.
[0061] In this embodiment, a method for predicting overdue days of automobile loans integrating multiple types of features includes:
[0062] Step 1: Encode the latest relevant information text data and output the label probability vector;
[0063] Step 2: Construct a feature vector by combining relevant information, basic customer information, and customer repayment behavior information, and generate a feature vector sequence based on a sliding window;
[0064] Step 3: Predict the customer’s loan overdue days based on the improved SRU network.
[0065] Before making a prediction, the improved SRU network needs to be trained and verified, and the historical relevant information text data is used for encoding and outputting the label probability vector; then, the feature vector of the relevant information, basic customer information and customer repayment behavior information is constructed, and a feature vector sequence is generated based on the sliding window to form a training set and a verification set to train the improved SRU network. After the training and verification are completed, the latest relevant information text data is used for encoding and outputting the label probability vector, and the feature vector of the relevant information, basic customer information and customer repayment behavior information is constructed, and a feature vector sequence is generated based on the sliding window. These vectors are sent to the network as the input of the improved SRU network, so as to predict the number of days of overdue loans for customers based on the improved SRU network. Both training and prediction include steps 1, 2, and 3, but the historical data used in training is used for processing and training of steps 1, 2, and 3. When making overdue predictions, the real-time relevant information data and the customer data to be predicted are used to predict the number of days of overdue after steps 1, 2, and 3. When used for training and prediction, the specific steps of steps 1, 2, and 3 are as follows:
[0066] The method for predicting overdue days of automobile loans by integrating multiple types of features provided by the present invention comprises the following steps:
[0067] S1. Generation of relevant information probability vector based on relevant information analysis
[0068] The present invention focuses on automobile review texts and automobile news texts, uses the BERT model for text understanding and vectorization, combines manual annotation to train a multi-classification model, and uses the relevant information probability vector as the input feature for prediction. Furthermore, the specific process of step S1 includes the following process:
[0069] S101: Label and train models based on historical relevant information data. Select historical relevant information data, mainly car reviews and news texts from N sources (such as vehicle complaints, news network car sections, etc.), and after manual labeling, assign one of the three labels of positive, negative, and neutral as the training set. In the model training stage, the BERT model is used for text vectorization, and a fully connected layer and softmax activation function are added to convert text outputs of different lengths into standardized probability vectors, which specifically includes the following processes:
[0070] (1) Sentence segmentation: Since the length of BERT’s input sentence must be limited to a fixed value C, when the text length exceeds the predetermined value C, a sentence segmentation strategy is adopted to divide the text into a set of clauses S, where each clause s i The length of each of them shall not exceed C.
[0071] (2) Short text probability: For texts with a length not exceeding C, BERT is directly used to obtain the text representation vector, and then classification is performed through a fully connected layer and a softmax function to obtain the category probability of the text.
[0072] (3) Long text probability: For a set of clauses S obtained from text sentences longer than C, BERT is also applied to obtain each clause s i The representation vector v i , and obtain the corresponding classification category probability set P.
[0073] (4) Probability output: When the length of the processed text is less than or equal to C, the classification category probability is directly output as the relevant information probability vector. For texts with a length greater than C, each probability p in the probability set P is i Perform weighted averaging and use it as the output of the relevant information probability vector.
[0074] Combining the annotations and output probability vectors on the training set, the model is trained by minimizing the cross entropy loss function and the back propagation algorithm to determine the BERT model structure and parameters, and optimize the weights of the fully connected layer.
[0075] S102: Output probability vector based on the latest relevant information data. Collect relevant information text data of the latest month from N sources, input each text into the model trained in the first step, and obtain the corresponding 3D relevant information probability vector.
[0076] S103: Probability vector fusion. The relevant information probability vectors of each text are fused by weighted average according to the source. N sources will generate N 3D probability vectors, which are spliced into 3N-dimensional relevant information probability vectors as input features of the subsequent model.
[0077] S2. Feature vector sequence generation based on sliding window
[0078] In order to improve the prediction accuracy of the model, the present invention uses the basic information of the customer, the repayment behavior information of the customer and the related information as the feature variables, and uses the sliding window-based method to generate the feature vector sequence as the multi-type feature vector of the model. Figure 2 Step S2 includes the following process:
[0079] S201: Processing of customer-related features. Process the basic information related to the customer's loan to obtain the customer's specified information as the fixed feature vector of the model. Process the customer's repayment behavior related information to obtain the customer's overdue, loan and other features as the variable feature vector of the model. Process the customer and the relevant information about the vehicle purchased to obtain the customer's overdue related features as the external knowledge embedding feature vector of the model. The calculation method of the three types of feature vectors is as follows:
[0080] (1) Basic customer information. Basic information includes basic information data of customer loans, customer credit information of the People's Bank of China, and customer's corresponding third-party data. The specific processing methods are as follows:
[0081] a. The basic data of customers when applying for loans includes data features such as marital status, age, gender, personal income, and application score card scores, which are processed in different ways. For categorical data, the category encoding is directly processed to obtain the corresponding encoding vector; for numerical data, the numerical value (or normalized result) is used as the feature vector; for text data, one-hot encoding, TF-IDF and other processing are used as its feature vector; for date data, date intervals, holidays, years, months, weeks, days and other processing methods are used as feature vectors.
[0082] b. The PBOC credit data includes the PBOC basic credit data, the PBOC historical repayment data, and the PBOC behavior data such as credit card approval rate, loan approval rate, loan inquiry times, peer inquiries, and other information. The above method is also used to process different types of data.
[0083] c. The third-party data source data includes consumption data, multiple loan data, customized score data, etc. in recent months. In the present invention, the third-party data is mainly provided by a third-party institution, which is numerical data and can be directly used as a feature vector.
[0084] Since the above features are all features when the customer applies and are fixed data, they are used as fixed feature vectors for the customer.
[0085] (2) Repayment behavior data. The repayment behavior data mainly refers to the repayment behavior data after the customer successfully applies for a loan: such as the repayment behavior for several consecutive months, including the number of overdue days, the maximum overdue days in the past n days, the minimum overdue days in the past n days, the loan balance, the overdue amount, the number of early repayments, the number of withdrawals, the total withdrawal amount, the proportion of the withdrawal amount to the credit amount, the loan interest rate, the loan term, etc. The above processing method is also used for different types of data to obtain the corresponding feature vector. It is worth noting that the repayment behavior data will change with the change of time, so the feature data of the customer every day is used to form a feature sequence as a variable feature vector.
[0086] (3) Embedding relevant information features. The relevant information uses the relevant information analysis results in step S1, and the relevant information analysis result vector of the day is directly selected as the external knowledge embedding vector.
[0087] S202: Generate feature vector sequence based on sliding window. The calculated variable feature vector and external knowledge embedding vector are concatenated and fused with the customer's fixed feature vector to obtain two types of feature vector sequences that change over time: variable feature V and external feature E. Then, a sliding window with a size of w and a step length of s is used to select data as input data, and the next position of the sliding window corresponds to the customer's overdue days as the model Y label. The specific process is as shown in the attached figure. Figure 3 As shown, the features t from the first 1 to 30 days are selected i-30 -t i As the input data of the model, the number of overdue days y of the customer on the 31st day i+1 For Model Y Label, where the multi-factor feature t i is the variable feature V on day i i and external features E i The combination of features.
[0088] S3. Prediction of overdue days in loans based on improved SRU network
[0089] The present invention uses an improved simple recurrent unit (SRU) network to predict loan scores. After the feature vector is generated, based on the improved SRU network, different types of feature vectors are processed and mined through multiple input and output units, and the corresponding hidden states are generated and updated. Then, the number of overdue days of the customer to be predicted is predicted through the regressor. Step S3 includes the following process:
[0090] S301: Encode the semantic representation vector based on the improved SRU network. Based on the variable feature vector sequence generated in step S2 and the external knowledge feature vector sequence, the improved SRU network is used to encode the semantic representation. The overall structure is as follows: Figure 4 As shown. Based on the two input and output units, the basic information vector of this customer and repayment behavior vector After the hidden layer information mining is completed, the generated semantic representation coding vectors are fused to obtain the customer representation vector coding required for overdue risk prediction. Furthermore, the specific process of step S301 includes: for the basic information vector and the loan performance vector, according to the vector input at the current moment, and the hidden state at the previous moment Calculate the corresponding forget gate state vector f respectively t basic ,f t loan and reset the gate state vector r t basic ,r t loan , update the forget gate and reset gate of the two input and output units:
[0091]
[0092]
[0093] Among them, ρ represents the sigmoid activation function, represents the trainable weight matrix corresponding to the forget gate and reset gate for basic information, b f ,b r Represents the bias matrix of the forget gate and reset gate for basic information. represents the trainable weight matrix corresponding to the forget gate and reset gate for loan information, b′ f ,b′ r Represents the bias matrix of the forget gate and reset gate for loan information. After completing the update of the forget gate and reset gate, the basic information unit state vector of the tth time step is updated based on the updated state and the loan information unit state vector To update:
[0094]
[0095] in, are the unit state weight matrix corresponding to the basic information and loan information, the weight parameter and bias term of the hidden state, Denotes the Hadamard product. According to the updated unit state vector information of the tth time step, the hidden state vector corresponding to the basic information and the loan information is generated, and the two hidden state vectors are fused as the customer's semantic encoding representation vector. Specifically, the hidden states of the two input and output units are first updated:
[0096]
[0097] in represents the hidden state vector corresponding to the basic information and loan information input and output units at the tth time step, and g represents the activation function. After encoding, the information output by the two units is aggregated to obtain the fused customer semantic representation encoding vector:
[0098]
[0099] Where W basic ,W loan Represents the fusion weight corresponding to basic information and loan information.
[0100] S302: Risk prediction. After the customer semantic representation vector is encoded, the encoded vector is input into the fully connected layer to obtain the corresponding overdue days prediction result y i ′:
[0101]
[0102] FC stands for fully connected layer. During training, mean square error (MSE) is used as the loss function of training based on the training requirements to measure the gap between the model prediction value and the true value:
[0103]
[0104] Where N represents the number of samples, y i Indicates the actual number of days overdue for the customer, y i ′ represents the predicted number of days overdue for a customer. The parameters of the SRU network are adjusted and updated based on the loss function until the training is completed and the requirements are met.
[0105] After the training is completed, for customers who need to be predicted, the customer data is collected and the corresponding overdue days are predicted and output through the SRU network; specifically:
[0106] Step 1: Encode the latest relevant information text data and output the label probability vector; the encoding and label probability vector output are the same as the processing in step S1 during the training process;
[0107] Step 2: Construct a feature vector combining relevant information, basic customer information and repayment behavior information, and generate a feature vector sequence based on a sliding window; this step processes the predicted basic customer information, repayment behavior information and relevant information in the same way as the data processing step in step S2, using the basic customer information, repayment behavior information and relevant information information as feature variables, and using a sliding window-based approach to generate a feature vector sequence as a multi-type feature vector for the model.
[0108] Step 3: Predict the number of days overdue for the customer's loan based on the improved SRU network. The multi-type feature vectors obtained in step 2 are input into the trained improved SRU network to obtain the corresponding output predicted overdue days data.
[0109] Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.
Claims
1. A method for predicting overdue days of automobile loans by integrating multiple types of features, characterized by: The steps include: S1, encode the relevant information text data and output the label probability vector; S2, constructing a feature vector by combining relevant information, basic customer information and customer repayment behavior information, and generating a feature vector sequence based on a sliding window; S3. Predict the number of days the customer's loan is overdue based on the improved SRU network.
2. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 1, characterized in that: Before predicting the number of days of loan delinquency based on the improved SRU network, network training is first performed to obtain the trained improved SRU network; during training, step S1 selects historical automobile-related relevant information data to construct a data set, and when used for prediction, the most recent relevant information text data is selected to construct a data set; and the BERT model is used to perform text understanding and vectorization on the relevant information data, and to construct a relevant information probability vector as an input feature of the model.
3. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 1, characterized in that: Step S2 includes: using different data processing methods to process the customer's basic information, the customer's repayment behavior information and related information, and using a sliding window method to generate two types of feature vector sequences.
4. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 1, characterized in that: In step S1, the probability vector generation algorithm based on relevant information analysis includes two parts: training stage and prediction stage. In the training stage, the model is trained by minimizing the cross entropy loss function and the back propagation algorithm using the labeled data on the training set. The training process covers the determination of the BERT model structure and parameters, as well as the optimization of the weights of the fully connected layer. The specific algorithm includes the following steps: 1) The length of BERT’s input sentence is limited to a fixed value C. When the length of the text exceeds the preset value C, a sentence splitting strategy is adopted to split the text into a set of clauses S, where each clause s i The length of each of them shall not exceed C; 2) For texts with a length not exceeding C, BERT is directly used to obtain the text representation vector, and then classified through the fully connected layer and softmax function to obtain the classification probability of the text; 3) For the clause set S obtained by text segmentation with a length exceeding C, BERT is also applied to obtain each clause s i The representation vector v i , and obtain the corresponding classification category probability set P; 4) When the length of the processed text is less than or equal to C, the classification category probability is directly output as the relevant information probability vector; for texts with a length greater than C, each probability p in the probability set P is i Perform weighted averaging and use it as the output of the relevant information probability vector.
5. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 4, characterized in that: In the prediction stage, a daily update method is adopted to collect text data from the latest month and input it into the trained model to obtain the relevant information probability vector. The relevant information probability vector is weighted averaged according to the N categories of text. Finally, a 3-dimensional relevant information probability vector is output for each category of text. The N category model will eventually output a 3N-dimensional relevant information probability vector. The 3N-dimensional relevant information probability vector is used as the input feature of the subsequent model, providing a basis for further analysis and decision-making.
6. A method for predicting overdue days of automobile loans by integrating multiple types of features as described in any one of claims 1 to 5, characterized in that: The generation of the feature vector sequence based on the sliding window in step S2 includes the following steps: 1) Processing of customer-related features: Process the basic information related to the customer's loan to obtain the customer's specified information as the fixed feature vector of the model; process the customer's repayment behavior related information to obtain the customer's overdue, loan and other features as the variable feature vector of the model; process the customer and the relevant information about the vehicle purchased to obtain the customer's related information related features as the external knowledge embedding feature vector of the model; 2) Generation of feature vector sequence based on sliding window: The calculated variable feature vector and external knowledge embedding vector are concatenated and fused with the customer's fixed feature vector respectively to obtain two types of feature vector sequences that change over time: variable feature V and external feature E. Then, a sliding window with a size of w and a step length of s is used to select data as input data, and the next position of the sliding window corresponds to the customer's overdue days as the model Y label.
7. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 6, characterized in that: Customer-related feature processing includes the following steps: 1) Basic customer information Basic information includes the basic information data of the customer's loan, the customer's credit information of the People's Bank of China, and the customer's corresponding third-party data. The specific processing methods are as follows: a) The basic data of customers when applying for loans includes data features such as marital status, age, gender, personal income, and application score card scores, which are processed in different ways; for categorical data, category encoding is directly performed to obtain the corresponding encoding vector; for numerical data, its numerical value is used as the feature vector; for text data, one-hot encoding, TF-IDF, etc. are used as its feature vector; For date type, date interval, holiday, year, month, week, day, etc. are used as feature vectors; b) PBOC credit data includes PBOC basic credit data, PBOC historical repayment data, PBOC behavior data such as credit card approval rate, loan approval rate, loan inquiry times, peer inquiry and other information. Different types of data are processed in the same way as above; c) The third-party data source data includes consumption data, multiple loan data, customized score data, etc. in recent months, which are all numerical data and directly used as feature vectors; 2) Repayment behavior data The repayment behavior data mainly refers to the repayment behavior data after the customer successfully applies for a loan: such as the repayment behavior for several consecutive months, including the number of overdue days, the maximum overdue days in the past n days, the minimum overdue days in the past n days, the loan balance, the overdue amount, the number of early repayments, the number of withdrawals, the total withdrawal amount, the proportion of the withdrawal amount to the credit amount, the loan interest rate, the loan term, etc. The above processing method is also used for different types of data to obtain the corresponding feature vector; 3) Embedding relevant information features The relevant information uses the relevant information analysis results in step S1, and the relevant information analysis result vector of the day is selected directly as the external knowledge embedding vector.
8. The method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in claim 6, characterized in that: The feature vector sequence generation based on the sliding window includes: selecting the feature vectors of the previous 1-30 days i-30 -t i As the input data of the model, the number of overdue days y of the customer on the 31st day i+1 is the model Y label, where the multi-factor feature t i is the variable feature V on day i i and external features E i The combination of features; For each customer to be predicted, first, a sliding window with a window size of 30 and a step length of 1 is used to slide along the time series direction to obtain a feature vector sequence containing two types of features for the customer; then, all customers are processed in the above manner, and all processed data are merged to construct a model data set; finally, the constructed data set is divided into the training set, validation set, and test set of the model to train and evaluate the model.
9. A method for predicting overdue days of automobile loans by integrating multiple types of features as described in any one of claims 1 to 8, characterized in that: The prediction of overdue days of loans based on the improved SRU network includes: after completing the generation of feature vectors, based on the improved SRU network, processing and mining different types of feature vectors respectively through multiple input and output units, generating and updating corresponding hidden states, and then predicting the overdue days of the predicted customers through the regressor; wherein: based on the variable feature vector sequence and the external knowledge feature vector sequence generated in step S2, the improved SRU network is used to encode the semantic representation; based on the two input and output units, the two fused vectors are encoded. Process it and encode the corresponding hidden layer information respectively, and mine the potential regular information contained in it while ensuring that the correlation of each dimension is not lost; after completing the hidden layer information mining, the generated semantic representation coding vector is fused to obtain the customer representation vector coding required for overdue risk prediction.
10. A method for predicting overdue days of automobile loans by integrating multiple types of features as claimed in any one of claim 9, characterized in that: After completing the encoding of the customer semantic representation vector, the encoded vector is input into the fully connected layer to obtain the corresponding overdue days prediction result y i ′: Where FC represents the fully connected layer, the improved SRU network is trained, and the mean square error MSE is used as the loss function to measure the gap between the model prediction value and the true value: Where N represents the number of samples, y i Indicates the actual number of days overdue for the customer, y i ′ represents the predicted number of days the customer will be overdue.
Citation Information
Cited By
Default data processing method and device, electronic equipment and storage medium
CN117094810A
Big data-combined bus full-life-cycle safety management method and system
CN119941480A
