Community detection method based on node influence and central node expansion

By integrating influence ranking and community belonging calibration, optimizing center node selection and label updating solves the sensitivity and local information limitations of the center node expansion algorithm in community detection, and improves the accuracy and convergence speed of community detection.

CN118626732APending Publication Date: 2024-09-10LANZHOU UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410783493.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The central node expansion algorithm is sensitive to the selection of central nodes in community detection. The node update order affects the accuracy of the results, and the local information expansion strategy is difficult to capture the global relationship, resulting in inaccurate community division.

Method used

Three influence methods are used to calculate the node influence, a comprehensive ranking is formed through the voting mechanism to select the central node, a community expansion strategy is formed by combining the influence of marked neighbors and the central node, and the label vector is updated sequentially according to the node influence, and finally the community affiliation is used Calibrate the final label.

Benefits of technology

It improves the accuracy and convergence speed of community detection, adapts to different network characteristics, and ensures that community division more accurately reflects node ownership.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626732A
    Figure CN118626732A
Patent Text Reader

Abstract

The invention discloses a community detection method based on node influence and central node expansion. According to the method, the influence value of each network node is evaluated through three different influence calculation methods, weights are given through a voting mechanism, and the comprehensive influence is obtained. Thirdly, top-k nodes with high comprehensive influence are selected to form a central node set; then, taking the selected central node as a starting point, gradually forming an initial cluster, judging whether neighbor nodes can form a triangle or not, and endowing the nodes in the initial cluster with the same label; and for the nodes in the non-initial cluster, updating the label vectors according to the importance from large to small. The calculation of the label vector combines the topological structure information and the influence of the central node. And finally, in order to solve the problem of multi-community connection, calibrating node community labels by adopting the community attribution degree. The process starts from a node with relatively large node influence, so as to ensure that the association label more accurately reflects the attribution of the node in the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of complex network analysis, and in particular relates to a community detection method for node influence and central node expansion. Background Art

[0002] Community detection plays a key role in complex network analysis. Its core task is to identify the structure in the network and divide the nodes into different groups. These groups are closely connected, while the connections between groups are relatively sparse. In recent years, community detection has received extensive attention in complex networks. It can be divided into two main types of algorithms: global community detection and local community detection. Global community detection algorithms include hierarchical partitioning, modularization, and random walk methods. They require information from the entire network to identify community structures, so they are relatively complex. Local community detection methods use local information, so they have lower time complexity. They mainly include label propagation and central node expansion algorithms. Label propagation algorithms identify communities by propagating local labels, while central node expansion algorithms identify communities by detecting central nodes and expanding them. However, central node expansion algorithms face some challenges. Central node dependency problem: The algorithm is sensitive to the choice of central nodes, resulting in different community structures when different nodes are used as central nodes. In addition, some algorithms only consider a single factor, such as degree, when selecting central nodes. Ignoring the influence of other factors will lead to inaccurate selection of central nodes, which in turn affects the results of community division; Node update order: The node update order affects the accuracy of the algorithm results. If these early marked nodes belong to the wrong community, it may lead to incorrect community division of other nodes. In addition, the earlier the important nodes are updated, the faster the convergence speed; The community expansion strategy relies on local information: During the community expansion process, the algorithm mainly focuses on the information within the range of neighboring nodes and ignores the information of the entire network. This may make it difficult for the algorithm to capture the key relationships and connections between different communities. Therefore, optimizing the selection of central nodes, the update order of nodes, and the community expansion strategy based on the central node expansion method is a more effective method for the above problems. Summary of the invention

[0003] In order to overcome the above technical problems, the purpose of the present invention is to provide a community detection method for node influence and central node expansion, which can flexibly adjust the selection of central nodes to better adapt to the characteristics of different networks; give priority to the update order of important nodes, thereby accelerating the convergence process of the algorithm; combine the similarity of marked neighbor nodes and the influence of central nodes to form a comprehensive community expansion strategy, thereby improving the accuracy of community detection.

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

[0005] A community detection method for node influence and central node expansion includes the following steps:

[0006] 1. A community detection method for node influence and central node expansion, characterized by comprising the following steps;

[0007] Step 1: Identify the central node. Use three different influence methods to calculate the influence values ​​of all nodes in the network. Then, the three influence values ​​are ranked comprehensively through a voting mechanism, and the voting mechanism, that is, the proportion of each method, is different. The central node candidate set is formed according to the comprehensive influence value ranking. Since the number of communities in the network is unknown, the top-k nodes with higher mixed influence are selected;

[0008] Step 2: Construct initial communities. Exclude common neighbors of the central node and construct initial communities based on the triangle relationship between the central node and its neighbors;

[0009] Step 3: Update the label vector. Update the label vectors of the remaining nodes in descending order of node influence; label calculation combines the topological structure information of the nodes and the influence of the central node; after all nodes update their labels, the maximum label vector value argmax(L i ) is the label of each node;

[0010] Step 4: Label calibration. Use community affiliation to re-evaluate key nodes to determine the final community labels. In order to avoid communities with low information transfer capabilities affecting the results during the calibration process, node label calibration starts with nodes with greater node influence.

[0011] The step of identifying the central node in step 1 includes:

[0012] Step 1.1: Calculate NGC, LSI and H-index of each node * Influence value;

[0013] Step 1.2: Set a parameter vector w = |α, β, γ] to represent the weight of each influence, where α + β + γ = 1. The formula for calculating the mixed influence is as follows:

[0014] HC i =w·M i

[0015] Among them, M i =[MGC i ,LSI i ,H-index * i ] is a NGC, LSI and H-index containing node i * A vector of influence values;

[0016] Step 1.3: Sort the mixed influence values ​​to form a comprehensive ranking based on the mixed influence values, and finally select the top-k nodes with higher mixed influence as the central node set;

[0017] Step 1.4: Initialize each node into a k-dimensional vector: L = [l 1 ,l 2 ,...,l k ], (1≤k≤n), indicating the degree to which it belongs to different communities. k represents the number of central nodes, l i (1≤i≤k) indicates that the node belongs to group C i The degree of community membership of node v is determined by the largest element of the vector. For all non-central nodes, they are initialized by a vector of length k with all elements set to 0; for each central node, only one element in its vector is initialized to 1, and its position corresponds to the index of the community to which it belongs.

[0018] In step 2, the steps for constructing the initial community are as follows:

[0019] Step 2.1: Determine the common neighbors of any two central nodes, where the common neighbor nodes refer to nodes that are simultaneously connected to two or more central nodes;

[0020] Step 2.2: For each central node, if any two non-common neighbors can form a triangle with it, then these two neighbors are assigned the same label vector as the central node, indicating that they belong to the same community.

[0021] In step 3, the label vector updating process includes:

[0022] Step 3.1: Sort the remaining nodes in descending order of LSI;

[0023] Step 3.2: The present invention combines node influence and distance to calculate the influence of the central node. i As the distance between them increases, this influence gradually decreases. The calculation formula is as follows:

[0024]

[0025] in, The calculation is as follows:

[0026]

[0027] where c 1 ,c 2 ,…,c k represents the central node, NC(c i ) represents the central node ci The influence of i ,u) represents node u and central node c i The shortest distance between nodes. When there is no path between a node and a central node, the distance is set to -1. This setting ensures that the influence of the central node is not overestimated when there is no path. NC i The calculation formula is as follows:

[0028]

[0029] Among them, t i represents the number of triangles at node i, |Γ 2 (i)| represents the number of second-order neighbor nodes of node i, k i represents the degree of node i;

[0030] Step 3.3: The present invention adopts a similarity calculation method that considers the structural information of the second-order neighbors of the node and assigns different weights. The calculation formula is as follows:

[0031]

[0032] in is the average degree of the network, Γ p (i) represents the p-order neighbor of node i, Γ q (m) represents the q-order neighbor of node m;

[0033] Step 3.4: The present invention flexibly combines the information of neighbor nodes, the information of distant nodes and the influence information of the central node to calculate the label vector of the node. The calculation formula is as follows:

[0034]

[0035] Step 3.5: Use the maximum element argmax(L i )Determine the community label of each node.

[0036] In step 4, the community to which the key node belongs is re-evaluated through the community affiliation CA. The steps include:

[0037] Step 4.1: If the degree distribution is relatively uniform, perform label calibration on all nodes; if the degree distribution is quite different, perform label calibration only on the common neighbors of the central node. For each key node, calculate its degree of belonging to each community based on the current community label and community structure. The calculation formula is as follows:

[0038]

[0039] Among them, k in (C i) is the node v and community C i The number of edges between midpoints;

[0040] Step 4.2: By comparing the degree of belonging of key nodes in different communities, assign them to the community with the highest degree of belonging.

[0041] Beneficial effects of the present invention.

[0042] The present invention provides a community detection method for node influence and central node expansion. The method first evaluates the influence value of each network node through three different but complementary influence calculation methods, and comprehensively ranks the three influence values ​​through a voting mechanism to obtain a mixed influence and select top-k nodes with higher mixed influence to form a central node set. Next, a k-dimensional label vector is initialized for each node. Subsequently, starting from the selected central node, the initial community is gradually formed by judging whether non-common neighbor nodes can form a triangle, and the same label vector is assigned to the nodes in the initial community. For nodes in non-initial communities, the label vector is updated in order from large to small influence. Among them, the calculation of the label vector combines the topological structure information and the influence of the central node. Finally, in order to solve the problem of multi-community connection, the community attribution degree is used to calibrate the node community label. The process starts from the node with greater influence to ensure that the community label more accurately reflects the node's attribution in the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is the label vector calculation process of the community detection method of the present invention.

[0044] Figure 2 It is a process schematic diagram of the community detection method of the present invention. DETAILED DESCRIPTION

[0045] In the embodiments of the present invention, the specific implementation process of the technical solution is clearly described by means of diagrams. This section will propose a community detection method based on node influence and community center node expansion, the purpose of which is to find more effective central nodes, more reasonable node sorting strategies, and to achieve a balance between global information and local information during community expansion. Diagrams can help readers better understand the technical implementation details of the present invention and obtain clear operational guidance from them. It should be clear that the technical solutions described in the embodiments of the present invention only represent some embodiments, not all embodiments. All other embodiments that can be obtained by ordinary technicians in this field without performing creative work are within the scope of protection of the present invention.

[0046] Therefore, the present invention, through detailed description and illustration, shows the technical personnel an innovative community detection method of node influence and central node expansion. The method uses node influence measurement methods from different angles to identify more suitable central nodes, select a suitable node update order, and calculate the node label vector by combining the second-order weighted topological similarity of the node and the influence of the global central node to improve the quality of community division.

[0047] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] A community detection method for node influence and central node expansion includes the following steps:

[0049] Step 1: Identify the central node. Use three different influence methods to calculate the influence values ​​of all nodes in the network. Then, the three influence values ​​are ranked comprehensively through a voting mechanism, and the voting mechanism, that is, the proportion of each method, is different. The central node candidate set is formed according to the comprehensive influence value ranking. Since the number of communities in the network is unknown, the top-k nodes with higher mixed influence are selected;

[0050] Step 1.1: Calculate NGC, LSI and H-index of each node * Influence value;

[0051] Step 1.2: Set a parameter vector w = |α, β, γ] to represent the weight of each influence, where α + β + γ = 1. The formula for calculating the mixed influence is as follows:

[0052] HC i =w·M i

[0053] Among them, M i =[NGC i ,LSI i ,H-index * i ] is a NGC, LSI and H-index containing node i * A vector of influence values;

[0054] Step 1.3: Sort the mixed influence values ​​to form a comprehensive ranking based on the mixed influence values, and finally select the top-k nodes with higher mixed influence as the central node set;

[0055] Step 1.4: Initialize each node into a k-dimensional vector: L = [l 1 ,l 2 ,...,l k ], (1≤k≤n), indicating the degree to which it belongs to different communities. k represents the number of central nodes, li (1≤i≤k) indicates that the node belongs to group C i The degree of community membership of node v is determined by the largest element of the vector. For all non-central nodes, they are initialized by a vector of length k with all elements set to 0; for each central node, only one element in its vector is initialized to 1, and its position corresponds to the index of the community to which it belongs.

[0056] Step 2: Construct initial communities. Exclude common neighbors of the central node and construct initial communities based on the triangle relationship between the central node and its neighbors;

[0057] Step 2.1: Determine the common neighbors of any two central nodes, where the common neighbor nodes refer to nodes that are simultaneously connected to two or more central nodes;

[0058] Step 2.2: For each central node, if any two non-common neighbors can form a triangle with it, then these two neighbors are assigned the same label vector as the central node, indicating that they belong to the same community.

[0059] Step 3: Update the label vector. Update the label vectors of the remaining nodes in descending order of node influence; label calculation combines the topological structure information of the nodes and the influence of the central node; after all nodes update their labels, the maximum label vector value argmax(L i ) is the label of each node;

[0060] Step 3.1: Sort the remaining nodes in descending order of LSI;

[0061] Step 3.2: The present invention combines node influence and distance to calculate the influence of the central node. i As the distance between them increases, this influence gradually decreases. The calculation formula is as follows:

[0062]

[0063] in, The calculation is as follows:

[0064]

[0065] where c 1 ,c 2 ,…,c k represents the central node, NC(c i ) represents the central node c i The influence of i ,u) represents node u and central node c iThe shortest distance between nodes. When there is no path between a node and a central node, the distance is set to -1. This setting ensures that the influence of the central node is not overestimated when there is no path. NC i The calculation formula is as follows:

[0066]

[0067] Among them, t i represents the number of triangles at node i, |Γ 2 (i)| represents the number of second-order neighbor nodes of node i, k i represents the degree of node i;

[0068] Step 3.3: The present invention adopts a similarity calculation method that considers the structural information of the second-order neighbors of the node and assigns different weights. The calculation formula is as follows:

[0069]

[0070] in is the average degree of the network, Γ p (i) represents the p-order neighbor of node i, Γ q (m) represents the q-order neighbor of node m;

[0071] Step 3.4: The present invention flexibly combines the information of neighbor nodes, the information of distant nodes and the influence information of the central node to calculate the label vector of the node. The calculation formula is as follows:

[0072]

[0073] Step 3.5: Use the maximum element argmax(L i )Determine the community label of each node.

[0074] Step 4: Label calibration. Use community affiliation to re-evaluate key nodes to determine the final community labels. In order to avoid communities with low information transfer capabilities affecting the results during the calibration process, node label calibration starts with nodes with greater node influence.

[0075] Step 4.1: If the degree distribution is relatively uniform, perform label calibration on all nodes; if the degree distribution is quite different, perform label calibration only on the common neighbors of the central node. For each key node, calculate its degree of belonging to each community based on the current community label and community structure. The calculation formula is as follows:

[0076]

[0077] Among them, k in (C i ) is the node v and community Ci The number of edges between midpoints;

[0078] Step 4.2: By comparing the degree of belonging of key nodes in different communities, assign them to the community with the highest degree of belonging.

Claims

1. A community detection method for node influence and central node expansion, characterized in that: The steps include: Step 1: Identify the central node. Use three different influence methods to calculate the influence values ​​of all nodes in the network. Then, the three influence values ​​are ranked comprehensively through a voting mechanism, and the voting mechanism, that is, the proportion of each method, is different. The central node candidate set is formed according to the comprehensive influence value ranking. Since the number of communities in the network is unknown, the top-k nodes with higher mixed influence are selected; Step 2: Construct initial communities. Exclude common neighbors of the central node and construct initial communities based on the triangle relationship between the central node and its neighbors; Step 3: Update the label vector. Update the label vectors of the remaining nodes in descending order of node influence; label calculation combines the topological structure information of the nodes and the influence of the central node; after all nodes update their labels, the maximum label vector value argmax(L i ) is the label of each node; Step 4: Label calibration. Use community affiliation to re-evaluate key nodes to determine the final community labels. In order to avoid communities with low information transfer capabilities affecting the results during the calibration process, node label calibration starts with nodes with greater node influence.

2. According to claim 1, a community detection method for node influence and central node expansion is characterized in that: The step of identifying the central node in step 1 includes: Step 1.1: Calculate NGC, LSI and H-index of each node * Influence value; Step 1.2: Set a parameter vector w = |α, β, γ] to represent the weight of each influence, where α + β + γ = 1. The formula for calculating the mixed influence is as follows: HC i =w·M i Among them, M i =[NGC i ,LSI i ,H-index * i ] is a NGC, LSI and H-index containing node i * A vector of influence values; Step 1.3: Sort the mixed influence values ​​to form a comprehensive ranking based on the mixed influence values, and finally select the top-k nodes with higher mixed influence as the central node set; Step 1.4: Initialize each node into a k-dimensional vector: L = [l1, l2, ..., l k ], (1≤k≤n), indicating the degree to which it belongs to different communities. k represents the number of central nodes, l i (1≤i≤k) indicates that the node belongs to group C i The degree of community membership of node v is determined by the largest element of the vector. For all non-central nodes, they are initialized by a vector of length k with all elements set to 0; for each central node, only one element in its vector is initialized to 1, and its position corresponds to the index of the community to which it belongs.

3. According to claim 1, a community detection method for node influence and central node expansion is characterized in that: In step 2, the steps for constructing the initial community are as follows: Step 2.1: Determine the common neighbors of any two central nodes, where the common neighbor nodes refer to nodes that are simultaneously connected to two or more central nodes; Step 2.2: For each central node, if any two non-common neighbors can form a triangle with it, then these two neighbors are assigned the same label vector as the central node as the label vector, indicating that they belong to the same community.

4. A community detection method for node influence and central node expansion according to claim 1, characterized in that: In step 3, the label vector updating process includes: Step 3.1: Sort the remaining nodes in descending order of LSI; Step 3.2: The present invention combines node influence and distance to calculate the influence of the central node. i As the distance between them increases, this influence gradually decreases. The calculation formula is as follows: in, The calculation is as follows: where c1, c2, …, c k represents the central node, NC(c i ) represents the central node c i The influence of i ,u) represents node u and central node c i The shortest distance between nodes. When there is no path between a node and a central node, the distance is set to -1. This setting ensures that the influence of the central node is not overestimated when there is no path. NC i The calculation formula is as follows: Among them, t i represents the number of triangles of node i, |Γ2(i)| represents the number of second-order neighbor nodes of node i, and k i represents the degree of node i; Step 3.3: The present invention adopts a similarity calculation method that considers the structural information of the second-order neighbors of the node and assigns different weights. The calculation formula is as follows: in is the average degree of the network, Γ p (i) represents the p-order neighbor of node i, Γ q (m) represents the q-order neighbor of node m; Step 3.4: The present invention flexibly combines the information of neighbor nodes, the information of distant nodes and the influence information of the central node to calculate the label vector of the node. The calculation formula is as follows: Step 3.5: Use the maximum element argmax(L i ) Determine the community label of each node.

5. According to claim 1, a community detection method for node influence and central node expansion is characterized in that: In step 4, the community to which the key node belongs is re-evaluated through the community affiliation CA. The steps include: Step 4.1: If the degree distribution is relatively uniform, perform label calibration on all nodes; if the degree distribution is quite different, perform label calibration only on the common neighbors of the central node. For each key node, calculate its degree of belonging to each community based on the current community label and community structure. The calculation formula is as follows: Among them, k in (C i ) is the node v and community C i The number of edges between midpoints; Step 4.2: By comparing the degree of belonging of key nodes in different communities, assign them to the community with the highest degree of belonging.

Citation Information

Patent Citations

  • Overlapping community discovery method based on node influence

    CN106951524A

  • Influence maximization method and system based on group in social network

    CN112214689A

  • Social network influence blocking maximization method based on community structure

    CN114722305A

  • Computer-implemented method and apparatus for determining a relevance of a node in a network

    US20150220639A1