Credit prediction model training method, prediction method and device, medium and equipment
By using the timing loss function value in the credit prediction model to train the model, the timing stability of the credit prediction model is improved, the problem of insufficient timing stability in the existing technology is solved, the prediction accuracy is improved and the credit rating information is simplified. predict.
Patent Information
- Application Number
- CN201910969520.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-12
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-10-12
AI Technical Summary
The existing credit prediction model has insufficient temporal stability, resulting in low prediction accuracy. It is necessary to improve the temporal stability of the model to improve prediction accuracy.
By obtaining training samples containing time points, perform feature derivation processing, calculate the timing loss function value, and determine the objective function value of the credit prediction model based on the timing loss function value to train the model and improve the timing stability of the derived features.
It improves the temporal stability of the credit prediction model during training and after application, improves prediction accuracy, and reduces the complexity of later strategy adjustments.
Smart Images

Figure CN110781929B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of machine learning, and in particular, to a method and device for training a credit prediction model, a credit prediction method and device, and a computer storage medium and electronic device for implementing the training method for the credit prediction model and the credit prediction method. Background Art
[0002] Credit rating can be measured by risk level. If the risk level of the predicted object is higher, the credit rating is lower. Conversely, if the risk level of the predicted object is lower, the credit rating is higher. Among them, risk refers to the distance between the goal people expect to achieve and the actual result within a certain period of time. Credit prediction is to predict the probability of risk events. Through credit prediction, effective risk response measures can be formulated in advance.
[0003] With the rapid development of machine learning technology, credit prediction is achieved by training machine learning models in related technologies. Specifically, in the process of training machine learning models, the training goal is generally to reduce the classification loss of the model. Finally, a credit prediction model with a classification loss that meets the set requirements is obtained, and then the credit rating information is predicted through the trained credit prediction model.
[0004] However, the time series stability of the credit prediction model provided by the relevant technology needs to be improved.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure. Summary of the invention
[0006] The purpose of the present disclosure is to provide a training method and device for a credit prediction model, a credit prediction method and device, as well as a computer storage medium and electronic device for implementing the training method of the credit prediction model and the credit prediction method, thereby improving the temporal stability of the credit prediction model at least to a certain extent, thereby improving the prediction accuracy of the model.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to one aspect of the present disclosure, a method for training a credit prediction model is provided, comprising:
[0009] Acquire training samples including time points, and input the training samples into a credit prediction model; perform feature derivation processing on the training samples to obtain derived features including time points; calculate the time series loss function value in the feature derivation processing according to the derived features and the time points of the derived features; and determine the objective function value of the credit prediction model according to the time series loss function value, so as to train the credit prediction model according to the objective function value.
[0010] According to one aspect of the present disclosure, a training device for a credit prediction model is provided, comprising:
[0011] The sample acquisition module is configured to: acquire training samples including time points, and input the training samples into the credit prediction model;
[0012] The derived feature acquisition module is configured to: perform feature derivation processing on the training samples to obtain derived features including time points;
[0013] The above-mentioned temporal loss function determination module is configured to: calculate the temporal loss function value in the feature derivation process according to the above-mentioned derived features and the time points of the above-mentioned derived features; and,
[0014] The above-mentioned model training module is configured to: determine the objective function value of the above-mentioned credit prediction model according to the above-mentioned time series loss function value, so as to train the above-mentioned credit prediction model according to the above-mentioned objective function value.
[0015] In some embodiments of the present disclosure, based on the aforementioned solution, the training device of the above-mentioned credit prediction model further includes: a classification loss function determination module.
[0016] The classification loss function determination module is configured to: classify the derived features to obtain classification results, and determine the classification loss function value of the credit prediction model according to the classification results;
[0017] On this basis, the above-mentioned model training module is specifically configured to: determine the objective function value of the above-mentioned credit prediction model in combination with the above-mentioned time series loss function value and the above-mentioned classification loss function value.
[0018] In some embodiments of the present disclosure, based on the aforementioned scheme, a timing loss function determination module includes: an acquisition unit and a loss calculation unit.
[0019] Among them, the above-mentioned acquisition unit is configured to: obtain the target derived features, and obtain the generation time point of the above-mentioned target derived features; and the above-mentioned loss calculation unit is configured to: calculate the mutual information between the above-mentioned target derived features and the above-mentioned generation time point, and obtain the time series loss function value in the above-mentioned feature derivation processing process.
[0020] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned classification loss function determination module is specifically configured to include: calculating the maximum likelihood estimate of the above-mentioned classification result to obtain the classification loss function value of the above-mentioned credit prediction model.
[0021] In some embodiments of the present disclosure, based on the aforementioned solution, the sample acquisition module includes: a behavior data acquisition unit and a labeling unit.
[0022] Among them, the above-mentioned behavior data acquisition unit is configured to: acquire the behavior data of the prediction object, and acquire the generation time point of the above-mentioned behavior data, to obtain the behavior data containing the time point; and the above-mentioned labeling unit is configured to: determine the credit rating information of the above-mentioned prediction object, and label the above-mentioned behavior data containing the time point according to the above-mentioned credit rating, to obtain a training set composed of training samples containing time points.
[0023] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned behavior data acquisition unit is specifically configured to: collect user behavior data in the software to obtain training samples containing time points, and the above-mentioned software includes one or more of instant messaging software, financial management platform and shopping software.
[0024] In some embodiments of the present disclosure, based on the aforementioned solution, the training device of the credit prediction model further includes: a data cleaning module.
[0025] The data cleaning module is configured to: after labeling the behavior data including the time points according to the credit rating, perform one or more of a completion process and a deduplication process on the training set.
[0026] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned sample acquisition module 901 is also specifically configured to: calculate the group stability index of each training sample; calculate the group stability index of the training sample; filter the training sample according to the group stability index; and input the filtered training sample into the credit prediction model.
[0027] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned derived feature acquisition module is specifically configured to: perform one or more of convolution processing, pooling processing and full connection processing on the training samples through the hidden layer of the neural network model to obtain derived features containing time points.
[0028] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned derived feature acquisition module is specifically configured to: perform splitting and derivative processing on the training samples through the splitting nodes of the decision tree model to obtain derived features containing time points.
[0029] According to one aspect of the present disclosure, there is provided a credit prediction method, comprising:
[0030] The behavior data of the prediction object is input into the credit prediction model; the behavior data is subjected to feature derivation to generate derived features; and the derived features are classified to obtain predicted credit rating information; wherein the credit prediction model is trained according to the credit prediction model training method described in the first aspect.
[0031] According to one aspect of the present disclosure, there is provided a credit prediction device, comprising:
[0032] A feature input module is configured to input the behavior data of the prediction object into the credit prediction model; a feature derivation module is configured to perform feature derivation processing on the behavior data to obtain derived features; and a credit rating prediction module is configured to classify the derived features to obtain predicted credit rating information; wherein the credit prediction model is trained according to the credit prediction model training method described in the first aspect above.
[0033] According to one aspect of the present disclosure, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the training method of the credit prediction model described in the first aspect and the credit prediction method described in the third aspect are implemented.
[0034] According to one aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the training method of the credit prediction model described in the first aspect above by executing the executable instructions, and to implement the credit prediction method described in the third aspect.
[0035] It can be seen from the above technical solutions that the credit prediction model training method and device, the credit prediction method and device in the exemplary embodiments of the present disclosure, as well as the computer storage medium and electronic device for implementing the credit prediction model training method and the credit prediction method have at least the following advantages and positive effects:
[0036] In the technical solutions provided by some embodiments of the present disclosure, a credit prediction model is trained by training samples containing time points to improve the temporal stability of the trained model. Specifically, the training samples containing time points are input into the credit prediction model to perform feature derivation processing on the training samples to obtain derived features containing time points. Further, the temporal loss function value in the feature derivation process is calculated based on the relationship between the derived features and the time points corresponding thereto to measure the temporal distribution differences of the derived features. It can be seen that the objective function value of the credit prediction model in the present technical solution includes the temporal loss function value. In other words, the derived features of the credit prediction model obtained by training according to the objective function value are less sensitive to the time series. The derived features generated at different time points have a higher temporal stability. Therefore, the derived features of the credit prediction model during training and after the online application have a higher temporal stability, which is beneficial to improving the prediction accuracy of the model.
[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0039] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present disclosure can be applied;
[0040] Figure 2 A schematic diagram of a timeline for training and application of a credit prediction model is shown;
[0041] Figure 3 A flowchart of a method for training a credit prediction model according to an embodiment of the present disclosure is schematically shown;
[0042] Figure 4 A flowchart schematically illustrates a method for determining a training set according to an embodiment of the present disclosure;
[0043] Figure 5 A model structure diagram according to an embodiment of the present disclosure is schematically shown;
[0044] Figure 6 A flowchart of a method for training a credit prediction model according to another embodiment of the present disclosure is schematically shown;
[0045] Figure 7 A flowchart of a method for determining timing loss according to an embodiment of the present disclosure is schematically shown;
[0046] Figure 8 A flowchart of a credit prediction method according to an embodiment of the present disclosure is schematically shown;
[0047] Fig. 9 A structural diagram of a training device for a credit prediction model according to an embodiment of the present disclosure is schematically shown;
[0048] Fig.10 A schematic diagram of a credit prediction device according to an embodiment of the present disclosure is shown; and
[0049] Fig.11 A schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0050] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.
[0051] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0052] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0053] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0054] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0055] Machine Learning (ML) is a multi-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.
[0056] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0057] The solution provided by the embodiments of the present disclosure involves artificial intelligence, machine learning and other technologies, which are specifically described by the following embodiments:
[0058] Figure 1 A schematic diagram of the system architecture of a credit prediction model training method and device, and an exemplary application environment of the credit prediction method and device, to which the embodiments of the present disclosure can be applied, is shown.
[0059] like Figure 1As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.
[0060] The training method and credit prediction method of the credit prediction model provided in the embodiment of the present disclosure are generally executed by the server 105, and accordingly, the training device and credit prediction device of the credit prediction model are generally arranged in the server 105. However, it is easy for a person skilled in the art to understand that the training method and credit prediction method of the credit prediction model provided in the embodiment of the present disclosure can also be executed by the terminal devices 101, 102, and 103, and accordingly, the training device and credit prediction method device of the credit prediction model can also be arranged in the terminal devices 101, 102, and 103, which is not particularly limited in the present exemplary embodiment.
[0061] For example, in an exemplary embodiment, the terminal devices 101, 102, and 103 may determine the training sample data containing the time point and send it to the server 105; thus, the server 105 obtains the training sample containing the time point and inputs the training sample containing the time point into the credit prediction model; then, the server 105 performs feature derivation processing on the training sample to obtain the derived features containing the time point. Further, the server 105 calculates the time series loss function value in the feature derivation process according to the derived features and their corresponding time points; finally, the server 105 determines the objective function value of the credit prediction model according to the time series loss function value, so as to train the credit prediction model according to the objective function value and obtain the trained credit prediction model.
[0062] Exemplarily, the server 105 may also send the trained credit prediction model to the terminal devices 101, 102, and 103. Thus, the user may conveniently perform credit rating prediction through the trained credit prediction model in the terminal devices 101, 102, and 103.
[0063] For example, one usage scenario may be: in the traditional rental industry, the manufacturer guarantees that the rented item will be returned intact by temporarily withholding the consumer's deposit. However, this method cannot provide consumers with a good rental experience.
[0064] In related technologies, in order to improve the rental experience of consumers, merchants can provide a way to reduce or waive the deposit for high-quality users with good credit, thereby improving the consumer's experience in the rental process and consumption stickiness, and at the same time, it is conducive to protecting the rights and interests of users themselves. Among them, the method of determining the above-mentioned high-quality users with good credit can be: predicting the credit value of the rental user by training a machine learning model, thereby determining the high-quality users with good credit.
[0065] Specifically, the related technology collects users' online data and directly uses it to train the credit prediction model. Figure 2 The time axis provided is to collect online data of users to train the credit prediction model within the time period S20 from the modeling time point T1 of the credit prediction model to the online time point T2 of the trained model.
[0066] However, since online data is highly accidental, for example, after a software function is updated, the user's usage data before and after the function is updated may change. Therefore, the directly collected online user data has the characteristics of time series instability. As a result, when the user data is collected after the model is launched (that is, after the model is launched at time point T2), and is input into the trained credit prediction model for credit prediction, the credit prediction value is inaccurate. For example, if the predicted value of the user credit prediction model changes significantly between the modeling time point and the launch time point, the credit prediction value at the application time point may be inaccurate, resulting in the risk of deposit-free rental being greater than the assessment at the modeling time point, which in turn leads to losses.
[0067] In the related art, in order to avoid inaccurate credit prediction values after the model is launched (i.e., after the model is launched and applied at time point T2), strategy adjustments are still required after the model is launched (for example, collecting user data after the model is launched to continue training the model, or adjusting the credit rating threshold, etc.). However, although this technical solution can guarantee the accuracy of the credit prediction value to a certain extent, the later adjustment of the strategy leads to high operational complexity.
[0068] This technical solution aims to solve the problem that the present invention discloses a solution to improve the temporal stability of the model, so as to solve the above-mentioned problems existing in the related art to a certain extent. The technical solution of the embodiment of the present disclosure is described in detail below:
[0069] Figure 3 The flowchart of the training method of the credit prediction model according to an embodiment of the present disclosure is schematically shown. Figure 3, the embodiment shown in the figure includes:
[0070] Step S310, obtaining training samples including time points, and inputting the training samples into a credit prediction model;
[0071] Step S320, performing feature derivation processing on the training sample to obtain derived features including time points;
[0072] Step S330, calculating the temporal loss function value in the feature derivation process according to the derived features and the time points of the derived features; and,
[0073] Step S340: determining an objective function value of the credit prediction model according to the time series loss function value, so as to train the credit prediction model according to the objective function value.
[0074] The feature derivation process is a process of learning features of data to obtain new features. For example, a training sample is convolved by a convolution layer of a neural network to obtain a derived feature corresponding to the training sample.
[0075] exist Figure 3 In the technical solution provided by the illustrated embodiment, the credit prediction model is trained by training samples containing time points to improve the temporal stability of the trained model. Specifically, the training samples containing time points are input into the credit prediction model to perform feature derivation processing on the training samples to obtain derived features containing time points. Furthermore, the temporal loss function value in the feature derivation process is calculated based on the relationship between the derived features and the time points corresponding thereto to measure the temporal distribution differences of the derived features. It can be seen that the objective function value of the credit prediction model in the present technical solution includes the temporal loss function value. In other words, the derived features of the credit prediction model obtained by training according to the objective function value are less sensitive to the time series. The derived features generated at different time points have a higher temporal stability. Therefore, the credit prediction model has a higher temporal stability between the derived features during training and the derived features after the online application, which is beneficial to improve the prediction accuracy of the model.
[0076] At the same time, the technical solution provided by this embodiment does not require post-strategy adjustments to the trained credit prediction model (such as redefinition of credit rating thresholds, etc.), thereby reducing the complexity of credit prediction while ensuring the accuracy of credit rating information prediction.
[0077] The following Figure 3 The specific implementation methods of each step of the embodiment shown are described in detail:
[0078] For example, with the popularization of mobile smart devices and the rapid development of the Internet, users can easily realize online activities such as communication, entertainment, and payment by simply operating applications on mobile smart devices, and can also experience offline consumption such as online to offline (Online to Outline, referred to as: O2O) life services, navigation, and special cars. Therefore, online data can reflect the user's life trajectory to a large extent, and thus online data can be collected to obtain rich user behavior data to predict the user's credit value / risk value through user behavior data. Therefore, in this technical solution, the training set of the credit prediction model is determined based on user behavior data.
[0079] For example, Figure 4 The flowchart of the method for determining the training set according to an embodiment of the present disclosure is schematically shown. The training set is the set of "training samples" described in step S310. Figure 4 , the embodiment shown in the figure includes:
[0080] Step S410, obtaining the behavior data of the prediction object, and obtaining the generation time point of the behavior data, to obtain the behavior data including the time point; and, step S420, determining the credit rating information of the prediction object, and marking the behavior data including the time point according to the credit rating, to obtain a training set composed of training samples including the time point.
[0081] In an exemplary embodiment, the method for determining the user identity information may be: determining it based on the basic information collected when the user logs into the platform software such as instant messaging software, financial management platform or shopping software. For example, age, gender, education, occupation, political affiliation and other information. The method for determining the user identity information may also be determined through the terminal device information. For example, the model, brand, device name of the mobile device, and the unique identification code corresponding to the device and other information.
[0082] In an exemplary embodiment, the specific implementation method of obtaining the behavioral data including time points of the above-mentioned prediction object can be: obtaining the user's behavioral data in the software through interface access and active reporting by the software to obtain training samples including time points, wherein the above-mentioned software includes one or more of instant messaging software, financial management platform and shopping software.
[0083] For example, economic behavior data, such as consumption behavior and consumption time (i.e. time point), transfer behavior and transfer time (i.e. time point), financial management behavior and the time when financial management behavior occurs (i.e. time point), sending and receiving red envelopes behavior and the time when red envelopes are sent and received (i.e. time point), etc.; hobby behavior data, such as article reading and forwarding behavior and the corresponding time (i.e. time point), public account subscription behavior and occurrence time, content search behavior and its occurrence time, etc.; social behavior data, such as friend following behavior and behavior occurrence time, blacklisting behavior and behavior occurrence time, etc.; and location-based service (Location Based Services, abbreviated as: LBS) geographic location data, such as navigation behavior and the time when navigation behavior occurs, check-in behavior and check-in time, taxi-hailing behavior and taxi-hailing time, etc.
[0084] In an exemplary embodiment, the specific implementation method for determining the credit rating information of the above-mentioned prediction object may be: directly using the defaulting users and fulfilling users determined in a similar rental scenario as labels. For example, the credit rating of the user behavior information corresponding to the fulfilling user is labeled as "high credit rating / credit rating level 1", and the credit rating of the user behavior information corresponding to the defaulting user is labeled as "low credit rating / credit rating level 3", etc.
[0085] In an exemplary embodiment, the specific implementation method for determining the credit rating information of the above-mentioned prediction object can also be: for the user behavior data to be marked, the corresponding user identity information is gray-processed, and the performance status of the user after gray-processing is continuously obtained, so as to be labeled according to the subsequent performance status data. Exemplary, whether the user has taken out a loan in the financial management software, and if the loan has been taken out, whether the loan can be repaid according to the established loan repayment rules. If the loan is repaid according to the established rules, its label can be determined as "good credit rating / low risk level"; if there is information about not repaying the loan according to the established rules, its label can be determined as "general credit rating / general risk level"; if there is no information about repaying the loan according to the established rules, its label can be determined as "low credit rating / high risk level", etc.
[0086] In an exemplary embodiment, in order to increase the amount of information in the training samples and to avoid invalid model training as much as possible, after the behavior data is labeled according to the credit rating, the data needs to be cleaned. Exemplarily, one or more of the following processes, such as filling and deduplication, are performed on the behavior data after the labeling process. For example, when there is an underreporting in the reporting process, the missing values need to be filled, and when the data is repeated, deduplication needs to be performed. This improves the quality of the training set, which is beneficial to improving the prediction accuracy of the trained model.
[0087] Population Stability Index (PSI) is used to measure the distribution difference of training samples. In related technologies, features with PSI greater than a preset threshold are generally screened out, and the screened training samples are input into the prediction model to reduce the distribution difference of training samples. However, the method of screening features based on PSI in related technologies inevitably causes sample information loss, which in turn leads to a decrease in the target classification effect of the trained model.
[0088] In an exemplary embodiment, the Population Stability Index (PSI) of the training samples is calculated according to the following formula. PSI is used to measure the distribution difference of the training samples in time series. Furthermore, the features with PSI greater than a preset threshold are screened out, and the screened training samples are input into the credit prediction model. In this way, features with relatively high time series stability are effectively selected to participate in model training, so as to improve the prediction stability of the trained model in time series.
[0089]
[0090] Among them, P true,i is the actual proportion of the i-th feature in the training set, P expect,i is the expected proportion of the i-th feature in the training set.
[0091] In an exemplary embodiment, the training samples in the training set can be organized into the following format:
[0092] (1)(x i ,y i ), where i = 1, ..., n, represents the i-th prediction object (e.g., user), x i represents the training sample features determined based on the user behavior features of the i-th prediction object, y i Represents x i target classification (i.e. target credit rating);
[0093] (2)(x j ,t j ), where j = 1, ..., n, represents the jth prediction object (e.g., user), x j represents the training sample features determined according to the user behavior features of the jth prediction object, t j Represents x j The corresponding data time point.
[0094] In an exemplary embodiment, the training samples in the training set can also be organized into the following format: k ,y k ,t k), where k = 1, ..., n, represents the kth prediction object (e.g., user), x k represents the training sample features determined based on the user behavior features of the kth prediction object, y k Represents x k The target classification (i.e. target credit rating) of k Represents x k The corresponding data time point.
[0095] In an exemplary embodiment, Figure 5 The model structure diagram according to an embodiment of the present disclosure is schematically shown. Specifically, the specific implementation of step S320 is to Figure 5 The model shown implements a feature derivation layer to perform feature derivation processing on the above training samples, thereby obtaining derived features containing time points.
[0096] refer to Figure 5 The technical solution provides a classification model. The model structure includes: a feature derivation layer (Encoder) 510 and a classification layer (Classifier) 520. Among them, for a set of features X in the training sample (for example, feature X can be expressed as: x k ,y k ,t k ), the feature derivation layer (Encoder) 510 performs feature derivation processing on it to obtain the derived feature E(X), and the classification layer (Classifier) 520 determines the probability Pc(y|E(X)) that x corresponds to the credit level A according to the derived feature E(X). For example, the feature derivation layer (Encoder) 510 performs feature derivation processing on the training samples, such as learning the age characteristics, gender characteristics and consumption characteristics of a certain user to obtain the credit characteristics of the user; further, the classification layer (Classifier) 520 is used to predict the credit level of the user according to the above credit characteristics.
[0097] Exemplarily, if the classification model is a neural network model, the feature derived layer (Encoder) 510 is a hidden layer of the neural network model. The derived feature E(X) may be a feature of feature x after convolution processing, the derived feature E(X) may be a feature of feature x after pooling processing, the derived feature E(X) may also be a feature of feature X after full connection processing, etc.
[0098] Exemplarily, if the above-mentioned classification model is a decision tree model, the above-mentioned feature derivation layer (Encoder) 510 is a split node of the credit prediction model, and the above-mentioned derived feature E(X) can be a feature after the feature x is split and derived.
[0099] In an exemplary embodiment, continue to refer to Figure 3 After the training sample x is input into the credit prediction model, the derived feature E(X) including the time point output by the feature derivation layer (Encoder) 510 of the credit prediction model is obtained in step S320. In step S330, the temporal loss function value of the feature derivation layer (Encoder) 510 can be calculated according to the derived feature E(X) and the time point t of the derived feature to improve the temporal stability of the trained model.
[0100] In an exemplary embodiment, Figure 6 The flowchart of the training method of the credit prediction model according to another embodiment of the present disclosure is schematically shown. Figure 6 , the embodiment shown in the figure includes steps S610 to S650.
[0101] In an exemplary embodiment, the specific implementation of the above step S610 is the same as the specific implementation of step S310 (eg Figure 4 The specific implementation of the above step S620 is the same as the specific implementation of step S320 (such as Figure 5 The method for determining the time series loss function value in step S630 / step S330 will be described in detail in the following. Figure 7 The details are described in the illustrated embodiment.
[0102] In an exemplary embodiment, the method provided by the technical solution further includes: step S640, classifying the derived features to obtain classification results, and determining the classification loss function value of the credit prediction model according to the classification results.
[0103] Further, as a specific implementation of step S340, in step S650, the objective function value of the credit prediction model is determined in combination with the time series loss function value and the classification loss function value.
[0104] Exemplarily, the following specifically describes how to determine the above-mentioned time series loss function and the above-mentioned classification loss function:
[0105] In an exemplary embodiment, Figure 7 The flowchart of the method for determining the temporal loss function according to an embodiment of the present disclosure is schematically shown, which can be used as a specific implementation of step S330 / step S630. Specifically, any feature output by the above feature derivation layer is recorded as a "target derived feature". Figure 7 , the embodiment shown in the figure may include:
[0106] Step S710, obtaining a target derived feature and a generation time point of the target derived feature; and, step S720, calculating the mutual information between the target derived feature and the generation time point to obtain a temporal loss function value in the feature derivation process.
[0107] In an exemplary embodiment, the temporal distribution difference of the derived features at different time points is measured by calculating the mutual information (MI) between the target derived feature E(X) and its time point t. Figure 2 , that is, the smaller the time series distribution difference between the derived feature E(x1) corresponding to the feature x1 at the time point T1) and the derived feature E(x2) corresponding to the feature x2 at the time point of the launch (T2), we can assume that the feature distributions at these two time points are more consistent. This means that the time series stability of the trained credit prediction model is higher.
[0108] The specific implementation method of calculating the mutual information between the target derived feature E(X) and its time point t includes:
[0109] For the same prediction object s, obtain the target derived feature E(x s ), and the time point t at which the above behavior data is obtained s , further, the above target derived feature E(x s ) and the above time point t s The mutual information of .
[0110] I s =I(h=E(x s ),t s ) Formula 1
[0111] Where h represents h=E(x s ), t represents t s , then the calculation method of formula 1 can be:
[0112] I(h,t)=I(h,x)-I(h,x|t) Formula 2
[0113] =I(h,x)-H(x|t)+H(x|h,t)
[0114] ≤I(h,x)-H(x|t)-E x,h,t logp(x|h,t)
[0115] =E x [KL(q(h|x)||q(h))]-H(x|t)-E x,h,t logp(x|h,t) Equation 3
[0116] Among them, KL(q(h|x)||q(h)) in formula 3 can be expressed as:
[0117]
[0118] Among them, the above H(x│t) is a constant and does not need to be involved in the optimization of the subsequent model objective function; E x,h,t logp(x|h,t) is the mean square distance between h and t after being decoded into x and the original input feature x; KL(q(h|x)||q(h)) is the Kullback-Leibler divergence (KL divergence for short) of the Gaussian distribution; H(q(h|x)) is the entropy of the Gaussian distribution; B is the magnitude of each batch of samples during the model training process.
[0119] Thus, the temporal loss function of the feature derivative layer (Encoder) 510 of the credit prediction model is determined as M s =I s , where s is an integer greater than or equal to 1 and less than or equal to the number of prediction objects in the training sample.
[0120] In an exemplary embodiment, the classification loss function value of the credit prediction model is determined according to the classification result output by the classification layer (Classifier) 520. The specific implementation method may be: calculating the maximum likelihood estimate of the classification result output by the classification layer (Classifier) to obtain the classification loss function value of the credit prediction model.
[0121] Specifically, the logarithmic loss, i.e., the log-likelihood loss, is defined on the probability estimation and can be used to evaluate the probability output of the classifier. Exemplarily, the classification loss function C is determined according to the following formula: i , where i is an integer greater than or equal to 1 and less than or equal to the number of training samples.
[0122]
[0123] In an exemplary embodiment, combined with the above-mentioned time series loss function M s And the above classification loss function C i Determine the objective function of the above credit prediction model. The objective function can be expressed as:
[0124] Min J(E,C)=min[γ×M s +C i ].
[0125] Among them, γ represents the loss coefficient of the above time series classification function, and its size can be determined according to actual needs.
[0126] Exemplarily, the credit prediction model is trained by solving the objective function min J(E,C) to obtain the model parameters of the feature derivation layer (Encoder) of the credit prediction model and the model parameters of the classification layer (Classifier) of the credit prediction model. Specifically, in the trained credit prediction model obtained by the objective function, its feature derivation layer (Encoder) can obtain a relatively more stable derivative feature E(X). At the same time, while ensuring the accuracy of the prediction value Pc(y|h=E(x)) of the classification layer (Classifier), the temporal stability of the prediction value Pc(y|h=E(x)) is also improved.
[0127] This technical solution introduces the mutual information between the derived features and their time points to measure the difference in the time series distribution of the derived features output by the feature derivation layer, and uses it as the penalty term of the model objective function. Therefore, the credit prediction model trained based on the objective function with the penalty term can obtain a model prediction value with a more stable time series distribution while minimizing the loss of target prediction ability.
[0128] In an exemplary embodiment, based on the model training method provided in the foregoing embodiment, Figure 8 The flowchart of the credit prediction method according to an embodiment of the present disclosure is schematically shown. Figure 8 , the embodiment shown in the figure includes:
[0129] Step S810, inputting the behavior data of the prediction object into the credit prediction model;
[0130] Step S820, performing feature derivation processing on the behavior data to obtain derived features;
[0131] Step S830: classify the derived features to obtain predicted credit rating information.
[0132] For example, since the above credit prediction model is based on Figures 3 to 7 The credit prediction model training method provided in the embodiment shown is obtained by training. Therefore, based on the credit prediction model with higher temporal stability provided by the technical solution, the business party can safely use the model before it goes online (i.e., refer to Figure 2 The model can be trained based on the data of S20 in the previous section without worrying about the time difference between the modeling time point and the application time point causing the distribution change of the model prediction value in time series, so that the strategy can be run more stably and continuously without frequent adjustments. There is no need to frequently adjust the strategy of real-time credit rating threshold, which effectively reduces the workload.
[0133] Those skilled in the art can understand that all or part of the steps to implement the above-mentioned embodiments are implemented as a computer program executed by a processor (including a CPU and a GPU). For example, the model training of the above-mentioned credit prediction model is implemented by a GPU, or based on the trained credit prediction model, a CPU or a GPU is used to implement the credit rating prediction processing of the object to be tested. When the computer program is executed by the CPU, the above-mentioned functions defined by the above-mentioned method provided in the present disclosure are executed. The program can be stored in a computer-readable storage medium, which can be a read-only memory, a disk or an optical disk, etc.
[0134] In addition, it should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0135] The following introduces an embodiment of a training device for a credit prediction model of the present disclosure, which can be used to execute the training method for a credit prediction model of the present disclosure.
[0136] Fig. 9 FIG. 2 is a schematic diagram showing the structure of a training device for a credit prediction model in an exemplary embodiment of the present disclosure. Fig. 9 As shown, the training device 900 of the credit prediction model includes: a sample acquisition module 901, a derivative feature acquisition module 902, a time series loss function determination module 903, and a model training module 904.
[0137] The sample acquisition module 901 is configured to: acquire training samples including time points, and input the training samples into the credit prediction model;
[0138] The derived feature acquisition module 902 is configured to: perform feature derivation processing on the training sample to obtain derived features including time points;
[0139] The above-mentioned time series loss function determination module 903 is configured to: calculate the time series loss function value in the above-mentioned feature derivation processing process according to the above-mentioned derived features and the time points of the above-mentioned derived features;
[0140] The model training module 904 is configured to determine the objective function value of the credit prediction model according to the time series loss function value, so as to train the credit prediction model according to the objective function value.
[0141] In some embodiments of the present disclosure, based on the aforementioned solution, the training device 900 of the credit prediction model further includes: a classification loss function determination module 905.
[0142] The classification loss function determination module 905 is configured to: classify the derived features to obtain classification results, and determine the classification loss function value of the credit prediction model according to the classification results;
[0143] On this basis, the above-mentioned model training module 904 is specifically configured to: determine the objective function value of the above-mentioned credit prediction model in combination with the above-mentioned time series loss function value and the above-mentioned classification loss function value.
[0144] In some embodiments of the present disclosure, based on the above-mentioned solution, the timing loss function determination module 903 includes: an acquisition unit 9031 and a loss calculation unit 9032.
[0145] Among them, the above-mentioned acquisition unit 9031 is configured to: obtain the target derived feature, and obtain the generation time point of the above-mentioned target derived feature; and the above-mentioned loss calculation unit 9032 is configured to: calculate the mutual information between the above-mentioned target derived feature and the above-mentioned generation time point, and obtain the time series loss function value in the above-mentioned feature derivation processing process.
[0146] In some embodiments of the present disclosure, based on the aforementioned scheme, the classification loss function determination module 905 is specifically configured to include: calculating the maximum likelihood estimate of the classification result to obtain the classification loss function value of the credit prediction model.
[0147] In some embodiments of the present disclosure, based on the above-mentioned solution, the sample acquisition module 901 includes: a behavior data acquisition unit 9011 and a labeling unit 9012 .
[0148] Among them, the above-mentioned behavior data acquisition unit 9011 is configured to: obtain the behavior data of the prediction object, and obtain the generation time point of the above-mentioned behavior data, to obtain the behavior data containing the time point; and the above-mentioned labeling unit 9012 is configured to: determine the credit rating information of the above-mentioned prediction object, and label the above-mentioned behavior data containing the time point according to the above-mentioned credit rating, to obtain a training set composed of training samples containing time points.
[0149] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned behavior data acquisition unit 9011 is specifically configured to: collect user behavior data in the software to obtain training samples containing time points, and the above-mentioned software includes one or more of instant messaging software, financial management platform and shopping software.
[0150] In some embodiments of the present disclosure, based on the aforementioned solution, the training device 900 of the credit prediction model further includes: a data cleaning module 906.
[0151] The data cleaning module 906 is configured to: after labeling the behavior data including the time points according to the credit rating, perform one or more of a completion process and a deduplication process on the training set.
[0152] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned sample acquisition module 901 is also specifically configured to: calculate the group stability index of each training sample; calculate the group stability index of the training sample; filter the training sample according to the group stability index; and input the filtered training sample into the credit prediction model.
[0153] In some embodiments of the present disclosure, based on the aforementioned scheme, the above-mentioned derived feature acquisition module 902 is specifically configured to: perform one or more of convolution processing, pooling processing and full connection processing on the training samples through the hidden layer of the neural network model to obtain derived features containing time points.
[0154] In some embodiments of the present disclosure, based on the aforementioned solution, the derived feature acquisition module 902 is specifically configured to: perform splitting and derivative processing on the training samples through the splitting nodes of the decision tree model to obtain derived features containing time points.
[0155] The specific details of each unit in the training device of the above credit prediction model are already in the appendix of the manual. Figures 3 to 7 The corresponding credit prediction model training method is described in detail, so it will not be repeated here.
[0156] The following introduces an embodiment of a training device for a credit prediction model of the present disclosure, which can be used to execute the training method for a credit prediction model of the present disclosure.
[0157] Fig.10 FIG. 2 is a schematic diagram showing the structure of a credit prediction device in an exemplary embodiment of the present disclosure. Figure 8 As shown, the credit prediction device 1000 comprises: a feature input module 1001 , a feature derivation module 1002 , and a credit rating prediction module 1003 .
[0158] The feature input module 1001 is configured to input the behavior data of the prediction object into the credit prediction model; the feature derivation module 1002 is configured to perform feature derivation processing on the behavior data to obtain derived features; and the credit rating prediction module 1003 is configured to classify the derived features to obtain predicted credit rating information;
[0159] The credit prediction model is based on Figures 3 to 7 The credit prediction model is obtained by training using the training method provided in the illustrated embodiment.
[0160] The specific details of each unit in the above credit prediction device are already in the appendix of the specification. Figure 8 The corresponding credit prediction method is described in detail in the embodiment, so it will not be repeated here.
[0161] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown.
[0162] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0163] like Fig.11 As shown, the computer system 1100 includes a processor 1101 (including: a graphics processing unit (GPU), a central processing unit (CPU)), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103. Various programs and data required for system operation are also stored in the RAM 1103. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through a bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0164] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0165] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0166] It should be noted that the computer-readable medium shown in the embodiment of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0167] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0168] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0169] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0170] For example, the electronic device can implement Figure 3 As shown in: Step S310, obtaining a training sample including a time point, and inputting the training sample into a credit prediction model; Step S320, performing feature derivation processing on the training sample to obtain a derived feature including a time point; Step S330, calculating a time series loss function value in the feature derivation processing process according to the derived feature and the time point of the derived feature; and, Step S340, determining an objective function value of the credit prediction model according to the time series loss function value, so as to train the credit prediction model according to the objective function value.
[0171] For example, the electronic device can implement Figure 8As shown in: step S810, inputting the behavior data of the prediction object into the credit prediction model; step S820, performing feature derivation processing on the behavior data to obtain derived features; and step S830, classifying the derived features to obtain predicted credit rating information; wherein the credit prediction model is based on Figure 3 The credit prediction model is trained using the training method shown.
[0172] For another example, the electronic device can implement the following Figure 4 , Figure 6 as well as Figure 7 Follow the steps shown in any of the figures in .
[0173] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0174] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0175] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0176] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for training a credit prediction model, characterized in that: The method comprises: Acquire training samples containing time points, and input the training samples into a credit prediction model; wherein, acquiring training samples containing time points includes: acquiring behavior data of a prediction object, and acquiring a time point at which the behavior data is generated, to obtain behavior data containing time points; determining credit rating information for the prediction object, and labeling the behavior data containing time points according to the credit rating, to obtain a training set consisting of training samples containing time points; Performing feature derivation processing on the training samples to obtain derived features including time points; the derived features are features used to predict the credit rating information of the predicted object; Calculating a time series loss function value in the feature derivation process according to the derived features and the time points of the derived features; Classifying the derived features to obtain classification results, and determining a classification loss function value of the credit prediction model according to the classification results; Determining an objective function value of the credit prediction model in combination with the time series loss function value and the classification loss function value, so as to train the credit prediction model according to the objective function value; The step of calculating the temporal loss function value in the feature derivation process according to the derived features and the time points of the derived features includes: Obtaining target derived features, and obtaining a generation time point of the target derived features; The mutual information between the target derived feature and the generation time point of the target derived feature is calculated to obtain the temporal loss function value in the feature derivation process.
2. The credit prediction model training method according to claim 1, characterized in that: The determining the classification loss function value of the credit prediction model according to the classification result includes: The maximum likelihood estimate of the classification result is calculated to obtain the classification loss function value of the credit prediction model.
3. The credit prediction model training method according to claim 1, characterized in that: The obtaining of training samples containing time points includes: The user's behavior data in the software is collected to obtain training samples containing time points, and the software includes one or more of instant messaging software, financial management platform and shopping software.
4. The credit prediction model training method according to claim 1 or 3, characterized in that: After marking the behavior data including the time points according to the credit rating, the method further includes: One or more of a completion process and a duplicate removal process are performed on the training set.
5. The credit prediction model training method according to claim 1, characterized in that: The step of inputting the training sample into the credit prediction model comprises: Calculating a population stability index of the training sample; Filter the training samples according to the group stability index; The screened training samples are input into the credit prediction model.
6. The credit prediction model training method according to claim 1, characterized in that: The performing feature derivation processing on the training sample to obtain the derived features including the time points includes: The training samples are subjected to one or more of convolution processing, pooling processing and full connection processing through the hidden layer of the neural network model to obtain derivative features including time points.
7. The credit prediction model training method according to claim 1, characterized in that: The performing feature derivation processing on the training sample to obtain the derived features including the time points includes: The training samples are subjected to splitting and derivative processing through the splitting nodes of the decision tree model to obtain derivative features including time points.
8. A credit prediction method, characterized in that: The method comprises: Inputting the behavioral data of the prediction object into the credit prediction model; Performing feature derivation processing on the behavior data to obtain derived features; Classifying the derived features to obtain predicted credit rating information; The credit prediction model is trained according to the credit prediction model training method according to any one of claims 1 to 7.
9. A training device for a credit prediction model, characterized in that: The device comprises: The sample acquisition module is configured to acquire training samples including time points and input the training samples into the credit prediction model; wherein acquiring the training samples including time points includes: acquiring behavior data of the prediction object and acquiring the time point at which the behavior data is generated, thereby obtaining behavior data including time points; determining credit rating information of the prediction object and labeling the behavior data including time points according to the credit rating, thereby obtaining a training set consisting of training samples including time points; A derived feature acquisition module is configured to perform feature derivation processing on the training sample to obtain a derived feature including a time point; the derived feature is a feature used to predict the credit rating information of the predicted object; A timing loss function determination module, configured to calculate a timing loss function value in the feature derivation process according to the derived feature and the time point of the derived feature; A classification loss function determination module is configured to perform classification processing on the derived features to obtain a classification result, and determine a classification loss function value of the credit prediction model according to the classification result; a model training module, configured to determine an objective function value of the credit prediction model in combination with the time series loss function value and the classification loss function value, so as to train the credit prediction model according to the objective function value; The step of calculating the temporal loss function value in the feature derivation process according to the derived features and the time points of the derived features includes: Obtaining target derived features, and obtaining a generation time point of the target derived features; The mutual information between the target derived feature and the generation time point of the target derived feature is calculated to obtain the temporal loss function value in the feature derivation process.
10. A credit prediction device, characterized in that: The device comprises: A feature input module, configured to input the behavior data of the prediction object into the credit prediction model; A feature derivation module is configured to perform feature derivation processing on the behavior data to obtain derived features; a credit rating prediction module, configured to classify the derived features to obtain predicted credit rating information; The credit prediction model is trained according to the credit prediction model training method according to any one of claims 1 to 7.
11. A computer storage medium, characterized in that: A computer program is stored thereon; When the computer program is executed by a processor, the training method of the credit prediction model according to any one of claims 1 to 7 is implemented, and Implement the credit prediction method as described in claim 8.
12. An electronic device, characterized in that: The electronic device comprises: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the credit prediction model training method as described in any one of claims 1 to 7 and implement the credit prediction method as described in claim 8 by executing the executable instructions.
