A method and device for identifying customer risks

By constructing the customer's guarantee circle network and using the graph autoencoder to extract latent variables, and combining the original feature variables to calculate the probability of default, the problem of low customer risk identification accuracy in the existing technology is solved, and a more accurate risk assessment is achieved.

CN113177840BActive Publication Date: 2024-09-06CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110551355.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2024-09-06
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

The accuracy of customer risk identification in the existing technology is low, and the impact of the guarantee relationship between customers on risks cannot be fully considered.

Method used

By constructing the customer's guarantee circle network, using the graph autoencoder of the pre-trained target default loan model to extract latent variables, and calculating based on the original feature variables, the default probability of each customer is obtained, taking into account the customer's personal information and risk transfer relationship. .

Benefits of technology

It improves the accuracy of customer risk identification, fully considers the risk transfer relationship between customers, and enhances the accuracy of forecast results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177840B
    Figure CN113177840B
Patent Text Reader

Abstract

The present application discloses a method and device for identifying customer risks, wherein the method comprises: constructing a guarantee circle network corresponding to multiple customers according to guarantee relationships between multiple customers; obtaining original feature variables of preset types related to the default risks of multiple customers; extracting latent variables in the guarantee circle network using a graph autoencoder corresponding to a pre-trained target default loan model; wherein the target default loan model is a model with better prediction effect selected from two pre-trained default loan models; the two default loan models are respectively trained using a training set consisting of original feature variables corresponding to multiple sample customers and latent variables extracted from the guarantee circle network corresponding to the multiple sample customers by the corresponding graph autoencoder; the original feature variables and the latent variables in the guarantee circle network are input into the target default loan model, and the default probability of each customer is calculated by the target default loan model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of risk identification, and in particular to a method and device for identifying customer risks. Background Art

[0002] In the loan business, when a customer defaults due to lack of repayment ability, it will not only cause losses to the guarantor, but may also bring greater risks to the bank. Therefore, when banks conduct loan business, they will identify customer risks. Therefore, accurate customer risk identification is an important cornerstone to support the healthy development of bank loan business.

[0003] The existing method of assessing customer risk is mainly based on personal information such as the customer's historical loan data, credit status data, and asset data. These personal information of the customer are processed manually or through models to predict the customer's risk and determine whether to provide a loan to the customer.

[0004] However, customer risk is highly contagious. Once the borrower is unable to repay the loan, the customer who provides the guarantee must bear the repayment responsibility. On the other hand, if the customer who provides the guarantee encounters risks, he or she will not be able to provide effective guarantees, and the borrower will have to repay the loan by himself or herself. In addition, the customer who provides the guarantee may have also taken out a loan, so if one customer encounters risks, it will have different degrees of impact on other customers. Therefore, the customer's default risk depends not only on his or her own situation, but also on the situation of other customers in his or her guarantee circle. Therefore, the accuracy of the results obtained by conducting risk assessment on customers based only on their personal information is relatively low. Summary of the invention

[0005] Based on the above-mentioned deficiencies of the prior art, the present application provides a method and device for identifying customer risks to solve the problem of low accuracy in customer risk identification in the prior art.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a method for identifying customer risks, comprising:

[0008] According to the guarantee relationship between multiple customers, a guarantee circle network corresponding to the multiple customers is constructed; wherein each node in the guarantee circle network corresponds to one of the customers; and the directed edges in the guarantee circle network represent the guarantee relationship between the customers;

[0009] Acquire original characteristic variables of preset types related to the default risks of the multiple customers;

[0010] The latent variables in the guarantee circle network are extracted by using a graph autoencoder corresponding to a pre-trained target default loan model; wherein the target default loan model is a model with better prediction effect selected from two pre-trained default loan models; the two default loan models are trained by using original feature variables corresponding to a plurality of sample customers and a training set composed of latent variables extracted from the guarantee circle network corresponding to the plurality of sample customers by the corresponding graph autoencoder; the graph autoencoders corresponding to the two default loan models are different;

[0011] The original characteristic variables and the latent variables in the guarantee circle network are input into the target default loan model, and the target default loan model is used to calculate the original characteristic variables and the latent variables in the guarantee circle network to obtain the default probability of each customer.

[0012] Optionally, in the above method, after obtaining original characteristic variables of a preset type related to the default risks of the multiple customers, the method further includes:

[0013] The original feature vector is cleaned using a preset cleaning rule.

[0014] Optionally, in the above method, the two training methods of the default loan model include:

[0015] According to the guarantee relationships among the multiple sample customers, a guarantee circle network corresponding to the multiple sample customers is constructed; wherein the multiple sample customers are loan customers with whom a guarantee relationship exists within a set observation period;

[0016] Acquire original characteristic variables of preset types related to the default risks of the multiple sample customers, and obtain original characteristic variables corresponding to the multiple sample customers;

[0017] Using preset cleaning rules, cleaning the original feature variables corresponding to the multiple sample customers;

[0018] Using a first graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a first latent variable, and using a second graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a second latent variable;

[0019] Generate a customer label corresponding to each of the sample customers according to the repayment information of each of the sample customers during the performance period; wherein the customer label includes a default label and a non-default label;

[0020] The original feature variables corresponding to the multiple sample customers after cleaning, the first latent variables, and the customer labels corresponding to the sample customers are formed into a first data set, and the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variables, and the customer labels corresponding to the sample customers are formed into a second data set;

[0021] A first initial default loan model is trained using the first data set to obtain a first default loan model, and a second initial default loan model is trained using the second data set to obtain a second default loan model; wherein the first initial default loan model and the second initial default loan model are models of the same type; the first default loan model corresponds to the first graph autoencoder; and the second default loan model corresponds to the second graph autoencoder.

[0022] Optionally, in the above method, after the original feature variables corresponding to the multiple sample customers after cleaning, the first latent variables, and the customer labels corresponding to the respective sample customers are formed into a first data set, and the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variables, and the customer labels corresponding to the respective sample customers are formed into a second data set, the method further includes:

[0023] Dividing the first data set into a first training set, a first test set and a first validation set, and dividing the second data set into a second training set, a second test set and a second validation set;

[0024] The step of training a first initial default loan model using the first data set to obtain a first default loan model, and training a second initial default loan model using the second data set to obtain a second default loan model, comprises:

[0025] The first training set is used to train a first initial default loan model to obtain a first default loan model, and the second training set is used to train a second initial default loan model to obtain a second default loan model.

[0026] Optionally, in the above method, the target default loan model selection method includes:

[0027] Calculate the AUC values ​​corresponding to the first validation set and the second validation set respectively;

[0028] If the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set, selecting the first default loan model as the target default loan model;

[0029] If the AUC value corresponding to the first validation set is smaller than the AUC value corresponding to the second validation set, the second default loan model is selected as the target default loan model.

[0030] A second aspect of the present application provides a device for identifying customer risks, including:

[0031] A first construction unit is used to construct a guarantee circle network corresponding to the multiple customers according to the guarantee relationship between the multiple customers; wherein each node in the guarantee circle network corresponds to one of the customers; and the directed edges in the guarantee circle network represent the guarantee relationship between the customers;

[0032] A first acquisition unit, configured to acquire original characteristic variables of a preset type related to the default risks of the plurality of customers;

[0033] The first extraction unit is used to extract latent variables in the guarantee circle network by using a graph autoencoder corresponding to a pre-trained target default loan model; wherein the target default loan model is a model with better prediction effect selected from two pre-trained default loan models; the two default loan models are trained by using original feature variables corresponding to multiple sample customers and a training set composed of latent variables extracted from the guarantee circle network corresponding to the multiple sample customers by the corresponding graph autoencoders; the graph autoencoders corresponding to the two default loan models are different;

[0034] The identification unit is used to input the original characteristic variables and the latent variables in the guarantee circle network into the target default loan model, and use the target default loan model to calculate the original characteristic variables and the latent variables in the guarantee circle network to obtain the default probability of each customer.

[0035] Optionally, in the above device, it also includes:

[0036] The first cleaning unit is used to clean the original feature vector using a preset cleaning rule.

[0037] Optionally, the above device further includes a model training unit, wherein the model training unit includes:

[0038] A second construction unit is used to construct a guarantee circle network corresponding to the multiple sample customers according to the guarantee relationship between the multiple sample customers; wherein the multiple sample customers are loan customers with a guarantee relationship within a set observation period;

[0039] A second acquisition unit is used to acquire original characteristic variables of a preset type related to the default risks of the multiple sample customers, and obtain the original characteristic variables corresponding to the multiple sample customers;

[0040] A second cleaning unit, configured to clean the original feature variables corresponding to the plurality of sample customers using a preset cleaning rule;

[0041] A second extraction unit is used to extract latent variables from the guarantee circle network corresponding to the multiple sample customers using the first graph autoencoder to obtain a first latent variable, and to extract latent variables from the guarantee circle network corresponding to the multiple sample customers using the second graph autoencoder to obtain a second latent variable;

[0042] A label generating unit, configured to generate a customer label corresponding to each of the sample customers according to the repayment information of each of the sample customers during the performance period; wherein the customer label includes a default label and a non-default label;

[0043] a data set construction unit, configured to form a first data set by the original feature variables corresponding to the plurality of sample customers after cleaning, the first latent variables, and the customer labels corresponding to the respective sample customers, and to form a second data set by the original feature variables corresponding to the plurality of sample customers after cleaning, the second latent variables, and the customer labels corresponding to the respective sample customers;

[0044] A training unit is used to train a first initial default loan model using a first data set to obtain a first default loan model, and to train a second initial default loan model using the second data set to obtain a second default loan model; wherein the first initial default loan model and the second initial default loan model are models of the same type; the first default loan model corresponds to the first graph autoencoder; and the second default loan model corresponds to the second graph autoencoder.

[0045] Optionally, in the above device, it also includes:

[0046] a dividing unit, configured to divide the first data set into a first training set, a first test set, and a first validation set, and to divide the second data set into a second training set, a second test set, and a second validation set;

[0047] Wherein, the training unit comprises:

[0048] The training subunit is used to train a first initial default loan model using the first training set to obtain a first default loan model, and to train a second initial default loan model using the second training set to obtain a second default loan model.

[0049] Optionally, in the above device, it also includes:

[0050] A calculation unit, used to calculate the AUC values ​​corresponding to the first validation set and the second validation set respectively;

[0051] A first selection unit, configured to select the first default loan model as the target default loan model when the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set;

[0052] The second selection unit is used to select the second default loan model as the target default loan model when the AUC value corresponding to the first verification set is smaller than the AUC value corresponding to the second verification set.

[0053] The method for identifying customer risk provided by the present application uses the original feature variables corresponding to multiple sample customers and the training set composed of hidden variables extracted from the guarantee circle network corresponding to multiple sample customers by the corresponding graph autoencoder to train two default loan models, and selects the model with better prediction effect as the target model. When identifying the risks of multiple customers, the original feature variables of the preset type related to the default risks of multiple customers are obtained, and the guarantee circle network corresponding to multiple customers is constructed according to the guarantee relationship between multiple customers, and then the hidden variables in the guarantee circle network are extracted by the graph autoencoder corresponding to the pre-trained target default loan model, so that the hidden variables that can reflect the risk transfer between each customer can be obtained. Finally, the original feature variables and the hidden variables in the guarantee circle network are input into the target default loan model, and the target default loan model is used to calculate the original feature variables and the hidden variables in the guarantee circle network to obtain the default probability of each customer, thereby fully considering the customer's personal information and the hidden risk relationship between each customer, and effectively ensuring the accuracy of the prediction result. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0055] Figure 1 A flowchart of a training method for two default loan models provided in an embodiment of the present application;

[0056] Figure 2 A flowchart of a method for selecting a target default loan model provided in another embodiment of the present application;

[0057] Figure 3 A flowchart of a method for identifying customer risks provided in another embodiment of the present application;

[0058] Figure 4A schematic diagram of the structure of a device for identifying customer risks provided by another embodiment of the present application;

[0059] Figure 5 A structural diagram of a model training unit provided in another embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0061] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0062] The present application provides a method for identifying customer risks to solve the problem of low accuracy in customer risk identification in the prior art.

[0063] It should be noted that in the embodiment of the present application, it is necessary to select a model with better prediction effect from two pre-trained default loan models as the target default loan model to evaluate the default risk of the customer. Therefore, before identifying the risk of the customer, it is necessary to pre-train two default loan models.

[0064] Optionally, the present application embodiment provides a training method for two default loan models, such as Figure 1 As shown, the specific steps include:

[0065] S101. Construct a guarantee circle network corresponding to multiple sample customers based on the guarantee relationship between the multiple sample customers.

[0066] Among them, several sample customers are loan customers who have a guarantee relationship within the set observation period.

[0067] It should be noted that the customers referred to in the embodiments of the present application may be enterprises, individuals, and other organizations that are eligible for loans.

[0068] Specifically, we can first determine the attribute observation period of corporate loan customers, and then build a guarantee circle network based on the guarantee relationship of the loan customers during the observation period. Specifically, each node in the guarantee circle network corresponds to a sample customer, and the nodes corresponding to the sample customers with guarantee relationships are connected in the guarantee circle network through directed edges. The direction of the directed edge can be from the guaranteed party to the guarantor. Thus, the relationship between each sample customer can be reflected through the guarantee circle network.

[0069] S102: Acquire original characteristic variables of a preset type related to the default risks of multiple sample customers, and obtain original characteristic variables corresponding to the multiple sample customers.

[0070] Among them, the original feature variables mainly refer to the feature variables that can be directly obtained, which are different from the latent variables.

[0071] Specifically, we mine characteristic variables that may be related to the default risk of each sample customer as the attributes of corporate loan customers. The original characteristic variables mainly include the basic information of customers and historical credit information, such as corporate assets, liabilities, profits and other financial data, company establishment years, paid-in capital, registered capital, number of employees, industry, scale, location, credit balance, products held, and credit status of important related persons.

[0072] S103. Using preset cleaning rules, clean the original feature variables corresponding to multiple sample customers.

[0073] Among them, the original feature variables are cleaned, which may specifically include invalid value detection and processing, null value and missing value filling, duplicate data deletion, etc., so as to delete duplicate information, correct existing errors, and ensure data consistency.

[0074] S104. Using the first graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a first latent variable, and using the second graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a second latent variable.

[0075] Among them, the first graph autoencoder can specifically be an autoencoder implemented based on the structural deep network embedding algorithm (Structural DeepNetwork Embedding, SDNE), and the second graph autoencoder can be a variational graph autoencoder (Variational Graph Auto-Encoders, VGAE).

[0076] Among them, SDNE is suitable for latent variable extraction of simple graph structures, and VGAE is suitable for latent variable extraction of graph structures containing customer attributes. The two have different applicability in different scenarios. When the attributes of sample customers in the guarantee circle network diagram, that is, the initial original feature variables, are relatively complete, the latent variables extracted by VGAE have a better effect on improving the model; when the attributes of sample customers are seriously missing, the latent variables extracted by SDNE have a better effect on improving the model. Therefore, these two graph autoencoder technologies are applied to the model construction respectively, so as to ensure that a model with relatively good results is obtained.

[0077] S105. Generate a customer label corresponding to each sample customer according to the repayment information of each sample customer during the performance period.

[0078] Among them, customer tags include default tags and non-default tags.

[0079] Specifically, the period after the observation period can be established as the performance period of the sample customers. According to the repayment information of the sample customers' loans during the performance period, that is, according to the actual default situation of the sample customers, the loan default customers are labeled as default customers, and the sample customers who have not defaulted are labeled as non-default customers, which will be used as the classification labels to be used by the subsequent model, so that the training samples can be divided into positive samples and negative samples.

[0080] S106. A first data set is formed by using the original feature variables corresponding to the multiple sample customers after cleaning, the first latent variable, and the customer labels corresponding to each sample customer. A second data set is formed by using the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variable, and the customer labels corresponding to each sample customer.

[0081] S107: Using the first data set to train a first initial default loan model to obtain a first default loan model, and using the second data set to train a second initial default loan model to obtain a second default loan model.

[0082] The first initial default loan model and the second initial default loan model are initially the same type of models, and the two models can be trained using the same method. Optionally, LightGBM can be selected as the initial first initial default loan model and the second initial default loan model.

[0083] It should be noted that the first default loan model corresponds to the first graph autoencoder, and the second default loan model corresponds to the second graph autoencoder. That is, the model corresponds to the graph autoencoder whose latent variables are extracted by the graph autoencoder used for training.

[0084] Optionally, in another embodiment of the present application, after executing step S106, the following may be further executed:

[0085] The first data set is divided into a first training set, a first test set and a first validation set, and the second data set is divided into a second training set, a second test set and a second validation set.

[0086] Among them, the training set is mainly used to train the model, the test set is used to test the model after training, and the validation set is used to evaluate the two models.

[0087] Therefore, correspondingly, in the embodiment of the present application, step S107 is: using the first training set to train the first initial default loan model to obtain the first default loan model, and using the second training set to train the second initial default loan model to obtain the second default loan model.

[0088] Based on the method of implementing two default loan models for training in this application, an embodiment of this application provides a method for selecting a target default loan model, such as Figure 2 As shown, specifically including:

[0089] S201 , respectively calculating the AUC values ​​corresponding to the first validation set and the second validation set.

[0090] From the above, it can be seen that SDNE is suitable for latent variable extraction of pure graph structure, and VGAE is suitable for latent variable extraction of graph structure containing customer attributes. Therefore, the model trained by latent variables extracted by the graph autoencoder is also suitable for processing the corresponding data. The embodiment of the present application evaluates the advantages and disadvantages of the two models through the AUC value.

[0091] S202: Determine whether the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set.

[0092] If it is determined that the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set, step S203 is executed. If the AUC value corresponding to the first validation set is less than the AUC value corresponding to the second validation set, step S204 is executed. It should be noted that when the AUC value corresponding to a validation set is equal to the AUC value corresponding to the second validation set, any default loan model can be selected as the target default loan model. Therefore, in the embodiment of the present application, step S204 is selected in this case.

[0093] S203. Selecting a first default loan model as a target default loan model.

[0094] S204. Selecting a second default loan model as a target default loan model.

[0095] Based on the target default model trained and selected in the above embodiment, the present application embodiment provides a method for identifying customer risks, such as Figure 3 As shown, the specific steps include:

[0096] S301. Construct a guarantee circle network corresponding to multiple customers based on the guarantee relationship between multiple customers.

[0097] Each node in the guarantee circle network corresponds to a customer. The directed edges in the guarantee circle network represent the guarantee relationship between customers.

[0098] S302: Acquire original characteristic variables of preset types related to the default risks of multiple customers.

[0099] Among them, the original characteristic variables mainly refer to the characteristic variables that can be directly obtained, which are different from the latent variables. They mainly include the basic information of customers and historical credit information, such as for enterprises, they can specifically include: financial data such as corporate assets, liabilities, profits, company establishment years, paid-in capital, registered capital, number of employees, industry, scale, location, credit balance, products held, credit status of important related persons, etc.

[0100] Optionally, after executing step S302 to obtain the original feature variable, the method may further include: using a preset cleaning rule to clean the original feature vector.

[0101] It should be noted that the cleaning rule and the cleaning process are the same as step S103 in the above embodiment, and the steps are not repeated here.

[0102] S303. Utilize a graph autoencoder corresponding to a pre-trained target default loan model to extract latent variables in the guarantee circle network.

[0103] The target default loan model is a model with better prediction effect selected from two pre-trained default loan models, that is, selected from the first default loan model and the second default loan model trained in the above embodiment. Figure 2 The two default loan models are respectively trained using the original feature variables corresponding to multiple sample customers and the training sets composed of latent variables extracted by the corresponding graph autoencoders from the guarantee circle networks corresponding to the multiple sample customers. The graph autoencoders corresponding to the two default loan models are different, and the corresponding encoders can be SDNE and VGAE, respectively.

[0104] S304: input the original characteristic variables and the hidden variables in the guarantee circle network into the target default loan model, and use the target default loan model to calculate the original characteristic variables and the hidden variables in the guarantee circle network to obtain the default probability of each customer.

[0105] The method for identifying customer risk provided by the embodiment of the present application uses the original feature variables corresponding to multiple sample customers and the training set composed of hidden variables extracted from the guarantee circle network corresponding to multiple sample customers by the corresponding graph autoencoder to train two default loan models, and selects the model with better prediction effect as the target model. When identifying the risks of multiple customers, the original feature variables of the preset type related to the default risks of multiple customers are obtained, and the guarantee circle network corresponding to multiple customers is constructed according to the guarantee relationship between multiple customers, and then the hidden variables in the guarantee circle network are extracted by the graph autoencoder corresponding to the pre-trained target default loan model, so that the hidden variables that can reflect the risk transfer between each customer can be obtained. Finally, the original feature variables and the hidden variables in the guarantee circle network are input into the target default loan model, and the target default loan model is used to calculate the original feature variables and the hidden variables in the guarantee circle network to obtain the default probability of each customer, thereby fully considering the customer's personal information and the hidden risk relationship between each customer, and effectively ensuring the accuracy of the prediction result.

[0106] Another embodiment of the present application provides a device for identifying customer risks, such as Figure 4 As shown, it includes the following units:

[0107] The first construction unit 401 is used to construct a guarantee circle network corresponding to multiple customers according to the guarantee relationship between multiple customers.

[0108] Each node in the guarantee circle network corresponds to a customer. The directed edges in the guarantee circle network represent the guarantee relationship between customers.

[0109] The first acquisition unit 402 is used to acquire original characteristic variables of a preset type related to the default risks of multiple customers.

[0110] The first extraction unit 403 is used to extract latent variables in the guarantee circle network by using a graph autoencoder corresponding to a pre-trained target default loan model.

[0111] Among them, the target default loan model is a model with better prediction effect selected from two pre-trained default loan models. The two default loan models are trained using the original feature variables corresponding to multiple sample customers and the training set composed of latent variables extracted by the corresponding graph autoencoders from the guarantee circle network corresponding to multiple sample customers. The graph autoencoders corresponding to the two default loan models are different.

[0112] The identification unit 404 is used to input the original characteristic variables and the hidden variables in the guarantee circle network into the target default loan model, and use the target default loan model to calculate the original characteristic variables and the hidden variables in the guarantee circle network to obtain the default probability of each customer.

[0113] Optionally, in the client risk identification device provided in another embodiment of the present application, the device further includes:

[0114] The first cleaning unit is used to clean the original feature vector using a preset cleaning rule.

[0115] Optionally, in another embodiment of the present application, the device for identifying customer risks may further include a model training unit. Figure 5 As shown, it specifically includes the following units:

[0116] The second construction unit 501 is used to construct a guarantee circle network corresponding to a plurality of sample customers according to the guarantee relationship between the plurality of sample customers.

[0117] Among them, several sample customers are loan customers who have a guarantee relationship within the set observation period.

[0118] The second acquisition unit 502 is used to acquire original characteristic variables of a preset type related to the default risks of multiple sample customers, and obtain the original characteristic variables corresponding to the multiple sample customers.

[0119] The second cleaning unit 503 is used to clean the original feature variables corresponding to the multiple sample customers by using preset cleaning rules.

[0120] The second extraction unit 504 is used to extract latent variables from the guarantee circle network corresponding to multiple sample customers using the first graph autoencoder to obtain first latent variables, and to extract latent variables from the guarantee circle network corresponding to multiple sample customers using the second graph autoencoder to obtain second latent variables.

[0121] The label generation unit 505 is used to generate a customer label corresponding to each sample customer according to the repayment information of each sample customer during the performance period.

[0122] Among them, customer tags include default tags and non-default tags.

[0123] The data set construction unit 506 is used to form a first data set by combining the original feature variables corresponding to the multiple sample customers after cleaning, the first latent variable, and the customer labels corresponding to each sample customer, and to form a second data set by combining the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variable, and the customer labels corresponding to each sample customer.

[0124] The training unit 507 is used to train the first initial default loan model using the first data set to obtain the first default loan model, and to train the second initial default loan model using the second data set to obtain the second default loan model; wherein the first initial default loan model and the second initial default loan model are models of the same type; the first default loan model corresponds to the first graph autoencoder; and the second default loan model corresponds to the second graph autoencoder.

[0125] Optionally, in the client risk identification device provided in another embodiment of the present application, the device further includes:

[0126] The division unit is used to divide the first data set into a first training set, a first test set and a first validation set, and to divide the second data set into a second training set, a second test set and a second validation set.

[0127] Among them, the training unit in the embodiment of the present application includes:

[0128] The training subunit is used to train the first initial default loan model using the first training set to obtain the first default loan model, and to train the second initial default loan model using the second training set to obtain the second default loan model.

[0129] Optionally, in the client risk identification device provided in another embodiment of the present application, the device further includes:

[0130] The calculation unit is used to calculate the AUC values ​​corresponding to the first validation set and the second validation set respectively.

[0131] The first selection unit is used to select the first default loan model as the target default loan model when the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set.

[0132] The second selection unit is used to select the second default loan model as the target default loan model when the AUC value corresponding to the first validation set is smaller than the AUC value corresponding to the second validation set.

[0133] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can refer to the implementation process of the corresponding steps in the above method embodiments, and will not be repeated here.

[0134] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0135] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for identifying customer risks, characterized in that: include: According to the guarantee relationship between multiple customers, a guarantee circle network corresponding to the multiple customers is constructed; wherein each node in the guarantee circle network corresponds to one of the customers; and the directed edges in the guarantee circle network represent the guarantee relationship between the customers; Acquire original characteristic variables of preset types related to the default risks of the multiple customers; The latent variables in the guarantee circle network are extracted by using a graph autoencoder corresponding to a pre-trained target default loan model; wherein the target default loan model is a model with better prediction effect selected from two pre-trained default loan models; the two default loan models are trained by using original feature variables corresponding to multiple sample customers and a training set composed of latent variables extracted from the guarantee circle network corresponding to the multiple sample customers by the corresponding graph autoencoder; the graph autoencoders corresponding to the two default loan models are different, and the two default loan models are trained by the same method; Inputting the original characteristic variables and the hidden variables in the guarantee circle network into the target default loan model, and using the target default loan model to calculate the original characteristic variables and the hidden variables in the guarantee circle network to obtain the default probability of each customer; The two training methods of the default loan model include: According to the guarantee relationships among the multiple sample customers, a guarantee circle network corresponding to the multiple sample customers is constructed; wherein the multiple sample customers are loan customers with whom a guarantee relationship exists within a set observation period; Acquire original characteristic variables of preset types related to the default risks of the multiple sample customers, and obtain original characteristic variables corresponding to the multiple sample customers; Using preset cleaning rules, cleaning the original feature variables corresponding to the multiple sample customers; Using a first graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a first latent variable, and using a second graph autoencoder to extract latent variables from the guarantee circle network corresponding to the multiple sample customers to obtain a second latent variable; Generate a customer label corresponding to each of the sample customers according to the repayment information of each of the sample customers during the performance period; wherein the customer label includes a default label and a non-default label; The original feature variables corresponding to the multiple sample customers after cleaning, the first latent variables, and the customer labels corresponding to the sample customers are formed into a first data set, and the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variables, and the customer labels corresponding to the sample customers are formed into a second data set; A first initial default loan model is trained using the first data set to obtain a first default loan model, and a second initial default loan model is trained using the second data set to obtain a second default loan model; wherein the first initial default loan model and the second initial default loan model are models of the same type; the first default loan model corresponds to the first graph autoencoder; and the second default loan model corresponds to the second graph autoencoder.

2. The method according to claim 1, characterized in that After obtaining the original characteristic variables of the preset type related to the default risks of the multiple customers, the method further includes: The original feature variables are cleaned using preset cleaning rules.

3. The method according to claim 1, characterized in that After the original feature variables corresponding to the multiple sample customers after cleaning, the first latent variables, and the customer labels corresponding to the sample customers are formed into a first data set, and the original feature variables corresponding to the multiple sample customers after cleaning, the second latent variables, and the customer labels corresponding to the sample customers are formed into a second data set, the method further includes: Dividing the first data set into a first training set, a first test set and a first validation set, and dividing the second data set into a second training set, a second test set and a second validation set; The step of training a first initial default loan model using the first data set to obtain a first default loan model, and training a second initial default loan model using the second data set to obtain a second default loan model, comprises: The first training set is used to train a first initial default loan model to obtain a first default loan model, and the second training set is used to train a second initial default loan model to obtain a second default loan model.

4. The method according to claim 3, characterized in that The target default loan model selection method comprises: Calculate the AUC values ​​corresponding to the first validation set and the second validation set respectively; If the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set, selecting the first default loan model as the target default loan model; If the AUC value corresponding to the first validation set is smaller than the AUC value corresponding to the second validation set, the second default loan model is selected as the target default loan model.

5. A device for identifying customer risk, characterized in that: include: A first construction unit is used to construct a guarantee circle network corresponding to the multiple customers according to the guarantee relationship between the multiple customers; wherein each node in the guarantee circle network corresponds to one of the customers; and the directed edges in the guarantee circle network represent the guarantee relationship between the customers; A first acquisition unit, configured to acquire original characteristic variables of a preset type related to the default risks of the plurality of customers; The first extraction unit is used to extract latent variables in the guarantee circle network by using a graph autoencoder corresponding to a pre-trained target default loan model; wherein the target default loan model is a model with better prediction effect selected from two pre-trained default loan models; the two default loan models are trained by using original feature variables corresponding to multiple sample customers and a training set composed of latent variables extracted from the guarantee circle network corresponding to the multiple sample customers by the corresponding graph autoencoder; the graph autoencoders corresponding to the two default loan models are different, and the two default loan models are trained by the same method; an identification unit, configured to input the original characteristic variables and the latent variables in the guarantee circle network into the target default loan model, and calculate the original characteristic variables and the latent variables in the guarantee circle network using the target default loan model to obtain the default probability of each of the customers; The device further includes a model training unit, wherein the model training unit includes: A second construction unit is used to construct a guarantee circle network corresponding to the multiple sample customers according to the guarantee relationship between the multiple sample customers; wherein the multiple sample customers are loan customers with a guarantee relationship within a set observation period; A second acquisition unit is used to acquire original characteristic variables of a preset type related to the default risks of the multiple sample customers, and obtain the original characteristic variables corresponding to the multiple sample customers; A second cleaning unit, configured to clean the original feature variables corresponding to the plurality of sample customers using a preset cleaning rule; A second extraction unit is used to extract latent variables from the guarantee circle network corresponding to the multiple sample customers using the first graph autoencoder to obtain a first latent variable, and to extract latent variables from the guarantee circle network corresponding to the multiple sample customers using the second graph autoencoder to obtain a second latent variable; A label generating unit, configured to generate a customer label corresponding to each of the sample customers according to the repayment information of each of the sample customers during the performance period; wherein the customer label includes a default label and a non-default label; a data set construction unit, configured to form a first data set by the original feature variables corresponding to the plurality of sample customers after cleaning, the first latent variables, and the customer labels corresponding to the respective sample customers, and to form a second data set by the original feature variables corresponding to the plurality of sample customers after cleaning, the second latent variables, and the customer labels corresponding to the respective sample customers; A training unit is used to train a first initial default loan model using a first data set to obtain a first default loan model, and to train a second initial default loan model using the second data set to obtain a second default loan model; wherein the first initial default loan model and the second initial default loan model are models of the same type; the first default loan model corresponds to the first graph autoencoder; and the second default loan model corresponds to the second graph autoencoder.

6. The device according to claim 5, characterized in that Also includes: The first cleaning unit is used to clean the original feature variables using preset cleaning rules.

7. The device according to claim 5, characterized in that Also includes: a dividing unit, configured to divide the first data set into a first training set, a first test set, and a first validation set, and to divide the second data set into a second training set, a second test set, and a second validation set; Wherein, the training unit comprises: The training subunit is used to train a first initial default loan model using the first training set to obtain a first default loan model, and to train a second initial default loan model using the second training set to obtain a second default loan model.

8. The device according to claim 7, characterized in that Also includes: A calculation unit, used to calculate the AUC values ​​corresponding to the first validation set and the second validation set respectively; A first selection unit, configured to select the first default loan model as the target default loan model when the AUC value corresponding to the first validation set is greater than the AUC value corresponding to the second validation set; The second selection unit is used to select the second default loan model as the target default loan model when the AUC value corresponding to the first verification set is smaller than the AUC value corresponding to the second verification set.