Correlation Analysis of Nodes Identifies Real Communities in Networks

Correlation Analysis of Nodes Identifies Real Communities in Networks

Jingming Zhang Jianjun Cheng Xing Su Xinhong Yin Shiyan Zhao Xiaoyun Chen School of Information Science and Engineering, Lanzhou University, South Tianshui Road No. 222, Lanzhou 730000, P. R. China

A significant problem in analysis of complex network is to reveal community structure, in which network nodes are tightly connected in the same communities, between which there are sparse connections. Previous algorithms for community detection in real-world networks have the shortcomings of high complexity or requiring for prior information such as the number or sizes of communities or are unable to obtain the same resulting partition in multiple runs. In this paper, we proposed a simple and effective algorithm that uses the correlation of nodes alone, which requires neither optimization of predefined objective function nor information about the number or sizes of communities. We test our algorithm on real-world and synthetic graphs whose community structure is already known and observe that the proposed algorithm detects this known structure with high applicability and reliability. We also apply the algorithm to some networks whose community structure is unknown and find that it detects deterministic and informative community partitions in these cases.

Complex networks Community dectection Correlation analysis
journal: Physica A

1 Introduction

Community detection in networks has been intensively investigated in recent years, which has significant contribution to our understanding of complex systemsFORTUNATO20161 (); newman2012communities (). Community structure is one of the most important features for complex networks, in which nodes are tightly connected in the same communities, between which there are only sparse connectionsgirvan2002community (). More importantly, community structures are often connected with functional and organizational characteristics of latent networksPhysRevE.69.026113 (); PhysRevE.90.062805 (). Therefore community detection has much practical significance.

Many community detection methods have been proposed in recent years. These methods attempt to disclose community structure characteristics in networks from various perspectives. In order to minimize the inter-group edges, the traditional graph partitioning methods divide the nodes into a predefined number of groups with definite size. Hierarchical clustering techniques uncover the grouping structure of a graph, either in divisive style or agglomerative waynewman2012communities (). Spectral clustering algorithms partition a network into groups by using the eigenvectors of affinity matricesPhysRevE.74.036104 (); Newman8577 (). Modularity maximization methods convert the problem of community detection into an task of optimizing the modularity function to get the optimal community partitioningPhysRevE.70.066111 (). Most of the above methods can be regarded as global approaches, and they suffer from common limitations that require for a priori knowledge such as the number or sizes of communities, which are usually uncertain and unavailable in advance. Moreover, many global methods tend to be computationally demanding in spite of high accuracy. Therefore, it is non-trivial to balance between accuracy and efficiency for community detection.

Many local approaches have been proposed to solve the limitations mentioned above. They depend only on local information of nodes. Local methods are empirically classified into four categories: label propagation based algorithms, density-based clustering methods, dynamic-based approaches and local expansion optimization methods. Usha Nandini Raghavan et al. proposed the first label propagation based algorithm in 2007PhysRevE.76.036106 (). Moreover, density-based clustering methods are also noteworthy. Tao You et al.YOU2016221 () proposed a density-based clustering algorithm combined IsoMap and Fdp technique. However, this method need to supply appropriate parameters like other density-based clustering methodsGONG201471 (); Xu:2007:SSC:1281192.1281280 (). Notably, dynamic-based approaches have employed various techniques such as random walk and particle system. Walktrappons2005computing () algorithm is based on random walk. Quiles et al. proposed a novel community detection algorithm using particle system. Furthermore, AttractorShao2015Community () method based on distance dynamics is introduced in 2015. Unfortunately, these methods accompany some drawbacks such as randomness and weak robustness. with respect to local expansion optimization methods, they are usually used for local community detection in large networks because of the advantages both in accuracy and efficiency. However, they are also sensitive to initial seeds and built-in parameters. In 2012, Kun et al. has proposed an efficient algorithm based on the strength of weak ties hypothesisli2012efficient (). Tao et al.WANG20181344 () proposed a local community detection method based on local similarity and degree clustering information. Krista introduced a novel community detection algorithm using maximal neighbor similarityvzalik2015maximal (). But these methods produce unstable or relatively bad results.

In this paper, we present a novel method for community detection which is termed as CAN(Correlation Analysis of Nodes). It is inspired by a simple idea that a pair of nodes in the same community are more correlated than between different communities. Compared with previous state-of-the-art algorithms that mentioned above, the proposed method dose not acquire prior knowledge. Moreover, it avoids instability of some methods.

The remainder of this paper is organized as follows. The proposed algorithm is described in detail in section 2. Section 3 presents experimental results and discusses the selection of parameters. And the paper is ended with a conclusion in section 4.

2 CAN algorithm

In this section, we propose a community detection algorithm motivated by a simple idea that nodes in the same community are more correlated than between different communities. A network can be represented as a graph with a set of vertices that represents objects and a set of edges that models relationships between each pair of nodes that interact with each other. Communities are defined as intrinsic groups of densely interconnected nodes that have sparse connection with the other network. On the basis of this definition, the nodes in the same community tend to have the same feature such as link pattern. Link pattern of node is an attribute vector constructed from the similarity of node to the other nodes, which defined as eq.1. In order to measure the correlation between a pair of nodes, we firstly construct link pattern of every node using eq.2. Secondly, we find all pairs of nodes with strong correlation in the networks using Pearson correlation coefficient. And then we can get initial partition on the basis of second step, which can be seen from subsection 2.1. Of course, we finally identify intrinsic and definite community structures by adjusting fuzzy nodes and some small-scale communities. To understand our approach explicitly, we first have a big picture with our algorithm outlined in Algorithm1, and then expound every step in our method at length.

Input: A network and the threshold Correlation Coefficient .
Output: Community structure of network .
for   do
      for  do
           Calculate Similarity Matrix using equation 2.
           end for
           end for
           for   do
                for  do
                     if  then
                          end if
                          end for
                          end for
                         Get initial partition using Theorem 1
                          for  do
                               Merge node into corresponding partition using equation 5
                               end for
                              for  do
                                    if  then
                                         for  do
                                              Merge node into corresponding partition using equation 5
                                              end for
                                              end if
                                              end for
Algorithm 1 CAN algorithm

2.1 Get Initial Partition

In order to get initial partition, we firstly need to calculate the link pattern of every node. The link pattern of node is defined as


where represents the similarity between nodes and , and is the number of nodes in network. Many node similarity metrics based on local information have been proposed zhou2009predicting (). Salton’s Cosine indexSalton:1986:IMI:576628 () is selected as the node similarity measure in our method. Salton’s Cosine is defined as:


where is the neighbor set of node , i.e., , is the number of common neighbors of nodes and , i.e., .

Secondly, we can analyze the correlation between nodes and using link pattern and Pearson correlation coefficient Pearson1895Proceedings (). This is


where n is the number of nodes, and are the respective link pattern of nodes u and v, and serve as the values of and respectively, and are the respective mean values of and , and represent the standard deviations of and separately, and is the sum of the cross-product. For purpose of finding all pairs of nodes with strong correlation, we put forward the following definition and theorem on the strength of Pearson correlation coefficient in complex networks.

Definition 1

Given a correlation threshold , if , then nodes and are strong correlation , and both nodes are in the same community.

Obviously, ”strong correlation” is an equivalence relation:

  1. symmetric: If is strong correlation, then is also strong correlation.

  2. transitive: If is strong correlation and is strong correlation, then is strong correlation as well.

  3. reflexive: is strong correlation.

Theorem 1

If and , then is strong correlation in the network, and are in the same community.

Proof of theorem 1 is very easy on the basis of the properties of the equivalence relation. Theorem 1 can be used to guide the process of community detection. In fact, a community can be regard as an equivalence class. Consequently, we need only to find all equivalence classes in the graph.

In order to show more details about how to get initial partition, an example network with 7 nodes and 10 edges is shown in Fig. 1.

Figure 1: An example network with community structure.

For the node in the network shown in Fig.1, the link pattern of each node can be obtained using eq.1 and eq.2. The link pattern of each node are shown in Table 1.

Link Pattern
[1.000 1.000 1.000 0.894 0.250 0.000 0.000]
[1.000 1.000 1.000 0.894 0.250 0.000 0.000]
[1.000 1.000 1.000 0.894 0.250 0.000 0.000]
[0.894 0.894 0.894 1.000 0.447 0.258 0.258]
[0.250 0.250 0.250 0.447 1.000 0.866 0.866]
[0.000 0.000 0.000 0.258 0.866 1.000 1.000]
[0.000 0.000 0.000 0.258 0.866 1.000 1.000]
Table 1: The Link pattern of each node

Then, we can get all pairs of nodes with strong correlation using eq.3 and the link pattern of each node. Given the correlation threshold , we obtain nine pairs of nodes with strong correlation, i.e., , , , , , , , and . So, the set of strong correlation is

Next, we employ the theorem 1 and above set to get the initial partition. For example, and are strong correlation, then is strong correlation, and nodes are in the same community. Consequently, we finally get the initial partition is .

2.2 Merge fuzzy nodes and small partitions

In this subsection, we will explain how to merger fuzzy nodes and small partitions using initial partition obtained before. Considerable methods have been proposed to handle the fuzzy nodes, which mean the node that dose not belong to any initial partition in our paper. To merge these fuzzy nodes, we adopt Jaccad indexJaccard1901Etude () as the similarity measure between node and partition . The Jaccard index is calculated as the ratio of common neighbors of node and , normalized by the sum of the neighbors of both nodes:


Given a fuzzy node , we use eq.5 to determine to which partition it should belong.


which means that node belongs to the community with which it is the most similar.

Each partition that does not satisfy community criteria merges with the other partition between which is the most similar. In our method, community unsatisfied community criteria is defined as the community that the size of community is less than . we can find how set this parameter in section 3.4. The pseudo-code can be seen in Algorithm 1.

2.3 Time complexity analysis

Our algorithm consists of calculating similarity matrix, finding pairs of nodes with strong correlation and forming the initial communities, and adjusting the partitions and nodes among communities. Calculation of similarity matrix requires where is the number of nodes. Choosing all pairs of node with strong correlation costs . Then preliminary communities can be formed in time complexity. Adjusting partitions and nodes among communities needs where is the number of initial partitions, is the maximum number of fuzzy nodes and is the maximal size of community that dose not satisfy community criteria. The total time complexity of the proposed algorithm is . For a community structure in a network, is far smaller than the number of nodes . Therefore, the time complexity of CAN can be simplified as .

3 Experiments and discussion

In this section, we test the performance of the CAN algorithm on various networks that have widely used in community detection, and compare to some state-of-the-art algorithms[namely, CNMPhysRevE.70.066111 (), LPAPhysRevE.76.036106 (), IsofdpYOU2016221 (), Walktrappons2005computing (), Particlequiles2016dynamical () and AttractorShao2015Community () methods] on real-world networks and synthetic networks to illustrate the effectiveness of the proposed method on revealing the community structures. Furthermore, we adopt two critical evaluation criteria, i.e., normalized mutual information and modularity, to evaluate the quality of various community detection algorithm. Thereafter, we will analyze how to set the threshold of correlation coefficient , and the parameter in Section 3.4.

3.1 Evalution criteria

To evaluate the performance of a community detection algorithm in the experiments, we introduce two remarkable evaluation criteria, modularity and normalized mutual information. The modularity is an commonly used quality measure proposed by Grivan and NewmanNewman2004Finding (). It is based on the assumption that a community structure is not detected in random graphs. It can be defined as:


where and is the fraction of edges that connect nodes in community i to those in community j, is the fraction of edges that fall within community .

Normalized mutual information(NMI) is an information-theory based measurement, which is extensively used in evaluating the quality of our method on networks with known groud truth community structuresDanon2005Comparing (). It can be calculated as:


where and denotes uncovered community partition and real partition respectively; , is the number of communities in and ; is the confusion matrix, is the number of vertices in common between community and , is the sum over column of and is the sum over row of N. Note that the value of NMI ranges between and , higher values represent more accurate results for an algorithm.

3.2 Synthetic networks

In this subsection, we perform a set of experiments on Lancichinetti-Fortunato-Radicchi(LFR) benchmark networksLancichinetti2008Benchmark (). Specifically, we set the average degree of LFR networks as 20, the maximum degree as 50, the exponent of the degree distribution as - 2.0, and the exponent of the community size distribution as - 1.0. With these parameters, we display four scenarios in the following: networks with 1000 nodes and community sizes changing from 10 to 50 nodes, which can be called 1000(S); networks with the same size but with community sizes varying from 20 to 100 nodes, which be called 1000(B); and the other two scenarios are subject to the same range of community size as the former two, but networks with 5000 nodes, which named as 5000(S) and 5000(B), respectively. The performance of the algorithms in experiment is quantified by NMI. In particular, it is worth pointed out that we generate 10 networks with the same parameters and take the average as final result in order to eliminate the randomness of benchmark networks.

(a) LFR1000(S)
(b) LFR1000(B)
Figure 2: Comparison of different community detection algorithms on LFR benchmark networks with N = 1,000. (a) Benchmark networks with communities of small size. (b) Benchmark networks with communities of big size.

As shown in Figure 2, the proposed CAN algorithm gets when on the networks with communities of small size, and gets when on the networks with communities of big size, which means that the result matches with the natural network structures perfectly. Furthermore, in our experiments, we observe that CNM algorithm performs relatively bad compared to our algorithm on the small networks with two scenarios of community size. The LPA uncovers the ground truth community structures both on LFR1000(S) and LFR1000(B) when , but its performance declines sharply as the increases. The main reason is that big communities are produced during label propagation when the boundary between communities is increasingly obscure. The Attractor and Particle descends slowly throughout the experiments on the small networks, but its effectiveness is always worse than the proposed algorithm when the mixing parameter , and the result of Particle is subject to the randomness of benchmark networks, emerging slight fluctuation when . Moreover, Isofdp and Walktrap achieve comparable performance to CAN algorithm, and even better than the proposed algorithm on LFR1000(S) when mixing parameter and on LFR1000(B) when . Hence, we can conclude that our method works well and obtains better performance, compared to most algorithms.

(a) LFR5000(S)
(b) LFR5000(B)
Figure 3: Comparison of different community detection algorithms on LFR benchmark networks with N = 5,000. (a) Benchmark networks with communities of small size. (b) Benchmark networks with communities of big size.

As can be seen from Figure 3(a), the proposed algorithm obtains optimal results when on the networks with communities of small size. Note that Isofdp, Attractor and Walktrap methods acquire relatively good results, and even better than CAN algorithm when . The CNM performs relatively bad compared to other algorithm. However, Particle algorithm is not better than CNM in general because of its sensitivity to randomness of LFR networks. The LPA disclose intrinsic community structure when , but its performance declines sharply as the increases. On the other hand, the results of LFR5000(B) are depicted in Figure 3(b), our algorithm is also superior when .

In summary, the proposed algorithm gets the superior performance on LFR benchmark networks, especially on large-scale networks.

3.3 Real-world networks

In this subsection, we compare the performance of CAN with the compared algorithms on eight real-world networks – Zechary’s karate club networkzachary1977information (), American college football networkgirvan2002community (), Scientists collaboration networkgirvan2002community (), Dolphin social networkLusseauS186emergent (), Riskmap networkRiskmap (), Political book network(Polbooks)newman2006modularity (), Les Miserables networkknuth1993stanford () and PGP networkPhysRevE.70.056122 (). All these networks are commonly used in community detection. The basic information of these networks are shown in Table 2.

Network vertices edges communities
Karate 34 87 4.59 2
Football 115 613 10.66 11
SantaFe 118 197 3.34 6
Dolphins 62 159 5.13 4
Rsikmap 42 83 3.92 6
Polbooks 105 441 8.40 3
Lesmis 77 253 6.57 7
PGP 10680 24316 4.55 713
Table 2: The basic information of the real-world networks

The Zechary’s karate club network contains 34 nodes, and partitions into two smaller clubs ultimately after a dispute between the instructor (Vertex 34) and the administrator(Vertex 1). As shown in Figure 4, there are two communities obtained by our proposed algorithm for , which coincide with ground truth community structure. The comparison results of the two metrics are listed in Table 3

Figure 4: The community structure of the Zachary’s Karate Club network detected by CAN algorithm.

The American college football network represents the schedule of games between American college football teams during a regular season. In the network nodes represent the 115 teams that are divided into 12 groups, and the edges denote 616 games. The groud truth community structure is shown in Fig.5. As can be seen from Fig. 5(b), our Algorithm uncovers 11 communities for . The conference {59, 98, 60, 64} has been divided into three partitions. This is the reason that the team in this conference does not satisfy the assumption that two teams in the same conference would have more games than two in different conference. For example, the neighbors of node 59 are , it means that team 59 has only three matches in its conference and seven games with the other conferences. So the result obtained by our method is consistence with the real back ground. The comparison results of the two metrics are enumerated in Table 3.

Figure 5: The result of CAN algorithm on American College Football network.(a)is the ground truth;(b) is the obtained network partition by CAN.

The scientists collaboration network is a network depicting the co-author relationship between scientists at the Santa Fe Institute. This network consists of 118 nodes and 197 edges. An edge represents two nodes(scientists) coauthored one or more articles during the same period. As shown in Fig.6, the ground truth community structure contains 6 communities. Note that the proposed algorithm also split it into 6 communities for , which is illustrated in Figure 6. Obviously, the node set {102, 103, 104, 105, 106, 107, 108, 112} detected by CAN are assigned to incorrect communities compared with the ground truth community structure. Some of them, including {102, 103, 104, 105, 106}, are located at community boundary between Mathematical Ecology(Pink color) and Agent-based Models(Mandarin color). Among them, there exists a node with critical influence who takes a part of the center of gravity, that is node 78. In the process of finding a pair of nodes with strong correlation, these boundary nodes are strong correlation with node 78. Hence, these marginal nodes tend to be misclassified into community of Mathematical Ecology, and the misclassification of the other nodes 107, 108, 112 are inevitable. However, the communities identified by CAN algorithm is acceptable and considerably superior compared with the other community detection algorithm in Table 3.

Figure 6: The result of CAN algorithm on SantaFe network. (a) is ground truth. (b) is identified by the proposed algorithm.

The dolphin social network was constructed from observations recording frequent associations between a community of 62 bottlenose dolphins over a period of 7 years from 1994 to 2001. In this network, nodes represent dolphins and edges between them donates that they often interact with each other. In the previous work, it is generally divided into two groups or four sub-groups in the light of sex and age of dolphins. The ground truth community structure of Dolphins social network is illustrated in Fig.7. As shown in Figure 7, our method reveals four communities for that are remarkably close to the ground truth, while nodes ’sn89’(40) and ’zap’(60) have been misclassified into adjacent communities. Note that nodes ’sn89’ and ’zap’ is located at the community boundary. Thus, it is easy to understand why it is assigned into wrong community. The comparison results of the two evaluation metrics are listed in Table 3.

Figure 7: The result of CAN algorithm on dolphin social network. (a) is ground truth. (b) is identified by the proposed algorithm.

Riskmap network is created according to a map of popular board game Risk, which was invented in 1957 by Albert Lamorisse. It contains 42 nodes that represent territories and 83 edges donate pairs of territories are geographical adjacency. To avoid any political sensitivity, each of the nodes are treated as a continuous number rather than the name of the country or territory, the ground truth of which consists of 6 communities shown in Fig. 8. The community detected by our proposed algorithm includes 7 communities for depicted in Fig. 8. Obviously, the community {17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28} has been divided into two sub-communities, {18, 19, 20, 21, 24, 25} and {17, 22, 23, 26, 27, 28}. Firstly, we observe that the edges between two sub-communities are sparse than intra-communities. Moreover, we find that two sub-communities, in and of itself, are equivalence classes. Thus, it is reasonable that the Riskmap network partitions into 7 communities. The comparison results of NMI and Modularity are listed in Table 3.

Figure 8: The result of CAN algorithm on Riskmap network. (a) is the ground truth community structure; (b) is detected by the CAN algorithm.

Political book network contains 105 nodes that donate books about US politics sold by the online bookseller Edges represent frequent co-purchasing of books by the same customers. Each book is labeled with ”liberal”, ”neutral” and ”conservation”, respectively, which are represented as ’l’, ’n’ and ’c’ in our experiment. As can be seen from Figure 9, the ground truth contains three communities. As show in Fig.9, CAN algorithm also partitions these books into three categories, where two communities well signify the corresponding liberal and conservative books, separately. Compared with the ground truth, the communities detected by our method are closer to the definition of community, while the NMI measure of the proposed algorithm is smaller than Particle Algorithm shown in Table 3.

Figure 9: The result of CAN algorithm on political book network. (a) is the ground truth community structure; (b) is detected by the CAN algorithm.

The Les Miserables network describes the interactions between major figures in the Victor Hugo’s novel ”Les Miserables”, as compiled by Knuth. Nodes represent characters as indicated by the labels and edges connect any pair of characters that appear in the same chapter of the book. As shown in Table 3, CAN obtains the best community quality comparing to other well-known algorithm when using the internal criteria of Modularity.

The PGP network is a trust networks on base of an encryption program, where vertices are certificates and an edge donates authorization from the owner of a certificate to that of another. As shown in Table 3, the proposed algorithm gets the maximum modularity with the exception of the result of CNM algorithm. It means that our method is also available for large-scale networks.

Dataset Alg. Q NMI Score R Dataset Alg. Q NMI Score R
Karate CNM 0.381(1) 0.693(3) 2 2 Football CNM 0.550(6) 0.751(6) 6 5
Isofdp 0.372(2) 1.000(1) 1.5 1 Isofdp 0.600(3) 0.982(2) 2.5 2
LPA 0.354(3) 0.622(4) 3.5 3 LPA 0.589(4) 0.945(5) 4.5 4
Walktrap 0.353(4) 0.504(5) 4.5 4 Walktrap 0.603(1) 0.954(4) 4 3
Particle 0.064(5) 0.161(6) 5.5 5 Particle 0.585(5) 0.954(4) 4.5 4
Attractor 0.372(2) 0.924(2) 2 2 Attractor 0.601(2) 0.989(1) 1.5 1
CAN 0.372(2) 1.000(1) 1.5 1 CAN 0.601(2) 0.970(3) 2.5 2
Santafe CNM 0.750(1) 0.867(2) 1.5 1 Dolphins CNM 0.492(2) 0.733(2) 2 2
Isofdp 0.668(5) 0.825(4) 4.5 4 Isofdp 0.479(4) 0.683(5) 4.5 4
LPA 0.638(6) 0.741(6) 6 4 LPA 0.457(5) 0.711(3) 4 3
Walktrap 0.733(3) 0.818(5) 4 3 Walktrap 0.489(3) 0.632(6) 4.5 4
Particle 0.587(7) 0.575(7) 7 5 Particle 0.408(7) 0.512(7) 7 6
Attractor 0.694(4) 0.836(3) 3.5 2 Attractor 0.443(6) 0.699(4) 5 5
CAN 0.738(2) 0.927(1) 1.5 1 CAN 0.519(1) 0.903(1) 1 1
Riskmap CNM 0.625(2) 0.894(3) 2.5 2 Polbooks CNM 0.502(2) 0.531(5) 3.5 3
Isofdp 0.519(6) 0.714(7) 6.5 5 Isofdp 0.483(4) 0.443(7) 5.5 5
LPA 0.597(5) 0.830(5) 5 4 LPA 0.488(3) 0.529(6) 4.5 4
Walktrap 0.624(3) 0.848(4) 3.5 3 Walktrap 0.507(1) 0.543(4) 2.5 1
Particle 0.621(4) 1.000(1) 2.5 2 Particle 0.415(5) 1.000(1) 3 2
Attractor 0.462(7) 0.777(6) 6.5 5 Attractor 0.495(3) 0.567(3) 3 2
CAN 0.634(1) 0.945(2) 1.5 1 CAN 0.495(3) 0.586(2) 2.5 1
Lesmis CNM 0.499(5) 5 5 PGP CNM 0.850(1) 1 1
Isofdp 0.510(4) 4 4 Isofdp 0.726(5) 5 5
LPA 0.513(3) 3 3 LPA 0.769(4) 4 4
Walktrap 0.519(2) 2 2 Walktrap 0.789(3) 3 3
Particle 0.382(7) 7 7 Particle 0.100(7) 7 7
Attractor 0.407(6) 6 6 Attractor 0.673(6) 6 6
CAN 0.524(1) 1 1 CAN 0.803(2) 2 2
Table 3: Comparisons of the 2 metrics on real-world networks: A rank(number in parentheses) is attached to the value of each metric for each network, and the value of score means the average rank of two metrics. R represents the final rank of each algorithm.

In summary, as shown in Table 3, the Rank of CAN algorithm gets first on six networks and takes second place on the other two networks. Obviously, the proposed algorithm shows superior performance, compared with the other algorithms.

3.4 Discussion

In our experiment, we observe that there are two parameter to be set. In fact, however, the default setting of is 4, and we only need to adjust the threshold of correlation coefficient in all experiments.

Figure 10: The setting of parameter in experiments. a-f represents the relationship between correlation coefficient and two measurements in real-world networks with ground truth community structure. g shows the variation of modularity as the increases on Les Miserables network. h donates the relationships between Modularity and Correlation coefficient on PGP network.

As can be seen from Fig.10, a-f reveal that the NMI have the same changing tendency with the Modularity in real-world networks with ground truth community structure as the correlation coefficient varying from 0.2 to 0.9, and we find that the proposed algorithm can obtain an acceptable result around the . g shows the relationship between the correlation coefficient and Modularity on Les Miserables network. Obviously, Lesmis network also obtains a superior result when . Moreover, h represents that CAN algorithm get an acceptable Modularity around . Above all, the parameter can be selected from around of .

We also analyze why the parameter is set as 4 in Fig. 11. The number of communities drops gradually, but the change of modularity value is not obvious, which donates that the communities unsatisfied the criterion of community can be merged into the large-scale communities reasonably. The default setting for the parameter is 4. The main reason is that the proposed algorithm can obtain a similar number of communities with the ground truth and get a reasonable value of Modularity and NMI.

Figure 11: The impacts of on real-world networks.The X-axis is the parameter , and the Y-axis represents the modularity and number of communities.

4 Conclusion

In the paper, a novel CAN algorithm is proposed to reveal community structure using the correlation analysis of nodes. The main characteristic of the proposed algorithm is that it is based on the simple idea that nodes in the same community are more correlated than between communities. With regard to the correlation of nodes, we first construct the link pattern of each node. Then we find all pairs of nodes with strong correlation, and gets the initial community structure using these pairs of nodes. Lastly, our algorithm detects deterministic community structure by adjusting the fuzzy node and communities that unsatisfied the criteria of community.

The extensive experiments on both real-world and synthetic networks demonstrate the advantages of CAN from three aspects. First of all, the algorithm is very simple. Secondly, our algorithm requires no prior knowledge on the community structure and can obtain the same resulting partition in multiple runs. Lastly, the adjustment of the parameter allows us to uncover communities hierarchically, which could also allow to detect networks with soft communitieszuev2015emergence ().

Finally, we would like to emphasize that some meaningful extensions can be made to CAN in the future. With some improvement, it can be used for uncovering overlapping community.


  • (1) Santo Fortunato and Darko Hric. Community detection in networks: A user guide. Physics Reports, 659:1 – 44, 2016. Community detection in networks: A user guide.
  • (2) Mark EJ Newman. Communities, modules and large-scale structure in networks. Nature physics, 8(1):25, 2012.
  • (3) Michelle Girvan and Mark EJ Newman. Community structure in social and biological networks. Proceedings of the national academy of sciences, 99(12):7821–7826, 2002.
  • (4) M. E. J. Newman and M. Girvan. Finding and evaluating community structure in networks. Phys. Rev. E, 69:026113, Feb 2004.
  • (5) Darko Hric, Richard K. Darst, and Santo Fortunato. Community detection in networks: Structural communities versus ground truth. Phys. Rev. E, 90:062805, Dec 2014.
  • (6) M. E. J. Newman. Finding community structure in networks using the eigenvectors of matrices. Phys. Rev. E, 74:036104, Sep 2006.
  • (7) M. E. J. Newman. Modularity and community structure in networks. Proceedings of the National Academy of Sciences, 103(23):8577–8582, 2006.
  • (8) Aaron Clauset, M. E. J. Newman, and Cristopher Moore. Finding community structure in very large networks. Phys. Rev. E, 70:066111, Dec 2004.
  • (9) Usha Nandini Raghavan, Réka Albert, and Soundar Kumara. Near linear time algorithm to detect community structures in large-scale networks. Phys. Rev. E, 76:036106, Sep 2007.
  • (10) Tao You, Hui-Min Cheng, Yi-Zi Ning, Ben-Chang Shia, and Zhong-Yuan Zhang. Community detection in complex networks using density-based clustering algorithm and manifold learning. Physica A: Statistical Mechanics and its Applications, 464:221 – 230, 2016.
  • (11) Maoguo Gong, Jie Liu, Lijia Ma, Qing Cai, and Licheng Jiao. Novel heuristic density-based method for community detection in networks. Physica A: Statistical Mechanics and its Applications, 403:71 – 84, 2014.
  • (12) Xiaowei Xu, Nurcan Yuruk, Zhidan Feng, and Thomas A. J. Schweiger. Scan: A structural clustering algorithm for networks. In Proceedings of the 13th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’07, pages 824–833, New York, NY, USA, 2007. ACM.
  • (13) Pascal Pons and Matthieu Latapy. Computing communities in large networks using random walks. In International symposium on computer and information sciences, pages 284–293. Springer, 2005.
  • (14) Kun Li, Xiaofeng Gong, Shuguang Guan, and C-H Lai. Efficient algorithm based on neighborhood overlap for community identification in complex networks. Physica A: Statistical Mechanics and its Applications, 391(4):1788–1796, 2012.
  • (15) Tao Wang, Liyan Yin, and Xiaoxia Wang. A community detection method based on local similarity and degree clustering information. Physica A: Statistical Mechanics and its Applications, 490:1344 – 1354, 2018.
  • (16) Krista Rizman Žalik. Maximal neighbor similarity reveals real communities in networks. Scientific reports, 5:18374, 2015.
  • (17) Tao Zhou, Linyuan Lü, and Yi-Cheng Zhang. Predicting missing links via local information. The European Physical Journal B, 71(4):623–630, 2009.
  • (18) Gerard Salton and Michael J. McGill. Introduction to Modern Information Retrieval. McGraw-Hill, Inc., New York, NY, USA, 1986.
  • (19) Karl Pearson. Note on regression and inheritance in the case of two parents. Proceedings of the Royal Society of London, 58:240–242, 1895.
  • (20) Paul Jaccard. Etude de la distribution florale dans une portion des alpes et du jura. 37:547–579, 01 1901.
  • (21) Marcos G Quiles, Elbert EN Macau, and Nicolás Rubido. Dynamical detection of network communities. Scientific reports, 6:25570, 2016.
  • (22) Junming Shao, Zhichao Han, Qinli Yang, and Tao Zhou. Community detection based on distance dynamics. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’15, pages 1075–1084, New York, NY, USA, 2015. ACM.
  • (23) M. E. J. Newman and M. Girvan. Finding and evaluating community structure in networks. Phys. Rev. E, 69:026113, Feb 2004.
  • (24) Leon Danon, Albert Díaz-Guilera, Jordi Duch, and Alex Arenas. Comparing community structure identification. Journal of Statistical Mechanics: Theory and Experiment, 2005(09):P09008, 2005.
  • (25) Andrea Lancichinetti, Santo Fortunato, and Filippo Radicchi. Benchmark graphs for testing community detection algorithms. Phys. Rev. E, 78:046110, Oct 2008.
  • (26) Wayne W Zachary. An information flow model for conflict and fission in small groups. Journal of anthropological research, 33(4):452–473, 1977.
  • (27) David Lusseau. The emergent properties of a dolphin social network. Proceedings of the Royal Society of London B: Biological Sciences, 270(Suppl 2):S186–S188, 2003.
  • (28) Wikipedia. Risk (game).
  • (29) Mark EJ Newman. Modularity and community structure in networks. Proceedings of the national academy of sciences, 103(23):8577–8582, 2006.
  • (30) Donald Ervin Knuth. The Stanford GraphBase: a platform for combinatorial computing, volume 37. Addison-Wesley Reading, 1993.
  • (31) Marián Boguñá, Romualdo Pastor-Satorras, Albert Díaz-Guilera, and Alex Arenas. Models of social networks based on social distance attachment. Phys. Rev. E, 70:056122, Nov 2004.
  • (32) Konstantin Zuev, Marián Boguñá, Ginestra Bianconi, and Dmitri Krioukov. Emergence of soft communities from geometric preferential attachment. Scientific reports, 5:9421, 2015.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
Add comment
Loading ...
This is a comment super asjknd jkasnjk adsnkj
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test description