Enterprise risk early warning method, device, equipment and storage medium

By obtaining and constructing the characteristic data of transaction flow information, and using the preset abnormal repayment source identification model for risk detection, and combining the results of multiple sub-identification models, the problem of low accuracy in the bank's corporate risk assessment is solved and realized It effectively identifies abnormal repayments of small loan companies and enterprises and improves the accuracy of risk assessment.

CN112801773BActive Publication Date: 2024-10-22CHINA MERCHANTS BANK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110080220.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2024-10-22
Estimated Expiration
2041-01-20

Smart Images

  • Figure CN112801773B_ABST
    Figure CN112801773B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for early warning of enterprise risks, the method comprising: obtaining transaction flow information corresponding to a target enterprise, and constructing transaction feature data corresponding to the transaction flow information; based on the transaction feature data and a preset abnormal repayment and interest source identification model, performing risk detection on the target enterprise to obtain a first risk detection result; based on the first risk detection result, obtaining a target risk result of the target enterprise. In the present application, the preset abnormal repayment and interest source identification model can be used to identify the loan transactions between the target enterprise and the microfinance company, as well as the abnormal repayment and interest sources of the enterprise, thereby improving the coverage of transaction data early warning and the accuracy of risk assessment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology in financial technology (Fintech), and in particular to an enterprise risk early warning method, device, equipment and storage medium. Background Art

[0002] With the continuous development of financial technology, especially Internet technology finance, more and more technologies (such as distributed, blockchain, artificial intelligence, etc.) are applied in the financial field, but the financial industry also puts forward higher requirements for technology, such as the financial industry also has higher requirements for enterprise risk warning.

[0003] At present, banks usually need to conduct risk assessments on various enterprises. Specifically, banks usually conduct risk assessments on enterprises through bank transaction flow data to ensure whether to lend to the corresponding enterprises. Currently, banks mainly focus on analyzing whether transactions involve abnormal phenomena such as fraud in order to intercept abnormal transactions in a timely manner with respect to bank transaction flow data. However, only intercepting abnormal transactions will lead to inaccurate bank risk assessments. For example, microfinance companies have high interest rates and poor risk control capabilities. Enterprises that borrow from microfinance companies and then repay banks are often not accurately identified. Summary of the invention

[0004] The main purpose of this application is to provide an enterprise risk early warning method, device, equipment and storage medium, aiming to solve the technical problem of low accuracy of risk assessment in the process of existing banks conducting risk assessment on enterprises.

[0005] To achieve the above objectives, the present application provides an enterprise risk early warning method, the enterprise risk early warning method comprising:

[0006] Obtaining transaction flow information corresponding to the target enterprise, and constructing transaction feature data corresponding to the transaction flow information;

[0007] Based on the transaction feature data and a preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a first risk detection result;

[0008] Based on the first risk detection result, a target risk result of the target enterprise is obtained.

[0009] Optionally, the step of obtaining a target risk result of the target enterprise based on the first risk detection result includes:

[0010] Inputting the transaction feature data into the abnormal transaction identification model to perform abnormal transaction detection on the target enterprise based on the transaction feature data to obtain a second risk detection result;

[0011] Obtain weight information corresponding to the first risk detection result and the second risk detection result, and generate a target risk result of the target enterprise based on the weight information, the first risk detection result, and the second risk detection result.

[0012] Optionally, before the step of performing risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result, the enterprise risk early warning method further includes:

[0013] Obtain a training data set, and construct a training feature data set corresponding to the training data set;

[0014] Based on the training feature data set, a decision tree model is constructed;

[0015] Based on the decision tree model, feature screening is performed on the training feature data set to obtain a target feature data set;

[0016] Based on the target feature data set, the preset abnormal repayment and interest repayment source identification model is constructed.

[0017] Optionally, the decision tree model includes at least one decision tree.

[0018] The step of performing feature screening on the training feature data set based on the decision tree model to obtain a target feature data set includes:

[0019] Determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree;

[0020] Based on the number of each non-leaf node, the initial transaction flow features are sorted by feature importance to obtain a feature importance sorting result;

[0021] Based on the feature importance ranking result, a preset number of target transaction flow features are selected from each of the initial transaction flow features;

[0022] Feature data corresponding to each of the target transaction flow features are selected from the training feature data set as the target feature data set.

[0023] Optionally, the transaction flow information includes a transaction flow text, and the transaction feature data includes a transaction flow feature representation vector.

[0024] The step of constructing transaction feature data corresponding to the transaction flow information includes:

[0025] Extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector;

[0026] Mapping the transaction flow text to a preset data dimension space to obtain a text low-dimensional space representation vector;

[0027] The constructed feature vector is concatenated with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector.

[0028] The step of performing risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result includes:

[0029] Based on the transaction feature data and the first sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a first risk detection sub-result;

[0030] Based on the transaction feature data and the second sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a second risk detection sub-result;

[0031] Based on the transaction feature data and the third sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a third risk detection sub-result;

[0032] Wherein, the first sub-recognition model, the second sub-recognition model and the third sub-recognition model are trained with different basic models;

[0033] The first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result are fused to obtain a first risk detection result.

[0034] Optionally, the step of obtaining transaction flow information corresponding to the target enterprise includes:

[0035] Obtain the original transaction data corresponding to the target enterprise;

[0036] De-duplication and cleaning of missing data are performed on the original transaction data to obtain pre-processed data;

[0037] The pre-processed data is set as the transaction flow information corresponding to the target enterprise.

[0038] The present application also provides an enterprise risk early warning device, the enterprise risk early warning device comprising:

[0039] A first acquisition module is used to acquire transaction flow information corresponding to the target enterprise and construct transaction feature data corresponding to the transaction flow information;

[0040] A risk detection module, configured to perform risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result;

[0041] The second acquisition module is used to obtain the target risk result of the target enterprise based on the first risk detection result.

[0042] Optionally, the second acquisition module includes:

[0043] An input unit, used for inputting the transaction feature data into the abnormal transaction identification model, so as to perform abnormal transaction detection on the target enterprise based on the transaction feature data and obtain a second risk detection result;

[0044] The first acquisition unit is used to acquire weight information corresponding to the first risk detection result and the second risk detection result, and generate a target risk result of the target enterprise based on the weight information, the first risk detection result and the second risk detection result.

[0045] Optionally, the device further comprises:

[0046] A third acquisition module is used to acquire a training data set and construct a training feature data set corresponding to the training data set;

[0047] A first construction module is used to construct a decision tree model based on the training feature data set;

[0048] A feature screening module, used to perform feature screening on the training feature data set based on the decision tree model to obtain a target feature data set;

[0049] The second construction module is used to construct the preset abnormal repayment and interest source identification model based on the target feature data set.

[0050] Optionally, the decision tree model includes at least one decision tree.

[0051] The feature screening module includes:

[0052] A first determining unit is used to determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree;

[0053] A sorting unit, used to sort the feature importance of each of the initial transaction flow features based on the number of each of the non-leaf nodes, and obtain a feature importance sorting result;

[0054] A first selection unit, configured to select a preset number of target transaction flow features from each of the initial transaction flow features based on the feature importance ranking result;

[0055] The second selection unit is used to select feature data corresponding to each of the target transaction flow features from the training feature data set as the target feature data set.

[0056] Optionally, the transaction flow information includes a transaction flow text, and the transaction feature data includes a transaction flow feature representation vector.

[0057] The first acquisition module includes:

[0058] An extraction unit, used for extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector;

[0059] A second acquisition unit is used to map the transaction flow text to a preset data dimension space to obtain a text low-dimensional space representation vector;

[0060] The third acquisition unit is used to concatenate the constructed feature vector with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector.

[0061] The risk detection module includes:

[0062] A first risk detection unit, configured to perform risk detection on the target enterprise based on the transaction feature data and a first sub-identification model in a preset abnormal repayment and interest source identification model to obtain a first risk detection sub-result;

[0063] A second risk detection unit is used to perform risk detection on the target enterprise based on the transaction feature data and a second sub-identification model in a preset abnormal repayment and interest source identification model to obtain a second risk detection sub-result;

[0064] A third risk detection unit is used to perform risk detection on the target enterprise based on the transaction feature data and a third sub-identification model in the preset abnormal repayment and interest source identification model to obtain a third risk detection sub-result;

[0065] Wherein, the first sub-recognition model, the second sub-recognition model and the third sub-recognition model are trained with different basic models;

[0066] A fusion unit is used to fuse the first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result to obtain a first risk detection result.

[0067] Optionally, the first acquisition module includes:

[0068] A fourth acquisition unit is used to acquire original transaction data corresponding to the target enterprise;

[0069] A preprocessing unit, used to perform deduplication and missing data cleaning on the original transaction data to obtain preprocessed data;

[0070] A setting unit is used to set the pre-processed data as transaction flow information corresponding to the target enterprise.

[0071] The present application also provides an enterprise risk warning device, which is a physical device. The enterprise risk warning device includes: a memory, a processor, and a program of the enterprise risk warning method stored in the memory and executable on the processor. When the program of the enterprise risk warning method is executed by the processor, the steps of the enterprise risk warning method as described above can be implemented.

[0072] The present application also provides a storage medium, on which is stored a program for implementing the above-mentioned enterprise risk warning method. When the program of the enterprise risk warning method is executed by a processor, the steps of the above-mentioned enterprise risk warning method are implemented.

[0073] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned enterprise risk early warning method when executed by a processor.

[0074] The present application provides a method, device, equipment and storage medium for early warning of enterprise risks. Compared with the existing bank's risk assessment process for enterprises, which only focuses on analyzing whether the transaction involves abnormal phenomena such as fraud, resulting in low accuracy of risk assessment, the present application obtains the transaction flow information corresponding to the target enterprise and constructs the transaction feature data corresponding to the transaction flow information; based on the transaction feature data and the preset abnormal repayment and interest source identification model, the target enterprise is subjected to risk detection to obtain a first risk detection result; based on the first risk detection result, the target risk result of the target enterprise is obtained. In the present application, in the process of risk assessment of the target enterprise, the transaction flow information corresponding to the target enterprise is obtained, and the transaction feature data corresponding to the transaction flow information is constructed; based on the transaction feature data and the preset abnormal repayment and interest source identification model, the target enterprise is subjected to risk detection, and then the target risk result of the target enterprise is obtained, that is, in the present embodiment, the preset abnormal repayment and interest source identification model can identify the loan transaction between the target enterprise and the microfinance company, as well as the abnormal repayment and interest source of the enterprise, thereby improving the coverage of transaction data early warning and improving the accuracy of risk assessment. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0076] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0077] Figure 1 This is a flow chart of the first embodiment of the enterprise risk early warning method of the present application;

[0078] Figure 2 This is a schematic diagram of the detailed process of step S30 in the first embodiment of the enterprise risk early warning method of this application;

[0079] Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0080] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0081] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0082] The present application embodiment provides an enterprise risk early warning method. In the first embodiment of the enterprise risk early warning method of the present application, refer to Figure 1 , the enterprise risk early warning method includes:

[0083] Step S10, obtaining transaction flow information corresponding to the target enterprise, and constructing transaction feature data corresponding to the transaction flow information;

[0084] Step S20, based on the transaction feature data and a preset abnormal repayment and interest source identification model, performing risk detection on the target enterprise to obtain a first risk detection result;

[0085] Step S30: obtaining a target risk result of the target enterprise based on the first risk detection result.

[0086] The specific steps are as follows:

[0087] Step S10, obtaining transaction flow information corresponding to the target enterprise, and constructing transaction feature data corresponding to the transaction flow information;

[0088] In this embodiment, it should be noted that the enterprise risk warning method is applied to an enterprise risk warning device, which belongs to an enterprise risk warning equipment. Specifically, the application scenario of the enterprise risk warning method is to conduct risk detection on the target enterprise to issue a risk warning to the target enterprise. The specific application scenario may be that the target enterprise requests a bank loan through a bank platform, and the bank needs to conduct a risk assessment on the target enterprise.

[0089] When a loan request from a target enterprise is detected, the transaction flow information corresponding to the target enterprise is extracted from the loan request, or the transaction flow information corresponding to the target enterprise is directly queried from a preset system, wherein the transaction flow information includes information features such as the name of the counterparty, amount, transaction summary, transaction date, repayment date, repayment amount, deposit amount, business category, etc., and the transaction feature data is the coded data of the transaction flow features of the target enterprise. That is, in this embodiment, the transaction flow information needs to be coded to obtain the coded data of the transaction flow features of the target enterprise, that is, the transaction feature data.

[0090] The step of obtaining the transaction flow information corresponding to the target enterprise includes:

[0091] Step S01, obtaining the original transaction data corresponding to the target enterprise;

[0092] Step S02, performing deduplication and missing data cleaning processing on the original transaction data to obtain pre-processed data;

[0093] Step S03, setting the pre-processed data as the transaction flow information corresponding to the target enterprise.

[0094] In this embodiment, the original transaction data is also preprocessed. The preprocessing process can be based on the business license of the target enterprise, the name of the target enterprise, etc., to deduplicate the original transaction data and clean up the missing data, and then obtain the transaction flow information corresponding to the target enterprise.

[0095] After obtaining the transaction flow information, the transaction flow information corresponding to the target enterprise is obtained, and transaction feature data corresponding to the transaction flow information is constructed. Specifically, the transaction flow information corresponding to the target enterprise is obtained, and feature extraction is performed on the transaction flow information to extract the transaction flow feature information required in the transaction flow information, and then the transaction feature data corresponding to the transaction flow information is obtained.

[0096] The transaction flow information includes transaction flow text, and the transaction feature data includes transaction flow feature representation vectors.

[0097] The step of constructing transaction feature data corresponding to the transaction flow information includes:

[0098] Step S11, extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector;

[0099] In the present embodiment, it should be noted that the transaction flow text refers to the paper documents, paper files, electronic files, electronic documents and the like of the transaction flow obtained from banks and other financial institutions, that is, the form of the transaction flow text is not limited, and the transaction feature data is specifically represented by a transaction flow feature representation vector. Specifically, target feature values ​​corresponding to a preset number of structural features are extracted from the transaction flow text, and each of the target feature values ​​is combined into a structural feature vector, wherein the structural features may be artificially combined features or artificially determined features, and the structural features include repayment and interest repayment dates, transaction summaries, etc., that is, since the transaction flow text includes multiple flow columns, a preset number of structural features are extracted from the multiple flow columns, and then the target feature values ​​corresponding to the preset number of structural features are extracted, and then the structural feature vector is obtained.

[0100] Target feature values ​​corresponding to a preset number of structural features are extracted from the transaction flow text, and each of the target feature values ​​is combined into a structural feature vector. Specifically, feature-related words corresponding to each of the structural features are extracted from the transaction flow text, and the specific content of each of the feature-related words (such as the transaction amount) is feature-coded to generate target feature values ​​corresponding to each of the structural features, and then each of the target feature values ​​is spliced ​​in a preset arrangement order to obtain a structural feature vector. For example, assuming that the structural features include features A, B, and C, the feature-related word corresponding to feature A is X, and the target feature value obtained after feature coding the specific content of X is a1, the feature-related word corresponding to feature A is Y, and the target feature value obtained after feature coding the specific content of Y is a2, the feature-related word corresponding to feature C is Z, and the target feature value obtained after feature coding the specific content of Z is a3, and then the generated structural feature vector is (a1, a2, a3).

[0101] Step S12, mapping the transaction flow text to a preset data dimension space to obtain a text low-dimensional space representation vector;

[0102] In this embodiment, the transaction flow text is mapped to a preset data dimension space to obtain a text low-dimensional space representation vector. Specifically, a preset vectorization module is called to vectorize each word in the transaction flow text to obtain a vectorized text, and then the vectorized text is mapped to a preset data dimension space, wherein the data dimension of the preset data dimension space is lower than the data dimension of the vectorized text to obtain a text low-dimensional space representation vector. For example, assuming that the vectorized text is a 1024-bit vector, after being mapped to the preset data dimension space, the text low-dimensional space representation vector is a 72-bit vector. In this embodiment, the transaction flow text is mapped to a preset data dimension space to obtain a text low-dimensional space representation vector, which can reduce the amount of data processing and improve data processing efficiency.

[0103] Step S13, concatenating the constructed feature vector with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector.

[0104] The constructed feature vector is spliced ​​with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector. Specifically, the constructed feature vector and the text low-dimensional space representation vector are spliced ​​in sequence to obtain a target splicing vector. That is, if the constructed feature vector is M1 and the text low-dimensional space representation vector is N1, then the target splicing vector is (M1, N1), and the target splicing vector is used as the transaction flow feature representation vector.

[0105] Step S20, based on the transaction feature data and a preset abnormal repayment and interest source identification model, performing risk detection on the target enterprise to obtain a first risk detection result;

[0106] Based on the transaction feature data and the preset abnormal repayment and interest repayment source identification model, the target enterprise is subjected to risk detection to obtain a first risk detection result. Specifically, the transaction flow feature representation vector is input into the preset abnormal repayment and interest repayment source identification model, and the transaction flow feature representation vector is subjected to vector transformation to transform the transaction flow feature representation vector into a classification probability vector of a preset length, wherein the classification label vector is a vector composed of the classification probabilities that the target enterprise belongs to each preset classification category, and then the largest target classification probability is selected from the classification probability vector, and the preset classification category corresponding to the target classification probability is used as the classification category of the target enterprise to obtain a classification result, and the classification result is used as the first risk detection result.

[0107] The step of performing risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result includes:

[0108] Step S21, based on the transaction feature data and the first sub-identification model in the preset abnormal repayment and interest source identification model, perform risk detection on the target enterprise to obtain a first risk detection sub-result;

[0109] Step S22, based on the transaction feature data and the second sub-identification model in the preset abnormal repayment and interest source identification model, perform risk detection on the target enterprise to obtain a second risk detection sub-result;

[0110] Step S23, based on the transaction feature data and the third sub-identification model in the preset abnormal repayment and interest source identification model, perform risk detection on the target enterprise to obtain a third risk detection sub-result;

[0111] Wherein, the first sub-recognition model, the second sub-recognition model and the third sub-recognition model are trained with different basic models;

[0112] Step S24: fusing the first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result to obtain a first risk detection result.

[0113] Specifically, in the present embodiment, the preset abnormal repayment and interest source identification model includes different sub-identification models, and the different sub-identification models are specifically a first sub-identification model, a second sub-identification model and a third sub-identification model. The first sub-identification model, the second sub-identification model and the third sub-identification model are trained with different basic models. Specifically, the basic models of different sub-identification models can be random forest, GBDTX and gboost models, respectively. Due to the different basic models, the data processing processes of different identification sub-models are different. Due to the different data processing processes of different identification sub-models, the influence of accidental factors is avoided and the prediction accuracy is improved. That is, based on the transaction feature data and the preset abnormal repayment and interest source identification model, the prediction accuracy is improved. Based on the first sub-identification model in the model, risk detection is performed on the target enterprise to obtain a first risk detection sub-result; based on the transaction feature data and the second sub-identification model in the preset abnormal repayment and interest repayment source identification model, risk detection is performed on the target enterprise to obtain a second risk detection sub-result; based on the transaction feature data and the third sub-identification model in the preset abnormal repayment and interest repayment source identification model, risk detection is performed on the target enterprise to obtain a third risk detection sub-result; after obtaining the first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result, the results are fused. The specific fusion method can be to take the risk probability mean, or to take the risk probability maximum, and then obtain the first risk detection result.

[0114] Step S30: obtaining a target risk result of the target enterprise based on the first risk detection result.

[0115] In this embodiment, the target risk result of the target enterprise is obtained based on the first risk detection result. That is, after the first risk detection result is obtained, it is combined with other detection results to obtain the target risk result of the target enterprise.

[0116] Among them, refer to Figure 2 The step of obtaining the target risk result of the target enterprise based on the first risk detection result includes:

[0117] Step S31, inputting the transaction feature data into the abnormal transaction identification model, so as to perform abnormal transaction detection on the target enterprise based on the transaction feature data, and obtain a second risk detection result;

[0118] In this embodiment, the transaction feature data is input into the abnormal transaction identification model to perform abnormal transaction detection on the target enterprise based on the transaction feature data to obtain a second risk detection result. Specifically, based on the abnormal transaction identification model, the transaction flow feature representation vector is mapped into a second risk score to perform abnormal transaction risk detection on the target enterprise, and the second risk score is used as the second risk detection result.

[0119] Step S32, obtaining weight information corresponding to the first risk detection result and the second risk detection result, and generating a target risk result of the target enterprise based on the weight information, the first risk detection result and the second risk detection result.

[0120] In this embodiment, weight information corresponding to the first risk detection result and the second risk detection result is obtained, and based on the weight information, the first risk detection result and the second risk detection result, a target risk result of the target enterprise is generated. Specifically, for example, the second risk score and the second weight corresponding to the second risk score are multiplied to obtain a second multiplication result, the first risk score and the first weight corresponding to the first risk score are multiplied to obtain a first multiplication result, the first multiplication result and the second multiplication result are added to obtain the target risk result of the target enterprise, thereby achieving the purpose of performing targeted risk detection on the target enterprise based on the transaction feature data of the target enterprise.

[0121] The present application provides a method, device, equipment and storage medium for early warning of enterprise risks. Compared with the existing bank's risk assessment process for enterprises, which only focuses on analyzing whether the transaction involves abnormal phenomena such as fraud, resulting in low accuracy of risk assessment, the present application obtains the transaction flow information corresponding to the target enterprise and constructs the transaction feature data corresponding to the transaction flow information; based on the transaction feature data and the preset abnormal repayment and interest source identification model, the target enterprise is subjected to risk detection to obtain a first risk detection result; based on the first risk detection result, the target risk result of the target enterprise is obtained. In the present application, in the process of risk assessment of the target enterprise, the transaction flow information corresponding to the target enterprise is obtained, and the transaction feature data corresponding to the transaction flow information is constructed; based on the transaction feature data and the preset abnormal repayment and interest source identification model, the target enterprise is subjected to risk detection, and then the target risk result of the target enterprise is obtained, that is, in the present embodiment, the preset abnormal repayment and interest source identification model can identify the loan transaction between the target enterprise and the microfinance company, as well as the abnormal repayment and interest source of the enterprise, thereby improving the coverage of transaction data early warning and improving the accuracy of risk assessment.

[0122] The embodiment of the present application provides an enterprise risk early warning method and another embodiment of the enterprise risk early warning method of the present application. The embodiment is based on the first embodiment of the present application. In the another embodiment, before the step of performing risk detection on the target enterprise based on the transaction feature data and the preset abnormal repayment and interest source identification model to obtain the first risk detection result, the enterprise risk early warning method also includes:

[0123] Step A10, obtaining a training data set, and constructing a training feature data set corresponding to the training data set;

[0124] In this embodiment, it should be noted that the training data set may include a training transaction flow text set and a verification transaction flow text set, the training transaction flow text set is used for training, and the verification transaction flow text set is used for verification, wherein the specific process of constructing the training litigation feature data may refer to the above-mentioned detailed steps of step S10.

[0125] Step A20, constructing a decision tree model based on the training feature data set;

[0126] Based on the training feature data set, a decision tree model is constructed. In the present embodiment, it should be noted that the decision tree basic model includes random forest, gboost, etc. The decision tree model includes at least one decision tree, and the decision tree includes at least one non-leaf node (can be multiple), and the non-leaf node corresponds to at least one feature splitting value, wherein the feature splitting point is the feature value range or feature value of the transaction flow feature, which is used to indicate that the non-leaf node is split into a left child node and a right child node during the model training process, or to indicate whether the sample belongs to a left child node or a right child node during the model prediction process. The transaction flow feature may correspond to one or more feature splitting points, wherein the process of constructing the decision tree model is a prior art and will not be repeated here.

[0127] Step A30, based on the decision tree model, performing feature screening on the training feature data set to obtain a target feature data set;

[0128] Overall, in this embodiment, based on the decision tree model, feature screening is performed on the training feature data set to obtain a target feature data set. Specifically, each initial transaction flow feature corresponding to the training feature data set is determined, and the number of non-leaf nodes corresponding to each initial transaction flow feature in the decision tree model is obtained. Then, based on the number of each non-leaf node, the feature importance of each initial transaction flow feature is evaluated to obtain a feature importance evaluation value corresponding to each initial transaction flow feature, wherein the feature importance evaluation value is a numerical value for evaluating the importance of a feature. The more non-leaf nodes the initial transaction flow feature corresponds to, the higher the feature importance of the initial transaction flow feature. Then, based on each feature importance evaluation value, feature screening is performed on the training feature data set to obtain a target feature data set.

[0129] Wherein, the decision tree model includes at least one decision tree.

[0130] The step of performing feature screening on the training feature data set based on the decision tree model to obtain a target feature data set includes:

[0131] Step A31, determining each initial transaction flow feature corresponding to the training feature data set, and obtaining the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree;

[0132] In this embodiment, it should be noted that each non-leaf node of the decision tree records the feature code of the corresponding feature splitting point, wherein the feature code is the identity identifier of the transaction flow feature corresponding to the feature splitting point.

[0133] Determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree. Specifically, determine each initial transaction flow feature corresponding to the training feature data set, and query each non-leaf node corresponding to each initial transaction flow feature in each decision tree based on the feature coding of each initial transaction flow feature, and then count the number of non-leaf nodes corresponding to each initial transaction flow feature to obtain the corresponding number of non-leaf nodes in each decision tree.

[0134] Step A32, based on the number of each non-leaf node, sorting the initial transaction flow features by feature importance to obtain a feature importance sorting result;

[0135] In this embodiment, based on the number of each non-leaf node, each of the initial transaction flow features is ranked by feature importance to obtain a feature importance ranking result. Specifically, based on the number of each non-leaf node, each of the initial transaction flow features is ranked by feature importance from large to small to obtain a feature importance ranking result.

[0136] Step A33, based on the feature importance ranking result, selecting a preset number of target transaction flow features from each of the initial transaction flow features;

[0137] In this embodiment, based on the feature importance ranking result, a preset number of target transaction flow features are selected from each of the initial transaction flow features. Specifically, a preset number of transaction flow features ranked at the top in the feature importance ranking result are selected as target transaction flow features.

[0138] Step A34, selecting feature data corresponding to each of the target transaction flow features from the training feature data set as the target feature data set.

[0139] Step A40: construct the preset abnormal repayment and interest source identification model based on the target feature data set.

[0140] In this embodiment, it should be noted that the target feature data set includes a sample representation vector, wherein the sample representation vector is composed of feature values ​​of each of the target transaction flow features.

[0141] Based on the target feature data set, the preset abnormal repayment and interest source identification model is constructed. Specifically, a preset basic model is obtained, and a sample representation vector is selected from the target feature data set. The sample representation vector is then input into the preset basic model, and the preset basic model is trained and updated. It is determined whether the updated preset basic model meets the preset iterative training end condition. If so, the preset basic model is used as the preset abnormal repayment and interest source identification model. If not, the step of selecting the sample representation vector from the target feature data set is returned, wherein the preset iterative training end condition includes the convergence of the loss function and the reaching of the maximum number of iterations threshold.

[0142] Similarly, the abnormal transaction identification model can be constructed in the above manner, which will not be repeated here.

[0143] The embodiment of the present application obtains a training data set, and constructs a training feature data set corresponding to the training data set; constructs a decision tree model based on the training feature data set; performs feature screening on the training feature data set based on the decision tree model to obtain a target feature data set; and constructs the preset abnormal repayment and interest source identification model based on the target feature data set. In this embodiment, the preset abnormal repayment and interest source identification model is accurately constructed, thereby laying a foundation for improving the accuracy of risk detection.

[0144] Reference Figure 3 , Figure 3 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0145] like Figure 3 As shown, the enterprise risk warning device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0146] Optionally, the enterprise risk warning device may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0147] Those skilled in the art will understand that Figure 3 The enterprise risk warning device structure shown in the figure does not constitute a limitation on the enterprise risk warning device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0148] like Figure 3 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module and an enterprise risk early warning program. The operating system is a program that manages and controls the hardware and software resources of the enterprise risk early warning device, and supports the operation of the enterprise risk early warning program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the enterprise risk early warning system.

[0149] exist Figure 3 In the enterprise risk warning device shown, the processor 1001 is used to execute the enterprise risk warning program stored in the memory 1005 to implement the steps of any of the above-mentioned enterprise risk warning methods.

[0150] The specific implementation methods of the enterprise risk warning device of the present application are basically the same as the various embodiments of the above-mentioned enterprise risk warning method, and will not be repeated here.

[0151] The present application also provides an enterprise risk early warning device, the enterprise risk early warning device comprising:

[0152] A first acquisition module is used to acquire transaction flow information corresponding to the target enterprise and construct transaction feature data corresponding to the transaction flow information;

[0153] A risk detection module, configured to perform risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result;

[0154] The second acquisition module is used to obtain the target risk result of the target enterprise based on the first risk detection result.

[0155] Optionally, the second acquisition module includes:

[0156] An input unit, used for inputting the transaction feature data into the abnormal transaction identification model, so as to perform abnormal transaction detection on the target enterprise based on the transaction feature data and obtain a second risk detection result;

[0157] The first acquisition unit is used to acquire weight information corresponding to the first risk detection result and the second risk detection result, and generate a target risk result of the target enterprise based on the weight information, the first risk detection result and the second risk detection result.

[0158] Optionally, the device further comprises:

[0159] A third acquisition module is used to acquire a training data set and construct a training feature data set corresponding to the training data set;

[0160] A first construction module is used to construct a decision tree model based on the training feature data set;

[0161] A feature screening module, used to perform feature screening on the training feature data set based on the decision tree model to obtain a target feature data set;

[0162] The second construction module is used to construct the preset abnormal repayment and interest source identification model based on the target feature data set.

[0163] Optionally, the decision tree model includes at least one decision tree.

[0164] The feature screening module includes:

[0165] A first determining unit is used to determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree;

[0166] A sorting unit, used to sort the feature importance of each of the initial transaction flow features based on the number of each of the non-leaf nodes, and obtain a feature importance sorting result;

[0167] A first selection unit, configured to select a preset number of target transaction flow features from each of the initial transaction flow features based on the feature importance ranking result;

[0168] The second selection unit is used to select feature data corresponding to each of the target transaction flow features from the training feature data set as the target feature data set.

[0169] Optionally, the transaction flow information includes a transaction flow text, and the transaction feature data includes a transaction flow feature representation vector.

[0170] The first acquisition module includes:

[0171] An extraction unit, used for extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector;

[0172] A second acquisition unit is used to map the transaction flow text to a preset data dimension space to obtain a text low-dimensional space representation vector;

[0173] The third acquisition unit is used to concatenate the constructed feature vector with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector.

[0174] The risk detection module includes:

[0175] A first risk detection unit, configured to perform risk detection on the target enterprise based on the transaction feature data and a first sub-identification model in a preset abnormal repayment and interest source identification model to obtain a first risk detection sub-result;

[0176] A second risk detection unit is used to perform risk detection on the target enterprise based on the transaction feature data and a second sub-identification model in a preset abnormal repayment and interest source identification model to obtain a second risk detection sub-result;

[0177] A third risk detection unit is used to perform risk detection on the target enterprise based on the transaction feature data and a third sub-identification model in the preset abnormal repayment and interest source identification model to obtain a third risk detection sub-result;

[0178] Wherein, the first sub-recognition model, the second sub-recognition model and the third sub-recognition model are trained with different basic models;

[0179] A fusion unit is used to fuse the first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result to obtain a first risk detection result.

[0180] Optionally, the first acquisition module includes:

[0181] A fourth acquisition unit is used to acquire original transaction data corresponding to the target enterprise;

[0182] A preprocessing unit, used to perform deduplication and missing data cleaning on the original transaction data to obtain preprocessed data;

[0183] A setting unit is used to set the pre-processed data as transaction flow information corresponding to the target enterprise.

[0184] The specific implementation of the enterprise risk warning device of the present application is basically the same as the various embodiments of the above-mentioned enterprise risk warning method, and will not be repeated here.

[0185] An embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of any of the above-mentioned enterprise risk warning methods.

[0186] The specific implementation methods of the storage medium of the present application are basically the same as the above-mentioned embodiments of the enterprise risk warning method, and will not be repeated here.

[0187] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned enterprise risk early warning method when executed by a processor.

[0188] The specific implementation methods of the computer program product of the present application are basically the same as the various embodiments of the above-mentioned enterprise risk warning method, and will not be repeated here.

[0189] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A method for early warning of enterprise risks, It is characterized in that The enterprise risk early warning method comprises: Obtain a training data set, and construct a training feature data set corresponding to the training data set; Based on the training feature data set, a decision tree model is constructed; Based on the decision tree model, feature screening is performed on the training feature data set to obtain a target feature data set; The step of performing feature screening on the training feature data set based on the decision tree model to obtain a target feature data set includes: Determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree; Based on the number of each non-leaf node, the initial transaction flow features are sorted by feature importance to obtain a feature importance sorting result; Based on the feature importance ranking result, a preset number of target transaction flow features are selected from each of the initial transaction flow features; Selecting feature data corresponding to each of the target transaction flow features from the training feature data set as the target feature data set; Based on the target feature data set, a preset abnormal repayment and interest repayment source identification model is constructed; Acquire transaction flow information corresponding to the target enterprise, and construct transaction feature data corresponding to the transaction flow information, wherein the transaction flow information includes a transaction flow text, and the transaction feature data includes a transaction flow feature representation vector; The step of constructing transaction feature data corresponding to the transaction flow information includes: Extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector; Vectorizing each word in the transaction flow text to obtain a vectorized text, and mapping the vectorized text to a preset data dimension space, wherein the data dimension of the preset data dimension space is lower than the data dimension of the vectorized text, to obtain a text low-dimensional space representation vector; The constructed feature vector is concatenated with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector; Based on the transaction feature data and a preset abnormal repayment and interest source identification model, the target enterprise is subjected to risk detection to obtain a first risk detection result, wherein the abnormal repayment and interest source identification model is used to identify the loan transaction between the target enterprise and the microfinance company and the abnormal repayment and interest source of the enterprise; Based on the first risk detection result, obtaining a target risk result of the target enterprise; The step of obtaining the target risk result of the target enterprise based on the first risk detection result includes: Inputting the transaction feature data into an abnormal transaction identification model to perform abnormal transaction detection on the target enterprise based on the transaction feature data to obtain a second risk detection result; Obtain weight information corresponding to the first risk detection result and the second risk detection result, and generate a target risk result of the target enterprise based on the weight information, the first risk detection result, and the second risk detection result.

2. The enterprise risk early warning method according to claim 1, It is characterized in that The step of performing risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result includes: Based on the transaction feature data and the first sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a first risk detection sub-result; Based on the transaction feature data and the second sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a second risk detection sub-result; Based on the transaction feature data and the third sub-identification model in the preset abnormal repayment and interest source identification model, risk detection is performed on the target enterprise to obtain a third risk detection sub-result; Wherein, the first sub-recognition model, the second sub-recognition model and the third sub-recognition model are trained with different basic models; The first risk detection sub-result, the second risk detection sub-result and the third risk detection sub-result are fused to obtain a first risk detection result.

3. The enterprise risk early warning method according to any one of claims 1-2, It is characterized in that The step of obtaining the transaction flow information corresponding to the target enterprise includes: Obtain the original transaction data corresponding to the target enterprise; De-duplication and cleaning of missing data are performed on the original transaction data to obtain pre-processed data; The pre-processed data is set as the transaction flow information corresponding to the target enterprise.

4. An enterprise risk early warning device, It is characterized in that The enterprise risk early warning device comprises: A third acquisition module is used to acquire a training data set and construct a training feature data set corresponding to the training data set; A first construction module is used to construct a decision tree model based on the training feature data set; A first determining unit is used to determine each initial transaction flow feature corresponding to the training feature data set, and obtain the number of non-leaf nodes corresponding to each initial transaction flow feature in each decision tree; A sorting unit, used to sort the feature importance of each of the initial transaction flow features based on the number of each of the non-leaf nodes, and obtain a feature importance sorting result; A first selection module is used to select a preset number of target transaction flow features from each of the initial transaction flow features based on the feature importance ranking result; A second selection module is used to select feature data corresponding to each of the target transaction flow features from the training feature data set as a target feature data set; A second construction module is used to construct a preset abnormal repayment and interest source identification model based on the target feature data set; A first acquisition module is used to acquire transaction flow information corresponding to a target enterprise, wherein the transaction flow information includes a transaction flow text; An extraction unit, used for extracting target feature values ​​corresponding to a preset number of structural features from the transaction flow text, and combining the target feature values ​​into a structural feature vector; A second acquisition unit is used to vectorize each word in the transaction flow text to obtain a vectorized text, and map the vectorized text to a preset data dimension space, wherein the data dimension of the preset data dimension space is lower than the data dimension of the vectorized text, to obtain a text low-dimensional space representation vector; A third acquisition unit is used to concatenate the constructed feature vector with the text low-dimensional space representation vector to obtain the transaction flow feature representation vector; A risk detection module, for performing risk detection on the target enterprise based on the transaction feature data and a preset abnormal repayment and interest source identification model to obtain a first risk detection result, wherein the abnormal repayment and interest source identification model is used to identify the loan transaction between the target enterprise and the microfinance company and the abnormal repayment and interest source of the enterprise; An input unit, used to input the transaction feature data into an abnormal transaction identification model, so as to perform abnormal transaction detection on the target enterprise based on the transaction feature data to obtain a second risk detection result; The first acquisition unit is used to acquire weight information corresponding to the first risk detection result and the second risk detection result, and generate a target risk result of the target enterprise based on the weight information, the first risk detection result and the second risk detection result.

5. An enterprise risk early warning device, It is characterized in that The enterprise risk early warning device comprises: a memory, a processor and a program stored in the memory for implementing the enterprise risk early warning method. The memory is used to store a program for implementing an enterprise risk early warning method; The processor is used to execute a program for implementing the enterprise risk early warning method to implement the steps of the enterprise risk early warning method as described in any one of claims 1 to 3.

6. A storage medium, It is characterized in that The storage medium stores a program for implementing the enterprise risk early warning method, and the program for implementing the enterprise risk early warning method is executed by a processor to implement the steps of the enterprise risk early warning method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Lending fraud detection model training method, lending fraud detection method and device

    CN109389494A

  • Enterprise credit risk assessment method, apparatus, device and storage medium

    CN109409677A

  • Risk identification method and system

    CN109657977A

  • Post-loan risk monitoring method, device, equipment and computer readable storage medium

    CN111383101A

  • System and method for identification, detection and investigation of maleficent acts

    US20050043961A1