Node importance ranking method and system based on percolation model
Through the method based on the percolation model, the layer-by-layer decomposition network and shell number sorting are used to solve the problem of low efficiency of node importance identification in the existing technology, and achieve fast and accurate key node identification, which is suitable for a variety of network types.
Patent Information
- Application Number
- CN202410262209.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-03-07
AI Technical Summary
Existing node ranking algorithms have problems of inefficiency and insufficient applicability in identifying key nodes of the network quickly and accurately, especially when some algorithms perform poorly on all networks and a single important node is converted into a node group. Less efficient.
Using a method based on the percolation model, by retaining network edges with probability, counting node clusters and their volumes, removing clusters whose volumes are smaller than the threshold, and assigning node shell numbers, the network is decomposed layer by layer until the iteration termination condition is reached to count node importance. property, using shell number to sort node importance.
It achieves the rapid and accurate identification of important and robust key nodes for information dissemination in the network, is suitable for networks with various degree distributions and correlations, and improves the efficiency and accuracy of node importance sorting.
Smart Images

Figure CN117992723B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of complex network science, and in particular to a node importance ranking method, system, storage medium and electronic device based on a percolation model. Background Art
[0002] A network is composed of many nodes and the edges between them. The identification of key nodes has always been one of the key issues in network science and has been widely used in various fields. Accurately identifying key nodes in various networks such as power networks, social networks, communication networks, autonomous networks, and collaborative networks can help design strategies to improve network robustness, promote new proposals, and accelerate or delay the spread of information.
[0003] The existing node ranking algorithms generally assign a real value to the node through various methods, and use the real value to rank the importance of the node. In the existing node ranking algorithms, structural centrality mainly considers the structural information of the target node in the network, which can be divided into neighborhood-based centrality and path-based centrality. Neighborhood-based centrality mainly considers the number and interaction of neighboring nodes, such as degree centrality, LocalRank, ClusterRank, H-index, etc. Path-based centrality considers the impact of the target node on the path, such as betweenness, Katz centrality, subgraph centrality, closeness centrality, etc. In addition, methods such as eigenvector centrality and PageRank also consider the importance of the neighboring nodes of the target node. The node operation method mainly observes the damage of the target node to the network stability and connectivity through strategies such as shrinking and removing nodes. The greater the degree of damage, the higher its importance.
[0004] However, the current algorithms for identifying important nodes usually have the following disadvantages: algorithms that require the assistance of multiple parameters have good accuracy but high complexity; some algorithms designed for specific networks are difficult to perform well on all networks; and algorithms for finding a single important node are inefficient when converting the target into a set of important nodes. Summary of the invention
[0005] 1. Technical issues to be solved
[0006] In view of the deficiencies in the prior art, the present invention provides a node importance ranking method, system, storage medium and electronic device based on a percolation model, which solves the technical problem of being unable to quickly and accurately find key nodes in a network.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:
[0009] A node importance ranking method based on the percolation model is applied to real networks, including:
[0010] S1. Use the percolation model to probabilistically retain the edges in the real network and count all node clusters and their volumes;
[0011] S2, removing the node clusters whose volumes are smaller than the cluster volume threshold, and assigning the number of shells of the nodes in the removed node clusters to the number of current iterations;
[0012] S3, restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, count the number of shells of all nodes and use it as the basis for sorting the node importance; otherwise, increase the number of iterations by one and go to S1.
[0013] Preferably, the S1 comprises:
[0014] If it is the initial iteration, set the current iteration number g to 1;
[0015] All edges in the real network are retained with probability, and edges with a ratio of 1-p are deleted, where the retention probability p ranges from 0 to 1;
[0016] All node clusters are counted, and the number of nodes in each node cluster is taken as its volume.
[0017] Preferably, S2 includes:
[0018] Given a cluster volume threshold n0, node clusters with a volume less than n0 are removed from the real network;
[0019] The shell number s of the nodes in the node cluster to be removed is assigned to the number of current iterations g.
[0020] Preferably, S3 includes:
[0021] Restore the deleted edges in the remaining node clusters;
[0022] If there are no remaining nodes in the real network or the nodes cannot be removed, the number of shells of all nodes is counted, and the importance ranking result of all nodes in the real network is obtained according to the principle that the larger the number of shells, the higher the importance of the node; otherwise, the number of iterations is increased by one and the process goes to S1.
[0023] Preferably, it also includes:
[0024] By running the whole process multiple times, we can get a list of the number of shells for each node under the same retention probability and calculate the corresponding average value. and / or variance Δs 2 , and use it as the basis for the final node importance ranking.
[0025] A node importance ranking system based on a percolation model, comprising:
[0026] The retention module is used to execute S1, use the percolation model to probabilistically retain the edges in the real network, and count all node clusters and their volumes;
[0027] A removal module is used to execute S2, remove node clusters whose volumes are smaller than the cluster volume threshold, and assign the number of shells of the nodes in the removed node clusters to the number of current iterations;
[0028] The recovery module is used to execute S3 and restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, the number of shells of all nodes is counted and used as the basis for sorting the importance of the nodes; otherwise, the number of iterations is increased by one and the retention module is entered to execute S1.
[0029] A storage medium stores a computer program for ranking node importance based on a percolation model, wherein the computer program enables a computer to execute the node importance ranking method based on a percolation model as described above.
[0030] An electronic device, comprising:
[0031] One or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the programs including a method for executing the node importance ranking method based on the percolation model as described above.
[0032] (III) Beneficial effects
[0033] The present invention provides a node importance ranking method, system, storage medium and electronic device based on a percolation model. Compared with the prior art, the present invention has the following beneficial effects:
[0034] The method provided by the present invention can be applied to but not limited to real networks such as power networks, social networks, communication networks, autonomous networks, and collaborative networks. Its single iteration process in the network includes: first, using the percolation model to probabilistically retain the edges in the real network, and counting all node clusters and their volumes; then, removing the node clusters whose volumes are less than the cluster volume threshold, and assigning the number of shells of the nodes in the removed node clusters to the number of current iterations; finally, restoring the deleted edges in the remaining node clusters, if the iteration termination condition is met, counting the number of shells of all nodes, and using it as the basis for node importance sorting. By decomposing the network layer by layer and stripping off unimportant nodes, the node importance sorting obtained can quickly reveal nodes that are very important for information propagation in the network, and can also quickly reveal nodes that have an important impact on network robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A block diagram of a node importance ranking method based on a percolation model provided by an embodiment of the present invention;
[0037] Figure 2 An iterative process of a node importance ranking method based on a percolation model provided by an embodiment of the present invention in a network;
[0038] Figure 3 A node importance ranking method based on a percolation model provided in an embodiment of the present invention is applied to the Kendall correlation coefficient τ between node influences obtained by simulating the network propagation process under different p values in the AS network;
[0039] Figure 4 The present invention discloses a method for ranking node importance based on a percolation model and a robustness coefficient R under different p values in an AS network. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] The embodiments of the present application solve the technical problem of being unable to quickly and accurately find key nodes in a network by providing a node importance ranking method, system, storage medium and electronic device based on a percolation model.
[0042] The technical solution in the embodiment of the present application is to solve the above technical problems, and the overall idea is as follows:
[0043] The method provided in the embodiment of the present invention can be applied to but not limited to real networks such as power networks, social networks, communication networks, autonomous networks, and collaborative networks. That is, the embodiment of the present invention is not specially designed for specific networks and key nodes of specific dynamics, but is a widely applicable algorithm that is applicable to networks with different degree distributions and degree correlations.
[0044] Specifically, the single iteration process in the network includes:
[0045] Firstly, the percolation model is used to probabilistically retain the edges in the real network and count all node clusters and their volumes. Then, the node clusters whose volumes are smaller than the cluster volume threshold are removed, and the number of shells of the nodes in the removed node clusters is assigned to the number of current iterations. Finally, the deleted edges in the remaining node clusters are restored. If the iteration termination condition is met, the number of shells of all nodes is counted and used as the basis for sorting the node importance.
[0046] By decomposing the network layer by layer and removing unimportant nodes, the resulting node importance ranking can quickly reveal both the nodes that are very important for information propagation in the network and the nodes that have an important impact on the robustness of the network.
[0047] In particular, since the probabilistic preservation of edges in the real network using the percolation model is a stochastic process, nodes can belong to different numbers of shells in different realizations.
[0048] In order to perform a more fine-grained node importance sorting and improve sorting accuracy, the embodiment of the present invention can run the entire process multiple times to obtain a list of the number of shells of each node under the same retention probability, and calculate the corresponding average value. and / or variance Δs 2 , and use it as the basis for the final node importance ranking.
[0049] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0050] Example:
[0051] like Figure 1 As shown, an embodiment of the present invention provides a node importance ranking method based on a percolation model, which is applied to real networks such as power networks, social networks, communication networks, autonomous networks, and collaborative networks, including:
[0052] S1. Use the percolation model to probabilistically retain the edges in the real network and count all node clusters and their volumes;
[0053] S2, removing the node clusters whose volumes are smaller than the cluster volume threshold, and assigning the number of shells of the nodes in the removed node clusters to the number of current iterations;
[0054] S3, restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, count the number of shells of all nodes and use it as the basis for sorting the node importance; otherwise, increase the number of iterations by one and go to S1.
[0055] By decomposing the network layer by layer and removing unimportant nodes, the node importance ranking obtained by the above scheme can quickly reveal the nodes that are very important for information propagation in the network, and can also quickly reveal the nodes that have an important impact on the robustness of the network.
[0056] Next, we will combine Figure 2 and Figure 3 The following are the steps of the above solution:
[0057] In step S1, the percolation model is used to probabilistically retain the edges in the real network and count all node clusters and their volumes, including:
[0058] First, if it is the initial iteration, set the current iteration number g to 1.
[0059] Then, all edges in the real network are retained with probability, and edges with a ratio of 1-p are deleted, where the retention probability p ranges from 0 to 1.
[0060] In addition, the percolation model is often used to study network robustness. The bond percolation in the percolation model considers the probability of edge occupancy and studies the properties of the groups connected by the edges. In complex networks, nodes or edges are usually removed with a probability of 1-p to implement the percolation model, that is, the network performance under random node failures.
[0061] Finally, all node clusters are counted, and the number of nodes in each node cluster is taken as its volume.
[0062] For example, randomly set the p value to 0.7, that is, randomly delete edges in the network at a ratio of 0.3, such as Figure 2 As shown in (a), the dotted lines represent the deleted edges. Count all the node clusters in the network, such as Figure 2 As shown in (b), there are three node clusters, whose volumes are 6, 3, and 1 from large to small.
[0063] In step S2, the node clusters whose volumes are smaller than the cluster volume threshold are removed, and the number of shells of the nodes in the removed node clusters is assigned to the number of current iterations; including:
[0064] First, given a cluster volume threshold n0, node clusters with a volume smaller than n0 are removed from the real network, thereby eliminating the interference of compact small clusters.
[0065] Then, the shell number s of the nodes in the removed node cluster is assigned to the number of current iterations g.
[0066] For example, the node cluster threshold n0 is set to 2 to achieve a good differentiation effect. In this way, the node cluster where node 8 is located is removed from the network because its volume is smaller than the threshold. Figure 2In (b) it is marked in grey if it is removed during the first iteration, so the shell number s of node 8 is 1.
[0067] In step S3, the deleted edges in the remaining node clusters are restored. If the iteration termination condition is met, the number of shells of all nodes is counted and used as the basis for ranking the importance of the nodes; otherwise, the number of iterations is increased by one and the process goes to S1; including:
[0068] Restoring deleted edges in the remaining node clusters helps to protect the core structure of the network.
[0069] For example, in Figure 2 In (c), the recovered edges are highlighted in bold. The iterative process will continue on the basis of the remaining network until there are no nodes left in the network or the remaining clusters are difficult to remove using p = 0.7.
[0070] That is, if there are no remaining nodes in the real network or the nodes cannot be removed (i.e., the iteration termination condition), the number of shells of all nodes is counted, and the importance ranking result of all nodes in the real network is obtained according to the principle that the larger the number of shells, the higher the importance of the node; otherwise, the number of iterations is increased by one and the process goes to S1.
[0071] The embodiment of the present invention uses the shell number of the node to measure the importance of the node, and adopts the principle that the larger the shell number, the higher the importance of the node, because it is considered that the nodes removed later belong to the core structure or are closer to the network core.
[0072] In particular, since the probabilistic preservation of edges in the real network using the percolation model in step 1 is a stochastic process, nodes can belong to different numbers of shells in different realizations. To avoid this uncertainty, an average over different realizations is necessary.
[0073] The present invention runs the whole process multiple times to obtain a list of shell numbers for each node under the same retention probability, and calculates the corresponding average value. and / or variance Δs 2 , and use it as the basis for the final node importance sorting, so as to achieve a more fine-grained sorting of node importance and improve the sorting accuracy.
[0074] For example, Table 1 shows Figure 1 The network shown in the figure is tested with p = 0.1, 0.4, and 0.8. Each result is a comprehensive analysis of 1000 data points, and the average number of node shells is calculated. and variance Δs 2 When p = 0.1, all nodes can be easily removed from the network, so the average number of shells Almost proportional to the degree, that is, nodes with large degrees will also have large average number of shells As p increases, this proportional relationship will be broken, and nodes with compact structures can be retained to the later shells. For example, when p = 0.8, although node 3 has the largest degree 3, its average number of shells is However, it is smaller than nodes with small degree but in the cluster, such as node 7. In addition, the large fluctuation of shell number Δs 2 = 2 >- <s> 2 It also indicates that the nodes are located in special structures, such as hubs connecting several node clusters.
[0075] Table 1
[0076]
[0077] In order to better understand the advantages of the method provided by the embodiment of the present invention, the following practical application examples are first provided:
[0078] We use the autonomous system (AS) peer information network inferred from the BGP data of the Oregon routing view in the United States, where nodes represent autonomous systems (AS), each node corresponds to a unique AS, and is identified by its AS number; edges represent the connection relationship between adjacent autonomous systems, and an edge connects two different autonomous systems and indicates that there is a direct connection or routing relationship between the two autonomous systems. The existing AS network data is a real network system with a total of 10,670 nodes and 22,002 edges.
[0079] pass Figure 1 The algorithm steps shown in the figure have the following results on the AS network: Figure 3 and 4 As shown in the figure. Among them, τ is the similarity between the node dynamic importance ranking obtained by the SIR epidemic model running on the network and the obtained node ranking. The higher the τ value, the better the node ranking effect. R is the network robustness parameter. The smaller the R value, the better the node ranking algorithm can reflect the impact of important nodes on network robustness.
[0080] It can be seen that under a considerable range of p values, the resulting node importance ranking can quickly reveal the nodes that are very important for information propagation in the network, and can also quickly reveal the nodes that have an important impact on the robustness of the network.
[0081] The embodiment of the present invention provides a node importance ranking system based on a percolation model, comprising:
[0082] The retention module is used to execute S1, use the percolation model to probabilistically retain the edges in the real network, and count all node clusters and their volumes;
[0083] A removal module is used to execute S2, remove node clusters whose volumes are smaller than the cluster volume threshold, and assign the number of shells of the nodes in the removed node clusters to the number of current iterations;
[0084] The recovery module is used to execute S3 and restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, the number of shells of all nodes is counted and used as the basis for sorting the importance of the nodes; otherwise, the number of iterations is increased by one and the retention module is entered to execute S1.
[0085] An embodiment of the present invention provides a storage medium storing a computer program for ranking node importance based on a percolation model, wherein the computer program enables a computer to execute the node importance ranking method based on a percolation model as described above.
[0086] An embodiment of the present invention provides an electronic device, including:
[0087] One or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the programs including a method for executing the node importance ranking method based on the percolation model as described above.
[0088] It can be understood that the node importance ranking system, storage medium and electronic device based on the percolation model provided in the embodiments of the present invention correspond to the node importance ranking method based on the percolation model provided in the embodiments of the present invention, and the explanations, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the node importance ranking method based on the percolation model, which will not be repeated here.
[0089] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0090] 1. The embodiment of the present invention decomposes the network layer by layer to remove unimportant nodes. The obtained node importance ranking can quickly reveal nodes that are very important for information propagation in the network, and can also quickly reveal nodes that have an important impact on network robustness.
[0091] 2. The embodiments of the present invention appropriately combine the local and global characteristics of the network, and emphasize the importance of nodes that have neither obvious local importance (such as degree, clustering) nor obvious global importance (such as betweenness).
[0092] 3. The embodiment of the present invention is not designed specifically for a specific network or a key node of a specific dynamic, but is a widely applicable algorithm applicable to networks with different degree distributions and degree correlations.
[0093] 4. There is only one key parameter in the use process of the embodiment of the present invention, namely, the p value, which is easy to select and does not need to be measured specifically. On the one hand, when the p value is selected as a larger value, the rich club phenomenon is not easy to show, and it can be used to find a group of important nodes with low redundancy. On the other hand, by selecting a smaller p value, the key nodes in the network can be found quickly and accurately, which is suitable for some time-sensitive scenarios.
[0094] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0095] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.< / s>
Claims
1. A node importance ranking method based on a percolation model, characterized in that: Applied to real networks, including: S1. Using the percolation model to probabilistically retain the edges in the real network, count all node clusters and their volumes; where the volume refers to the number of nodes in a single node cluster; S2, removing the node clusters whose volumes are smaller than the cluster volume threshold, and assigning the number of shells of the nodes in the removed node clusters to the number of current iterations; S3, restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, count the number of shells of all nodes and use it as the basis for sorting the importance of nodes; otherwise, increase the number of iterations by one and go to S1; The S3 includes: Restore the deleted edges in the remaining node clusters; If there are no remaining nodes in the real network or the nodes cannot be removed, the number of shells of all nodes is counted, and the importance ranking result of all nodes in the real network is obtained according to the principle that the larger the number of shells, the higher the importance of the node; otherwise, the number of iterations is increased by one and the process goes to S1; The node importance ranking method further includes: By running the whole process multiple times, we can get a list of the number of shells for each node under the same retention probability and calculate the corresponding average value. and / or variance Δs 2 , and use it as the basis for the final node importance ranking.
2. The node importance ranking method according to claim 1, characterized in that: The S1 includes: If it is the initial iteration, set the current iteration number g to 1; All edges in the real network are retained with probability, and edges with a ratio of 1-p are deleted, where the retention probability p ranges from 0 to 1; All node clusters are counted, and the number of nodes in each node cluster is taken as its volume.
3. The node importance ranking method according to claim 1, characterized in that: The S2 includes: Given a cluster volume threshold n0, node clusters with a volume less than n0 are removed from the real network; The shell number s of the nodes in the node cluster to be removed is assigned to the number of current iterations g.
4. A node importance ranking system based on a percolation model, characterized in that: Used to execute the node importance ranking method according to claim 1, the node importance ranking system comprises: The retention module is used to execute S1, use the percolation model to probabilistically retain the edges in the real network, and count all node clusters and their volumes; A removal module is used to execute S2, remove node clusters whose volumes are smaller than the cluster volume threshold, and assign the number of shells of the nodes in the removed node clusters to the number of current iterations; The recovery module is used to execute S3 and restore the deleted edges in the remaining node clusters. If the iteration termination condition is met, the number of shells of all nodes is counted and used as the basis for sorting the importance of the nodes; otherwise, the number of iterations is increased by one and the retention module is entered to execute S1.
5. A storage medium, characterized in that: The computer program for ranking the importance of nodes based on the percolation model is stored therein, wherein the computer program enables the computer to execute the method for ranking the importance of nodes based on the percolation model as claimed in any one of claims 1 to 3.
6. An electronic device, characterized in that: include: one or more processors; Memory; and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the programs including a method for executing the node importance ranking method based on the percolation model as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Complex network key node cluster mining method based on combination optimization
CN109379220A
Workshop process industry key node recognition method and system based on complex network
CN111814339A
