 Research
 Open access
 Published:
Active semisupervised overlapping community finding with pairwise constraints
Applied Network Science volume 4, Article number: 63 (2019)
Abstract
Algorithms for finding communities in complex networks are generally unsupervised, relying solely on the structure of the network. However, these methods can often fail to uncover meaningful groupings that reflect the underlying communities in the data, particularly when they are highly overlapping. One way to improve these algorithms is by incorporating human expertise or background knowledge in the form of pairwise constraints to direct the community detection process. In this work, we explore the potential of semisupervised strategies to improve algorithms for finding overlapping communities in networks. We propose a method, based on label propagation, for finding communities using pairwise constraints. Furthermore, we introduce a new strategy, inspired by active learning, for intelligent constraint selection, which is designed to minimize the level of human annotation required. Extensive evaluations on synthetic and realworld datasets demonstrate the potential of this strategy for effectively uncovering meaningful overlapping community structures, using a limited amount of supervision.
Introduction
In many realworld applications involving machine learning, the tasks do not neatly correspond to the standard distinction between supervised and unsupervised learning. Rather, a limited degree of background knowledge or human annotation would be available to guide the process. In the area of network analysis, tasks such as community detection can potentially benefit from the introduction of “lightweight” supervision originating from domain experts or crowdsourced annotations. Usually, this knowledge is encoded as constraints, indicating that a pair of nodes in the network should always be assigned to the same community or should never be assigned to the same community. For instance, we might be interested in grouping users on a social media platform such as Twitter, based primarily on their follower connections, in order to discover communities of individuals with shared ideologies. In order to improve our ability to achieve this, and go beyond simply looking at connections, we could present pairs of user profiles to a human annotator (referred to as the “oracle”) and ask whether those two users should be assigned to the same community or different communities. By harnessing this kind of external knowledge, we can potentially uncover communities of users, which would otherwise be difficult to identify using methods that are solely unsupervised.
Similar scope exists in other areas where community finding has previously been applied and relevant background knowledge exists. In the context of biological network analysis, researchers have frequently attempted to discover communities corresponding to complexes in protein interaction networks (Jonsson et al. 2006). Here, constraints might be derived from external knowledge bases, such as gene ontologies, in order to support the more accurate identification of biologicallymeaningful groups. In the case of other interdisciplinary applications, such as the extraction of communities from literary character networks (Grayson et al. 2016), constraints can provide a means of incorporating “human in the loop” domain expertise into the community finding process.
Initial work in community detection focused on the development of algorithms to produce disjoint groups (Blondel et al. 2008). However, in many realworld networks we observe pervasive overlap, where nodes belong to many highlyoverlapping groups (Ahn et al. 2010). More recently, overlapping community finding algorithms have been developed for application to these networks (Ahn et al. 2010; Lee et al. 2010), but the work has focused only on the unsupervised case. In contrast, work on semisupervised community finding continues to focus on cases where communities are strictly required to be disjoint (Li et al. 2014).
The aim of this study is to explore the potential of semisupervised strategies, in particular those employing pairwise constraints, to improve algorithms for finding overlapping communities in social networks. To the best of our knowledge, these constraints have not been previously considered in the context of overlapping communities in the literature. To address this deficit, we introduce two main contributions. The First contribution, we describe a semisupervised method for overlapping community finding based on a label propagation strategy, which has previously been applied in a purely unsupervised context (Xie et al. 2011). The proposed method, referred to as Pairwise Constrained SLPA (PCSLPA), involves a speakerlistener information propagation process (Alghamdi and Greene 2018). To encode external supervision, we use pairwise constraints to influence the community finding process.
Since the choice of constraints in semisupervised learning has been shown to be highly important (Leng et al. 2013), we propose a new strategy, integrated into PCSLPA, for selecting constraint pairs for which the oracle should be queried. This strategy is specifically designed for the case where communities overlap in a network. However, in most networks only a small percentage of the nodes would provide truly informative pairwise constraints from the perspective of community finding. Thus, we introduce both semisupervised learning and active learning to propose our second contribution: a novel active semisupervised algorithm based on PCSLPA with an active pairwise constraint selection component for selecting informative constraints with limited annotation budget (ACSLPA). The key challenge is to minimize the level of supervision required, while maintaining or improving our ability to find meaningful community structure. Based on extensive experiments, involving both synthetic and real networks, the results show that the introduction of a relatively small number of constraints can substantially improve our ability to correctly uncover the underlying communities in the data.
The remainder of this paper is structured as follows. “Related work” section provides a summary of relevant work pertaining to semisupervised learning, activelearning, and community finding. In “Methods” section we describe the proposed methods for community finding, together with an appropriate constraint selection strategy, which incorporates a novel active pairwise constraint selection component. In “Evaluation” section we perform a benchmark evaluation of these techniques on a range of synthetic and real networks. Finally, “Conclusion” section presents suggestions for extending this work in new directions.
Related work
To provide context for our work, in this section we will describe relevant existing work on community detection in “Community finding” section, semisupervised learning in “SemiSupervised learning in community finding” section, and active learning in community detection in “Active learning” section.
Community finding
Finding nonoverlapping communities.
Algorithms in this context can be broadly grouped into three types: (1) Hierarchical algorithms which construct a tree of communities based on the network topology. These can be one of two types: divisive algorithms (Girvan and Newman 2002) or agglomerative algorithms (Clauset et al. 2004). (2) Modularitybased algorithms which optimize a wellknown modularity objective function to uncover communities in a network (Newman 2006). (3) Other algorithms which include those based on label propagation approaches (Xie et al. 2011), spectral methods that make use of the eigenvectors of a graph’s adjacency matrix, and methods based on statistical modeling (Fortunato 2010).
Finding overlapping communities.
Existing algorithms in this context can be classified into four main categories:
(1) Clique percolation methods: Many algorithms for detecting overlapping communities use cliques based on the assumption that the internal connections of a community are likely to form cliques due to their high density. One of the most popular techniques has been in this category the Clique Percolation Method (CPM) proposed in Palla et al. (2005). This method first finds all maximal cliques in a network, and then constructs a cliqueclique overlap matrix using the algorithm from (Everett and Borgatti 1998). The CFinder (Adamcsek et al. 2006) algorithm is a widelyused implementation of the CPM strategy.
(2) Local expansion methods: This category of algorithms detects communities by starting with initial seeds (i.e., single nodes or small groups of nodes), and then expanding them into communities by adding nodes that maximize a given quality function. OSLOM (Lancichinetti et al. 2011) is an example of such an algorithm, which expands communities based on a fitness function measuring the statistical significance of communities with respect to random variations. Another example is MOSES (McDaid and Hurley 2010), which is based on a statistical model and uses an objective function similar to that employed by many greedy optimization techniques. Other algorithms, which follow this type of expansion strategy include LFM (Lancichinetti et al. 2009), GCE (Lee et al. 2010), and EAGLE (Shen et al. 2009).
(3) Link clustering algorithms: This category of algorithms detects communities by splitting the network edges rather than the nodes, typically by using a line graph (Amelio and Pizzuti 2014).
(4) Label propagation algorithms: These attempt to group each node into a community based on its neighboring nodes’ affinities. COPRA (Gregory 2010) was the first algorithm which followed this approach. More specifically, COPRA allows a node label to have more than one community identifier. However, one challenge with COPRA is the selection of an appropriate value for the input parameter v,the maximum number of communities, which effectively controls community overlap. This limitation was overcome by BMLPA (Wu et al. 2012), which introduced a new balanced update strategy that does not limit the number of communities to which a node can be assigned.
Another algorithm based on label propagation is SLPA (Xie et al. 2011), where every node is associated with a corresponding memory to store labels received from other nodes, in terms of their frequency of occurrence. During the process of updating nodes’ labels, SLPA takes into account past information that has been observed about each label to make an update decision. This algorithm implements the principle of speakerlistener based information propagation process. Each node can take the role of either a listener or a speaker, and the roles are switched based on a node’s state – i.e. whether a node is providing information or consuming it. In the listener state, a node accepts labels from its neighbors, based on certain rules. In the speaker state, the node chooses a label from its own memory according to certain rules and sends it to neighboring listener nodes. Initially each node is assigned to its own unique label. Then an iterative evaluation stage is repeatedly applied, as follows:

1.
Randomly select one node as a listener.

2.
Each neighbor of the listener randomly chooses a label from its own memory with a probability proportional to the frequency of occurrence of this label, and sends the label to the listener.

3.
The listener chooses the most popular label among the received labels, and then adds it to its own memory.
As a stopping criterion, SLPA stops when reaching a predefined maximum number of iterations, T. Overall, SLPA produces relatively stable outputs when T is more than 20, regardless of network size or structure. A subsequent postprocessing stage converts each node?s memory into a probability distribution of labels. If the probability of the frequency of a certain label is less than a predefined threshold r∈[0,1], the label is removed from a node?s memory. After this thresholding step, all nodes which have the same label are grouped into one community. Nodes that have more than one label, naturally belong to multiple communities. The main feature of this algorithm is the accumulative knowledge of previouslyseen labels, which is not present in other label propagation algorithms.
Other methods: A number of overlapping community detection algorithms have been proposed, which cannot be neatly classified into any of the categories above. For instance, CONGA (Gregory 2007) and CONGO (Gregory 2008) are both based on the concept of betweenness, which refers to the number of shortest paths that pass through a node in the network. An alternative strategy for finding communities is nonnegative matrix factorization (NMF) (Lee and Seung 1999), a general unsupervised learning strategy for performing factorizationbased dimensionality reduction and clustering, simultaneously. Recently NMF has been applied to the problem of community detection, in order to factorize the affinity matrix representation of a network, as implemented in algorithms such as BIGCLAM (Yang and Leskovec 2013), BNMTF (Zhang and Yeung 2012), and NMFGR (Liu et al. 2016).
SemiSupervised learning in community finding
Several types of prior knowledge have been used in semisupervised strategies to guide the community detection process. The most widelyused approach has been to employ pairwise constraints, either mustlink or cannotlink, which indicate that either two nodes must be in the same community or must be in different communities. This strategy has been implemented via several algorithms, including modularitybased methods (Li et al. 2014), spectral partitioning methods (Habashi et al. 2016; Zhang 2013; Zhang et al. 2013), a spinglass model (Eaton and Mansbach 2012), and matrix factorization methods (Shi et al. 2015; Zhang 2013). Such approaches have often provided significantly better results on benchmark data, when compared to standard unsupervised algorithms. However, all of these algorithms have been designed to only find nonoverlapping communities.
Other authors have used different kinds of prior knowledge to provide limited supervision for community detection. Ciglan et al. (2010) developed an algorithm for finding communities with size constraints, where the upper limit size of communities is given as a userspecified input. This algorithm is based on standard label propagation methods for finding disjoint communities. In Wu et al. (2016) an optimization algorithm based on density constraints was proposed. This algorithm constructs an initial skeleton of the community structure by maximizing a new criterion function, which incorporates constraints to only find communities with intracluster densities above a given threshold. The remaining nodes are subsequently classified with respect to this skeleton. Other algorithms have used node labels as prior knowledge to improve the performance of community detection, using an approach which resembles traditional training data in classification (Leng et al. 2013; Liu et al. 2014; Wang et al. 2015). Liu et al. (2015) developed a method that uses a semisupervised label propagation algorithm based on node labels and negative information, where a node is deemed not to belong to a specific community.
The majority of algorithms in this area aim at detecting disjoint groups of nodes, whereas many realworld networks naturally contain overlapping community structure (Adamcsek et al. 2006). To the best of our knowledge, very little work has been done in the context of finding overlapping communities from a semisupervised perspective. Dreier et al. (2014) performed some initial work in the area, using supervision in the forming of seeding. Specifically, a small set of seed nodes was selected, whose affinities to a community was provided as prior knowledge in order to infer the rest of the nodes’ affinities in the network. In contrast, for our study, we focus on the problem of semisupervised community detection based on the use of pairwise constraints, since they have proven to be effective in a range of learning contexts (Basu et al. 2004; Greene and Cunningham 2007).
Active learning
Active learning for classification.
Active learning refers to a subfield of supervised machine learning, where the goal is to build models that achieve high classification accuracy, while using as little labeled training data as possible. In the standard supervised learning scenario, an algorithm is trained on a predefined batch of labeled data. Since there is no interaction with a human during the training process, this is referred as passive learning. In contrast, in an active learning scenario, the model carefully selects the training instances from which the model learns in an incremental manner. This is done by interactively making queries to an “oracle” for labels during the training process. Queries are usually structured so as to minimize the number of requests that must be made to the oracle, thus reducing the “budget” required for manual work and avoiding the risk of feeding the algorithm with redundant or uninformative information (Krishnakumar 2007). A variety of different active learning strategies have been proposed. Most involve either streambased sampling, which selects instances for labeling from a continuous stream of unlabeled data, or poolbased sampling, which selects instances for labeling from a fixed collection of unlabeled data. The key component of active learning is the query selection strategy, which determines which instances should be labeled by the oracle. Query strategies can be organized into two main approaches (Prince 2004). The first approach refers to modelbased strategies, which generate a model using the current labeled instances, and assess the informativeness of the unlabeled instances based on the derived information from this model. The second general approach for query selection involves a modelfree strategy, which evaluates the informativeness of a given instance based on the features of the entire data set. An example method of this latter approach is densityweighted selection, which chooses the instances that the model is most uncertain about, while also ensuring that the instances are representative of the underlying distribution of the data (Donmez et al. 2007).
Active learning for community detection.
Beyond the task of classification, researchers have also applied the general concept of active learning to other machine learning tasks, such as semisupervised clustering (Basu et al. 2004; Greene and Cunningham 2007). This has subsequently motivated the idea of extending active learning to the field of community detection. However, only limited research has been done on this problem until now, with researchers focusing solely on the problem of finding disjoint communities. Leng et al. (2013) did the first work on active learning in community detection. Their proposed method aims to find a small number of “core nodes” that can cover as many underlying communities in a given network as possible, which are subsequently passed to the oracle for annotation. This method uses a modelfreeinspired selection strategy, where the nodes are chosen solely based on their local density and representativeness of the communities in a given network. Another modelfreeinspired approach was proposed by Cheng et al. (2014), which uses pairwise constraints in order to provide supervision. Specifically, a fitness score is calculated for each node in the network and nodes with values larger than a given threshold are added to a target set. This resulting target set is then partitioned into clusters, and for each cluster the maximal degree nodes along with the boundary nodes are chosen as pairs to query the oracle for labeling as mustlink or cannotlink. Yang et al. (2015) also proposed an active learningstyle method, which combines pairwise constraints with NMF community detection. Firstly, NMF is applied on the basic network topology. Then an entropy measure is applied to the results, which actively identifies the most uncertain edges for which the endpoint nodes should be labeled by the oracle. A final stage involves removing certain intercommunity edges based on the label information.
Methods
In “Related work” section we observed that the majority of work in the semisupervised learning for community detection literature has focused on the problem of finding disjoint groups, to the exclusion of the task of finding overlapping groups. Therefore, we have sought to address this gap in the literature by proposing two novel overlapping community finding algorithms which use pairwise constraints to encode external supervision, and suitable for application to arbitrary undirected, unweighted networks. Both algorithms adopt a label propagation approach for community finding, due to the conceptual simplicity of this approach and also due to the linear time complexity. Therefore, we have used SLPA (Speakerlistener Label Propagation Algorithm) (Xie et al. 2011), which is a representative example of label propagation approach. The main feature of SLPA algorithm is the accumulative knowledge of previouslyseen labels, which is not present in other label propagation algorithms. Our first proposed algorithm, referred to as Pairwise Constrained SLPA (PCSLPA), is described in “SemiSupervised overlapping community finding” section.
Since the choice of constraints in semisupervised learning has been shown to be highly important (Leng et al. 2013), in “Active semisupervised overlapping community finding” section we propose a further strategy for selecting informative constraint pairs to pass to the oracle for annotation. Since this strategy is inspired by previous work from active learning, we refer to it as Active Semisupervised SLPA (ACSLPA). The goal of this approach is to select informative constraints while using a limited annotation budget.
Pairwise constraints for overlapping communities
Before describing the proposed methods, we firstly discuss the issue of selecting appropriate pairwise constraints for networks containing overlapping communities.
Given a network that contains a set of nodes V, semisupervised pairwise constraints typically take two possible forms:

1.
A mustlink constraint specifies that two nodes must be in the same community. Let C_{ML} be the mustlink constraint set: ∀v_{i},v_{j}∈V where i ≠j, (v_{i},v_{j}) ∈C_{ML} indicates that two nodes v_{i} and v_{j} must be assigned to the same community.

2.
A cannotlink constraint specifies that two nodes must be in different communities. Let C_{CL} be the cannotlink constraint set: ∀v_{i},v_{j}∈V where i ≠j, (v_{i},v_{j}) ∈C_{CL} indicates that v_{i} and v_{j} must be assigned to separate communities.
These constraints are provided by the oracle, typically an individual expert or a committee of annotators. The simplest approach for selecting pairwise constraints to present to the oracle is to naïvely select a pair of nodes (v_{i},v_{j}) at random, and query the oracle about whether the pair share a mustlink or cannotlink relationship. This process is typically repeated until some supervision budget is exhausted.
In nonoverlapping community finding, mustlink constraints have a transitive property, such that a third mustlink relationship can be inferred from two other associated mustlink constraint pairs. So, if (v_{i},v_{j}) ∈C_{ML}, and (v_{i},v_{k}) ∈C_{ML}, then we can also infer that (v_{j},v_{k}) ∈C_{ML} (see Fig. 1a).
However, incorporating constraints into the context of overlapping communities is more challenging. This is because the transitive property does not hold here (see the second example in Fig. 1). Specifically, if (v_{i},v_{j}) ∈C_{ML}, and (v_{i},v_{k}) ∈C_{ML}, there are two possible scenarios for the pair (v_{j},v_{k}). It can be the case that either (v_{j},v_{k}) ∈C_{ML} or (v_{j},v_{k}) ∈C_{CL}. This is because an overlapping node v_{j} can have a mustlink constraint with both v_{i} and v_{k}, yet these two nodes could belong to two different communities. However, it is also possible that all three nodes are in fact in the same community. Unless we explicitly inform the algorithm about whether a mustlink or cannotlink constraint exists for the pair (v_{j},v_{k}), the algorithm cannot reliably distinguish between the two alternative cases.
If the network has highlyoverlapping communities (i.e. each node typically belongs to many communities), then this problematic situation will occur more frequently. Therefore, if we attempt to incorporate pairwise constraints into overlapping community finding without taking this situation into account, the quality of the resulting communities can potentially suffer, even with more constraints are added. Next we introduce a strategy to resolve this issue.
SemiSupervised overlapping community finding
Here we describe a semisupervised label propagation procedure for finding overlapping communities, which consists of two distinct phases:

1.
Select and preprocess constraints, to resolve the problem of lack of the transitive property for mustlink constraints.

2.
Apply label propagationbased community finding, in a manner that takes into account the information provided by the selected constraints.
Phase 1: Selecting and preprocessing constraints.
After selecting an initial set of pairwise constraints by querying an oracle, we can view the set of pairwise constraints as a new graph, where an edge exists between two nodes from the original network if they share a pairwise constraint (either mustlink or cannotlink). Then we look for all possible forbidden triads among the nodes involved in the mustlink set. Given three nodes A, B, C, a forbidden triad (sometimes referred to as an open triad) occurs when A is connected to B and C, but no edge exists between B and C. In our preprocessing step, we look for such cases — i.e. where we do not know whether a mustlink or cannotlink exists between a pair of nodes B and C. To control the size of the constraints set, we greedily expand it until we reach a predefined maximum size. The complete constraint selection strategy can be summarized as follows (see also Fig. 2):

1.
Select a small random set of both mustlink and cannotlink constraints.

2.
Find all possible forbidden triads in the mustlink set, to identify pairs to query the oracle about their relationship.

3.
For each resulting pair, if their relationship is mustlink, then add the pair to the mustlink set. Otherwise, add the pair to the cannotlink set.

4.
Repeat all steps until the maximum number of selected constraints is reached.
At the end of this process, the pairwise constraints are ready to be supplied to the community detection algorithm, which we describe next.
Phase 2: Pairwise Constrained SLPA.
Given a threshold r∈[0,1] and a predefined maximum number of iterations T, we incorporate the selected pairwise constraints as follows (see also Fig. 3 for an illustration):

1.
In the initialization step:

a.
Assign a unique label to each node in the network.

b.
For each pair of nodes that share a mustlink relationship, the two nodes exchange labels (i.e. update each node’s memory with the other node’s label).

a.

2.
The evaluation step broadly follows a similar process as unsupervised SLPA (see “Community finding” section). However, we account for the pairwise constraints as follows:

a.
Randomly select one node as a listener, and identify the set of speakers (i.e. the neighbors of the listener).

b.
Augment the set of speakers by adding all nodes that have mustlink relationship with the listener and removing all nodes that have cannot link relationship with the listener. Then each speaker sends out a label according to the rule defined in standard SLPA. Removing cannot link nodes from speakers set avoids grouping together pairs of nodes having a cannotlink relationship since all nodes that hold the same label will be grouped together as a community at the end of the process.

c.
Each listener accepts a label according to the rule defined in standard SLPA.

a.

3.
The constraint processing step considers both sets of pairwise constraints:

a.
For each mustlink pair, compare the memories of the two nodes to ensure they both share the same highest occurrence frequency label. If they do not, both nodes exchange their most frequentlyoccurring labels with each other under the condition that each node does not have a cannot link relationship with any nodes assigned to that label. If this condition is not met, then the exchange does not occur for that label.

b.
For each cannotlink pair, compare the memories of both nodes. If both nodes have a common label, remove this label from the node that has the lowest label occurrence frequency.

a.

4.
In the postprocessing step, convert each node’s memory into a probability distribution of labels. If the node’s probability of a certain label is less that a threshold r∈[0,1], the label is removed from the node’s memory. Then all nodes having the same label are grouped into one community. Nodes that have more than one label, correspond to overlapping cases, which belong to multiple communities.
Active semisupervised overlapping community finding
This section describes a novel active learninginspired approach for a semisupervised community detection designed to improve the algorithm’s performance, while simultaneously reducing the annotation effort required on the side of the oracle (i.e., reducing the annotation budget). The main idea is to develop an iterative uncertaintybased method for selecting informative pairwise constraints for PCSLPA, as presented in the last section.
Node pair selection
The labeling of pairs of nodes as constraints can potentially be a timeconsuming process, especially for large complex networks. Therefore, to reduce this effort, we design our method to select nodes to be labeled from an important node pair set, rather than sampling from the entire network. We propose a method for selecting pairs of important nodes which the algorithm is most uncertain (i.e. we are unsure about the node’s membership of a given community). We define uncertain nodes as: 1) nodes that are located at the boundaries between two or more communities; 2) overlapping nodes that have been previously assigned to more than one community.
For each uncertain node i, we retrieve the set of communities to which each of its neighbors has been assigned. Then for each retrieved community, we extract the highest internal degree node j, and add the pair of nodes (ij) to the important node pairs set. We select high degree nodes j from a community on the basis that such nodes are likely to be highly representative of that community. The final step, we sort the set in ascending order of degree of the uncertain nodes. Usually, high degree nodes in the boundary have more dense connections within their own communities, rather than with other communities. In contrast, lower degree nodes in the boundary tend to have an almost equal level of connectivity between communities, and thus are more likely to be misclassified during community detection. Therefore lower degree nodes have a higher priority to be selected for querying. By presenting the pair (ij) to the oracle, we should be able to accurately determine whether i belongs to the same community as j (i.e, either a mustlink or a cannotlink constraint). This approach addresses the misclassification of boundary nodes as overlapping nodes and vice versa, especially for relatively low degree nodes. Thus, the selection process can contribute significantly to generating informative pairwise constraints. This process is summarized in Algorithm 1.
Active semiSupervised sLPA (ACSLPA)
Now we discuss the integration of the proposed constraint selection method described above with the PCSLPA algorithm to produce a novel active semisupervised SLPA algorithm (ACSLPA). This approach is divided into three phases, which are executed iteratively. Note that we run the unsupervised SLPA algorithm as an initialization step to generate a starting set of communities, which then allows us to select the constraints. The phases of the proposed algorithm are as follows: In the first phase, we run the method from “Node pair selection” section on the current communities to select a set of informative constraint pairs (i.e. the important node pairs set). In the second phase, this set is passed to the oracle for annotation. In the third phase, we run PCSLPA with the resulting pairwise constraints to find communities, which will be used as input for the next run of the first phase. These three phases are repeated until either we have exhausted a predefined maximum annotation budget, or the annotator is satisfied with the current set of communities. The complete process is summarized in Algorithm 2.
Time complexity
In this subsection, we detail the time complexity of each phase of the algorithms described in this paper. The notation used to define running time is as follows:
n  number of nodes in the network 
K  average degree of the nodes in the network 
T  maximum number of iterations specified by the user 
PC  total number of pairwise constraints 
M  number of mustlink pairs 
C  number of cannotlink pairs 
PCSLPA: The first phase, which involves selecting and preprocessing constraints, requires time O(PC). For the second phase, the initialization stage contains two iterative steps. The first loop initializes nodes, which takes O(n), and the second loop iterate through M. Since on average M<n, the entire stage requires O(n). The complexity of both the evaluation and postprocessing stages is O(Tn), as per the original SLPA algorithm (Xie et al. 2011). As for the final constraint processing stage, it involves loops for processing the two constraint sets, requiring time O(PC). The overall time complexity is O(Tn+PC).
ACSLPA: The first phase of the algorithm consists of three nested loops. The first loop processes the uncertain nodes (i.e. the overlapping and boundary nodes), the second loop processes the neighbor set of each uncertain node, and the third loop processes the communities to which each uncertain node belongs. In the worst case, all nodes of the network are overlapping nodes, therefore the complexity of the first loop is O(n). The second loop requires O(K) on average. Given that the minimum size of a community here is two nodes, in the worst case an overlapping node belongs to all communities, thus the third loop takes O(n/2), which reduces to O(n). Ultimately, the time complexity of this first phase is O(n^{2}). As described above, the subsequent execution of PCSLPA requires O(Tn+PC).
Evaluation
In this section, the performance of both proposed methods (PCSLPA and ACSLPA) is evaluated via experiments performed on two groups of synthetic benchmark networks and realworld networks, both containing overlapping communities. As we observed in “Related work” section, no work has been conducted in the literature regarding pairwise constrained algorithms for finding overlapping communities. Therefore, for the sake of comparison, the results of the proposed algorithms (PCSLPA and ACSLPA) are compared with the corresponding unsupervised version and a group of popular unsupervised community finding algorithms. Our objectives here are: (1) determine the extent to which introducing varying levels of constraints can improve the performance of overlapping community finding through PCSLPA; (2) evaluate the effectiveness of the selected constraints by our proposed selection component (Node Pair Selection) integrated in ACSLPA compared to the constraints selected at random in PCSLPA.
Experimental setup
Data. Firstly, we evaluate on synthetic data created using the widelyused LFR generator (Lancichinetti et al. 2008), which can produce networks with properties similar to realworld networks, with overlapping ground truth communities. The selection of network parameters shown in Table 1 is based on those used to evaluate the original algorithm SLPA (Xie et al. 2011) and other works in the literature. We generate two different groups of synthetic networks with different sizes and degree of overlapping communities, each containing small and large communities and mixing parameter μ varies from 0.1 to 0.3. Small communities have 10–50 nodes, while large communities have 20–100 nodes. Each group consists of 64 networks with different combinations of the parameter O_{m}, which controls the number of communities per node, and O_{n}, which controls the number of overlapping nodes. For the first network in each set, all nodes belong to two communities (O_{m}=2). For each successive network, this parameter value is incremented by 1 until O_{m}=8 is reached. As for the parameter O_{n} is set to 10% and 50% of the total number of nodes, indicating low and high overlapping degree respectively.
Secondly, we consider three realworld networks which have previously been used in the community finding literature (Leskovec and Krevl 2015): 1) a copurchasing network from Amazon.com; 2) a friendship network from YouTube; 3) a scientific collaboration network from DBLP. These networks contain annotated ground truth overlapping communities. For each network, we include only the 5,000 largest such communities, as per (Yang and Leskovec 2015). We then perform filtering as per (Harenberg et al. 2014) – the remaining communities are ranked based on their internal densities and the bottom quartile is discarded, along with any duplicate communities.
Finally, as an additional step, we eliminated extremely small communities. For the Amazon and YouTube networks, communities of size <5 nodes are removed, while for the DBLP network communities with <10 nodes are removed. Details of the resulting networks are listed in Table 2.
Evaluation metrics and baselines. The results of PCSLPA and ACSLPA are compared with outputs of the following popular unsupervised overlapping community detection algorithms: SLPA(Xie et al. 2011), OSLOM (Lancichinetti et al. 2011), BIGCLAM (Yang and Leskovec 2013), MOSES (McDaid and Hurley 2010), and COPRA (Adamcsek et al. 2006). For OSLOM and MOSES, we use the default parameters recommended by the original authors. For COPRA, we use the settings recommended in Xie et al. (2011). For BIGCLAM, the number of communities to detect is selected automatically. However, it is necessary to provide a range of values from which to select. Thus, we provide the algorithm with broad ranges based on the number of communities in the ground truth for each data set. To evaluate the performance of these algorithms relative to the ground truth, we use the overlapping form of Normalized Mutual Information (NMI), proposed in Lancichinetti et al. (Lancichinetti et al. 2009). For this measure, a value close to 1 indicates a high level of agreement with the ground truth communities, while a value close to 0 indicates that the communities generated by an algorithm are no better than random.
Part of our objective in this work is to develop techniques that can accurately identify overlapping communities. Therefore, to quantify an algorithm’s ability to correctly identify overlapping nodes, we used the overlapping Fmeasure (FS) (Xie et al. 2011; Xie et al. 2013). This is calculated as the harmonic mean of precision and recall, in the same way as the corresponding measure commonly used in information retrieval. In this context, precision is defined as the number of “true” overlapping nodes detected, divided by the total number of overlapping nodes identified by the algorithm. Recall is defined here as the number of overlapping nodes detected correctly, divided by the total number of “true” overlapping nodes. A higher value for the Fmeasure here indicates more accurate detection of nodes which belong to multiple communities. Since SLPA and COPRA are nondeterministic, we average the NMI and Fmeasure scores over 10 runs.
Experimental methodology.
We conducted three experiments in our evaluation. The first experiment aims to assess the performance of the unsupervised algorithms, which provides a baseline for evaluating the performance of our proposed methods. For SLPA, PCSLPA, and ACSLPA, we use the default parameters values T=100 and r∈[0,1], as suggested in Lee et al. (2010). The second experiment evaluates the performance of PCSLPA with increasing numbers of constraints, from 1% to 5% of the total number of possible pairs in each network. Since the initial pairwise constraints are selected at random, we repeat the semisupervised process for 10 runs and average the resulting scores. The third experiment evaluates the performance of ACSLPA with limited numbers of constraints not exceeding 1% of the total number of possible pairs in each network. Finally, we compare the results obtained from ACSLPA with PCSLPA, then compare them with the baseline algorithms. The full set of experiments and associated parameters are summarized in Table 3.
Results and discussion
Firstly, we compare the accuracy of the proposed algorithms, PCSLPA and ACSLPA, to the unsupervised version of these algorithms, SLPA. Secondly, we compare the accuracy of ACSLPA using limited number of pairwise constraints selected by the proposed active learninginspired approach Node Pair Selection, to PCSLPA, where the pairwise constraints are selected at random. Finally, we compare the accuracy of all algorithms according to their average ranks.
Synthetic networks.
When evaluating on LFRgenerated networks, different factors can affect algorithm’s performance, such as the mixing parameters, and the size of both networks and embedded communities. The larger the value of μ, the poorer the communities were detected by the algorithms, due to the weaker intracommunity connectivity. As we see from Figs. 4 and 5, the performance of SLPA drops as μ increases from 0.1 to 0.3. However, ACSLPA and PCSLPA show more stability with higher values of μ. For instance, in the case of small network of big communities with μ=0.1, the NMI score of SLPA is 0.94 at O_{m}=2 and drops to 0.82 with μ=0.3. In contrast, ACSLPA and PCSLPA show more moderate decrease in accuracy as the value of μ increases to 0.3 with the same network, (PCSLPA: NMI=0.88 at μ=1 to NMI=0.80 at μ=3, ACSLPA: NMI=0.998 at μ=1 to NMI=0.99 at μ=3).
Another factor that affects the algorithmic performance is the degree of overlapping communities in terms of O_{m} and O_{n}. As the values of O_{m} increases from 2 to 8, ACSLPA and PCSLPA demonstrate better NMI values than SLPA across all the networks. As for O_{n}, we can see that as the fraction of overlapping nodes increases from 10% to 50%, ACSLPA and PCSLPA show a medium decrease compared to SLPA specifically with large networks. For instance, in large and small community networks at μ=0.1, the NMI value of SLPA falls from 0.91 to 0.52 with O_{m}=2. On the other hand, the NMI values of ACSLPA and PCSLPA decreases from 0.94 to 0.63 and from 0.98 to 0.90 respectively, where ACSLPA shows better stability than PCSLPA. As for the size of the networks, both the standard SLPA and the proposed algorithms show a better performance when the network increases from 1,000 to 5,000 nodes, with PCSLPA achieving the best performance on the networks with larger communities, while ACSLPA shows consistent performance with both large and small communities.
Overall, PCSLPA achieves consistently higher NMI scores than the standard SLPA algorithm, except with PCSLPA with 1%. Here, PCSLPA attains lower NMI values than SLPA, until the number of constraints increases towards 5%. This is due to the random selection of a small set consisting of largely noninformative constraints, which do not aid in the detection of the ground truth communities. In such a situation, PCSLPA may not achieve an improvement compared to the standard SLPA algorithm. Nevertheless, as PCSLPA shows a consistent pattern of improvement correlated with the number of constrains this shows the potential of using semisupervised strategies in particular pairwise constraints in the context of overlapping communities which was the main motivation for this study to propose ACSLPA that implement active learninginspired approach for selecting informative constraints with small annotation budget. As a result, ACSLPA significantly outperforms both PCSLPA algorithm and the standard SLPA algorithm on most of the networks, particularly when using a limited annotation budget.
When comparing the proposed algorithms to the baseline algorithms, we observe that BiGCLAM, COPRA and MOSES show lower performance than PCSLPA and ACSLPA on all synthetic networks, except for BIGCLAM which shows almost equivalent performance in limited cases as illustrated in Figs. 4 and 5. When we look at the level of coverage provided by the algorithms (i.e. the percentage of nodes in the network assigned to at least one community), we notice that many nodes are not assigned to any communities by MOSES, which may partly explain the low NMI values. For instance, for networks at Om=6 and Om=8 with On=50%, the percentage of coverage is 46% and 46.6% respectively. As for OSLOM, it shows a slightly better performance than PCSLPA and ACSLPA for networks with a low level of community overlap. However, as the number of communities per node increases, both PCSLPA and ACSLPA start to outperform all of the baseline algorithms, indicating that it is effective in highlyoverlapping contexts.
In terms of identifying overlapping nodes, Fig. 6 shows the algorithms’ accuracy in identifying the true overlapping nodes using the overlapping Fmeasure. We can observe that, in most cases, the ACSLPA and PCSLPA outperform the standard SLPA. On the other hand, it is worth noticing that in most networks as O_{m} increases, the Fmeasure values of PCSLPA increase, the same pattern of SLPA, while the Fmeasure values of ACSLPA decrease, however still ACSLPA provides higher values than PCSLPA in most cases.
Table 4, summarizes the average ranks of NMI and FS scores of all algorithms on synthetic networks with 10% and 50% of overlapping nodes respectively. Each table entry shows the average ranks (lower values are better) of an algorithm (on the columns) over each overlapping category and evaluation score (on the rows). The best ranks are shown in boldface. As we can see, ACSLPA with 1% pairwise constraints is the topranked algorithm in all overlapping categories and evaluations scores. The next best alternatives are ACSLPA and PCSLPA with 0.5% and 5% pairwise constraints respectively, both algorithms show similar ranks in both evaluations scores.
To understand the effectiveness of the proposed method over the different synthetic networks with various degrees of node overlap, statistical significance tests were performed. Following the recommendations of (García et al. 2010) and the statistical experimental methodology in Pakrashi and Mac Namee (2019), a posthoc Friedman Aligned Rank test with the Finner pvalue adjustment was performed on the network results for each node overlap level and evaluation metric. The rank plots (with a significance level of α=0.05) of the tests are provided in Fig. 7. Each diagram shows the average ranks of the algorithms in the corresponding node overlap level. The algorithms not connected with the horizontal bars in each plot in Fig. 7 indicate that they are significantly different based on a significance level of α=0.05, whereas for the algorithms connected with the horizontal bars, the null hypothesis could not be rejected. The detailed pvalues and the win/lose/tie counts for each algorithm pairs are provided in Appendix A.
The statistical results indicate that ACSLPA with 1% pairwise constraints was significantly better than all the baseline algorithms on both evaluations metrics. ACSLPA and PCSLPA with 0.5% and 5% pairwise constraints respectively were not found to be statistically different. Although both algorithms attained better average ranks than OSLOM for NMI and better average ranks than SLPA and BIGCLAM for the Fmeasure, the tests did not identify a statistically significant difference.
Realworld networks.
Next we discuss our experiments on three realworld networks. We compare the NMI performance of our proposed semisupervised method with increasing numbers of pairwise constraints, relative to the benchmark algorithms. For the nondeterministic algorithms, 10 runs were executed and NMI scores were averaged. Tables 5 and 6 summarize the corresponding performance of all algorithms. The results show that ACSLPA significantly outperforms PCSLPA algorithm, the standard SLPA algorithm, and the benchmark algorithms on the three real networks, using only small percentages of constraints. Table 5 lists the NMI and FS scores for PCSLPA and ACSLPA, and also reports the actual effective annotation budget of pairwise constraints used for each algorithm, beyond which no further constraints were added. In all cases we observe that the level of constraints required by ACSLPA is far less than the predefined maximum budget (1%−5%), while still yielding high accuracy.
When comparing the performance of the proposed methods to the benchmark algorithms, we see that PCSLPA achieves high NMI scores (>0.9) on the Amazon and DBLP networks. However, PCSLPA shows moderate performance on the YouTube network, which may be due to the poor separation between the ground truth clusters in this network. In fact, the addition of <4% of constraints does not yield an improvement over the unsupervised approach. The effect of high intercommunity overlap is far more pronounced in the cases of the OSLOM, MOSES, and COPRA algorithms. Overall, PCSLPA outperforms the four alternative algorithms in most cases on these networks, with a consistent increases as the number of constraints is increased from 1% to 5%. We would expect this trend to continue as more constraints are added, although it may be impractical to generate larger numbers of constraints in realworld scenarios. On the other hand, ACSLPA achieved significantly higher performance relative to the benchmark algorithms, particularly on the YouTube network, with a limited annotation budget not exceeding 1% of all possible pairwise constraints.
In general, our results suggest that PCSLPA is an appropriate choice for community finding in undirected, unweighted networks, in applications where external knowledge or human annotation is available. For purely unsupervised cases, our results indicate that OSLOM remains a good alternative.
Conclusion
In this study, we have explored the potential of semisupervised strategies to improve existing unsupervised algorithms for finding overlapping communities in complex networks. Our primary contributions are threefold: 1) we explored the nuances around the selection of constraints, which are specific to contexts where the communities in the data naturally overlap; 2) we proposed a new semisupervised algorithm (PCSLPA) for detecting overlapping communities, based on the use of a label propagation strategy that is informed by the addition of external information encoded as pairwise constraints selected at random; 3) we introduced a new semisupervised approach, inspired by active learning, which uses an active pairwise constraint selection component to limit the level of annotation required for effective community finding (ACSLPA). Based on extensive experiments, the results of PCSLPA show that overlapping community finding algorithms with constraints can considerably outperform their unconstrained counterparts on both synthetic and realworld networks. As one might expect, their performance improves with increasing the number of pairwise constraints.
In general, the results show the potential of using semisupervised strategies for finding overlapping communities. Furthermore, the results for ACSLPA demonstrate that the active pairwise constraint selection component can significantly improve the effectiveness of community detection, while using a small annotation budget. This was demonstrated on both synthetic and realworld networks. In terms of practical applications, one consideration is around the time required for an oracle to generate constraint pairs. If constraints are being generated from a source of background knowledge, such as an existing ontology, there may be little overhead. However, if constraints are being provided via human annotation, the effort and cognitive load will vary depending on the domain and the complexity of the task from a human perspective. In some cases, this annotation effort can be crowdsourced (Tang and Lease 2011). In either case, applying an active approach to constraint selection still allows us to minimize the number of constraints required, thereby reducing the overall human effort.
One other practical consideration is the extent to which we can rely on the judgment of the oracle to provide reliable constraint information. While this issue has been considered to some extent in the context of semisupervised clustering (Basu et al. 2008), relatively little work has been performed in this area in the context of community detection. In future work we aim to explore the impact of noisy, potentiallyincorrect constraints upon the performance of semisupervised community finding algorithms, and to investigate how we might mitigate against such cases in realworld network analysis tasks.
Appendix A. Complete results of statistical tests
Availability of data and materials
The datasets generated during and analyzed during the current study are available in the GitHub repository: https://github.com/elhamalghamdiUCD/SemiSupervisedSLPA.
Abbreviations
 ACSLPA:

Active semisupervised SLPA
 NMI:

Normalized mutual information
 PCSLPA:

Pairwise Constrained SLPA
 PC:

Pairwise constrained
 SLPA:

Speakerlistener label propagation algorithm
References
Adamcsek, B, Palla G, Farkas IJ, Derényi I, Vicsek T (2006) Cfinder: locating cliques and overlapping modules in biological networks. Bioinformatics 22(8):1021–1023.
Ahn, YY, Bagrow JP, Lehmann S (2010) Link communities reveal multiscale complexity in networks. Nature 466(7307):761–764.
Alghamdi, E, Greene D (2018) Semisupervised overlapping community finding based on label propagation with pairwise constraints In: Proc. 7th International Conference on Complex Networks and Their Applications.. Springer, Cham.
Amelio, A, Pizzuti C (2014) Overlapping community discovery methods: a survey In: Social Networks: Analysis and Case Studies, 105–125.. Springer, Vienna.
Basu, S, Bilenko M, Mooney RJ (2004) A probabilistic framework for semisupervised clustering In: Proc. 10th ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 59–68.. CRC Press, USA.
Basu, S, Davidson I, Wagstaff K (2008) Constrained clustering: Advances in algorithms, theory, and applications. ACM, New York.
Blondel, V, Guillaume J, Lambiotte R, Lefebvre E (2008) Fast unfolding of communities in large networks. J Stat Mech 2008(10):10008.
Cheng, J, Leng M, Li L, Zhou H, Chen X (2014) Active semisupervised community detection based on mustlink and cannotlink constraints. PloS ONE 9(10):e110088.
Ciglan, M, Nørvåg K (2010) Fast detection of sizeconstrained communities in large networks In: International Conference on Web Information Systems Engineering, 91–104.. Springer, Berlin.
Clauset, A, Newman ME, Moore C (2004) Finding community structure in very large networks. Phys Rev E 70(6):066111.
Donmez, P, Carbonell JG, Bennett PN (2007) Dual strategy active learning In: European Conference on Machine Learning, 116–127.. Springer, Berlin.
Dreier, J, Kuinke P, Przybylski R, Reidl F, Rossmanith P, Sikdar S (2014) Overlapping communities in social networks. arXiv preprint arXiv:1412.4973.
Eaton, E, Mansbach R (2012) A spinglass model for semisupervised community detection In: Proc. AAAI’12, 900–906.. AAI Press, USA.
Everett, MG, Borgatti SP (1998) Analyzing clique overlap. Connections 21(1):49–61.
Fortunato, S (2010) Community detection in graphs. Phys Rep 486(35):75–174.
García, S, Fernández A, Luengo J, Herrera F (2010) Advanced nonparametric tests for multiple comparisons in the design of experiments in computational intelligence and data mining: Experimental analysis of power. Inf Sci 180(10):2044–2064. http://www.sciencedirect.com/science/article/pii/S0020025509005404. special Issue on Intelligent Distributed Information Systems.
Girvan, M, Newman ME (2002) Community structure in social and biological networks. PNAS 99(12):7821–7826.
Grayson, S, Wade K, Meaney G, Rothwell J, Mulvany M, Greene D (2016) Discovering structure in social networks of 19th century fiction In: Proceedings of the 8th ACM Conference on Web Science, 325–326.. ACM, New York.
Greene, D, Cunningham P (2007) Constraint selection by committee: An ensemble approach to identifying informative constraints for semisupervised clustering In: Proc. 18th European Conference on Machine Learning (ECML’07), 140–151.. Springer, Berlin.
Gregory, S (2007) An algorithm to find overlapping community structure in networks In: European Conference on Principles of Data Mining and Knowledge Discovery, 91–102.. Springer, Berlin.
Gregory, S (2008) A fast algorithm to find overlapping communities in networks In: Joint European Conference on Machine Learning and Knowledge Discovery in Databases, 408–423.. Springer, Berlin.
Gregory, S (2010) Finding overlapping communities in networks by label propagation. New J Phys 12(10):103018.
Habashi, S, Ghanem NM, Ismail MA (2016) Enhanced community detection in social networks using active spectral clustering In: Proc. 31st Annual ACM Symposium on Applied Computing, 1178–1181.. ACM, New York.
Harenberg, S, Bello G, Gjeltema L, Ranshous S, Harlalka J, Seay R, Padmanabhan K, Samatova N (2014) Community detection in largescale networks: a survey and empirical evaluation. Wiley Interdiscip Rev Comput Stat 6(6):426–439.
Jonsson, PF, Cavanna T, Zicha D, Bates PA (2006) Cluster analysis of networks generated through homology: automatic identification of important protein communities involved in cancer metastasis. BMC Bioinformatics 7(1):2.
Krishnakumar, A (2007) Active learning literature survey. Tech. rep., Technical Report, University of California, Santa Cruz.
Lancichinetti, A, Radicchi F, Ramasco J, Fortunato S, BenJacob E (2011) Finding statistically significant communities in networks. PLoS ONE 6(4):e18961.
Lancichinetti, A, Fortunato S, Kertész J (2009) Detecting the overlapping and hierarchical community structure in complex networks. New J Phys 11(3):033015.
Lancichinetti, A, Fortunato S, Radicchi F (2008) Benchmark graphs for testing community detection algorithms. Phys Rev E 78(4):046110.
Lee, C, Reid F, McDaid A, Hurley N (2010) Detecting highly overlapping community structure by greedy clique expansion In: Workshop on Social Network Mining and Analysis.
Lee, DD, Seung HS (1999) Learning the parts of objects by nonnegative matrix factorization. Nature 401:788–91.
Leng, M, Yao Y, Cheng J, Lv W, Chen X (2013) Active semisupervised community detection algorithm with label propagation In: International Conference on Database Systems for Advanced Applications, 324–338.. Springer, Berlin.
Leskovec, J, Krevl A (2015) SNAP Datasets: Stanford Large Network Dataset Collection. http://snap.stanford.edu/data.
Li, L, Du M, Liu G, Hu X, Wu G (2014) Extremal optimizationbased semisupervised algorithm with conflict pairwise constraints for community detection In: Proc. ASONAM’14, 180–187.. IEEE, USA.
Liu, D, Duan D, Sui S, Song G (2015) Effective semisupervised community detection using negative information. Math Probl Eng 2015:2015.
Liu, D, Liu X, Wang W, Bai H (2014) Semisupervised community detection based on discrete potential theory. Phys A Stat Mech Appl 416:173–182.
Liu, X, Wei YM, Wang J, Wang WJ, He DX, Song ZJ (2016) Community detection enhancement using nonnegative matrix factorization with graph regularization. Int J Mod Phys B 30(20):1650130.
McDaid, A, Hurley N (2010) Detecting highly overlapping communities with modelbased overlapping seed expansion In: Proc. ASONAM’10, 112–119.. IEEE, USA.
Newman, ME (2006) Modularity and community structure in networks. Proc. national academy of sciences 103(23):8577–8582.
Pakrashi, A, Mac Namee B (2019) Kalman filterbased heuristic ensemble (kfhe): A new perspective on multiclass ensemble classification using kalman filters. Inf Sci 485:456–485.
Palla, G, Derényi I, Farkas I, Vicsek T (2005) Uncovering the overlapping community structure of complex networks in nature and society. Nature 435(7043):814.
Prince, M (2004) Does active learning work? a review of the research. J Eng Educ 93(3):223–231.
Shen, H, Cheng X, Cai K, Hu MB (2009) Detect overlapping and hierarchical community structure in networks. Phys A Stat Mech Appl 388(8):1706–1712.
Shi, X, Lu H, He Y, He S (2015) Community detection in social network with pairwisely constrained symmetric nonnegative matrix factorization In: Proc. ASONAM’15, 541–546.. IEEE, USA.
Tang, W, Lease M (2011) Semisupervised consensus labeling for crowdsourcing In: SIGIR 2011 workshop on crowdsourcing for information retrieval (CIR), 1–6.
Wang, Z, Wang W, Xue G, Jiao P, Li X (2015) Semisupervised community detection framework based on nonnegative factorization using individual labels In: International conference in swarm intelligence, 349–359.. Springer, Cham.
Wu, J, Wang F, Xiang P (2016) Automatic network clustering via densityconstrained optimization with grouping operator. Appl Soft Comput 38:606–616.
Wu, ZH, Lin YF, Gregory S, Wan HY, Tian SF (2012) Balanced multilabel propagation for overlapping community detection in social networks. J Comput Sci Technol 27(3):468–479.
Xie, J, Kelley S, Szymanski BK (2013) Overlapping community detection in networks: The stateoftheart and comparative study. ACM Comput Surv 45(4):43.
Xie, J, Szymanski BK, Liu X (2011) SLPA: Uncovering overlapping communities in social networks via a speakerlistener interaction dynamic process In: Proc. IEEE 11th International Conference on Data Mining Workshops, 344–349.. IEEE, USA.
Yang, J, Leskovec J (2013) Overlapping community detection at scale: a nonnegative matrix factorization approach In: Proceedings of the sixth ACM international conference on Web search and data mining, 587–596.. ACM, New York.
Yang, J, Leskovec J (2015) Defining and evaluating network communities based on groundtruth. Knowl Inf Syst 42(1):181–213.
Yang, L, Jin D, Wang X, Cao X (2015) Active link selection for efficient semisupervised community detection. Sci Rep 5:9039.
Zhang, Y, Yeung DY (2012) Overlapping community detection via bounded nonnegative matrix trifactorization In: Proc. 18th ACM SIGKDD international conference on Knowledge discovery and data mining, 606–614.. ACM, New York.
Zhang, ZY (2013) Community structure detection in complex networks with partial background information. EPL Europhys Lett 101(4):48005.
Zhang, ZY, Sun KD, Wang SQ (2013) Enhanced community structure detection in complex networks with partial background information. Sci Rep 3:3241.
Acknowledgements
Not applicable.
Funding
This research was supported by Science Foundation Ireland (SFI) under Grant Number SFI/12/RC/2289, and by The Ministry of Higher Education in Saudi Arabia.
Author information
Authors and Affiliations
Contributions
EA implemented the code, performed and analyzed the experiments. EA and DG wrote, read, and approved the final manuscript.
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Alghamdi, E., Greene, D. Active semisupervised overlapping community finding with pairwise constraints. Appl Netw Sci 4, 63 (2019). https://doi.org/10.1007/s4110901901757
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s4110901901757