Risk prediction method and device, electronic device, and computer-readable storage medium
By constructing the enterprise relationship map and calculating the multi-level transmission probability, the problem of insufficient risk prediction accuracy in enterprise risk transmission modeling is solved, and the accurate prediction and improvement of risk prediction of the enterprise's multi-level risk transmission are achieved.
Patent Information
- Application Number
- CN202210369111.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-08
AI Technical Summary
Existing enterprise risk transmission modeling solutions are difficult to effectively predict multi-level risk transmission between enterprises, and cannot accurately separate the enterprise's own risks and transmission risks, resulting in insufficient risk prediction accuracy.
By constructing a relationship map between enterprises, the primary conduction probability between the object to be tested and the associated object is determined, and based on the multi-level conduction probability and the origin risk probability, the target risk probability of the object to be tested is calculated to improve the accuracy of risk prediction. .
It achieves accurate prediction of multi-level risk transmission of enterprises, improves the accuracy and reliability of risk prediction, and can effectively deal with the complex correlation between enterprises and the hysteresis problem of risk transmission.
Smart Images

Figure CN114676927B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, specifically to technical fields such as knowledge graphs and machine learning, and in particular to a risk prediction method and device, an electronic device, a computer-readable storage medium, and a computer program product. Background Art
[0002] At present, the financial industry has a relatively complete modeling solution for enterprise risk prediction, but there is still no good solution for the prediction of conductive risk. On the one hand, the relationship between enterprises is relatively complex, and one enterprise often has relationships with multiple enterprises; on the other hand, the relationship between enterprises will change over time, and risk transmission has a certain lag, which brings challenges to modeling.
[0003] The existing enterprise risk transmission modeling scheme is mainly to predict the transmission of one stage. However, in real scenarios, on the one hand, there are often links between enterprises, and there may be problems with cross-level transmission. On the other hand, enterprise risk consists of two parts: self-risk and transmission risk, but these two parts cannot be well separated, so when transmitting edge labels, they are often wrong. Summary of the invention
[0004] The present disclosure provides a risk prediction method and device, an electronic device, a computer-readable storage medium, and a computer program product.
[0005] According to a first aspect, a risk prediction method is provided, which includes: determining an original risk probability of an object to be tested; constructing a relationship map between the object to be tested and different associated objects; determining a primary conduction probability between any two directly associated objects in the relationship map; determining a multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map; determining a target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested.
[0006] According to the second aspect, a risk prediction device is provided, which includes: an original determination unit, configured to determine the original risk probability of the object to be tested; a map construction unit, configured to construct a relationship map between the object to be tested and different associated objects; an initial determination unit, configured to determine the primary conduction probability between any two directly associated objects in the association map; a multi-level determination unit, configured to determine the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map; a probability determination unit, configured to determine the target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested.
[0007] According to a third aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any implementation manner of the first aspect.
[0008] According to a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method described in any implementation of the first aspect.
[0009] According to a fifth aspect, a computer program product is provided, comprising a computer program, which implements the method described in any implementation manner of the first aspect when executed by a processor.
[0010] The risk prediction method and device provided by the embodiments of the present disclosure first determine the original risk probability of the object to be tested; secondly, construct a relationship map between the object to be tested and different associated objects; thirdly, determine the primary conduction probability between any two directly associated objects in the relationship map; thirdly, determine the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map; finally, determine the target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested. The present disclosure first predicts the original risk probability of the object to be tested, and by utilizing the association between multiple objects, predicts the multi-level conduction probability of multi-level risk conduction between the object to be tested and each object, and finally combines the original risk probability with the multi-level conduction probability to predict the probability of future risk occurrence of the object to be tested, thereby improving the accuracy of risk prediction.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0013] Figure 1 is a flow chart of an embodiment of the risk prediction method according to the present disclosure;
[0014] Figure 2 is a schematic diagram of a structure for determining a multi-level conduction probability of an object to be tested in an embodiment of the present disclosure;
[0015] Figure 3 is a flow chart of an embodiment of the method for training a conduction probability model disclosed herein;
[0016] Figure 4is a structural schematic diagram of a conductive sample pair constructed by using a sliding window in an embodiment of the present disclosure;
[0017] Figure 5 is a schematic structural diagram of an embodiment of a risk prediction device according to the present disclosure;
[0018] Figure 6 It is a block diagram of an electronic device used to implement the risk prediction method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0020] In view of the problem that the relationships between existing enterprises are relatively complex and it is difficult to separate the enterprise's own risks from the transmission risks, this paper proposes a risk prediction method to improve the accuracy of predicting enterprise risks through technical means. Figure 1 A process 100 according to an embodiment of the risk prediction method of the present disclosure is shown. The risk prediction method comprises the following steps:
[0021] Step 101, determining the original risk probability of the object to be tested.
[0022] In this embodiment, the original risk probability refers to the probability of the possibility of risk occurring due to the object's own factors (such as poor management), and the original risk probability is calculated based on the target characteristics of the object, where the target characteristics are characteristics that represent the essential attributes of the object. For different types of objects, the target characteristics of the object have different expressions. For example, when the object is an enterprise, the target characteristics of the object include: static characteristics and dynamic characteristics, where static characteristics are used to characterize the basic attributes of the enterprise, such as the registration time and registered capital of the enterprise, and static characteristics will not change over time. Dynamic characteristics refer to characteristics of an enterprise that change over time. For example, when the object is an enterprise, the dynamic characteristics can be the number of employees of the enterprise, the scale of the enterprise, etc.
[0023] Since static features do not change over time, we only need to deduplicate the entire data table according to the enterprise ID in the basic information table that includes all enterprises to obtain the static information table. Then, we can input the static information table into the pre-established feature engineering to obtain the static features.
[0024] The basic information table of the enterprise is grouped according to the enterprise ID. Each group contains all the historical change records of each enterprise. Each group of data is sorted according to the change time to obtain ordered change features. For each change feature, the time series feature extraction method is used to extract the feature to obtain dynamic features. The time series feature extraction method may include calculating the slope, variance, change frequency, etc.
[0025] Optionally, the target characteristics of the object may also include: behavioral characteristics, which are characteristics of certain operations performed by the object. For example, when the object is an enterprise, the behavioral characteristics are the number, amount, proportion, etc. of companies invested by the enterprise.
[0026] Optionally, the original risk probability of the object to be tested can be determined based on the basic information of the object to be tested. The basic information is the information displayed by the object participating in the production activities, and the basic information is the information used to characterize the attributes, characteristics and social relations of the object to be tested. For example, the basic information includes: the type and quantity of the object to be tested, and the relationship between the object to be tested and multiple different objects.
[0027] In this embodiment, the execution subject on which the risk prediction method runs can obtain the basic information of the object to be tested in a variety of ways. For example, the execution subject can obtain the basic information stored in the database server through a wired connection or a wireless connection. For another example, the user can obtain the basic information of the object to be tested collected by the terminal by communicating with the terminal.
[0028] In this embodiment, the above-mentioned determination of the native risk probability of the object to be tested based on the basic information of the object to be tested includes: inputting the basic information of the object to be tested into a pre-trained native risk model, and obtaining the native risk probability output by the native risk model, wherein the native risk model is used to characterize the correspondence between the basic information and the native risk probability.
[0029] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of the basic information of the objects involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0030] In some optional implementations of the present embodiment, the above-mentioned determination of the native risk probability of the object to be tested includes: determining the static characteristics, dynamic characteristics and behavioral characteristics of the object to be tested; splicing the static characteristics, dynamic characteristics and behavioral characteristics to obtain the target characteristics of the object to be tested; inputting the target characteristics into a pre-trained source risk prediction model to obtain the native risk probability output by the source risk prediction model, and the source risk prediction model is used to characterize the correspondence between the target characteristics and the native risk probability.
[0031] In this optional implementation, the source risk prediction model can be a model trained by automated modeling. Automated modeling is a fully automatic machine learning modeling method that integrates multiple different models such as Knn (K Nearest Neighbors, nearest neighbor rule classification algorithm) and Deepctr (Deep Click-Through-Rate, click-through rate algorithm). Automated modeling can automatically construct features, select models and search for hyperparameters, as well as integrate models, and can achieve high precision, high performance and other requirements. The source risk prediction model training process is: first, the sample data corresponding to the target feature is imported into the automated modeling platform. After the training of different internal models is completed, the automated modeling platform deploys and selects the models to obtain the optimal source risk prediction model.
[0032] In this optional implementation, static features, dynamic features and behavioral features are spliced together to form target features of the object to be tested. Based on the target features, the probability of the original risk is predicted, thereby improving the reliability of the original risk prediction of the object to be tested.
[0033] Step 102: construct a relationship map between the object to be tested and different associated objects.
[0034] In this embodiment, based on the scenes where different objects are located and the different interactions between the objects, multiple relationship objects with different association relationships with the object to be tested can be selected, and a relationship map between the object to be tested and different association objects can be constructed based on the business relationship between the object to be tested and all the association relationships. The relationship map includes multiple nodes and the association relationships between the nodes, and the association relationships are different based on the different properties of the nodes in the relationship map, for example, the association relationships include superior-subordinate relationships.
[0035] The above-mentioned construction of the relationship map between the object to be tested and different associated objects includes: obtaining the association relationship between the object to be tested and different objects, establishing an association relationship table based on the association relationship, and constructing the relationship map based on the association relationship table.
[0036] In this embodiment, the association table is a table used to represent multiple associations between different objects. Different types of objects present different associations. For example, if the object is an enterprise, the association in the association table can be a guarantee relationship; if the object is an individual, the relationship association can be a superior-subordinate relationship.
[0037] The following are some common relationships between objects: (1) Guarantee relationship: If the guaranteed object defaults, it will have a certain impact on the guaranteed object. In addition, there is the problem of closed-loop guarantee. Once a certain object encounters a risk, it will cause a chain reaction on other objects in the guarantee relationship circle. (2) The same executive relationship: The same executive may rob Peter to pay Paul, so the probability of risk transmission is high. (3) Equity relationship: When the parent company encounters a risk, it may have an adverse impact on the subsidiary. (4) Group relationship: Multiple objects belonging to the same group may have some invisible relationships, resulting in a certain transmission probability. (5) Supply chain relationship: When an object encounters a risk, it will have an adverse impact on its upstream and downstream objects. (7) Relative relationship: The executives of the object may be relatives, and there may be personal loan relationships.
[0038] In this embodiment, the steps of constructing the relationship graph include: 1) extracting multiple relationships between objects based on the association relationship table, such as guarantee relationships, same executive relationships, equity relationships, group relationships, supply chain relationships, and kinship relationships, but not limited to the above relationships; 2) creating entities in the graph database, such as entities including multiple different objects. 3) creating node relationships in the graph database one by one according to the multiple association relationship pairs obtained in step 1), and generating a relationship graph with multiple nodes.
[0039] Step 103: determine the primary conduction probability between any two directly associated objects in the relationship graph.
[0040] In this embodiment, the primary transmission probability is the probability that a risk will arise between two directly related objects due to their association relationship with each other. The primary transmission probability of the object to be tested refers to the probability that the associated object will transmit the risk to the object to be tested due to the relationship between the associated object and the object to be tested, that is, the probability that the object to be tested will generate risk due to the influence of the associated object. The initial transmission probability can be a risk probability obtained based on the different association relationships between the object to be tested and each associated object in the relationship graph.
[0041] Based on the different types of associations between the object to be tested and the associated objects, the values of the primary conduction probability are different. For example, if the association between the object to be tested and an associated object is a guarantee relationship, and the association between the object to be tested and another associated object is a superior-subordinate relationship, then the primary conduction probability between the object to be tested and one associated object is greater than the primary conduction probability between the object to be tested and another associated object.
[0042] It should be noted that, in actual situations, the primary transmission probability between any two directly related objects is the probability that after a risk occurs in one of the two directly related objects, the risk will be transmitted to the related objects; if no risk occurs in any of the two directly related objects, the primary transmission probability between the two directly related objects is 0.
[0043] Step 104: determining the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map.
[0044] In this embodiment, through the relationship map, all objects related to the object to be measured in the relationship map can be determined, and the related objects can include directly related objects and indirectly related objects. Based on the primary conduction probability between the object to be measured and each object, it is possible to further calculate whether the risk of the object that has experienced the wind direction has been multi-level conducted to the object to be measured, as well as the multi-level conduction probability calculated due to the multi-level conduction. In this embodiment, the objects that cause the risk of the object to be measured may include not only the objects directly related to the object to be measured, but also the objects indirectly related to the object to be measured. Therefore, multi-level conduction is a manifestation of the chain reaction phenomenon of risk between different objects, and the multi-level conduction probability is used to quantify the size of the multi-level conduction risk. In this embodiment, the multi-level conduction probability of the object is used to characterize the total impact of the risk conduction between directly related objects and the risk conduction between indirectly related objects in the relationship map on the risk of the object.
[0045] The multi-level conduction probability of the object to be measured is a value calculated based on the conduction risk probability of objects directly related to the object to be measured and the conduction risk probability of objects indirectly related to the object to be measured. Specifically, when the object where the risk occurs is a directly related object of the object to be measured, the multi-level conduction probability of the object to be measured is directly calculated through the primary conduction probability of the directly related object; when the object where the risk occurs is an indirectly related object of the object to be measured, it is necessary to determine whether the risk will be transmitted to the object to be measured through multiple objects based on the conduction risk probability of each indirectly related object. If multi-level conduction occurs, the multi-level conduction probability of the object to be measured is calculated through the conduction risk probability of objects indirectly related to the object to be measured. According to the risk conduction relationship between the object to be measured and multiple risk objects, the multi-level conduction probability can be a secondary conduction probability, a tertiary conduction probability, a quaternary conduction probability, and so on.
[0046] In this embodiment, when a risk occurs to any object in the relationship graph, in order to detect whether the object to be tested may be transmitted with risk by other objects in the relationship graph, the subordinate associated objects connected to the object where the risk occurs can be determined first, and then the secondary transmission probability between the subordinate associated objects can be determined. Based on the secondary transmission probability, it is determined again whether the risk of the subordinate object will be transmitted to the subordinate associated objects. If it can be transmitted, the third-level transmission probability is calculated. Furthermore, a multi-level transmission probability greater than three levels can be calculated until it is determined that the object to be transmitted is the object to be tested. At this time, the multi-level transmission probability of the object to be tested is obtained.
[0047] The above-mentioned method of determining the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map includes: based on the relationship map, detecting whether there are multiple risk objects related to the object to be tested, and in response to the fact that there is only one risk object related to the object to be tested (i.e., unilateral conduction) and the risk object is a directly associated object, determining the multi-level conduction probability of the object to be tested as the primary conduction probability between the object and the associated object, wherein the risk object is an object in the relationship map that has historically or currently experienced risks.
[0048] There may also be multiple risk objects that have already incurred risks that transmit risks to the object to be tested (i.e., multilateral transmission). The risk object may be a directly associated object or an indirectly associated object or a directly associated object plus an indirectly associated object of the object to be tested. In the case where there is an association relationship with multiple risk objects, the object to be tested can be used as a terminal to find all objects associated with the object to be tested, i.e., transmission edges, and the primary transmission probabilities of all transmission edges are fused to obtain a parallel transmission probability. In some optional methods of this embodiment, determining the multi-level transmission probability of the object to be tested based on the primary transmission probability and the relationship map includes: detecting whether there are multiple risk objects related to the object to be tested based on the relationship map; in response to the fact that there are multiple risk objects, calculating the parallel transmission probability of the risk object based on the primary transmission probability, and the parallel transmission probability is used to characterize the fusion of the primary transmission probabilities of the risk object and multiple directly associated objects of the risk object; determining the multi-level transmission probability of the object to be tested based on the parallel transmission probability, the relationship map, and a preset multi-level transmission rule.
[0049] In this embodiment, the risk object related to the object to be tested is an object that has a risk in the relationship graph, that is, an object that has a risk in the past or currently in the relationship graph.
[0050] In this embodiment, the multi-level conduction rule includes detecting whether the parallel conduction probability is greater than or equal to a maximum preset threshold value. If the parallel conduction probability is greater than the preset threshold value, it is determined that the risk may be conducted to the next level, and it is determined that the object to be tested will be conducted to multiple levels. The preset threshold value can be determined based on all primary conduction probabilities related to the object to be tested (for example, the maximum primary conduction probability is selected as the preset threshold value, or the maximum primary conduction probability is multiplied by a fixed coefficient as the preset threshold value).
[0051] In this optional implementation, when there are multiple risk objects, the multi-level conduction probability of the object to be measured is further calculated by calculating the parallel conduction probability, thereby improving the reliability of obtaining the multi-level conduction probability.
[0052] In some optional implementations of the present embodiment, the above-mentioned determining the multi-level conduction probability of the object to be tested based on the parallel conduction probability, the relationship map and the preset multi-level conduction rule includes: detecting whether the object to be tested will be multi-level conducted based on the parallel conduction probability, the relationship map and the preset multi-level conduction rule; in response to the object to be tested being multi-level conducted, calculating the multi-level conduction probability of the object to be tested based on the parallel conduction probability.
[0053] In this optional implementation, based on the product of the parallel conduction probability and the primary conduction probability between objects at each level, it can be ultimately determined whether the risk of the risk object will propagate to the object to be measured. If the product of the parallel conduction probability and the primary conduction probability between objects at each level and the object to be measured is less than a certain value, such as 0.001, it is determined that the object to be measured will not be multi-level conducted; if the product of the parallel conduction probability and the primary conduction probability between objects at each level and the object to be measured is not less than the value, the product of the parallel conduction probability and the primary conduction probability between objects at each level and the object to be measured is used as the multi-level conduction probability of the object to be measured.
[0054] The method for determining the multi-level conduction probability provided by this optional implementation first detects whether the object to be tested will be multi-level conducted, and after determining that the object to be tested will be multi-level conducted, calculates the multi-level conduction probability of the object to be tested, thereby ensuring the reliability of the multi-level conduction probability calculation.
[0055] Optionally, when it is detected that the risk object is only related to one associated object, based on the primary conduction probability of the risk object, it is detected whether the object to be tested will be multi-level conducted; in response to the object to be tested being multi-level conducted, the multi-level conduction probability of the object to be tested is calculated through the initial conduction probabilities of all objects between the risk object and the object to be tested. It should be noted that whether the object to be tested will be multi-level conducted can be determined by the size of the product of the primary conduction probabilities between the risk object and the associated objects at each level. When the product of all initial conduction probabilities from the risk object to the object to be tested is already very small, it is determined that the object to be tested will not be multi-level conducted.
[0056] In some optional implementations of the present embodiment, based on the parallel conduction probability, the relationship map and the preset multi-stage conduction rule, detecting whether the object to be tested will be multi-stage conducted includes: detecting whether the parallel conduction probability satisfies the conduction stop condition; in response to the parallel conduction probability not satisfying the conduction stop condition, detecting whether the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and the preset multi-stage conduction rule.
[0057] In this optional implementation, the parallel conduction probability is constrained by the conduction stop condition, thereby ensuring the reliability of the calculation of the multi-stage conduction probability.
[0058] like Figure 2 As shown, in a relationship graph, the associated objects related to the object to be tested F include: object A, object B, object C, object G, and object E, wherein the object to be tested D is the direct associated object of the object to be tested F, and objects A, object B, object C, object G, and object E are the indirect associated objects of the object to be tested F. When objects A, object B, and object C are risk objects that have a risk, the primary conduction probability between object A and object D is p(ad), the primary conduction probability between object B and object D is p(bd), and the primary conduction probability between object C and object D is p(cd). Then the parallel conduction probability P of the risk object is calculated as shown in formula (1).
[0059] P = 1 / (1+(n+1) p_sum ) (1)
[0060] In formula (1), p_sum is the sum of all primary transmission probabilities between directly associated objects directly related to the risk object, and n is the number of directly associated objects. Figure 2 In the above equation, P(D)=1 / (1+4 p(ad)+p(bd)+p(cd) ).
[0061] Furthermore, when P(D) of P(D) and P(G) is greater than the preset threshold, it is determined that the object D to be tested may have secondary risk transmission, where P(G) is the parallel transmission probability of object G calculated through object G, and P(G) is calculated through p(cg) and p(bg). At this time, the secondary transmission probability of the object F to be tested can be calculated as: P(df) = P(D) × p(df), where p(df) is the primary transmission probability between the object F to be tested and the transmission object D. When P(G) is less than the preset threshold, object G will no longer transmit risk transmission downward, and the risk will not be transmitted to object E through object G.
[0062] In this optional implementation, an object to be tested may have an association relationship with multiple objects. Taking the object to be tested as the end point, find the associated objects related to it, and merge the primary conduction probabilities of the object to be tested and all the associated objects found. The calculation of the parallel conduction probability conforms to the monotonically increasing property, that is, it increases with the increase of the conduction edge (the connection line between the object to be tested and each associated object), and increases with the increase of the sum of the probability of the conduction edge.
[0063] The calculation of the parallel conduction probability includes but is not limited to the calculation method shown in formula (1). Optionally, a weight value q can be set for each directly associated object directly related to the risk object according to the importance of the conduction relationship between the risk object and each directly associated object, and the parallel conduction probability can be calculated based on the weight value and the primary conduction probability of the directly associated object of the risk object. Figure 2 For example, the parallel conduction probability can be equal to q1*p(ad)+q2*p(bd)+q3*p(cd), where q1 is the weight value between risk object A and object D, q2 is the weight value between risk object B and object D, and q3 is the weight value between risk object C and object D. The specific values of q1, q2, and q3 are determined by the importance of the specific conduction relationship between different risk objects and directly related objects.
[0064] In this optional implementation, when the risk object is related to multiple associated objects, the parallel conduction probability of the risk object is calculated, and it is detected whether the parallel conduction probability of the risk object satisfies the conduction stop condition. When the conduction stop condition is not satisfied, it is detected whether the object to be tested will be multi-level conducted. When multi-level conduction may occur, the multi-level conduction probability of the object to be tested is calculated, thereby improving the reliability of the calculation of the multi-level conduction probability of the object to be tested.
[0065] In another optional implementation of the present embodiment, the above-mentioned determination of the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map also includes: in response to the parallel conduction probability satisfying the conduction stop condition, when the risk object is directly related to the object to be tested, using the parallel conduction probability as the multi-level conduction probability of the object to be tested.
[0066] In this optional implementation, when the parallel conduction probability meets the conduction stopping condition and when the risk object is directly related to the object to be measured, the parallel conduction probability is used as the multi-level conduction probability, thereby ensuring the effectiveness of stopping the multi-level conduction risk of the object to be measured.
[0067] Optionally, the object risk conduction also has a chain conduction relationship, so for a multi-level conduction relationship with multiple parallel conduction probabilities of multiple risk objects, the multiple parallel conduction probabilities can be divided according to different thresholds to find the highest threshold. The highest threshold is used to determine whether the object corresponding to the highest threshold is used as the conduction starting point for the next level of conduction, and the multi-level conduction probability of the lower-level node associated with it is calculated, wherein the result of multiplying the parallel conduction probability of the starting point by the primary conduction probability between the object to be tested and the lower-level node is used as the multi-level conduction probability of the lower-level node.
[0068] Step 105 , determining a target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested.
[0069] In this embodiment, the original risk probability and the multi-level transmission probability may be weighted and summed to obtain the target risk probability of the object to be tested.
[0070] Optionally, a fusion formula as shown in formula (2) may be used to obtain the target risk probability of the object to be tested.
[0071] P(i)=1-(1-P c )×(1-P y ) (2)
[0072] In formula (2), P c is the multi-level conduction probability of the object to be tested, P y is the original risk probability of the object to be tested, and P(i) is the target risk probability of the object to be tested.
[0073] The risk prediction method provided by the embodiment of the present disclosure first determines the original risk probability of the object to be tested; secondly, constructs a relationship map between the object to be tested and different associated objects; thirdly, determines the primary conduction probability between any two directly associated objects in the relationship map; thirdly, determines the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship map; finally, determines the target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested. The present disclosure first predicts the original risk probability of the object to be tested, and by utilizing the association between multiple objects, predicts the multi-level conduction probability of multi-level risk conduction between the object to be tested and each object, and finally combines the original risk probability with the multi-level conduction probability to predict the probability of future risk occurrence of the object to be tested, thereby improving the accuracy of risk prediction.
[0074] In some optional implementations of the present embodiment, the above-mentioned determination of the primary conduction probability between any two directly associated objects in the relationship graph includes: determining all associated objects related to the object to be tested based on the relationship graph; determining conduction relationship pairs with direct associations based on all associated objects related to the object to be tested; determining conduction edge features of the conduction relationship pairs based on the relationship graph; inputting the conduction relationship pairs and the conduction edge features into a pre-trained conduction probability model to obtain the primary conduction probability between the directly associated objects output by the conduction probability model; the conduction probability model is used to characterize the correspondence between the conduction relationship pairs, the conduction edge features of the conduction relationship pairs, and the primary conduction probability.
[0075] In this embodiment, the conductive relationship pair refers to a conductive relationship formed by two associated objects with a direct association relationship. The associated object can be a directly associated object with a direct association relationship with the object to be tested in the relationship graph, or an indirectly associated object with an indirect association relationship with the object to be tested.
[0076] In this optional implementation, the associated objects with are first determined, and then the conduction relationship pairs of the local direct association relationships in the relationship graph are determined, wherein the conduction relationship pairs are relationship pairs with risk conduction relationships, one of which is an object in the relationship spectrum, and the other is a directly associated object with a direct association relationship with the object; based on the relationship graph, the conduction edge features of the conduction relationship pairs are determined, wherein the conduction edge features are used to reflect the features of risk conduction between the conduction relationship pairs, such as the conduction edge features are superior-subordinate features.
[0077] In this embodiment, the conduction relationship pairs and the conduction edge features are input into the conduction probability model, so that the conduction probability model can be analyzed in real time to determine the primary conduction probability between the conduction relationship pairs of the conduction edge features.
[0078] In this optional implementation, the conduction edge features of the conduction relationship pair are determined, and the conduction relationship pair and the conduction edge features are input into a pre-trained conduction probability model to obtain an initial conduction probability output by the conduction probability model, thereby improving the accuracy of obtaining the initial conduction probability.
[0079] In some optional implementations of the present embodiment, the above-mentioned conduction probability model is trained through the following steps: constructing conduction sample pairs based on the relationship graph; annotating each conduction sample pair with a pseudo label; based on the relationship graph, performing feature processing on the conduction edges of the labeled conduction sample pairs to obtain conduction feature association pairs, and the conduction feature association pairs include: multiple conduction sample pairs with pseudo labels and conduction edge features corresponding to each conduction sample pair; based on the conduction feature association pairs, training a pre-constructed conduction probability network to obtain a trained conduction probability model.
[0080] In this optional implementation, the conduction sample pair only represents that two objects have an association relationship, but cannot explain what kind of relationship the two objects in the conduction sample pair have. The conduction edge of the labeled conduction sample pair is feature processed to add conduction edge features (such as guarantee duration, guarantee amount, etc.) to the conduction sample pair, thereby ensuring the diversity of the forms of expression of the conduction feature association pairs.
[0081] In this optional implementation, the conduction probability model is trained using the conduction features after feature processing of the conduction samples, so that the reliability of the prediction results of the trained conduction probability model can be ensured.
[0082] In some optional implementations of the present embodiment, the above-mentioned conduction probability model is trained through the following steps: based on the relationship graph, a conduction sample pair is constructed using a sliding window; based on the sliding window, each conduction sample pair is annotated with a pseudo label; based on the relationship graph, the conduction edges of the labeled conduction sample pairs are feature processed to obtain conduction feature association pairs, and the conduction feature association pairs include: multiple conduction sample pairs with pseudo labels and conduction edge features corresponding to each conduction sample pair; based on the conduction feature association pairs, a pre-constructed conduction probability network is trained to obtain a trained conduction probability model.
[0083] In this optional implementation, the conduction sample pair is two samples having a risk conduction relationship, and the two samples are two entities having an associated relationship in the relationship graph.
[0084] In this optional implementation, the sliding window is a sliding time window. Since risk conduction has obvious time attributes, the sliding time window is used when constructing conduction sample pairs and annotating pseudo-labels for conduction sample pairs. This can effectively characterize the time characteristics of the conduction samples and improve the reliability of sample construction and annotation.
[0085] In this optional implementation, a sliding window is used to construct a conductive sample pair and pseudo-label the conductive sample pair, thereby improving the reliability of sample construction and labeling.
[0086] In some optional implementations of this embodiment, training a pre-constructed conduction probability network based on conduction feature association pairs includes: modifying the conduction feature association pairs; and training the pre-constructed conduction probability network based on the modified conduction feature association pairs.
[0087] In this optional implementation, correcting the conduction feature association pairs may include: correcting the conduction sample pairs in the conduction feature association pairs (for example, removing the conduction sample pairs that have no conduction relationship) and / or correcting the pseudo-labels of the conduction sample pairs (for example, based on a preset conduction sample and label correspondence relationship, updating the pseudo-label of the current conduction sample pair so that the updated label is consistent with the conduction sample and label correspondence relationship).
[0088] In this optional implementation, the conduction feature association pairs are corrected, which improves the reliability of obtaining the conduction feature association pairs and provides a reliable basis for training a reliable conduction probability model.
[0089] Figure 3 A process 300 of an embodiment of a method for training a conduction probability model according to the present disclosure is shown. The method for training a conduction probability model comprises the following steps:
[0090] Step 301, based on the relationship graph, a sliding window is used to construct a conduction sample pair.
[0091] In this embodiment, since risk conduction has obvious implementation properties, a conduction sample pair can be constructed in the form of a sliding window. The conduction sample pair is two samples with a risk conduction relationship, and the two samples are two entities with an associated relationship in the relationship graph.
[0092] like Figure 4 As shown, the sliding window includes: a starting period a and a conduction period b. A period of time is set as the starting period a, for example, the starting period a is a time period between one month and one quarter, and a period of time after the starting period a is set as the conduction period b, for example, the conduction period b is a time period between one quarter and half a year. The process of constructing a conduction sample pair is as follows: a fixed sliding window is selected, and a sample of the risk starting period a in the sliding window is selected as the risk starting point, and then the entity related to the sample is found as the end point according to the association relationship in the relationship map, and the starting point and the end point form a conduction sample pair. Next, the sliding window is slid backward for a period of time t, such as a time value between one month and one quarter, and then the conduction sample pairs are constructed in sequence. Multiple conduction samples can be arbitrarily selected from all the conduction sample pairs generated by sliding the sliding window multiple times as the final constructed conduction sample pairs.
[0093] In some optional implementations of the present embodiment, the above-mentioned construction of transmission sample pairs based on the relationship graph and the use of a sliding window includes: screening samples with risks occurring in the starting period as the starting node; determining the ending node related to the starting node in the transmission period based on the relationship graph; and taking the starting node and the ending node as the transmission sample pair.
[0094] Optionally, a sliding window may be used to set a time period, and samples with risks occurring in the starting period of the new sliding window may be selected as starting nodes; based on the relationship graph, an ending node related to the starting node in the conduction period of the new sliding window may be determined; and the starting node and the ending node may be used as a conduction sample pair.
[0095] In this optional implementation, the starting node is a node in the relationship graph, and the ending node is another node in the relationship graph. Based on the association relationship between multiple nodes in the relationship graph and the sliding window, two nodes with an association relationship and located in the starting period and the conduction period of the sliding window are selected as conduction sample pairs, thereby improving the reliability of the selection of conduction sample pairs.
[0096] Step 302: Pseudo-label each conduction sample pair based on the sliding window.
[0097] In this embodiment, it is impossible to accurately distinguish which risk causes the overdue between each object. Therefore, a pseudo-label of the conduction edge between objects is first constructed based on the sliding window. Since risk conduction has a lag, the date when risk conduction occurs at the end point of the sliding window must be within a period of time after the risk occurs at the starting point. This period of time can be called the incubation period. The incubation period can be specifically set according to the characteristics of the object. For example, the incubation period can be set between 1-6 months, but is not limited to this time period. If a risk occurs during this time period, the pseudo-label is 1, and if no risk occurs, the pseudo-label is recorded as 0.
[0098] Optionally, the conduction period of the sliding window can also be used as the incubation period to label the pseudo-label. In some optional implementations of this embodiment, the pseudo-label labeling for each conduction sample pair based on the sliding window includes: in response to the occurrence of risk in the conduction period of the terminating node, the pseudo-label label of the conducted risk is labeled for the terminating node.
[0099] Optionally, when the terminal node of the sliding window does not incur any risk during the conduction period, a pseudo label of non-conducted risk is annotated for the terminal node.
[0100] In this optional implementation, if a risk occurs at the termination node during the conduction period, a pseudo-label of the conducted risk is annotated for the termination node, providing a reliable basis for labeling samples.
[0101] Step 303: Based on the relationship graph, feature processing is performed on the conduction edges of the labeled conduction sample pairs to obtain conduction feature association pairs.
[0102] The conductive feature association pairs include: a plurality of conductive sample pairs with pseudo labels and conductive edge features corresponding to each conductive sample pair.
[0103] In this optional implementation, the conduction sample pair only represents that two objects have an association relationship, but cannot explain what kind of relationship the two objects in the conduction sample pair have. The conduction edge of the labeled conduction sample pair is feature processed to add conduction edge features (such as guarantee duration, guarantee amount, etc.) to the conduction sample pair, thereby ensuring the diversity of the forms of expression of the conduction feature association pairs.
[0104] Step 304, correcting the conductive feature association pair.
[0105] In this embodiment, a correspondence table of pre-set conduction edge features and labels of whether they cause risks can be used. The correspondence table user characterizes the correspondence between each conduction edge feature and the occurrence of risk. The above-mentioned modification of the conduction feature association pair includes: based on the correspondence, determining the risk label of the conduction feature association pair, comparing the determined risk label with the pseudo-label of the conduction feature association pair, and removing the conduction feature association in response to the determined risk label being different from the pseudo-label.
[0106] Optionally, the above-mentioned modification of the conduction feature association pair includes: determining the risk label of the conduction feature association pair based on the corresponding relationship, comparing the determined risk label with the pseudo label of the conduction feature association pair, and in response to the determined risk label being different from the pseudo label, modifying the pseudo label to the determined risk label.
[0107] In some optional implementations of the present embodiment, the above-mentioned correction of the conduction feature association pairs includes: comparing the pseudo-label of each conduction sample pair in the conduction feature association pairs with the pre-obtained probability prediction value to determine the difference between the two; performing outlier detection on the difference, and removing the conduction sample pairs with abnormal differences in the conduction feature association pairs to obtain corrected conduction feature association pairs; and using the probability prediction value as the label of the corrected conduction feature association pairs.
[0108] In this optional implementation, the probability prediction value is a value obtained by using a pre-trained binary classifier to perform binary classification on the conduction sample pairs of the conduction feature association pairs.
[0109] In this optional implementation, the pseudo-label is compared with the probability prediction value to obtain a modified conduction feature association pair, which provides a reliable way to obtain the modified conduction feature association pair.
[0110] In some optional implementations of the present embodiment, the probability prediction value is obtained by the following method: using a K-fold cross-validation algorithm, taking a part of the conduction sample pairs in the conduction feature association pairs as a training set, taking the conduction sample pairs other than the conduction sample pairs in the conduction feature association pairs as a prediction set, using the training set and the prediction set to train and predict the binary classifier, and obtaining the probability prediction value of the conduction feature association pair.
[0111] In this optional implementation, the K-fold cross-validation algorithm is used to tune the conduction probability model to find the hyperparameter value that optimizes the generalization performance of the conduction probability model, and the conduction probability model is retrained on the entire training set, and the performance of the conduction probability model is finally evaluated using an independent test set. The advantage of using K-fold cross-validation is that each sample point has only one chance to be included in the training set or test set during each iteration of the conduction probability model.
[0112] In this optional implementation, the K-fold cross-validation algorithm can be used first, and the k-1 (k>1) part of the conduction relationship pair is used as the training set, and the remaining part is used as the prediction set. The binary classifier is used for training and prediction. After k times of verification, the probability prediction value of the risk of occurrence of each conduction relationship pair is obtained. The pseudo-label of each conduction relationship pair is compared with its probability prediction value to obtain the difference between the two. The difference between the pseudo-label and the predicted probability is detected for outliers. When detecting outliers, for one-dimensional data, the three-sigma criterion can be used to detect abnormal data and mark the conduction relationship pairs with problems. For abnormal conduction relationship pairs, it is impossible to accurately and clearly give the correct label, so this type of conduction relationship pairs is eliminated as noise samples. The remaining conduction relationship pairs are labeled with the predicted probability value, representing the primary conduction probability of the conduction edge of the conduction relationship pair.
[0113] The Three Sigma criterion is also known as the Laida criterion. It first assumes that a set of test data contains only random errors, calculates and processes them to obtain the standard deviation, and determines an interval according to a certain probability. It is believed that any error exceeding this interval is not a random error but a gross error, and the data containing this error should be eliminated.
[0114] In this optional implementation, a K-fold cross-validation algorithm is used to correct the conduction feature association pairs, thereby improving the reliability of the conduction feature association pairs and the labels of the conduction feature association pairs, and further ensuring the reliability of the training of the conduction probability model.
[0115] In some optional implementations of the present embodiment, correcting the conduction feature association pair may further include: using the probability prediction value as a label of the corrected conduction feature association pair.
[0116] In this optional implementation, the probability prediction value is directly used as the label for modifying the positive conduction feature association pair, which provides a reliable implementation method for the pseudo-label correction of the conduction feature association pair.
[0117] Step 305: Based on the corrected conduction feature association pairs, the pre-constructed conduction probability network is trained to obtain a trained conduction probability model.
[0118] The conduction probability model is used to characterize the correspondence between the conduction relationship pairs, the conduction edge characteristics of the conduction relationship pairs and the primary conduction probability.
[0119] In this embodiment, the conduction probability model can be a model trained by automated modeling. Automated modeling is a fully automatic machine learning modeling method. Automated modeling can automatically construct features, select models and search for hyperparameters, and integrate models to achieve high precision, high performance, etc. The training process of the conduction probability model is as follows: first, the sample data corresponding to the corrected conduction feature association pairs are imported into the automated modeling platform. After the automated modeling platform completes the training of different models internally, the model is deployed and optimized to obtain the optimal conduction probability model.
[0120] The method for training a conduction probability model provided in this embodiment performs label annotation by means of a sliding window, corrects the conduction feature association pairs, ensures the reliability of samples, and improves the accuracy of the conduction probability model prediction.
[0121] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a risk prediction device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0122] like Figure 5 As shown, the risk prediction device 500 provided in this embodiment includes: an original determination unit 501, a graph construction unit 502, an initial determination unit 503, a multi-level determination unit 504, and a probability determination unit 505. Among them, the above-mentioned original determination unit 501 can be configured to determine the original risk probability of the object to be tested. The above-mentioned graph construction unit 502 can be configured to construct a relationship graph between the object to be tested and different associated objects. The above-mentioned initial determination unit 503 is configured to determine the primary conduction probability between any two directly associated objects in the association graph. The above-mentioned multi-level determination unit 504 is configured to determine the multi-level conduction probability of the object to be tested based on the primary conduction probability and the relationship graph. The above-mentioned probability determination unit 505 is configured to determine the target risk probability of the object to be tested based on the original risk probability and the multi-level conduction probability of the object to be tested.
[0123] In this embodiment, the specific processing of the original determination unit 501, the graph construction unit 502, the initial determination unit 503, the multi-level determination unit 504, and the probability determination unit 505 and the technical effects thereof can be referred to respectively. Figure 1 The relevant descriptions of step 101, step 102, step 103, step 104, and step 105 in the corresponding embodiments are not repeated here.
[0124] In some optional implementations of this embodiment, the multi-level determination unit 504 includes: an object detection subunit (not shown in the figure), a parallel calculation subunit (not shown in the figure), and a conduction determination subunit (not shown in the figure). The object detection subunit can be configured to detect whether there are multiple risk objects related to the object to be detected based on the relationship map, and the risk object is an object that has historically or currently occurred risks in the relationship map. The parallel calculation subunit can be configured to calculate the parallel conduction probability of the risk object based on the primary conduction probability in response to the presence of multiple risk objects. The parallel conduction probability is used to characterize the fusion of the primary conduction probabilities of multiple directly associated objects of the risk object. The conduction determination subunit can be configured to determine the multi-level conduction probability of the object to be detected based on the parallel conduction probability, the relationship map and the preset multi-level conduction rule.
[0125] In some optional implementations of this embodiment, the conduction determination subunit includes: a conduction detection module (not shown in the figure), and a calculation module (not shown in the figure). The conduction detection module can be configured to detect whether the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and the preset multi-stage conduction rule. The calculation module can be configured to calculate the multi-stage conduction probability of the object to be tested based on the parallel conduction probability in response to the object to be tested being multi-stage conducted.
[0126] In some optional implementations of this embodiment, the conduction detection module includes: a detection submodule (not shown in the figure), and a conduction submodule (not shown in the figure). The detection submodule can be configured to detect whether the parallel conduction probability satisfies the conduction stop condition. The conduction submodule can be configured to detect whether the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and the preset multi-stage conduction rule in response to the parallel conduction probability not satisfying the conduction stop condition.
[0127] In some optional implementations of this embodiment, the multi-level determination unit 504 further includes: a probability as a module (not shown in the figure). The probability as a module can be configured to respond to the parallel conduction probability satisfying the conduction stop condition, and when the risk object is directly related to the object to be tested, use the parallel conduction probability as the multi-level conduction probability of the object to be tested.
[0128] In some optional implementations of this embodiment, the initial determination unit 503 includes: an object determination module (not shown in the figure), a relationship determination module (not shown in the figure), an edge feature determination module (not shown in the figure), and an input module (not shown in the figure). The object determination module can be configured to determine all associated objects related to the object to be tested based on the relationship map. The relationship determination module can be configured to determine the conduction relationship pairs with direct associations based on all associated objects related to the object to be tested. The edge feature determination module can be configured to determine the conduction edge features of the conduction relationship pairs based on the relationship map. The input module can be configured to input the conduction relationship pairs and the conduction edge features into the pre-trained conduction probability model to obtain the primary conduction probability between the directly associated objects output by the conduction probability model; the conduction probability model is used to characterize the correspondence between the conduction relationship pairs, the conduction edge features of the conduction relationship pairs, and the primary conduction probability.
[0129] In some optional implementations of this embodiment, the conduction probability model is obtained by training using the following units: a sample construction unit (not shown in the figure), a labeling unit (not shown in the figure), a processing unit (not shown in the figure), and a training unit (not shown in the figure). The sample construction unit can be configured to construct a conduction sample pair based on a relationship graph. The labeling unit can be configured to label each conduction sample pair with a pseudo label. The processing unit can be configured to perform feature processing on the conduction edge of the labeled conduction sample pair based on the relationship graph to obtain a conduction feature association pair, and the conduction feature association pair includes: a plurality of conduction sample pairs with pseudo labels and conduction edge features corresponding to each conduction sample pair. The training unit can be configured to train a pre-constructed conduction probability network based on the conduction feature association pairs to obtain a trained conduction probability model.
[0130] In some optional implementations of this embodiment, the sample construction unit is further configured to construct conduction sample pairs based on the relationship graph using a sliding window; the labeling unit is further configured to perform pseudo-label labeling for each conduction sample pair based on the sliding window.
[0131] In some optional implementations of the present embodiment, the sliding window includes: a starting period and a conduction period; the sample construction unit includes: a screening module (not shown in the figure), a node determination module (not shown in the figure), and a sample as a module (not shown in the figure). Among them, the screening module can be configured to screen samples that have risks in the starting period as starting nodes. The node determination module can be configured to determine the end node related to the starting node in the conduction period based on the relationship graph. The sample as a module can be configured to use the starting node and the end node as a conduction sample pair. The labeling unit is further configured to: when a risk occurs at the end node during the conduction period, label the end node with a pseudo-label of the risk that has been conducted.
[0132] In some optional implementations of this embodiment, the training unit includes: a correction module (not shown in the figure) and a training module (not shown in the figure). The correction module can be configured to correct the conduction feature association pair. The training module can be configured to train the pre-constructed conduction probability network based on the corrected conduction feature association pair.
[0133] In some optional implementations of this embodiment, the correction module includes: a comparison submodule (not shown in the figure), and an abnormality detection submodule (not shown in the figure). The comparison submodule can be configured to compare the pseudo labels of each conduction sample pair in the conduction feature association pair with the pre-obtained probability prediction value to determine the difference between the two. The abnormality detection submodule can be configured to perform abnormal value detection on the difference, and remove the conduction sample pairs with abnormal differences in the conduction feature association pair to obtain the corrected conduction feature association pair.
[0134] In some optional implementations of the present embodiment, a probability prediction value can be obtained through a prediction unit (not shown in the figure): the above-mentioned prediction unit can be configured to use a part of the conduction sample pairs corresponding to the conduction feature association pairs as a training set, and use the conduction sample pairs corresponding to the conduction feature association pairs other than the part of the conduction sample pairs as a prediction set, and use the training set and the prediction set to train and predict the binary classifier to obtain a probability prediction value.
[0135] The correction module may be further configured to use the probability prediction value as a label of the corrected conduction feature association pair.
[0136] In some optional implementations of the present embodiment, the above-mentioned native determination unit 505 includes: a feature determination module (not shown in the figure), a splicing module (not shown in the figure), and a probability acquisition module (not shown in the figure). Among them, the above-mentioned feature determination module can be configured to determine the static features, dynamic features and behavioral features of the object to be tested. The above-mentioned splicing module can be configured to splice static features, dynamic features and behavioral features to obtain the target features of the object to be tested. The above-mentioned probability acquisition module can be configured to input the target features into a pre-trained source risk prediction model to obtain the native risk probability output by the source risk prediction model, and the source risk prediction model is used to characterize the correspondence between the target features and the native risk probability.
[0137] The risk prediction device provided by the embodiment of the present disclosure, first, the original determination unit 501 determines the original risk probability of the object to be tested; secondly, the map construction unit 502 constructs the relationship map between the object to be tested and different associated objects; thirdly, the initial determination unit 503 determines the primary transmission probability between any two directly associated objects in the relationship map; thirdly, the multi-level determination unit 504 determines the multi-level transmission probability of the object to be tested based on the primary transmission probability and the relationship map; finally, the probability determination unit 505 determines the target risk probability of the object to be tested based on the original risk probability and the multi-level transmission probability of the object to be tested. The present disclosure first predicts the original risk probability of the object to be tested, and by using the association relationship between multiple objects, predicts the multi-level transmission probability of the multi-level risk transmission between the object to be tested and each object, and finally combines the original risk probability with the multi-level transmission probability to predict the probability of the future occurrence of risk of the object to be tested, thereby improving the accuracy of risk prediction.
[0138] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0139] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0140] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0141] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0142] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0143] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as risk prediction methods. For example, in some embodiments, the risk prediction method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the risk prediction method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the risk prediction method in any other appropriate manner (e.g., by means of firmware).
[0144] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0145] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable risk prediction device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0146] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0148] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0149] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0150] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0151] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A risk prediction method, the method comprising: Determine the original risk probability of the object to be tested, wherein the original risk probability is calculated based on the target feature of the object to be tested, and the target feature is a feature that characterizes the essential attribute of the object to be tested; Constructing a relationship map between the object to be tested and different associated objects; Determining the primary conduction probability between any two directly associated objects in the relationship map; Detect multiple risk objects related to the object to be tested based on the relationship map, the risk object being an object that has historically or currently experienced risk in the relationship map; calculate the parallel conduction probability of the risk object based on the primary conduction probability, the parallel conduction probability being used to characterize the fusion of the primary conduction probabilities of the risk object and multiple directly associated objects of the risk object; in response to determining that the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and a preset multi-stage conduction rule, calculate the multi-stage conduction probability of the object to be tested based on the parallel conduction probability; Based on the original risk probability and the multi-level conduction probability of the object to be tested, a target risk probability of the object to be tested is determined.
2. The method according to claim 1, wherein: Determining that the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and a preset multi-stage conduction rule includes: detecting whether the parallel conduction probability satisfies a conduction stop condition; In response to the parallel conduction probability not satisfying the conduction stop condition, it is determined that the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and a preset multi-stage conduction rule.
3. The method according to claim 1, wherein: The calculating the multi-level conduction probability of the object to be tested based on the parallel conduction probability also includes: In response to the parallel conduction probability satisfying a conduction stop condition, when the risk object is directly related to the object to be measured, the parallel conduction probability is used as the multi-level conduction probability of the object to be measured.
4. The method according to claim 1, wherein: The determining of the primary conduction probability between any two directly associated objects in the relationship graph includes: Based on the relationship graph, determining all associated objects related to the object to be tested; Based on all associated objects related to the object to be tested, determining a conductive relationship pair having a direct associated relationship; Based on the relationship graph, determining the conduction edge features of the conduction relationship pair; The conduction relationship pair and the conduction edge feature are input into a pre-trained conduction probability model to obtain a primary conduction probability between directly related objects output by the conduction probability model; the conduction probability model is used to characterize the correspondence between the conduction relationship pair, the conduction edge feature of the conduction relationship pair and the primary conduction probability.
5. The method according to claim 4, wherein: The conduction probability model is trained by the following steps: Based on the relationship graph, conduction sample pairs are constructed; Pseudo-label each conduction sample pair; Based on the relationship graph, feature processing is performed on the conduction edges of the labeled conduction sample pairs to obtain conduction feature association pairs, wherein the conduction feature association pairs include: a plurality of conduction sample pairs with pseudo labels and conduction edge features corresponding to each conduction sample pair; Based on the conduction feature association pairs, a pre-constructed conduction probability network is trained to obtain a trained conduction probability model.
6. The method according to claim 5, wherein: The step of constructing a conductive sample pair based on the relationship graph includes: Based on the relationship map, constructing the conduction sample pairs using a sliding window; The pseudo-labeling of each conduction sample pair includes: Based on the sliding window, pseudo labels are annotated for each conduction sample pair.
7. The method according to claim 6, wherein: The sliding window includes: a starting period and a conduction period; based on the relationship map, the conduction sample pair is constructed using the sliding window, including: Select samples that have risk during the starting period as starting nodes; Based on the relationship map, determining an end node associated with the start node during the conduction period; Taking the starting node and the ending node as a conduction sample pair; Based on the sliding window, pseudo-labeling is performed for each conduction sample pair, including: In response to the occurrence of a risk at the termination node during the conduction period, a pseudo label of the conducted risk is marked for the termination node.
8. The method according to claim 5, wherein: The training of the pre-constructed conduction probability network based on the conduction feature association pair includes: Modifying the conductive feature association pair; The pre-constructed conduction probability network is trained based on the corrected conduction feature association pairs.
9. The method according to claim 8, wherein: The modifying of the conductive feature association pair comprises: Comparing the pseudo labels of each conduction sample pair in the conduction feature association pair with the pre-obtained probability prediction value to determine the difference between the two; An outlier detection is performed on the difference, and the conduction sample pairs with abnormal differences in the conduction feature association pairs are removed to obtain a corrected conduction feature association pair.
10. The method according to claim 9, wherein: The probability prediction value is obtained by: A part of the conduction sample pairs corresponding to the conduction feature association pairs is used as a training set, and the conduction sample pairs other than the part of the conduction sample pairs corresponding to the conduction feature association pairs are used as a prediction set, and the training set and the prediction set are used to train and predict the binary classifier to obtain the probability prediction value.
11. The method according to claim 9, wherein: The modifying of the conductive feature association pair further includes: The probability prediction value is used as a label of the modified conduction feature association pair.
12. The method according to any one of claims 1 to 11, wherein: Determining the original risk probability of the object to be tested includes: Determining static characteristics, dynamic characteristics and behavioral characteristics of the object to be tested; splicing the static features, the dynamic features and the behavioral features to obtain the target features of the object to be tested; The target feature is input into a pre-trained source risk prediction model to obtain the source risk probability output by the source risk prediction model, and the source risk prediction model is used to characterize the corresponding relationship between the target feature and the source risk probability.
13. A risk prediction device, comprising: An origin determination unit is configured to determine an origin risk probability of the object to be detected, wherein the origin risk probability is calculated based on a target feature of the object to be detected, wherein the target feature is a feature that characterizes an essential attribute of the object to be detected; A graph construction unit, configured to construct a relationship graph between the object to be tested and different associated objects; an initial determination unit, configured to determine a primary conduction probability between any two directly associated objects in the relationship map; A multi-level determination unit is configured to include: An object detection subunit is configured to detect a plurality of risk objects related to the object to be detected based on the relationship map, wherein the risk objects are objects in the relationship map that have historically or currently experienced risks; A parallel calculation subunit is configured to calculate a parallel conduction probability of the risk object based on the primary conduction probability, wherein the parallel conduction probability is used to characterize the fusion of primary conduction probabilities of multiple directly associated objects of the risk object; A conduction determination subunit is configured to include: A conduction detection module, configured to detect whether the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and a preset multi-stage conduction rule; A calculation module, configured to calculate the multi-stage conduction probability of the object to be tested based on the parallel conduction probability in response to the object to be tested being subjected to multi-stage conduction; The probability determination unit is configured to determine the target risk probability of the object to be detected based on the original risk probability and the multi-level conduction probability of the object to be detected.
14. The device according to claim 13, wherein: The conduction detection module comprises: a detection submodule, configured to detect whether the parallel conduction probability satisfies a conduction stop condition; The conduction submodule is configured to detect whether the object to be tested will be multi-stage conducted based on the parallel conduction probability, the relationship map and a preset multi-stage conduction rule in response to the parallel conduction probability not satisfying the conduction stop condition.
15. The device according to claim 13, wherein: The multi-level determination unit also includes: The probability module is configured to respond to the parallel conduction probability satisfying the conduction stop condition, and when the risk object is directly related to the object to be tested, use the parallel conduction probability as the multi-level conduction probability of the object to be tested.
16. The device according to claim 13, wherein: The initial determination unit comprises: An object determination module is configured to determine all associated objects related to the object to be detected based on the relationship map; A relationship determination module is configured to determine a conductive relationship pair having a direct association relationship based on all associated objects related to the object to be tested; An edge feature determination module is configured to determine a conductive edge feature of the conductive relationship pair based on the relationship graph; The input module is configured to input the conduction relationship pair and the conduction edge feature into a pre-trained conduction probability model to obtain the primary conduction probability between the directly associated objects output by the conduction probability model; the conduction probability model is used to characterize the correspondence between the conduction relationship pair, the conduction edge feature of the conduction relationship pair and the primary conduction probability.
17. The device according to claim 16, wherein: The conduction probability model is trained using the following units: The sample construction unit is configured to construct a conductive sample pair based on the relationship graph; A labeling unit, configured to label each conduction sample pair with a pseudo label; A processing unit is configured to perform feature processing on the conduction edges of the labeled conduction sample pairs based on the relationship graph to obtain conduction feature association pairs, wherein the conduction feature association pairs include: a plurality of conduction sample pairs with pseudo labels and conduction edge features corresponding to each conduction sample pair; The training unit is configured to train a pre-built conduction probability network based on the conduction feature association pairs to obtain a trained conduction probability model.
18. The device according to claim 17, wherein: The sample construction unit is further configured to construct the conduction sample pairs using a sliding window based on the relationship map; The labeling unit is further configured to label each conduction sample pair with a pseudo label based on the sliding window.
19. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 12.
20. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the method according to any one of claims 1 to 12.
21. A computer program product, comprising a computer program, which, when executed by a processor, implements the method of any one of claims 1 to 12.
