Industrial chain resistance capability and recovery capability evaluation method and model based on link prediction

By abstracting the industrial chain network diagram into a latent heterogeneous diagram, using path coding and semantic coding modules to extract hidden information, and performing context adjustment, the problem of insufficient information sharing in industrial chain assessment is solved, and the resistance and ability of the industrial chain are achieved. Quantitative assessment of recovery capabilities improves the accuracy and objectivity of assessment.

CN118586771APending Publication Date: 2024-09-03UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410739615.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

It is difficult to effectively assess the resistance and recovery capabilities of the industrial chain with existing technology, especially when there is a lack of trust and insufficient information sharing between enterprises, resulting in a lack of objectivity and accuracy in the assessment, and a large amount of type information in the industrial chain network is missing. It is difficult to fully describe the complex relationships between businesses.

Method used

Abstract the industrial chain network graph into a latent heterogeneous graph, use the path encoding module and semantic encoding module to extract hidden information, and perform differentiated processing through the context adjustment module. Finally, the link prediction task is completed in the integrity assessment module, and the computing industry Chain resistance and recovery scores.

Benefits of technology

Achieved a quantitative assessment of the resistance and recovery capabilities of the industrial chain, improved the objectivity and accuracy of the assessment, proved the effectiveness of the link prediction task in the implicit heterogeneous graph of the industrial chain, and verified the industrial chain through experiments Validity of integrity metrics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586771A
    Figure CN118586771A
Patent Text Reader

Abstract

The invention discloses an industrial chain resistance capability and recovery capability evaluation method based on link prediction, which comprises the following steps: abstracting an industrial chain network diagram into a hidden heterogeneous diagram, extracting hidden information by using a path coding module and a semantic coding module, inputting the extracted information into a context adjustment module for differentiated processing, and determining the resistance capability and recovery capability of an industrial chain. And finally, in an integrity evaluation module, completing a link prediction task, and calculating scores of the resistance capability and the recovery capability of the industrial chain. The invention further provides an industrial chain resistance and recovery capability evaluation model based on link prediction. The model comprises a path coding module, a semantic coding module, a context adjustment module and an integrity evaluation module. According to the method, link prediction experiment evaluation is carried out on a real industrial chain data set, compared with other common graph neural network methods, the method has better performance, and the effectiveness of the method in processing a link prediction task in a recessive heterogeneous graph is verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial chain evaluation, and in particular to a method and model for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction. Background Art

[0002] As an important part of the integrity of the industrial chain, the resistance and recovery capacity of the industrial chain reflect the degree of connection and coordination between the various links of the industrial chain. The resistance of the industrial chain mainly refers to the degree of resistance of the industrial chain to the impact of shock disturbances, that is, the degree of impact of shock disturbances on the industrial chain. The industrial chain with strong resistance is less affected by shock disturbances. The recovery capacity mainly refers to the ability of the industrial chain to quickly return to the operating state before the shock after suffering a shock disturbance, and even turn danger into opportunity to achieve chain upgrading. Combining the views of different scholars, the main body of the industrial chain is generally considered to be a number of related industries or related enterprises, which is a value-added process from raw materials to final products. However, this process is complex and interconnected, and is not only affected by internal factors of the enterprise, but also disturbed by external factors such as fluctuations in the global market, natural disasters, and political events. Therefore, evaluating the integrity of the industrial chain has become an indispensable link, aiming to ensure the smooth operation of the entire industrial chain, enhance the resilience of the industrial chain, reduce potential risks, and improve the response capabilities of enterprises.

[0003] As a complex system task, the assessment of industrial chain integrity is difficult to complete with a single indicator. Therefore, it is necessary to focus on the characterization of resistance and recovery in the integrity of the industrial chain. In order to achieve quantitative research on the two, we focus on the core of the industrial chain: the supply and demand relationship between different enterprises. The process of this relationship interaction includes logistics management, resource flow, and the delivery of products or services. It plays a key role in ensuring that products are delivered on time, reducing inventory costs, and improving customer satisfaction. At the same time, the establishment of supply and demand relationships is also a vulnerable link in the enterprise, which is easily affected by changes in the external environment. Establishing a stable supply and demand relationship can significantly enhance the ability of the industrial chain to resist external risks and operate smoothly.

[0004] Due to the lack of mutual trust, substantial competition, or protection of trade secrets between enterprises, they lack the motivation to disclose relevant information, which poses a huge challenge to evaluating the integrity of the entire industrial chain. In previous studies, practitioners and researchers mainly used the Delphi method, system analysis method, and interview method to improve the visibility of supply chain information. Related technologies, such as enterprises sending questionnaires, using intermediaries to perform monitoring, and deploying tracking technologies including RFID, can also improve the visibility of hidden information in the supply chain to a certain extent, but in actual evaluations, the experience and bias of practitioners and researchers will have a great impact on the accuracy of the evaluation, which makes the evaluation lack objectivity and sometimes cannot be repeated. At the same time, these methods always face a huge challenge, that is, they still require enterprises to share information, while the accuracy and completeness of the information cannot be guaranteed. Due to the lack of trust, it is entirely possible that suppliers will not disclose strategically significant relationships, operations, and environmental practices. Therefore, although the information obtained using the above techniques is useful, it has limited reference value. It is necessary to use machine learning methods to further infer hidden information. More and more fully automated, artificial intelligence-based statistical analysis techniques have been proposed, which replace empirical inference and are more neutral and objective.

[0005] In existing research, link prediction methods based on deep learning are used to infer hidden supplier-buyer relationships and mine possible buyer-seller relationships from the internal industrial chain data of enterprises. When the focus of industrial chain data mining extends from the enterprise itself to the external environment, the traditional single potential relationship is expanded to the mining of multiple potential relationships, and the data structure becomes more complex, especially in the graph structure data abstracted from the industrial chain network. A large number of node or edge types are complex heterogeneous information, forming a heterogeneous graph. In the real industrial chain scenario, this type of information is usually missing, uncertain or unavailable. The main reason for this situation is the lack of motivation for enterprises to share and disclose information. For example, in an industrial chain network composed of enterprises and products, the relationship between enterprises is not simply a matter of existence or non-existence, but has a more detailed description, such as supplier relationship, customer relationship, partner relationship, competitive relationship, etc. The relationship between enterprises and products may be a production relationship, a use relationship, a distribution relationship, etc., but these specific relationships are difficult to obtain completely and accurately, and can only be inferred and judged through limited information. Therefore, in such industrial chain scenarios, a method for evaluating the integrity of the industrial chain is needed. Summary of the invention

[0006] In view of the above problems in the above-mentioned prior art, the present invention provides an industrial chain resistance and recovery capability evaluation method and model based on link prediction. On the basis of abstracting the industrial chain network graph into an implicit heterogeneous graph, the path encoding module and the semantic encoding module are used to realize hidden information extraction, and then differentiated processing is performed through the context adjustment module. Finally, the link prediction task is completed in the integrity evaluation module, and the industrial chain resistance and recovery capability scores are calculated to realize the quantitative evaluation of the industrial chain resistance and recovery capability.

[0007] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0008] A method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction includes the following steps:

[0009] S10, abstracting the industrial chain network graph with missing type information into an industrial chain implicit heterogeneous graph;

[0010] S20, defining the embedding of each node in the implicit heterogeneous graph of the industrial chain as a combination of the node main embedding and the node semantic embedding, and extracting the given node main embedding of the previous layer through the semantic encoder to generate the corresponding node semantic embedding;

[0011] S30, using a path sampling method with a random walk strategy to generate a set of paths for each node in the implicit heterogeneous graph of the industrial chain, using a path encoder to encode each path according to the node semantic embedding of each node in the path, and generating a path semantic embedding;

[0012] S40, using the context regulator to use the obtained path semantic embedding as the basis for distinguishing different heterogeneous context information, performing differential processing on the information of each context node related to the target node, and summarizing and aggregating to generate a node master embedding containing context information for each node;

[0013] S50. Use the encoder to generate paired semantic embeddings for the given two candidate nodes, and perform the link prediction task together with the obtained node main embedding containing context information, output the industrial chain resistance ability score and the industrial chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industrial chain.

[0014] Specifically, the implicit heterogeneous graph G of the industrial chain in step S10 is expressed as G=(V,E), wherein V represents a node set, E represents a link set, the missing node type set is expressed as A, the missing link type set is expressed as R, the missing node type mapping function is expressed as φ:V→A, and the missing link type mapping function is expressed as Ψ:E→R.

[0015] Specifically, the embedding of node v in step S20 is defined as the node primary embedding h vand node semantic embeddings v When processing the lth layer, the main embedding of the node in the given previous layer is expressed as The generated node semantic embedding is represented as

[0016] For each node v, the semantic encoder f s Extracting node semantic embedding from its node primary embedding Expressed as And the node semantic embedding is concretized into a fully connected layer, expressed as in and is the parameter of the semantic encoder, that is LeakyReLU is a nonlinear activation function.

[0017] Specifically, the process of using the path sampling method of the random walk strategy in step S30 to generate a set of paths for each node in the implicit heterogeneous graph of the industrial chain is as follows:

[0018] Preset the number of paths N in each group and the length L of each path max , a set of paths obtained by path sampling is represented as {p 1 ,…,p N}, and then truncate each sampling path to a specified length L≤L max , to obtain paths of different lengths in order to capture different ranges of latent semantics.

[0019] 5. According to the link prediction-based industrial chain resistance and recovery capability assessment method of claim 4, it is characterized in that in step S30, a path encoder is used to encode each path according to the node semantic embedding of each node in the path, and the process of generating the path semantic embedding is:

[0020] Let P v represents a set of sampling paths starting from the target node v. If there is a path p i ∈P v , so that p i Taking node u as the end point, node u is the context node of node v;

[0021] At layer l, the path encoder f is used p According to each node v in the path j Node semantic embedding For each path p i Embedded into path semantic embedding In, it is expressed as where v j Belongs to path p i .

[0022] Specifically, in step S40, the context regulator is used to embed the obtained path semantics as the basis for distinguishing different heterogeneous context information, and the process of performing differential processing on the information of each context node related to the target node is as follows:

[0023] In the lth layer, a learnable transformation function is used to transform the original information of node u Processed as differential information conditioned on the path p between node u and node v The transformation function is implemented using a layer of feature linear modulation, expressed as:

[0024]

[0025] Among them, 1 is a vector of ones, used to center the scaling around 1, and ⊙ represents element-by-element multiplication; is a scaling vector, is a shift vector, both of which are learnable and specific to path p; and is a learnable parameter, PReLU(·) is an activation function with learnable parameters, is the path semantic embedding; the parameters of the transformation function in the lth layer can be attributed to the parameters of the fully connected layer, that is,

[0026] Specifically, the process of summarizing and aggregating to generate the node main embedding containing context information of each node in step S40 is as follows:

[0027] Using the multi-head attention mechanism, each attention head embeds the node main embedding of the target node v As query, the differentiated context embedding As key-value pairs, and perform weighted aggregation on them, the outputs of multiple attention heads are integrated and summarized to generate the aggregated context embedding of the target node v As the output of the current layer, it is expressed as in, is the node master embedding of the target node v at layer l-1, is the differentiation information conditioned on the path p between node u and node v;

[0028] According to the aggregated context embedding, the node main embedding of node v in layer l is obtained, which is expressed as in and is a learnable parameter.

[0029] Specifically, the process of using the encoder to generate paired semantic embeddings for two given candidate nodes in step S50 is:

[0030] Given two candidate nodes a and b, their respective node semantic embeddings are s a and b , the paired semantic embedding generated by the encoder is represented as in, It is represented as the embedding of the hidden relationship between node a and node b, where are all learnable parameters.

[0031] Specifically, in step S50, the process of performing the link prediction task and outputting the industry chain resistance ability score and the industry chain recovery ability score is as follows:

[0032] The task loss L_task, regularization term L_Penalty and optimization target Loss in the link prediction task are expressed as:

[0033]

[0034] Loss=L_task+L_Penalty

[0035] Where d(x,y)=||h x +s x,y -h y ||2 is the Euclidean norm of the translation error, (a, b, c) is a triplet, which is composed of randomly sampling negative nodes c in the implicit heterogeneous graph of the industrial chain for each edge (a, b) ∈ E, T is the set of all positive sample links in the training set, d(a, b) represents the score of the predicted link between entities a and b, and d(a, c) represents the score of the link between entities a and c. The final task loss is obtained by calculating the average value of max(·) on all positive sample links; L is the total number of layers, P is the set of all sampled paths, and They correspond to the scaling vector and offset vector of path p on layer l respectively;

[0036] The industry chain resistance score is expressed as:

[0037]

[0038] Among them, C = (Z, R) represents the node relationship set in the industrial chain network data, Z = {z1, z2, …, z n} represents a node set, R = {r1, r2, …, r m} represents the set of link relationships between nodes, A(C)=[z i,j ] n×n represents the relationship matrix, Describes the existence or nonexistence of a relationship;

[0039] The industry chain resilience score is expressed as:

[0040]

[0041] Among them, |R| and |R'| represent the number of known existing relationships and the number of possible hidden relationships in the industrial chain, respectively. R'={r m+1 ,r m+2 ,…,r m+k}.

[0042] Furthermore, the present invention also provides an industrial chain resistance and recovery capability assessment model based on link prediction, including a path encoding module, a semantic encoding module, a context adjustment module and an integrity assessment module, wherein:

[0043] The path encoding module is used to extract the paths of nodes in the implicit heterogeneous graph of the industrial chain, and use a path encoder to encode each path according to the node semantic embedding of each node in the path;

[0044] The semantic encoding module is used to extract and generate corresponding node semantic embeddings from the node main embeddings of the previous layer in the implicit heterogeneous graph of the industrial chain using a semantic encoder, and generate path semantic embeddings after path encoding;

[0045] The context adjustment module is used to use the context adjuster to use the path semantic embedding as the basis for distinguishing different heterogeneous context information, perform differential processing on the information of each context node related to the target node, and summarize and aggregate to generate a node master embedding containing context information for each node;

[0046] The integrity assessment module is used to use an encoder to generate paired semantic embeddings for two given candidate nodes, and perform link prediction tasks together with the obtained node main embedding containing context information, output the industry chain resistance ability score and the industry chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industry chain.

[0047] Compared with the prior art, the present invention has the following beneficial effects:

[0048] In view of the situation where a large amount of type information is missing in the industrial chain scenario, the present invention uses a path encoding module and a semantic encoding module to extract hidden information based on the abstraction of the industrial chain network diagram into an implicit heterogeneous graph, and then performs differentiated processing through the context adjustment module to realize the mining of hidden relationships. Finally, the link prediction task is completed in the integrity assessment module, and the industrial chain resistance and recovery scores are calculated to achieve a quantitative assessment of the industrial chain resistance and recovery. In view of the actual scenario of industrial chain integrity assessment, we defined the industrial chain recovery capability metric and the industrial chain resistance capability metric, which together constitute the industrial chain integrity metric. The link prediction experimental evaluation was carried out on a real industrial chain data set and compared with other commonly used graph neural network methods. The results show that the present invention has achieved performance superior to other methods, verifying its effectiveness in processing link prediction tasks in implicit heterogeneous graphs, and through correlation analysis, the effectiveness of the industrial chain integrity metric is proved. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a schematic diagram of the overall process framework of an embodiment of the present invention.

[0050] Figure 2 It is a schematic diagram of the implicit heterogeneous graph of the industrial chain in the embodiment of the present invention.

[0051] Figure 3 Schematic diagram of a traditional heterogeneous graph. DETAILED DESCRIPTION

[0052] The present invention is further described below in conjunction with the accompanying drawings and examples. The embodiments of the present invention include but are not limited to the following examples.

[0053] Example

[0054] like Figures 1 to 3 As shown, the industry chain resistance and recovery capability assessment model based on link prediction includes a path encoding module, a semantic encoding module, a context adjustment module and an integrity assessment module, wherein:

[0055] The path encoding module is used to extract the paths of nodes in the implicit heterogeneous graph of the industrial chain, and use a path encoder to encode each path according to the node semantic embedding of each node in the path;

[0056] The semantic encoding module is used to extract and generate corresponding node semantic embeddings from the node main embeddings of the previous layer in the implicit heterogeneous graph of the industrial chain using a semantic encoder, and generate path semantic embeddings after path encoding;

[0057] The context adjustment module is used to use the context adjuster to use the path semantic embedding as the basis for distinguishing different heterogeneous context information, perform differential processing on the information of each context node related to the target node, and summarize and aggregate to generate a node master embedding containing context information for each node;

[0058] The integrity assessment module is used to use an encoder to generate paired semantic embeddings for two given candidate nodes, and perform link prediction tasks together with the obtained node main embedding containing context information, output the industry chain resistance ability score and the industry chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industry chain.

[0059] The present invention defines an industrial chain recovery capability metric and an industrial chain resistance capability metric for actual scenarios of industrial chain integrity assessment, which together constitute an industrial chain integrity metric.

[0060] About Recessive heterogeneous graph: A heterogeneous graph is a data structure consisting of a node set V and a link set E, expressed as G = (V, E). It is associated with a node type mapping function φ: V→A and a link type mapping function Ψ: E→R. The node type mapping function φ maps each node in the graph to a type in a predefined node type set A, and the link type mapping function Ψ maps each edge in the graph to a type in a predefined edge type set R. For example, we can build a heterogeneous graph to model an industrial chain. It consists of multiple types of objects (such as supplier S, customer C, product P) and relationships (such as the production relationship between suppliers and products, the usage relationship between customers and products, etc.).

[0061] For industrial chain data, where a large number of enterprise types and relationships are missing, that is, the types of node and link sets in the heterogeneous graph are missing, the present invention defines such a heterogeneous graph as an implicit heterogeneous graph. That is, for G = (V, E), there are missing node type sets A and link type sets R, as well as missing mapping relationships φ: V→A and Ψ: E→R. An extreme case is that the known node type set A and link type set R are both empty sets, and the observed G' = (V, E) is actually an isomorphic graph.

[0062] Industry chain resilience measurement (Resistance): In an industry chain, the industry chain resistance measurement is specifically the number of connections between an enterprise and other enterprises. The stronger the resistance, the more connections an enterprise has. In this invention, the industry chain resistance is defined as:

[0063]

[0064] Among them, C = (Z, R) represents the node relationship set in the industrial chain network data, Z = {z1, z2, …, z n} represents a node set, R = {r1, r2, …, r m} represents the set of link relationships between nodes. In addition, A(C)=[z i,j ] n×n represents the relationship matrix, Describes the existence of a relationship.

[0065] Resilience measurement of industrial chain: For an industrial chain C = (Z, R), there is a set of hidden relationships between nodes in the industrial chain R' = {r m+1 ,r m+2 ,…,r m+k}, then the industry chain resilience measurement is defined as:

[0066]

[0067] Among them, |R| and |R'| represent the number of known existing relationships and the number of possible hidden relationships in the industrial chain respectively.

[0068] Optimization goals

[0069] In order to measure the performance of the model in predicting the hidden relations between entities in the industrial chain, we define the task loss as:

[0070]

[0071] Where d(x,y)=||h x +s x,y -h y ||2 is the Euclidean norm of the translation error, (a, b, c) is a triplet composed of randomly sampling negative nodes c in the implicit heterogeneous graph of the industrial chain for each edge (a, b) ∈ E, T is the set of all positive sample links in the training set, d(a, b) represents the score of the link between entities a and b predicted by the model, and d(a, c) represents the score of the link between entities a and c. The final task loss is obtained by calculating the average of max(·) over all positive sample links, which encourages the model to distinguish between entity pairs with hidden relationships and randomly selected entity pairs.

[0072] In addition, in order to better utilize path-related features, promote the model to obtain more generalized and robust feature representation, and prevent overfitting caused by arbitrary changes in scaling and offset vectors in the context adjustment module, the present invention also designs a regularization term based on path semantic embedding:

[0073]

[0074] Where L is the total number of layers and P is the set of all sampled paths. and They correspond to the scaling vector and offset vector of path p on layer l respectively.

[0075] The final optimization goal is defined as:

[0076] Loss=L_task+L_Penalty…………(6).

[0077] Conventional heterogeneous graphs are usually composed of three types of nodes, such as suppliers, customers, and products. Different meta-paths can capture different semantics between enterprises: supplier-product-supplier represents directly cooperating suppliers, supplier-product-customer-product-supplier represents hidden competitive relationships between suppliers, etc. However, in the implicit heterogeneous network of the industrial chain, except for a few known node types, the remaining node types are uncertain, so no meta-path can be defined or used. Therefore, the path encoder is used in the present invention to fuse the node semantic embeddings related to the path into path embeddings. Path semantic embedding is used to replace the role of meta-path in heterogeneous graphs to capture the hidden heterogeneous semantics between nodes.

[0078] In the path encoding module, in order to better balance the computational complexity and efficiency, the present invention uses a more efficient path sampling method. First, from each target node Kashi, a set of paths is generated using a random walk strategy. The number of paths in each set and the length of each path are pre-set, for example, the number is N and the length is L. max For the target node v, the set of sampled paths can be expressed as {p 1 ,…,p 5 Next, in order to obtain paths of different lengths, each sampled path is truncated to a specified length L ≤ L max , in order to capture different ranges of latent semantics. These paths of different lengths can be viewed as instances of different hidden meta-segments.

[0079] Then, use the path encoder to encode each path p i Encode to generate path semantic embedding Let P v represents a set of sampled paths starting from the target node v. If there is a path p i ∈P v , so that p i Taking node u as the end point, node u is called the context node of node v, or simply the context of v. For example, given the path set Then the context of v0 is v1, v2, v4, and v7, which have different semantics for v0.

[0080] At layer l, the path encoder f is used p According to each node v in the path j Node semantic embedding For each path p i Embedded into path semantic embedding Path semantic embedding is defined as follows:

[0081]

[0082] Among them, v j Belongs to path p i . It is the node semantic embedding, which is extracted and generated in the semantic encoding module. p This is achieved by calculating the average of the semantic embeddings of the nodes in the path to obtain a path-level semantic representation.

[0083] In the semantic encoding module, we mainly focus on the embedding of nodes. The embedding of each node v in the implicit heterogeneous network of the industrial chain is regarded as a combination of two key components: the main embedding h of the node and v and node semantic embeddings v . The goal of the node main embedding is to capture the overall content and structural information of the node, which includes the specific topics and preferences involved in the node. As a supplement to the node main embedding, the node semantic embedding aims to capture the hidden semantic information related to each potential node type, such as the node type and its association with potential single-hop or multi-hop relationships. In order to explore this hidden semantic information more deeply, a semantic encoder is introduced here.

[0084] When processing the lth layer, given the main embedding of the nodes in the previous layer Generate corresponding node semantic embedding through semantic encoder For each node v, the semantic encoder f s Extracting node semantic embedding from its node primary embedding Expressed as Although the function It can take many forms, but it only needs to be concretized as a fully connected layer, and the node semantic embedding is defined as follows:

[0085]

[0086] in, and is the parameter of the semantic encoder, i.e. Since node semantic embedding simply extracts the hidden semantic information from the node main embedding, it requires much fewer dimensions, i.e.

[0087] In order to obtain the final node embedding of the target node, the context of the target node needs to be aggregated. For example, the context of node v0 includes 1 ,…,p 5 {v1,v2,v4,v7}, their information is aggregated to generate the main embedding of node v0. Before aggregating the context of the target node, the context information of the target node needs to be differentiated first, because the context of the target node usually contains information from different semantic fields.

[0088] The present invention designs a context adjustment module for this purpose, using a context adjuster to use the path semantic embedding obtained above as the basis for distinguishing different heterogeneous context information. In each layer, the information of each context node is differentiated according to the path semantic embedding between the target node and the context node. This differentiation process helps to preserve the hidden semantic differences, which is called context adjustment.

[0089] Finally, the differentiated context information is aggregated to generate the node master embedding of the target node, which is the output of the current layer. This ensures that the hidden semantic information is better preserved when aggregating the context information, thereby improving the quality of the master embedding. In the process of context adjustment, the target node v, the context nodes u, and the connection paths p between them need to be considered. These connection paths are used to distinguish the semantic relationships between different context nodes.

[0090] Specifically, at layer l, a learnable transformation function is used to transform the original information of node u (i.e., the main embedding of the node in the previous layer) is processed into differentiated information conditioned on the path p between node u and node v The transformation function is implemented using a layer of feature linear modulation, which allows for arbitrary input (e.g. ) under the condition that the message (for example, ) for differentiated processing. The specific implementation is:

[0091]

[0092] Where 1 is a vector of ones used to center the scaling around 1, and ⊙ represents element-wise multiplication. is a scaling vector, is a shift vector, both of which are learnable and specific to path p. and is a learnable parameter, PReLU(·) is an activation function with learnable parameters, is the path semantic embedding. Note that the parameters of the transformation function in layer l can be reduced to the parameters of the fully connected layer, that is,

[0093] When aggregating the context of the target node, in order to better distinguish and utilize the semantic information under different path conditions, the present invention uses a multi-head attention mechanism. Each attention head embeds the node main embedding of the target node v As query, the differentiated context embedding As key-value pairs, and perform weighted aggregation on them. The outputs of multiple attention heads are integrated and summarized to generate the aggregated context embedding of the target node v As the output of the current layer. This approach ensures better utilization of path semantic information when aggregating context information to improve the quality of the main embedding. The specific definition is:

[0094]

[0095] in, is the primary embedding of the target node v at layer l-1, is the differentiation information conditioned on the path p between node u and node v.

[0096] Finally, according to the aggregated context embedding, the node main embedding of node v in the lth layer is obtained:

[0097]

[0098] in, and is a learnable parameter.

[0099] In the integrity assessment module, the aggregated information containing different semantics obtained from the previous modules is used to perform the final link prediction task to achieve the integrity assessment of the implicit heterogeneous graph of the industrial chain.

[0100] For the link prediction task, in order to capture the hidden relationship between two candidate nodes, an encoder is introduced here. Given two candidate nodes, represented by node a and node b, their respective semantic embeddings are s a 、s b , the encoder generates paired semantic embeddings:

[0101]

[0102] in, It is represented as the embedding of the hidden relationship between node a and node b, where are all learnable parameters. Here, d h and d S Represent the dimensions of the main embedding and semantic embedding of the last layer respectively. It should be noted that d h and dS The dimensions of are the same as those of the node representations, and they are used as a transformation of information between node a and node b in the loss function.

[0103] The algorithm process of implementing the above-mentioned link prediction-based industrial chain resistance and recovery capability assessment model is as follows:

[0104] Input: G' = (V, E)

[0105] Output: Final embedding vector Completeness Assessment Score

[0106] 1. / *Path encoding and semantic encoding* /

[0107] 2.for v i inV:

[0108] 3. ←Node Main Embed

[0109] 4. ← Random Sampling

[0110] 5. ←Node semantic embedding

[0111] 6. ←Path semantic embedding

[0112] 7. / *Context Adjustment* /

[0113] 8.for v i The context u i in V:

[0114] 9. Differentiation processing (Equation (9) (10) (11))

[0115] 10.for v i inV:

[0116] 11. ←Multi-head attention mechanism context information aggregation (Formula (12))

[0117] 12. ← Node main embedding containing context information (Equation (13))

[0118] 13.s a,b ← Pairwise semantic embedding (Formula (14))

[0119] 14. / *Parameter update* /

[0120] 15.for epoch in range(epoches):

[0121] 16.loss←Calculate loss (Formula (4)(5)(6)(9)(10)(11))

[0122] 17. Model parameter update

[0123] 18. / *Completeness Assessment Score Calculation* /

[0124] 19. Relationship prediction ← optimal model

[0125] 20. Resistance ← Calculate the resistance score of the industrial chain

[0126]

[0127] 21. Resilience←Calculate the resilience score of the industry chain

[0128]

[0129] Furthermore, the link prediction-based industry chain resistance and recovery capability assessment method using the above model includes the following steps:

[0130] S10, abstracting the industrial chain network graph with missing type information into an industrial chain implicit heterogeneous graph;

[0131] S20, defining the embedding of each node in the implicit heterogeneous graph of the industrial chain as a combination of the node main embedding and the node semantic embedding, and extracting the given node main embedding of the previous layer through the semantic encoder to generate the corresponding node semantic embedding;

[0132] S30, using a path sampling method with a random walk strategy to generate a set of paths for each node in the implicit heterogeneous graph of the industrial chain, using a path encoder to encode each path according to the node semantic embedding of each node in the path, and generating a path semantic embedding;

[0133] S40, using the context regulator to use the obtained path semantic embedding as the basis for distinguishing different heterogeneous context information, performing differential processing on the information of each context node related to the target node, and summarizing and aggregating to generate a node master embedding containing context information for each node;

[0134] S50. Use the encoder to generate paired semantic embeddings for the given two candidate nodes, and perform the link prediction task together with the obtained node main embedding containing context information, output the industrial chain resistance ability score and the industrial chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industrial chain.

[0135] For the above models and methods, experiments are conducted on a real-world industrial chain dataset, and compared with other existing advanced methods and the experimental results are analyzed.

[0136] The data set used in the experiment is the "IC Industry Chain Dataset", which covers the real financial data of 1,732 listed companies in China from 2018 to 2023 and 430 upstream and downstream product data compiled, totaling more than 40,000 data items. Table 1 shows the scale of the IC industry chain data. Among them, the financial data includes 18 financial-related indicators, which reflect the financial and operating conditions of these listed companies. The data collection and collation adopts a variety of methods. The financial data mainly comes from the RESSET financial research database, which is obtained through manual query and website download. Some financial indicator data are supplemented and improved by the Wind database and Tianyancha to ensure the comprehensiveness and accuracy of the data.

[0137]

[0138] Table 1 Data scale of integrated circuit industry chain

[0139] In addition, for each listed company, the data set also includes a timestamp data, a corporate risk score data, and two corporate investment relationship data. The corporate risk score data mainly comes from the Wind database, which conducts a detailed assessment of the corporate operating risk at the current timestamp. These risk scores can reflect the company's competitive position in the market, financial stability, and future development potential. The two corporate investment relationship data mainly involve the number of investors and the number of outbound investments of the company. These data provide an important reference for in-depth mining of hidden competition or partnership information. The number of investors can reflect the company's financing capabilities and investor confidence, while the number of outbound investments can show the company's strategic expansion and industrial layout.

[0140] In addition, the upstream and downstream product data is an integrated circuit industry chain graph structure formed by combining upstream and downstream connection relationships. It intuitively reflects the complete appearance and internal mechanism of the industrial chain and is the main framework of this integrated circuit industry chain data set.

[0141] Experimental setup: This paper uses the evaluation indicators commonly used in link prediction tasks to evaluate the performance of the model, including Accuracy, Auprc, Auroc and F1 score. Each method of the experiment was adjusted to the optimal parameter settings on our data set, and each training was more than 200 rounds. At the same time, each method was trained 5 times independently, and the average value of the evaluation indicators was used as the final evaluation result of the model. The learning rate of the industrial chain resistance and recovery capacity evaluation model based on link prediction in the present invention, referred to as the ICRR-LP model, is set to 0.005, the weight decay coefficient is 0.0001, and the data set is divided into training set, validation set, and test set according to 8:1:1 to obtain the best experimental results. All training and verification processes of the above experiments were completed through a server cluster and a personal computer. The configuration of the personal computer is: GPU: NVIDIA Ge ForceRTX 4060Ti, video memory 16GB, memory 16GB, CPU: Intel(R)Core(TM)i5-13600KF 3.50GHz; the configuration of the server cluster is: GPU: NVIDIA Ge Force RTX 3090, video memory 24GB, memory 32GB, CPU: Intel(R)Xeon(R)E5-2680V4@3.3GHz.

[0142] Comparison method: In order to make a comprehensive comparison, the experiment uses five other advanced link prediction neural network models for comparison, namely: 1. GraphSAGE (Graph Sample and Aggregated), 2. GIN (GraphIsomorphism Network), 3. GAT (Graph Attention Network), 4. DGI (Deep GraphInfomax), 5. SGC (Simplified Graph Convolutional Network).

[0143] Among them, GraphSAGE is a graph neural network method for node classification and link prediction. It learns the representation of nodes by sampling and aggregating the features of neighboring nodes.

[0144] GIN is a graph neural network with graph isomorphism properties, which can maintain the invariance of node arrangement.

[0145] GAT is a graph neural network that allows nodes to dynamically pay attention to their neighbor nodes.

[0146] DGI is a self-supervised learning method that learns node embeddings through contextual information on the graph.

[0147] SGC is a simplified graph convolutional network that folds multiple layers of GCN into one layer to improve computational efficiency.

[0148]

[0149] Table 2 Objective index evaluation results

[0150] Experimental results: As shown in Table 2, the Accuracy, Auprc, Auroc, and F1score results of the six methods in the link prediction experiment.

[0151] By comparison, it can be found that the ICRR-LP proposed in the present invention is higher than other methods in all indicators, indicating that the model and method of the present invention can still mine hidden relationship dependencies through semantic extraction when facing data such as implicit heterogeneous graphs of industrial chains with a large amount of missing information. Among them, the model and method of the present invention are 60.64%, 52.68%, 43.21% and 75.96% higher than GIN, which has the second best comprehensive performance, in terms of Accuracy, Auprc, Auroc and F1 score. In addition, SGC obtained the lowest score in the evaluation of the three indicators. This may be because SGC only extracts node representations through one convolution operation, ignoring the high-order information between nodes, and is almost ineffective when facing complex industrial chain data. It is worth noting that, except for the present invention, the evaluation index results of other methods are relatively low. This is because most graph neural network methods usually require labels containing edges, and they rely on neighbor relationships between nodes to achieve information transmission and learning.

[0152] Integrity assessment not only focuses on the accuracy of model prediction, but also involves the model's ability to mine hidden information in the data and its understanding of the overall industrial chain structure. Especially in complex networks such as the integrated circuit industry chain, being able to effectively identify and predict hidden link relationships is of great significance for the resistance and resilience assessment of the industry chain. Table 3 shows the evaluation index results of the integrated circuit industry chain data by the six methods. Since the same industrial chain data set is used in the evaluation, according to the definition of the industrial chain resistance index, the resistance index calculated before the link prediction task is 0.01256. After link prediction, the resistance index of the ICRR-LP method of the present invention increases by 0.57358, indicating that the model proposed in the present invention can mine the hidden information of the industrial chain to the greatest extent, thereby improving the resistance of the industrial chain. According to the definition of the industrial chain resilience index, the smaller the resilience index, the more possible relationships there are in the industrial chain, reflecting the stronger the model's ability to mine industrial chain data. The results of the six methods on the same industrial chain data set show that the ICRR-LP method of the present invention obtains the lowest resilience value, indicating that the performance of the model link prediction is the best.

[0153]

[0154] Table 3 Integrity assessment results

[0155] The above embodiments are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any changes made by adopting the design principles of the present invention and performing non-creative work on this basis should fall within the protection scope of the present invention.

Claims

1. A method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction, characterized in that: The following steps are involved: S10, abstracting the industrial chain network graph with missing type information into an industrial chain implicit heterogeneous graph; S20, defining the embedding of each node in the implicit heterogeneous graph of the industrial chain as a combination of the node main embedding and the node semantic embedding, and extracting the given node main embedding of the previous layer through the semantic encoder to generate the corresponding node semantic embedding; S30, using a path sampling method with a random walk strategy to generate a set of paths for each node in the implicit heterogeneous graph of the industrial chain, using a path encoder to encode each path according to the node semantic embedding of each node in the path, and generating a path semantic embedding; S40, using the context regulator to use the obtained path semantic embedding as the basis for distinguishing different heterogeneous context information, performing differential processing on the information of each context node related to the target node, and summarizing and aggregating to generate a node master embedding containing context information for each node; S50. Use the encoder to generate paired semantic embeddings for the given two candidate nodes, and perform the link prediction task together with the obtained node main embedding containing context information, output the industrial chain resistance ability score and the industrial chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industrial chain.

2. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 1 is characterized in that: In the step S10, the implicit heterogeneous graph G of the industrial chain is expressed as G=(V,E), wherein V represents a node set, E represents a link set, the missing node type set is expressed as A, the missing link type set is expressed as R, the missing node type mapping function is expressed as φ:V→A, and the missing link type mapping function is expressed as Ψ:E→R.

3. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 2 is characterized in that: The embedding of node v in step S20 is defined as the node primary embedding h v and node semantic embeddings v When processing the lth layer, the main embedding of the node in the given previous layer is expressed as The generated node semantic embedding is represented as For each node v, the semantic encoder f s Extracting node semantic embedding from its node primary embedding Expressed as And the node semantic embedding is concretized into a fully connected layer, expressed as in and is the parameter of the semantic encoder, that is LeakyReLU is a nonlinear activation function.

4. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 3 is characterized in that: The process of using the path sampling method of the random walk strategy in step S30 to generate a set of paths for each node in the implicit heterogeneous graph of the industrial chain is as follows: Preset the number of paths N in each group and the length L of each path max , a set of paths obtained by path sampling is represented as {p 1 ,…,p N }, and then truncate each sampling path to a specified length L≤L max , to obtain paths of different lengths in order to capture different ranges of latent semantics.

5. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 4 is characterized in that: In step S30, a path encoder is used to encode each path according to the node semantic embedding of each node in the path. The process of generating the path semantic embedding is as follows: Let P v represents a set of sampling paths starting from the target node v. If there is a path p i ∈P v , so that p i Taking node u as the end point, node u is the context node of node v; At layer l, the path encoder f is used p According to each node v in the path j Node semantic embedding For each path p i Embedded into path semantic embedding In, it is expressed as where v j Belongs to path p i .

6. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 5 is characterized in that: In step S40, the context regulator is used to embed the obtained path semantics as the basis for distinguishing different heterogeneous context information, and the process of performing differential processing on the information of each context node related to the target node is as follows: In the lth layer, a learnable transformation function is used to transform the original information of node u Processed as differential information conditioned on the path p between node u and node v The transformation function is implemented using a layer of feature linear modulation, expressed as: Among them, 1 is a vector of ones, used to center the scaling around 1, and ⊙ represents element-by-element multiplication; is a scaling vector, is a shift vector, both of which are learnable and specific to path p; and is a learnable parameter, PReLU(·) is an activation function with learnable parameters, is the path semantic embedding; the parameters of the transformation function in the lth layer can be attributed to the parameters of the fully connected layer, that is, 7. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 6 is characterized in that: The process of summarizing and aggregating to generate the node main embedding containing context information for each node in step S40 is as follows: Using the multi-head attention mechanism, each attention head embeds the node main embedding of the target node v As query, the differentiated context embedding As key-value pairs, and perform weighted aggregation on them, the outputs of multiple attention heads are integrated and summarized to generate the aggregated context embedding of the target node v As the output of the current layer, it is expressed as in, is the node master embedding of the target node v at layer l-1, is the differentiation information conditioned on the path p between node u and node v; According to the aggregated context embedding, the node main embedding of node v in layer l is obtained, which is expressed as in and is a learnable parameter.

8. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 7 is characterized in that: The process of using the encoder to generate paired semantic embeddings for two given candidate nodes in step S50 is: Given two candidate nodes a and b, their respective node semantic embeddings are s a and b , the paired semantic embedding generated by the encoder is represented as in, It is represented as the embedding of the hidden relationship between node a and node b, where are all learnable parameters.

9. The method for evaluating the resistance and recovery capabilities of an industrial chain based on link prediction according to claim 8 is characterized in that: The process of performing the link prediction task in step S50 and outputting the industry chain resistance ability score and the industry chain recovery ability score is as follows: The task loss L_task, regularization term L_Penalty and optimization target Loss in the link prediction task are expressed as: Loss=L_task+L_Penalty Where d(x,y)=h x +s x,y -h y ||2 is the Euclidean norm of the translation error, (a, b, c) is a triplet, which is composed of randomly sampling negative nodes c in the implicit heterogeneous graph of the industrial chain for each edge (a, b) ∈ E, T is the set of all positive sample links in the training set, d(a, b) represents the score of the predicted link between entities a and b, and d(a, c) represents the score of the link between entities a and c. The final task loss is obtained by calculating the average value of max(·) on all positive sample links; L is the total number of layers, P is the set of all sampled paths, and They correspond to the scaling vector and offset vector of path p on layer l respectively; The industry chain resistance score is expressed as: Among them, C = (Z, R) represents the node relationship set in the industrial chain network data, Z = {z1, z2, …, z n } represents a node set, R = {r1, r2, …, r m } represents the set of link relationships between nodes, A(C)=[z i,j ] n×n represents the relationship matrix, Describes the existence or nonexistence of a relationship; The industry chain resilience score is expressed as: Among them, |R| and |R'| represent the number of known existing relationships and the number of possible hidden relationships in the industrial chain, respectively. R'={r m+1 ,r m+2 ,…,r m+k }.

10. The industry chain resistance and recovery capability assessment model based on link prediction is characterized by: It includes path encoding module, semantic encoding module, context adjustment module and integrity assessment module, among which, The path encoding module is used to extract the paths of nodes in the implicit heterogeneous graph of the industrial chain, and use a path encoder to encode each path according to the node semantic embedding of each node in the path; The semantic encoding module is used to extract and generate corresponding node semantic embeddings from the node main embeddings of the previous layer in the implicit heterogeneous graph of the industrial chain using a semantic encoder, and generate path semantic embeddings after path encoding; The context adjustment module is used to use the context adjuster to use the path semantic embedding as the basis for distinguishing different heterogeneous context information, perform differential processing on the information of each context node related to the target node, and summarize and aggregate to generate a node master embedding containing context information for each node; The integrity assessment module is used to use an encoder to generate paired semantic embeddings for two given candidate nodes, and perform link prediction tasks together with the obtained node main embedding containing context information, output the industry chain resistance ability score and the industry chain recovery ability score, and realize the integrity assessment of the implicit heterogeneous graph of the industry chain.

Citation Information

Cited By

  • Industrial chain integrity evaluation model, system and method

    CN119692808A

  • Logistics management system based on artificial intelligence

    CN119904158A