Community detection method based on multi-target neighborhood coevolution

The community detection method through multi-objective neighborhood co-evolution solves the limitations of community detection methods in the existing technology in terms of modularity resolution and multi-objective optimization, and achieves efficient community structure identification and optimization in complex networks, significantly improving improve detection accuracy and efficiency.

CN118690836APending Publication Date: 2024-09-24QUFU NORMAL UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410953867.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing community detection methods based on evolutionary algorithms have limitations in modularity resolution and multi-objective optimization, making it difficult to effectively identify community structures in complex networks, especially in large-scale networks and real networks.

Method used

The community detection method based on multi-objective neighborhood co-evolution (NCMOGA) is adopted. By introducing pre-processing and post-processing operations, the neighborhood co-evolution strategy and the center selection idea of ​​density peak clustering are designed to optimize the community structure and improve computational efficiency and diversity. Characteristically, the Tchebycheff method is used to construct an adjacency encoding scheme for aggregation functions and positions to enhance the synergy and local search capabilities between individuals.

Benefits of technology

Significantly improves the accuracy and efficiency of community detection in synthetic and real networks, outperforming other methods, especially in large-scale network and disease module identification, effectively identifying and optimizing community structures, improving modularity and classification performance .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690836A
    Figure CN118690836A
Patent Text Reader

Abstract

The invention discloses a community detection method NCMOGA based on multi-target neighborhood co-evolution, and the method comprises the following steps: introducing a preprocessing strategy, so as to reduce the network scale before evolution and in the evolution process; designing a neighborhood co-evolution strategy, forming a corresponding sub-population according to the neighborhood of each individual in each iteration, performing crossover variation updating operation in the sub-population, and emphasizing the synergistic effect between the individual and the neighborhood of the individual; and performing mating selection and crossing based on a center selection idea of density peak clustering so as to select important nodes to generate filial generations. And respectively carrying out experiments on the synthetic network, the real network and the gene co-expression network to verify the community detection performance of the NCMOGA. Experimental results show that the NCMOGA is a competitive community detection algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data mining, and in particular to a community detection method based on multi-target neighborhood co-evolution. Background Art

[0002] In real life, most complex systems can be abstracted by network graphs, where nodes represent entities in the system and edges represent some kind of relationship between entities. Nowadays, using network graphs to study complex systems has become one of the hot topics. Complex networks usually have characteristics such as small-world, scale-free, and community structure, among which community characteristics have attracted widespread attention and become a research focus. Research on community detection has achieved a lot of results and has become one of the important tools for network analysis. Generally speaking, a community refers to a subset of nodes in a network, such that the connections between nodes are denser than the connections with the rest of the network.

[0003] In the past, various community detection methods have been proposed. Among these methods, evolutionary algorithms have shown competitive advantages in discovering communities. According to the number of optimization objects, the existing community detection methods based on evolutionary algorithms can be mainly divided into two categories.

[0004] The first type of algorithm detects community structure by optimizing a single target. For example, DPSO-PDM and NIPSO identify community structure by maximizing modularity and module density, respectively. Although community detection algorithms based on single-target evolution have shown good performance, there are still some shortcomings, such as the resolution limit of modularity.

[0005] The second category of algorithms is multi-objective evolution-based community detection methods, in which multiple objectives are optimized. MOGA-Net proposed by Pizzuti et al. is the first multi-objective evolutionary algorithm for community detection in complex networks, which simultaneously optimizes two objectives: community score and community fitness. Experiments on synthetic and real networks show that MOGA-Net has better performance than community detection algorithms based on single-objective evolution. Since then, many multi-objective evolutionary algorithms for community detection in complex networks have been proposed. For example, Zhang et al. proposed a multi-objective evolutionary algorithm based on network reduction, RMOEA, for community detection in large-scale networks. In RMOEA, KKM and RC, which measure the intra-link and inter-link densities, are used as optimization objectives. To identify disease modules associated with non-small cell lung cancer, Shang et al. proposed a multi-objective evolutionary algorithm to identify disease-related modules by optimizing two new fitness functions to simultaneously consider the local topological structure of each gene and the connection strength with other genes. Summary of the invention

[0006] The present invention provides a community detection method based on multi-objective neighborhood co-evolution, referred to as NCMOGA.

[0007] The technical contents of the present invention include:

[0008] A community detection method based on multi-objective neighborhood co-evolution, characterized by comprising the following steps:

[0009] Step 1: Introduce preprocessing operations to simplify the network before and during evolution to reduce the network size and improve computational efficiency;

[0010] Step 2: Design a neighborhood co-evolution strategy. In each iteration, a corresponding subpopulation is formed according to the neighborhood of each individual, and crossover and mutation update operations are performed in the subpopulation, emphasizing the synergy between individuals and their neighbors, and enhancing local search and diversity retention capabilities.

[0011] Step 3: Improve the genetic operator based on the center selection idea of ​​density peak clustering, and design post-processing operations after the evolution is completed to further optimize the community structure.

[0012] Further, preprocessing is performed by the following steps:

[0013] Step 1.1: Before the evolution begins, simplify the network based on its local topology; expand the local community by considering the degree and neighbor information of the node, and finally simplify the found local community to one node to reduce the network size;

[0014] Step 1.2: During the evolution process, the network is simplified based on the local communities discovered by elite individuals, and the local communities are determined by using the individuals with the largest number of communities divided among the selected elite individuals; the selection of elite individuals is achieved by minimizing two complementary objective functions:

[0015] ,

[0016] ,

[0017] in, The number of communities represented, Indicates communities, express The complement of Indicates The number of nodes in a community, Representing the community The internal connection density, Representing the community the density of connections to other communities in the network; and are respectively related to the internal connection density and external connection density of the community; minimizing A small number of communities with high internal connection density will be obtained; minimizing This results in a set of large communities where nodes are sparsely connected; and The combined effect of can quantitatively evaluate the community division results; finally, the local community found is simplified to one node to reduce the network scale, and other nodes remain unchanged.

[0018] Furthermore, the neighborhood co-evolution strategy is designed, which mainly includes the following steps:

[0019] Step 2.1: Use the Tchebycheff method to construct the aggregation function, that is, use a set of weight vectors The multi-objective optimization problem is decomposed into single-objective subproblems, where is the population size; the uniformly distributed weight vector is generated by permutation, combination and standardization to ensure its uniform distribution in the multi-objective space, which helps to find a balanced solution among multiple objectives;

[0020] Step 2.2: Initialize the population using the position-based adjacency coding scheme. Each individual performs the following two operations with the same probability: the nodes in the individual gradually gather into the same community as most of its neighbors, thus forming a solution with a better community structure; the nodes in the individual are randomly assigned a label of a neighbor to introduce diversity and prevent the population from falling into a local optimal solution;

[0021] Step 2.3: In each iteration, find the neighbor subpopulation of each individual based on the initialized population and weight vector; specifically, obtain the distance matrix between individuals based on the weight vector; for each individual, sort its neighbor nodes in ascending order according to the distance between the individual and its neighbor individuals, and select the top ranked ones. neighbors form a subpopulation; during the evolution process, for each individual, the evolution of the individual is guided by the performance of the individuals in the corresponding subpopulation.

[0022] Furthermore, the genetic operator is improved based on the center selection idea of ​​density peak clustering, and the post-processing operation is designed after the evolution is completed, which mainly includes the following steps:

[0023] Step 3.1: Use the center selection idea based on density peak clustering to identify high-density areas and give priority to individuals in these areas during mating selection to ensure that the selected individuals have high fitness while maintaining the diversity of the population; the centrality value function for measuring each node is as follows,

[0024] ,

[0025] Among them, the fuzzy neighborhood kernel is introduced to calculate the local density value , defined as,

[0026] ,

[0027] ,

[0028] in, Is a node and nodes If the Euclidean distance between ,but , Is a node No. nearest neighbors; The definition of is as follows,

[0029] ,

[0030] For the node with the largest density, we usually take ;

[0031] Step 3.2: Use the above center selection idea to guide the selection of crossover points. During the crossover operation, the center point and its neighbors are preferentially selected as crossover points, so as to perform crossover operations at key positions to improve the quality and diversity of offspring.

[0032] Step 3.3: The design of the mutation operator is based on the assumption that the degree of related nodes in complex networks is usually greater than the degree of unrelated nodes. Specifically, the mutation vector of each offspring is randomly generated from [0,1]. If the value of a node in the mutation vector is less than the mutation probability, the node at the matching point will mutate to the node with the largest degree among its neighboring nodes.

[0033] Step 3.4: After the crossover mutation is completed, a new offspring solution is obtained. If the offspring's Tchebycheff value is better than the solution in the population, it is replaced; run until the maximum number of iterations is reached;

[0034] Step 3.5: The post-processing operation aims to further optimize the community division results. Specifically, according to the currently obtained community division and weight matrix, the community to which the node belongs is iteratively adjusted. First, the neighbor node information of each node is cached to avoid repeated calculations. Then, by calculating the gain value of each node joining different communities, the optimal gain is selected for community adjustment. During the iteration process, only the nodes with the largest modularity gain are updated, and an incremental update strategy is formulated to recalculate only the changed nodes and their neighbors. In addition, the maximum number of iterations is limited to control the calculation time. Finally, the optimized community division result is returned. 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 in the embodiments or the description of the prior art are briefly introduced below.

[0036] Figure 1 A flowchart of a community detection method NCMOGA based on multi-objective neighborhood co-evolution disclosed in an embodiment of the present invention;

[0037] Figure 2 Comparison of the average NMI values ​​of the NCMOGA method and other methods after 10 runs on the first group of LFR networks;

[0038] Figure 3 Comparison of the average NMI values ​​of the NCMOGA method and other methods after 10 runs on the second group of LFR networks;

[0039] Figure 4 Comparison of the average NMI values ​​of the NCMOGA method and other methods after 10 runs on the third group of LFR networks;

[0040] Figure 5 Comparison of the average NMI values ​​of the NCMOGA method and other methods after 10 runs on the 4th group of LFR networks;

[0041] Figure 6 Comparison of the average NMI and Q values ​​of the NCMOGA method and other methods running 10 times on five real networks;

[0042] Figure 7 Performance comparison of disease modules identified by the NCMOGA method and other methods on three gene expression datasets for classifying healthy and disease samples. DETAILED DESCRIPTION

[0043] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0044] The present invention provides a community detection method based on multi-objective neighborhood co-evolution, such as Figure 1 As shown, the specific steps include:

[0045] Step 1: Introduce preprocessing operations to simplify the network before and during evolution to reduce the network size and improve computational efficiency;

[0046] Step 2: Design a neighborhood co-evolution strategy. In each iteration, a corresponding subpopulation is formed according to the neighborhood of each individual, and crossover and mutation update operations are performed in the subpopulation, emphasizing the synergy between individuals and their neighbors, and enhancing local search and diversity retention capabilities.

[0047] Step 3: Improve the genetic operator based on the center selection idea of ​​density peak clustering, and design post-processing operations after the evolution is completed to further optimize the community structure.

[0048] In order to verify the performance of the present invention in community detection, this embodiment is tested on a synthetic network and a real network.

[0049] NCMOGA was compared with five methods, including RMOEA, DPSO_PDM, NIPSO, Louvain, and SCAN. For fair comparison, the maximum number of iterations was set to 100, the population size was set to 100, and other parameters were set to recommended values. To ensure the accuracy of the results, all methods were run independently 10 times and the average was taken.

[0050] The synthetic network adopts LFR network, which can reflect the key characteristics of complex real-world systems. In the experiment, four groups of LFR networks are considered. The first group has a network size of 1000 and a minimum community size of , maximum community size ; The second group of networks has a size of 5000 and a minimum community size , maximum community size ; The third group of network size is 5000, the minimum community size , maximum community size ; The fourth group network size is 10000, the minimum community size , maximum community size ; Other parameter settings are as follows: Mixed parameters The range is 0.1 to 0.6, with a maximum , average degree , the index of the degree distribution and the index of community size distribution .

[0051] In the experiment, five commonly used real networks are used, including Karate network, Dolphin network, Football network, NEWPPI network and Polbooks network.

[0052] In the experiment, normalized mutual information (NMI) and modularity (Q) are used to evaluate the quality of communities detected on LFR networks and real networks. The definition of NMI (M, N) is as follows:

[0053] ,

[0054] in, represents the actual community division result, represents the community division result detected by NCMOGA, represents the number of communities in the real partition, represents the number of nodes in the network, is the confusion matrix, Indicates that The division In the community Divided The greater the similarity between the true community partition result and the detected community partition result, the greater the NMI. The definition of Q is as follows,

[0055] ,

[0056] in, represents the number of communities, Representing the community The number of connections in Indicates the number of connections in the network. Representing the community The total degree of the nodes in the community. The larger the Q, the better the community quality.

[0057] Figure 2-Figure 5 The average NMI values ​​of the six comparison methods after running 10 times on four groups of LFR networks are shown. Figure 2-Figure 5 It can be seen that NCMOGA performs well on the four groups of LFR networks. When the value changes from 0.1 to 0.6, the NMI value achieves the optimal value. The experimental results prove the competitiveness of NCMOGA on the LFR network.

[0058] The average Q values ​​of NCMOGA and the comparison methods in ten runs on five real networks are shown in Figure 6 As shown in the figure. NCMOGA obtains the best NMI value on five real networks. In addition, NCMOGA obtains the best Q value on four real networks. Only on the Karate network, the Q value of NCMOGA is slightly smaller than the Q value of Louvain's method. Overall, NCMOGA performs better than other community detection methods on real networks.

[0059] To further illustrate the effectiveness of NCMOGA, it was applied to a gene co-expression network constructed from a real gene expression dataset, aiming to identify disease-associated modules. When constructing a gene co-expression network, combining gene expression data with a protein-protein interaction network can enhance the understanding of the underlying causes of complex diseases. Therefore, the specific steps for constructing a gene co-expression network are as follows: (1) Convert the downloaded raw data file into a gene expression matrix. (2) Use the limma package in the R library to identify differentially expressed genes, and use the Benjamini-Hochberg method to correct the p-value. In NCMOGA, differentially expressed genes refer to genes with an adjusted p-value less than 0.05, and only the interactions between differentially expressed genes are used to construct a gene co-expression network. (3) Gaussian copula mutual information is used to calculate the interaction strength between differentially expressed genes to obtain a similarity matrix. (4) The similarity matrix is ​​filtered using the protein-protein interaction network, that is, if there is no connection between two differentially expressed genes in the protein-protein interaction network, the corresponding value in the matrix will be reset to 0.

[0060] Three sets of gene expression datasets were downloaded from the NCBI Gene Expression Omnibus database for disease module identification experiments, which are related to three different diseases. The first dataset (ID: GSE19422) is related to pheochromocytoma, including 84 disease samples and 6 control samples, with a total of 19,596 genes. The second dataset (ID: GSE19422) is related to breast cancer, including 176 disease samples and 10 control samples, with a total of 19,596 genes. The third dataset (ID: GSE19188) is related to non-small cell lung cancer, including 91 disease samples and 65 control samples, with a total of 20,486 genes.

[0061] NCMOGA is used to identify the modules related to the above three diseases. To verify the performance of the modules identified by NCMOGA, the identified modules are used in the classification experiments of healthy and disease samples, and their classification performance is compared with four advanced methods, namely RMOEA, DPSO_PDM, NIPSO and DM_MOGA.

[0062] In the classification experiments of healthy and disease samples, six commonly used evaluation indicators were used to evaluate the performance of the modules identified by NOMOGA, including Accuracy, Precision, Recall, F-measure, G-mean and AreaUnder the Curve (AUC). Accuracy represents the proportion of correct predictions to all predictions of the method, Precision is the proportion of correct predictions to all correct predictions, and Recall is the proportion of correct predictions to all actual correct instances. F-measure is the harmonic mean of accuracy and recall. G-mean can balance accuracy and recall, which helps to evaluate the performance of models of different categories. The calculation formulas of these five indicators are as follows,

[0063] ,

[0064] ,

[0065] ,

[0066] ,

[0067] ,

[0068] Among them, TP and TN represent the number of samples correctly predicted as positive and negative examples by the method, respectively, and FP and FN represent the number of samples incorrectly predicted as positive and negative examples by the method, respectively. AUC measures the area under the receiver operating characteristic curve, indicating the performance of the model for binary classification.

[0069] The classification performance of the five compared methods on three gene expression datasets is shown in Figure 7 As shown. These results were calculated by five-fold cross validation, randomly dividing the sample set into five equal-sized parts, one of which was used as a test set and the remaining four as training sets. Each module was independently subjected to ten rounds of repeated experiments. The final result is the average of these experiments. The experiment used a support vector machine as a classifier. NCMOGA showed good classification ability and stability in terms of six evaluation indicators on the GSE19422 and GSE19188 datasets. In addition, on the GSE22820 dataset, NCMOGA outperformed other methods in the five indicators of Accuracy, Precision, F-measure, G-mean, and AUC, with only Recall slightly worse than DPSO_PDM. Overall, the disease modules detected by NCMOGA can be used as biomarkers to effectively distinguish between disease and healthy samples.

[0070] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. A person skilled in the art may modify or make equivalent substitutions for the technical solutions of the present invention without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A community detection method based on multi-objective neighborhood co-evolution, characterized in that: The following steps are involved: Step 1: Introduce preprocessing operations to simplify the network before and during evolution to reduce the network size and improve computational efficiency; Step 2: Design a neighborhood co-evolution strategy. In each iteration, a corresponding subpopulation is formed according to the neighborhood of each individual, and crossover and mutation update operations are performed in the subpopulation, emphasizing the synergy between individuals and their neighbors, and enhancing local search and diversity retention capabilities. Step 3: Improve the genetic operator based on the center selection idea of ​​density peak clustering, and design post-processing operations after the evolution is completed to further optimize the community structure.

2. The method according to claim 1, characterized in that The step 1 specifically includes: Step 1.1: Before the evolution begins, simplify the network based on its local topology; expand the local community by considering the degree and neighbor information of the node, and finally simplify the found local community to one node to reduce the network size; Step 1.2: During the evolution process, the network is simplified based on the local communities discovered by elite individuals, and the local communities are determined by using the individuals with the largest number of communities divided among the selected elite individuals; the selection of elite individuals is achieved by minimizing two complementary objective functions: , , in, The number of communities represented, Indicates communities, express The complement of Indicates The number of nodes in a community, Representing the community The internal connection density, Representing the community the density of connections to other communities in the network; and are respectively related to the internal connection density and external connection density of the community; minimizing A small number of communities with high internal connection density will be obtained; minimizing This results in a set of large communities where nodes are sparsely connected; and The combined effect of can quantitatively evaluate the community division results; finally, the local community found is simplified to one node to reduce the network scale, and other nodes remain unchanged.

3. The method according to claim 1, characterized in that The step 2 specifically includes: Step 2.1: Use the Tchebycheff method to construct the aggregation function, that is, use a set of weight vectors The multi-objective optimization problem is decomposed into single-objective subproblems, where is the population size; the uniformly distributed weight vector is generated by permutation, combination and standardization to ensure its uniform distribution in the multi-objective space, which helps to find a balanced solution among multiple objectives; Step 2.2: Initialize the population using the position-based adjacency coding scheme. Each individual performs the following two operations with the same probability: the nodes in the individual gradually gather into the same community as most of its neighbors, thus forming a solution with a better community structure; the nodes in the individual are randomly assigned a label of a neighbor to introduce diversity and prevent the population from falling into a local optimal solution; Step 2.3: In each iteration, find the neighbor subpopulation of each individual based on the initialized population and weight vector; specifically, obtain the distance matrix between individuals based on the weight vector; for each individual, sort its neighbor nodes in ascending order according to the distance between the individual and its neighbor individuals, and select the top ranked ones. neighbors form a subpopulation; during the evolution process, for each individual, the evolution of the individual is guided by the performance of the individuals in the corresponding subpopulation.

4. The method according to claim 1, characterized in that The step 3 specifically includes: Step 3.1: Use the center selection idea based on density peak clustering to identify high-density areas and give priority to individuals in these areas during mating selection to ensure that the selected individuals have high fitness while maintaining the diversity of the population; the centrality value function for measuring each node is as follows, , Among them, the fuzzy neighborhood kernel is introduced to calculate the local density value , defined as, , , in, Is a node and nodes If the Euclidean distance between ,but , Is a node No. nearest neighbors; The definition of is as follows, , For the node with the largest density, we usually take ; Step 3.2: Use the above center selection idea to guide the selection of crossover points. During the crossover operation, the center point and its neighbors are preferentially selected as crossover points, so as to perform crossover operations at key positions to improve the quality and diversity of offspring. Step 3.3: The design of the mutation operator is based on the assumption that the degree of related nodes in complex networks is usually greater than the degree of unrelated nodes. Specifically, the mutation vector of each offspring is randomly generated from [0,1]. If the value of a node in the mutation vector is less than the mutation probability, the node at the matching point will mutate to the node with the largest degree among its neighboring nodes. Step 3.4: After the crossover mutation is completed, a new offspring solution is obtained. If the offspring's Tchebycheff value is better than the solution in the population, it is replaced; run until the maximum number of iterations is reached; Step 3.5: The post-processing operation aims to further optimize the community division results. Specifically, according to the currently obtained community division and weight matrix, the community to which the node belongs is iteratively adjusted. First, the neighbor node information of each node is cached to avoid repeated calculations. Then, by calculating the gain value of each node joining different communities, the optimal gain is selected for community adjustment. During the iteration process, only the nodes with the largest modularity gain are updated, and an incremental update strategy is formulated to recalculate only the changed nodes and their neighbors. In addition, the maximum number of iterations is limited to control the calculation time. Finally, the optimized community division result is returned.

Citation Information

Cited By

  • Social network community discovery method based on density peak clustering of neighborhood fuzzy kernel

    CN119939045A