A method for comparing structural differences in hypernetworks
By constructing a supernetwork and calculating s-distance and Jense-shannon divergence, the supernetwork structural difference comparison method solves the problem of the inability of existing technologies to represent multivariate relationships, and achieves effective capture and difference evaluation of high-order characteristics of complex systems. , suitable for multiple application scenarios.
Patent Information
- Application Number
- CN202210588893.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-05-26
AI Technical Summary
Existing network difference comparison methods are mainly based on binary relationships, which cannot effectively represent and compare multivariate relationships and high-order interaction phenomena in complex systems, and cannot fully capture the interactions and high-order characteristics between multiple nodes.
A method for comparing the structural differences of hypernetworks is proposed. By constructing a hypernetwork, an association matrix and an s-adjacency matrix, the s-distance between hyperedges and nodes is calculated, and the Jense-shannon divergence is used to measure the structural differences of the hypernetwork. , combined with higher-order features to evaluate node connectivity and heterogeneity.
It can better characterize the multivariate relationships in complex systems, capture the local and global differences of supernetworks, and provides new ideas for identifying different structural types of supernetworks. It is suitable for fields such as protein identification and online social network classification.
Smart Images

Figure FHA00000061317900000110 
Figure FHA00000061317900000111 
Figure FHA0000006131790000012
Abstract
Description
Technical Field
[0001] The invention belongs to the field of computer technology and relates to a method for comparing structural differences of hypernetworks, which can distinguish different types of hypernetworks according to the topological properties of the hypernetworks. Background Art
[0002] In recent years, network science has attracted more and more attention from researchers, and many real complex systems can be described using network science methods. Network difference comparison is an important research direction in the field of network science, and its purpose is to compare the differences in structure or attributes between different networks. Its research is widely used in fields such as medicine, biochemistry, and social networks. For example, in brain disease research, the differences in brain networks of different patients or the same patient before and after treatment can be compared to determine the treatment effect; in the field of biochemistry, network comparison can be used to identify and classify different protein structures; in the field of social networks, online social networks can be classified through network comparison.
[0003] At present, most of the research on network difference comparison is still conducted on ordinary networks based on "binary relations", that is, networks composed of edges representing the relationship between two elements. Although this type of network model is simple and universal to a certain extent, it is limited to representing pairwise relationships between entities. However, many complex systems in the real world may have rich multivariate relationships, such as dependencies between two or more variables or interactive relationships between two or more objects. Specifically, in cooperative relationships, there are a large number of cooperative relationships between multiple individuals, such as film actor cooperation, paper cooperation, project cooperation, etc.; in the brain neural network, multiple regions can be highly active at the same time; in social networks, there are interactive relationships in which groups composed of multiple people share information. This kind of interaction between multiple individuals cannot be represented by a binary network. A hypernetwork consists of nodes and hyperedges. A hyperedge can contain multiple nodes, and a single node can also belong to multiple hyperedges. This network storage method breaks the limitation of the "binary interaction" of ordinary networks and can better reflect the multivariate interaction phenomenon in the system. Summary of the invention
[0004] The purpose of the present invention is to propose a method for comparing the structural differences of hypernetworks, which comprehensively measures the connectivity, heterogeneity and high-order interactions of nodes in the hypernetwork to compare the differences of the hypernetworks.
[0005] The method of the present invention specifically comprises:
[0006] Step (1) data collection and preprocessing includes three subtasks: constructing a hypernetwork, constructing an association matrix, and constructing an s-adjacency matrix between hyperedges.
[0007] (1-1) Constructing a hypernetwork: Based on the affiliation relationship between nodes and hyperedges, a hypernetwork G = (V, E) is constructed based on actual complex system data; where the node set is represented by V = {v1, v2, …, v N},v n is the nth node in the hypernetwork, n=1,2,…,N, N is the number of nodes in the hypernetwork; the hyperedge set is represented by E={e1,e2,…,e M},e m is the mth hyperedge in the hypernetwork, m = 1, 2, …, M, and M is the number of hyperedges in the hypernetwork.
[0008] (1-2) Constructing the association matrix: According to the affiliation relationship between nodes and hyperedges, construct the hypernetwork association matrix I N×M , when node v n Belongs to the hyperedge e m In the middle, I nm The value is 1, otherwise I nm The value of is 0.
[0009] (1-3) Constructing the s-adjacency matrix between hyperedges: If the number of intersection nodes between two hyperedges is greater than or equal to a given value s, the two hyperedges are considered to be s-adjacent, and the s-adjacency matrix between the hyperedges is constructed. The adjacency matrix elements satisfy:
[0010] Step (2) calculates the structural differences between hypernetworks, including three subtasks: calculating the s-distance between hyperedges, calculating the s-distance between nodes, and calculating the structural differences of hypernetworks.
[0011] (2-1) Calculate the s-distance between each pair of hyperedges If the hyperedge e i and e j If there is an s-path between is the shortest s-path length, otherwise An s-path is the set of hyperedges that a hyperedge passes through to reach another hyperedge via s-adjacency.
[0012] (2-2) Calculate the s-distance between each node in the hypernetwork If the node v p ∈e i , node v q ∈e j , p=1,2,…,N,q=1,2,…,N,p≠q, then min(·) means taking the minimum; if the node v p and v q belong to the same hyperedge, then
[0013] (2-3) Calculate the structural differences of the hypernetwork:
[0014] First, for N nodes in the hypernetwork G, construct the s-distance distribution matrix For node v n The s-distance distribution in Represents the node v in the hypernetwork G n The proportion of nodes with s-distance l, and =1×(d s +1)-dimensional vector, d s represents the maximum value of the supernetwork s-distance in the supernetwork G, with respect to node v in the supernetwork G n The proportion of nodes between which there is no s-path is expressed as
[0015] Then according to the given value s and s-distance distribution matrix P s , using Jense-Shannon divergence to define the measure of heterogeneity of the hypernetwork G under s-distance connectivity Among them, the Jense-Shannon divergence of the node s-distance distribution in the hypernetwork G is The average value of the s-distance distribution of all nodes in the hypernetwork G
[0016] Then the structural difference between the two hypernetworks G and G′ is:
[0017] The Jense-Shannon divergence represents the average s-distance distribution between two hypernetworks. S represents the maximum number of intersection nodes between hyperedges in the hypernetwork. The adjustment parameter is 0<β<1. The larger the D(G,G′) value is, the greater the structural difference between the two hypernetworks G and G′ is.
[0018] D(G,G′) consists of two parts, and β is used to adjust the proportion of these two parts. The first term of the formula combines the high-order characteristics of the hypernetwork to compare the average connectivity between nodes in the hypernetwork at different s-distances, capturing the global differences of the hypernetwork; the second term of the formula combines the high-order characteristics of the hypernetwork to compare the heterogeneity of the nodes, indicating the local differences between the two hypernetworks.
[0019] The present invention aims to distinguish different networks by using the topological properties of the network itself. In order to consider the interaction between multiple nodes in the system, the present invention introduces a hypernetwork to characterize the high-order interactions between nodes. The present invention is based on a hypernetwork to represent the multivariate relationships between entities in a complex system, which can better characterize the high-order features in the real system, making up for the defect that the existing network difference comparison method does not consider the high-order features enough, thereby solving the hypernetwork difference comparison problem.
[0020] The present invention proposes a method for distinguishing networks of different structures on a hypernetwork, combining the high-order characteristics of the hypernetwork to capture the differences of the network locally and globally. The present invention can provide a new idea for the method of comparing structural differences on a hypernetwork. The present invention can effectively identify hypernetworks of different structural types and can provide solutions in protein identification, online social network classification, etc. DETAILED DESCRIPTION
[0021] The present invention is further described below in conjunction with specific embodiments, but the following embodiments are by no means intended to limit the present invention in any way.
[0022] A method for comparing structural differences of hypernetworks, specifically:
[0023] Step (1) data collection and preprocessing includes three subtasks: constructing a hypernetwork, constructing an association matrix, and constructing an s-adjacency matrix between hyperedges.
[0024] (1-1) Constructing a hypernetwork: Based on the affiliation relationship between nodes and hyperedges, a hypernetwork G = (V, E) is constructed based on actual complex system data; where the node set is represented by V = {v1, v2, …, v N},v n is the nth node in the hypernetwork, n=1,2,…,N, N is the number of nodes in the hypernetwork; the hyperedge set is represented by E={e1,e2,…,e M},e m is the mth hyperedge in the hypernetwork, m = 1, 2, …, M, and M is the number of hyperedges in the hypernetwork.
[0025] (1-2) Constructing the association matrix: According to the affiliation relationship between nodes and hyperedges, construct the hypernetwork association matrix I N×M , when node v n Belongs to the hyperedge e m In the middle, I nm The value is 1, otherwise I nm The value of is 0.
[0026] (1-3) Constructing the s-adjacency matrix between hyperedges: If the number of intersection nodes between two hyperedges is greater than or equal to a given value s, the two hyperedges are considered to be s-adjacent, and the s-adjacency matrix between the hyperedges is constructed. The adjacency matrix elements satisfy:
[0027] Step (2) calculates the structural differences between hypernetworks, including three subtasks: calculating the s-distance between hyperedges, calculating the s-distance between nodes, and calculating the structural differences of hypernetworks.
[0028] (2-1) Calculate the s-distance between each pair of hyperedges If the hyperedge e i and e j If there is an s-path between is the shortest s-path length, otherwise An s-path is the set of hyperedges that a hyperedge passes through to reach another hyperedge via s-adjacency.
[0029] (2-2) Calculate the s-distance between each node in the hypernetwork If the node v p ∈e i , node v q ∈e j , p=1,2,…,N,q=1,2,…,N,p≠q, then min(·) means taking the minimum; if the node v p and v q belong to the same hyperedge, then
[0030] (2-3) Calculate the structural differences of the hypernetwork:
[0031] First, for N nodes in the hypernetwork G, construct the s-distance distribution matrix It contains detailed information about the network topology based on s-distance; For node v n The s-distance distribution in Represents the node v in the hypernetwork G n The proportion of nodes with s-distance l, and =1×(d s +1)-dimensional vector, d s represents the maximum value of the supernetwork s-distance in the supernetwork G, with respect to node v in the supernetwork G n The proportion of nodes between which there is no s-path is expressed as
[0032] When s = 1, P s The distance distribution between nodes based on the ordinary network is given; when s>1, P s The distribution of high-order distances on the hypernetwork G is given; different values of s can reflect the high-order topological structure relationship between nodes to a certain extent;
[0033] Then according to the given value s and s-distance distribution matrix P s , using Jense-Shannon divergence to define the measure of heterogeneity of the hypernetwork G under s-distance connectivity Among them, the Jense-Shannon divergence of the node s-distance distribution in the hypernetwork G is The average value of the s-distance distribution of all nodes in the hypernetwork G
[0034] When comparing the differences of hypernetworks, different s-distances are considered. The structural differences of the two hypernetworks G and G′ are: The Jense-Shannon divergence represents the average s-distance distribution between two hypernetworks. S represents the maximum number of intersection nodes between hyperedges in the hypernetwork. The adjustment parameter is 0<β<1. The larger the D(G,G′) value is, the greater the structural difference between the two hypernetworks G and G′ is.
[0035] D(G,G′) consists of two parts, and β is used to adjust the proportion of these two parts. The first term of the formula combines the high-order characteristics of the hypernetwork to compare the average connectivity between nodes in the hypernetwork at different s-distances, capturing the global differences of the hypernetwork; the second term of the formula combines the high-order characteristics of the hypernetwork to compare the heterogeneity of the nodes, indicating the local differences between the two hypernetworks.
Claims
1. A method for comparing structural differences in hypernetworks, It is characterized in that The method is applied to protein identification, specifically: Step (1) data collection and preprocessing, including three subtasks: constructing a hypernetwork, constructing an association matrix, and constructing an s-adjacency matrix between hyperedges; (1-1) Constructing a hypernetwork: Based on the affiliation relationship between nodes and hyperedges, a hypernetwork G = (V, E) is constructed based on actual complex system data; where the node set is represented by V = {v 1 ,v 2 ,...,v N },v n is the nth node in the hypernetwork, n=1,2,…,N, N is the number of nodes in the hypernetwork; the hyperedge set is represented by E={e 1 ,e 2 ,…,e M },e m is the mth hyperedge in the hypernetwork, m = 1, 2, ..., M, M is the number of hyperedges in the hypernetwork; (1-2) Constructing the association matrix: According to the affiliation relationship between nodes and hyperedges, construct the hypernetwork association matrix I N×M , when node v n Belongs to the hyperedge e m In the middle, I nm The value is 1, otherwise I nm The value of is 0; (1-3) Constructing the s-adjacency matrix between hyperedges: If the number of intersection nodes between two hyperedges is greater than or equal to a given value s, the two hyperedges are considered to be s-adjacent, and the s-adjacency matrix between the hyperedges is constructed. The adjacency matrix elements satisfy: Step (2) calculates the structural differences between hypernetworks, including three subtasks: calculating the s-distance between hyperedges, calculating the s-distance between nodes, and calculating the structural differences of hypernetworks; (2-1) Calculate the s-distance between each pair of hyperedges If the hyperedge e i and e j If there is an s-path between is the shortest s-path length, otherwise An s-path is the set of hyperedges that a hyperedge passes through to reach another hyperedge via s-adjacency; (2-2) Calculate the s-distance between each node in the hypernetwork If the node v p ∈e i , node v q ∈e j , p=1,2,…,N,q=1,2,…,N,p≠q, then min(·) means taking the minimum; if the node v p and v q belong to the same hyperedge, then (2-3) Calculate the structural differences of the hypernetwork: First, for N nodes in the hypernetwork G, construct the s-distance distribution matrix For node v n The s-distance distribution in Represents the node v in the hypernetwork G n The proportion of nodes with s-distance l, and =1×(d s +1)-dimensional vector, d s represents the maximum value of the supernetwork s-distance in the supernetwork G, with respect to node v in the supernetwork G n The proportion of nodes between which there is no s-path is expressed as Then according to the given value s and s-distance distribution matrix P s , using Jense-Shannon divergence to define the measure of heterogeneity of the hypernetwork G under s-distance connectivity Among them, the Jense-Shannon divergence of the node s-distance distribution in the hypernetwork G is The average value of the s-distance distribution of all nodes in the hypernetwork G Then the structural difference between the two hypernetworks G and G′ is: The Jense-Shannon divergence represents the average s-distance distribution between two hypernetworks. S represents the maximum number of intersection nodes between hyperedges in the hypernetwork. The adjustment parameter is 0<β<1. The larger the D(G,G′) value is, the greater the structural difference between the two hypernetworks G and G′ is.
