 Research
 Open Access
 Published:
Advancing community detection using Keyword Attribute Search
Journal of Big Data volume 6, Article number: 83 (2019)
Abstract
As social network structures evolve constantly, it is necessary to design an efficient mechanism to track the influential nodes and accurate communities in the networks. The attributed graph represents the information about properties of the nodes and relationships between different nodes, hence, this attribute information can be used for more accurate community detection. Current techniques of community detection do not consider the attribute or keyword information associated with the nodes in a graph. In this paper, we propose a novel algorithm of online community detection using a technique of keyword search over the attributed graph. First, the influential attributes are derived based on the probability of occurrence of each attribute typevalue pair on all nodes and edges, respectively. Then, a compact Keyword Attribute Signature is created for each node based on the unique id of each influential attribute. The attributes on each node are classified into different classes, and this class information is assigned on each node to derive the strongest association among different nodes. Once the class information is assigned to all the nodes, we use a keyword search technique to derive a community of nodes belonging to the same class. The keyword search technique makes it possible to search community of nodes in an online and computationally efficient manner compared to the existing techniques. The experimental analysis shows that the proposed method derive the community of nodes in an online manner. The nodes in a community are strongly connected to each other and share common attributes. Thus, the community detection can be advanced by using keyword search method, which allows personalized and generalized communities to be retrieved in an online manner.
Introduction
Graphs have played an important role in the big data and social network analysis in recent years [1]. It is straightforward to represent and manage the information from different domains with the help of graphs. It is efficient to define the relationship between different entities and get the required knowledge from graphs. Due to changing dynamics of users over the Internet, different applications of the social network, and the tremendous rise in the volume of information, it is critical to design a method to efficiently extract the knowledge and discover hidden patterns among the group of users. The community detection is widely used to derive a group of nodes closely interacting and having a strong relationship with each other, which is helpful to get more positive results from social network analysis. For example, if the nodes in a network represent the user profiles in a social network, and edges represent the interaction between these nodes, then a community of nodes provides the group of users who are closely interacting with each other and share some similar characteristics. The community detection can be used to derive the information about a group of people who go to the same school, who work at the same organization, or group of books by the same publication. This strong association among the nodes in a network can also be used to predict the link formation or edge creation. Deriving the strongest community among the large network graph has become an increasingly important and critical task [2, 3] in graph analytics. Several different techniques of community detection are already defined. Although more advance work is in progress, there are small number of efficient mechanisms to get the knowledge from attributed graphs. The large volume of information is represented in the form of network graph, where some key attributes are assigned to the nodes, and relationship between different nodes are represented in the form of edges. It is important to consider these attributed graphs for the community detection, which can give us much more useful information than general network graphs. Current techniques of community detection can be categorized into three different categories. First, the Structurebased community detection, where the community of nodes is formed based on the connectivity between nodes. The techniques like Label Propagation [4], Random Walk [5], and Modularity Optimization [6] focus on the probability of edge creation or connectivity between two nodes. These probabilistic models derive a community based on the actual and possible connection between different nodes, and group them together based on the connectivity of nodes. This type of community detection gives the nodes which have high connectivity with each other and form a cohesive structure. However, these techniques do not consider the attributes associated with each node, hence, the accurate communities may not be derived from the attributed graphs. Another class of community detection technique considers the attributes associated with each node, also known as the Attributebased community detection. However, it is possible that the two nodes which share the same attributes may not be connected to each other, hence the community of nodes may not be structurally cohesive. There are some methods which consider the attribute similarity as well as the connectivity between nodes while deriving a community of nodes. The fundamental principle behind all these methods is to create a group of nodes which share some common features. But, we do not have any prior information about how many communities and what types of relationships are present between the nodes in a community. Finding communities in an online manner is a more efficient and accurate way of extracting knowledge on a realtime scale. Thus, we introduce a novel method to derive the community of nodes in an online manner based on the attribute similarity and the connectivity of nodes in a graph. This paper defines a new mechanism to extract community of nodes from attributed graphs by using the keyword search technique. The proposed method is used to derive the communities in an online manner, which makes it possible to generate personalized communities based on the user queries. Since a keyword search approach is used to detect the communities, proposed method is able to derive these communities in a more accurate and efficient manner. The key contributions to the novel method are listed as follows:

1.
A novel technique of community detection is developed based on the existing revolutionary research [2, 7,8,9,10,11,12].

2.
The node attributes are used to represent the keywords in the attributed graphs to design a novel algorithm of community detection using keyword search over attributed graphs.

3.
Since the multiple keyword attributes are present on every node, it is important to find the influential attributes from the set of attributes, which in turn leads to influential nodes. A new measure, called as nodeweight, is defined to derive the influential attributes among all the nodes.

4.
Apart from Nodeweighted attributes, it is necessary to find the probability of connectivity of nodes which share similar attributes. Hence, another threshold value, called as edgeweight, is given to filter out the attributes which have the least probability of being shared among different nodes, and find the influential nodes in terms of attribute similarity.

5.
Once the influential attributes are determined, we assign a vector of keyword attributes on each node. These node attributes can be classified into different classes based on the similarity of two attributes. We use Jaccard Similarity Index to measure the similarity between two nodes.

6.
These similar attributes between the two nodes contain the Nodeweighted and Edgeweighted attributes. The average value of the weight of common attributes give the probability of edge creation between two nodes based on shared similar attributes. Thus, these nodes can be classified together based on probability of connectivity, and attribute similarity.

7.
A class label is assigned to each node while classifying the attributes in different classes. This class information is used as a keyword on each node, and can be used for personalized as well as generalized community detection by using keyword search techniques.

8.
The experimental analysis shows that the proposed algorithm is able to derive the personalized community for a query, and generalized communities for all class of attributes. Thus, the proposed mechanism is able to derive community of nodes in an online and efficient manner based on the keyword attributes.
The rest of the work is organized as follows. “Related work” section presents the related work and background. “Methods” section gives the detailed explanation of the proposed approach. “Keyword search based algorithm” section describes Keyword Search based algorithm for personalized as well as generalized community detection in detail. “Algorithm analysis” section analyzes the performance of the proposed approach. “Experimental results” section describes experimental analysis, and “Concluding remarks” section provides the conclusive remarks for the paper.
Related work
This section reviews the related work about community detection and keyword search over the large network graphs.
Community detection on attributed graphs
Since the inception of graph theory, many algorithms have been proposed for different applications of graph theory [2, 7, 9]. For instance, social network analysis started in 1930s and has become one of the most critical and revolutionary areas of research in the big data community.
Community detection
A community is also known as a cluster, and defined as a group of vertices which probably share common features, or have a strong relationship with each other formed by the strong distribution of edges between vertices. In Fig. 1, a graphic representation of a sample graph with communities is shown.
A community [13] can also be defined as a dense subgraph, since the nodes in same communities have dense connection with each other than that of different communities. Each community represents a functional system or working unit, due to which it is necessary to find different effective techniques of community detection. The community detection techniques can be categorized as follows:
Structurebased community detection
This class of community detection determines the probability of possible connection based on the existing connections between nodes, and groups them together in one community. The existing methods like Label Propagation [4] and Random Walk [5] generate the community structure based on a probabilistic model. The Label Propagation [4] assigns label to each node and changes the label of each node based on the label of neighbors. Though Label Propagation [4] is computationally efficient, it does not consider the attributes associated with each node, hence, may not be an effective method to create a group of nodes based on the label of neighbors for attributed graphs. The Random Walk [5] method works on the principal of Markov Chain Process, where nodes are grouped together based on the probability of transition from one node to another. Since the current Random Walk [5] based methods do not consider the attributes associated with nodes, hence, the generated communities may not have attribute similarity between the nodes in a community. Girvan and Newman proposed a new measure known as the modularity [6, 9], which is defined as the fraction of connections within a community in the actual network minus expected fraction of connections in a random network. As per the definition of modularity, a maximum modularity gives the best partition of a network [9]. Fortunato and Barthelemy discovered that the modularity optimization [13] gives extra importance to the number of connections in a network, and hence this method cannot correctly classify some specific cases of networks. The main limitation of the modularity optimization [13] approach is that it does not consider the overall size of a community. To overcome this limitation, Rosvall and Bergstrom [3] used the full description length of a partition of a network to compress the networkbased communication process. Li et al. [14] proposed a fast and accurate measure of mining community structure by providing a kernel function to measure the leadership of each node. Once the leader nodes are determined, a discretetime dynamical system is used to assign the community for each node dynamically. All these methods consider the actual and possible connection between different nodes, and generate the structurally cohesive community structure. However, none of the above methods considers the node attributes, and hence, may not be the accurate measure to generate community structures for an attributed graph.
Attributedbased community detection
Many different techniques of community detection have considered large complex graph without any keyword or attributes on its nodes. There are few techniques of community detection for the network graphs having node attributes [15]. Fang et al. [16] proposed the community detection on large attributed graphs by creating an index tree based on the keyword attribute information. Zhou et al. [17] proposed a method to derive the clusters by computing the pairwise similarity between the nodes using keywords and links between the nodes. Ruan et al. [18] proposed a method called as CODICIL, where new edges are created based on the content similarity, and then effective graph sampling is done to boost the efficiency of graph clustering. In another approach [19], the attributed graph community detection is done based on probabilistic inferences. CESNA [20] detects the overlapping communities by assuming communities generate content. He et al. proposed another method known as MISAGA, [21] for mining subgraphs in an attributed graph. MISAGA [21] defines a probabilistic measure to determine the strength of association between a pair of attribute values, then it determines the degree of association between each pair of vertices to group them together in one community. All these methods consider the degree of association between a pair of vertices based on a set of attributes on vertices. However, these methods may not consider the structure cohesiveness or the connectivity between a pair of vertices while creating the community structure. It is necessary to design a mechanism which will consider both, structure cohesiveness and attribute similarity for a group of nodes belonging to the same community. There are few techniques which achieve this objective [22].
Online community detection
There are some techniques to determine the communities in an online manner, that is based on a query request. Few of these methods [23,24,25,26] obtain the community for given vertex V based on the query over q. Such a personalized community detection technique requires different measures like the minimum degree, kcore, etc., which generate the structurally cohesive communities. Sozio et al. [23] proposed the first algorithm known as the Global to find the \(\widehat{\textit{kcore}}\) containing vertex q. Cui et al. [25] proposed the Local to enhance the efficiency of the Global by expanding techniques to local search space. There are many other methods like kclique [24] and ktruss [27] which searches the communities in large complex networks, but all these techniques assume nonattributed graphs, and does not consider the important keyword attribute information on nodes which can be used for the generation of more accurate communities in the graph.
Keyword search over graphs
The keyword search over graphs [28,29,30,31] have attracted significant attention in recent years since it provides valuable information to users without the knowledge of underlying entities, schema, or access mechanism. Many advanced keyword search techniques [28,29,30,31,32] are developed to search information over such large complex graphs. We use the concept of keyword search over graphs to generate different communities in the graph. We apply the naive keyword search approach to search the keyword attributes on the nodes, and group them together based on the similarity between two nodes. The keyword search approach gives the flexibility of searching the required group of nodes in an online manner. Since the social network graphs may have multiple attributes assigned to their nodes, a mechanism is designed to derive clusters in the graph based on the attribute similarity among different nodes. The next section defines the problem, and describes the key definitions and major aspects of the proposed approach.
In this paper, we consider some important measures described by structurebased, attributebased, online community detection, and keyword search methods to design a novel method for more accurate community detection over large attributed graphs.
Methods
The proposed approach for community detection using Keyword Attribute Search is explained in detail in this section. Before explaining the proposed approach, it is necessary to define the problem, provide some corresponding definitions, and lemmas to support the proposed approach.
Data mdel
Let a network graph is denoted as \(G = ( V, E, \varLambda )\), which is an undirected and attribute graph. V is the set of vertices, E is the set of undirected edges, and \(\varLambda\) is the set of attributes assigned to each vertex \(v_{i} \in V\) in the graph. If two vertices \(\text {v}_{{i}}\) and \(\text {v}_{{j}}\) are connected to each other through an undirected edge, then such a graph is known as a connected graph. The set of attributes for all vertices \(v_{i} \in V\) is denoted as \(\varLambda =\{{attr}_{{1}}, {attr}_{{2}}, {attr}_{{3}}...{attr}_{{n}}\}\), and the set of attribute values associated with each vertex \(\text {v}_{{i}}\) is denoted as \({attr}_{{ji}} = \{ {attr}_{{1i}}, {attr}_{{2i}},... {attr}_{{ji}})\}\).
In this paper, an undirected attributed graph \(G = (V, E, \varLambda )\) is considered. Let n and m be the size of V and E, respectively. Table 1 represents the meaning of all the symbols used in the paper.
Preliminary
A community can be defined as a subgraph of G that have the nodes densely connected to each other to form a cohesive structure, and sparsely connected to nodes in other communities. The structure cohesiveness of a graph G is defined by how different nodes are connected to each other. The minimum degree of all vertices in a community is k or more [23, 25, 26, 33, 34], also known as \(k{\text{}}core\), which is an important condition for structure cohesiveness of G.
Definition 1 (kcore)
Given an integer k (\(k \ge 0\)), the \(k{\text{}}core\) [23, 33, 35] of G denoted by \(G_{k}\) is the largest subgraph of G such that, \(\forall v \in G_{k}, deg_{G_{k}}(v) \ge k\). The notion of \(k{\text{}}core\) [16, 23, 33] makes sure that all the nodes in a community \(G_{k}\) are densely connected to each other in some way, and hence makes the structure cohesive.
Definition 2 (Jaccard Similarity Index)
Given a graph \(G =(V,E)\) and two vertices \(v_{1}, v_{2} \in V\) which have set of attributes \(X_{1}\) and \(X_{2}\) respectively, the measure of similarity between the two vertices can be given by the Jaccard Similarity Index [36] \(Sim(v_{1},v_{2})\) and defined as follows:
The Jaccard Similarity Index [36] measure can be useful to give some threshold constant, which can be used to classify the vertices with a similarity of attributes greater than or equal to the threshold constant into a common group of vertices.
Definition 3 (shortest path length or geodesic distance)
Apart from the attribute similarity, it is necessary that the two nodes \(v_{1}\) and \(v_{2}\) are connected to each other at a minimum possible distance. If two nodes \(v_{1}\) and \(v_{2}\) are connected to each other, but far away from each other in a network than the other nodes, then such nodes may not be the part of a community. Since the communities contain nodes which are densely connected, the shortest path distance between two nodes should be minimal to make the community structure dense, or structurally cohesive. The shortest path length or geodesic distance [37] can be used to calculate and specify the maximum threshold on the distance between two nodes \(v_{1}\) and \(v_{2}\). The shortest path length or geodesic distance [37] can be given as follows:
Problem definition
The problem is defined as follows:

1.
The vertices \(v_{i} \in V\) in a subgraph should be connected to each other to form a cohesive structure, and sparsely connected to other subgraphs.

2.
The vertices \(v_{i} \in V\) which have similar attributes should be partitioned into the same group, while the vertices with different attributes should be partitioned into separate groups.
Based on the above properties, the formal problem definition for the community detection in attributed graphs is stated in the following definition:
Problem 1 (attributed community detection)
Given a graph \(G(V,E, \lambda )\), positive integer constants k, d, \(\theta _{c}\), \(\theta _{w}, W_{v}\), and \(W_{e}\), a vertex \(v \in V\), and a set of attributes \(attr_{i} \subset X(v_{i} \in V)\), return a set of subgraphs such that following properties should be satisfied \(\forall G_{v}\in G\):

1.
Connectivity \(G_{v} \in G\) is a connected subgraph and contains \(v \in V\);

2.
Dense structure \(\forall v \in G_{v}\) following properties should be satisfied;

a.
all the nodes \(v \in V\) in a subgraph have degree greater than or equal to the \(K\_core\) value, \(deg_{G_{v}}(v) \ge k\), k is a minimum threshold for \(k{\text{}}core\) value.

b.
if two nodes \((v_{i}, v_{j}) \in V\) are connected, then the distance between them should be less than or equal to the maximum threshold constant d of the shortest path length or geodesic distance, \(GD(v_{i}, v_{j}) \le d\).

a.

3.
Attribute sharing \(\forall v \in G_{v}\) and \(\forall X \in \lambda\) following properties should be satisfied;

a.
each node \(v \in V\) should have a set of influential attributes such that, \(P(attr_{i} \in v) \ge W_{v}\) and \(P(attr_{ij} \in v_{j}, attr_{ik} \in v_{k}) \ge W_{e}\), where \(P(attr_{i} \in v)\) is the probability of attribute \(attr_{i}\) on all vertices, \(P(attr_{ij} \in v_{j}, attr_{ik} \in v_{k})\) is the probability of attribute \(attr_{i}\) shared between vertices \(v_{j}\) and \(v_{k}\), \(W_{v}\) and \(W_{e}\) are minimum threshold constants for probability of attributes on nodes and edges, respectively.

b.
if two nodes \(v_{i}, v_{j} \in V\) are connected, then the two nodes should share the maximal similar influential attributes, and the average weight of common influential attributes should be greater than or equal to Average Edge weight, \(W_{e}(v_{i}, v_{j}) \ge \theta _{w}\).

c.
if two nodes \(v_{i}, v_{j} \in V\) are connected, then the two nodes should share the maximal similar attributes, and the similarity between these attributes should be greater than or equal to Jaccard Similarity Index, \(Sim(v_{i}, v_{j}) \ge \theta _{c}\).

a.
The above properties like kcore and shortest path length make sure the community structure is structurally cohesive, and the property of Nodeweight, Edgeweight, and Jaccard Similarity Index makes sure the community structure follows the attribute cohesiveness. Both of these requirements are critical for an accurate community detection. Figure 2a, b shows the attributed graph with the corresponding communities based on the problem definition. Figure 3 shows another example of ground truth network dataset having certain number of communities. Our focus is to design an efficient mechanism to derive communities not only in terms of interaction between the vertices in a community, but also in terms of attribute similarity between all the vertices in a community.
Community detection using keyword search
Although the following method [16] is applicable to attributed graphs and generate communities which satisfies the structure and attribute cohesiveness, but it does not consider the attribute typevalue pair for the attribute cohesiveness. Since there can be multiple values for one attribute type, it is necessary to identify the influential attribute typevalue pairs, and derive the communities based on these influential attributes. Thus the proposed method is significant to identify the important attribute typevalue pairs, and derive more accurate communities for these attributes. The proposed method highlights the importance of finding the influential attributes. The Nodeweighted and Edgeweighted attributes are useful to find the probability of edge creation between two nodes based on the connectivity as well as attribute similairty. The existing method [16] does not find such influential attributes or probability of edge creation, hence the proposed method is useful to find accurate communities. The vertices which have strong connectivity and common keyword attributes can be grouped together in the same community. An algorithmic framework is designed to classify keyword attributes on all vertices based on the similarity between a set of attributes on two vertices, and the connectivity between two vertices. These classes can be used to search the vertices strongly related to each other, and hence, eventually the community. Following major steps are involved in the community detection using keyword search method:

1.
A probability threshold value called as \(Node{\text{}}weight\) is defined, which derive the influential attributes. If the probability of an attribute typevalue pair is greater than or equal to \(Node{\text{}}weight\), then that attribute typevalue pair is considered as an important attribute.

2.
A probability threshold value called as \(Edge{\text{}}weight\) is defined, which derives the influential attributes in terms of the connectivity. If the probability of sharing of any attribute typevalue pair between all pair of vertices is greater than or equal to \(Edge{\text{}}weight\), then that attribute typevalue pair is considered as an important attribute.

3.
All the influential keyword attribute information on nodes can be used to construct an Attribute Index Structure, where different keyword attributes are classified and grouped together in separate groups based on the attribute similarity between the nodes, and their degree structure.

4.
The factor Jaccard Index, and average weight of the Edgeweighted attributes between a pair of vertices, is used to measure the similarity of attributes, while kcore and geodesic distance are used to measure the connectivity of the vertices sharing similar attributes.

5.
While classifying each vertex in the graph based on the attributes, a new class of attributes can be identified and stored in the Attribute Index Structure. This attribute class information can be assigned as a label to each node of the graph with the keyword attribute information, to find strongly associated nodes.

6.
The naive keyword search algorithm is used to determine the personalized communities in the graph based on a query by using different class of attributes assigned to all vertices in the graph.

7.
For a generalized community detection, the naive keyword search algorithm is used to determine all communities in the graph based on the class information and keyword attribute information on different nodes in the graph.
All the classes can be accessed iteratively to determine different nodes which belong to the same class, and which share strong association in terms of keyword information. The group of such nodes will form a community structure in the graph. In the next section, an algorithmic framework is defined and explained in detail for each major step.
Keyword search based algorithm
The Keyword Attribute Searchbased algorithm requires that every node should have some keyword or attributes associated with them, these keyword attributes are used to search a specific type of attribute and group them together in one class. For example, we use two network datasets Karateclub and Political Book in Figs. 2a and 3 respectively, which have groundtruth communities associated with them. We assign random attributes on each node of both the datasets, and derive communities by using Keyword Searchbased algorithm. The random attributes assigned to each node of the Karateclub network is shown in Table 2.
Following major steps are involved in the Keyword Attribute Searchbased algorithm:
Nodeweight
The first step, in the process of our community detection problem, is to determine the influential nodes among all the nodes in a graph.Since each node \(v \in V\) contains a set of attributes \(X \in \lambda\), and each attribute type \(attr_{ij} \in X\) might be distributed on the different nodes with different values, it is important to find the influential attribute typevalue pairs among all the node attributes. The probability of each attribute typevalue pair on all vertices can be used to get influential attributes.The influential attributes can be found based on the probability of each attribute typevalue pair among all the nodes in the graph. Let \(O(attr_{i})\) is the number of times \(attr_{i}\) present among all the vertices, N be the number of nodes in the graph, then the probability of \(attr_{i}\) can be given as follows:
For the example network shown in Fig. 2a, if we assume the maximum threshold for Nodeweight \(W_{v} =20.0\%\), then the corresponding important attributes are listed in Table 3.
Edgeweight
Once all the important attributes are determined based on the probability of each attribute typevalue pair on all the nodes of a graph, we consider the probability of occurrence of each attribute typevalue pair on each edge, that is, how many times each attribute typevalue pair is shared between all pair of vertices. The threshold value of probability of each attribute typevalue pair on each edge can be called as the Edgeweight. If the probability of each attribute typevalue pair on each edge is greater than or equal to Edgeweight, then that attribute typevalue pair is considered to be influential. Let \(O(attr_{ij})\) and \(O(attr_{ik})\) be the number of times attribute \(attr_{i}\) present on vertices j and k, respectively. \(O(attr_{ij},attr_{ik})\) represents the number of times \(attr_{i}\) shared between vertex j and k, when j and k are connected to each other. The probability of an attribute typevalue pair shared among all the pair of vertices can be given as follows:
We can determine the Edgeweight from the above important attribute typevalue pairs listed in Table 3, and the all the edges in Karateclub network graph sharing these attribute typevalue pairs. If we assume the maximum threshold value for Edgeweight \(W_{e} =10.0\%\), then, corresponding influential Edgeweight attributes are listed in Table 4.
Keyword attribute signature
The influential attributes can be stored in a decreasing order of the probability value, and a unique index \(k_{i} \rightarrow attr_{i}  \forall attr_{i} \in X\) value can be assigned to the attribute typevalue pair. The Keyword Attribute Signature contains a vector of these unique index values for a set of attributes on each node. Thus, the Keyword Attribute Signature is a compact representation of the attribute values on each node. The unique Id associated with each attribute typevalue pair shown in Table 4 is used to create the Keyword Attribute Signature on each node.
Attribute Index Structure
In the next step, we create an Attribute Index Structure for the Keyword Attribute Signature assigned to all nodes. Given a large attributed graph G = (V, E), the task is to determine different classes of attributes from all the Keyword Attribute Signatures on all vertices. Since we do not have prior information on the type of attributes in the graph, this information can be determined from the keyword attributes on different nodes. The Attribute Index Structure is created iteratively for all nodes and will contain all the class of attributes in the large network graph. Each class of attribute is created iteratively by comparing each node with other nodes. If the two nodes have degree greater than or equal to k_core, then they are considered for the classification. If the two nodes have degree greater than or equal to k_core, and are similar to each other based on Jaccard Similarity Index, then the Keyword Attribute Signature on two nodes can be merged into one class, and two nodes belong to the same class. The Attribute Index Structure would consist of the inverted list of Keyword Attribute Signature for each node with a corresponding class, first visited node, and the total number of vertices which belong to the same class of attributes. The Attribute Index Structure can be denoted as \(\text {I} = \{C_{1}{:}\{X_{1}, V_{1}, count(C_{1})\}, C_{2}{:}\{X_{2}, V_{2}, count(C_{2})\},..., C_{n} :\{X_{n}, V_{n}, count(C_{n})\}\}\), where \(C_{i}\) is the class assigned to each attribute set \(X_{i}\), and \(V_{i}\) is the first node from which the class \(C_{i}\) is derived. The pseudocode given in Algorithm 1 is used to create the Attribute Index Structure:
Table 5 represents the Keyword Attribute Index structure created for the Karateclub network dataset.
Keyword attribute class information
Once the Attribute Index Structure is created, it is used to assign the class of attribute \(C_{i}\) on each vertex \(v_{i} \in V\) along with the Keyword Attribute Signature information. The main idea behind the class is to create awareness about strong relationship or common properties between the nodes. Initially, each vertex with the Keyword Attribute Signature is considered as a separate community while searching it’s relationship with other vertices, this Keyword Attribute Signature based search leads to different nodes which share the same attribute information, which eventually helps derive the communities in graph. However, for a large network graph, there are numerous type of attributes associated with all nodes, hence it becomes necessary to classify Keyword Attribute Signature at each node in different classes. There should be a parameter \(\theta _{c}\) to depict a maximum threshold of similarity between two sets of Keyword Attribute Signatures on two vertices \(v_{1}\) and \(v_{2}\), respectively, based on which it will be easy to prune the search space over a large network
graph. We can verify if an attribute is present in Attribute Index Structure I. If an attribute \(attr_{ij} \in X(j)\) is present in the inverted list of attributes \(\{C_{j}{:}X_{j}, V_{j}, count(C_{j})\}\), then we assign the corresponding class \(C_{j}\) of attribute \(attr_{ij}\) to the node \(v_{i}\). If an attribute \(attr_{ij} \in X(j)\) is not present in the inverted list, then the attribute \(attr_{ij} \in X_{j}\) is compared with the existing attributes in I. The similarity between the two sets of attributes is determined based on the Jaccard Similarity Index \(Sim(v_{i},v_{j})\). If the \(Sim(X_{i}(v_{i}),X_{j}(v_{j}))\) is greater than or equal to the threshold value \(\theta _{c}\), then the two attributes are combined together \(X_{i}(v_{i}) \cup X_{j}(v_{j})\), and same class \(C_{i}\) is assigned to the combination of attributes. If \(Sim(X_{i}(v_{i}),X_{j}(v_{j}))\) is less than the threshold value \(\theta _{c}\), then a new class \(C_{j}\) is assigned to the attribute \(X_{j}(V_(j))\) along with the node \(V_{j}\) in the Attribute Index Structure I. We also keep track of the count of nodes \(count_{i}(C_{i})\) which belong to same class of attributes while creating the class of attributes in the Attribute Index Structure I. This information is useful in the personalized as well as generalized community detection. Based on the key definitions and Attribute Index Structure I, following lemma is derived to prove that the Attribute Index Structure is useful to classify nodes in different clusters, or groups to form communities.
Lemma 1
Given \(G =(V,E)\) and set of attributes X, if \(X_{q} = \{X_{q1}, X_{q2}\) \(,\dots , X_{qn}\}\) and \(\hat{X_{q}} = \{\hat{X_{q1}},\hat{X_{q2}},\dots ,\hat{X_{qn}}\}\) are the set of attributes on the two vertices q and \({\hat{q}}\) respectively, and (\(q , {\hat{q}}) \in G_{X_{q}}\) i.e. q and \({\hat{q}}\) belong to the same subgraph \(G_{X_{q}}\). If \(L(X_{q} \cap \hat{X_{q}}) \ge K_{q}\), then \(X_{q} \cup \hat{X_{q}} \in C_{q}\), where \(C_{q} \in I.\)
Proof
To prove this lemma, we use a proof by contradiction. Let \(X_{q} = \{X_{q1},X_{q2}\) \(,\dots ,X_{qn}\}\) such that \(X_{q} \in C_{q}\), and \(\hat{X_{q}} = \{\hat{X_{q1}},\hat{X_{q2}},\dots ,\hat{X_{qn}}\}\) such that \(\hat{X_{q}} \in \hat{C_{q}}\). Assuming \(\hat{X_{q}} \notin C_{q}\), then it means that \(X_{q}\) and \(\hat{X_{q}}\) does not have any attribute in common, which proves \(C_{q}\) is not equal to \(\hat{C_{q}}\) and \(L(X_{q} \cap \hat{X_{q}}) = \phi\). Thus, for every query or keyword vertex \(X_{q} \in C_{q}\) and \(q \in G_{q}\) i.e. q belongs to the subgraph \(G_{q}\), and \(\hat{X_{q}} \in \hat{C_{q}}\) and \({\hat{q}} \in \hat{G_{q}}\) i.e. \({\hat{q}}\) belongs to the subgraph \(\hat{G_{q}}\). This contradicts the given assumption that (\(q , {\hat{q}}) \in G_{X_{q}}\) and also fails to satisfy the attribute cohesiveness. This proves the given lemma. \(\square\)
Personalized community detection
As discussed in the previous steps, the Attribute Index Structure I contains the class \(C_{i}\) of attributes , first node, and the number of nodes which belongs to class \(C_{i}\), also, keyword attribute \(X_{i}(v_{i})\) on each node \(v_{i} \in V\) is updated to include the class \(C_{i}\). This information is crucial for the personalized community detection. The personalized community detection can be defined as, a group of nodes having same class \(C_{q_{i}}\) on each node for a given query \(Q =\{q_{1}, q_{2}, \dots , q_{i}\}\), with i keywords in the query. For a given query Q which has keywords or class of attributes, we access the class information \(C_{i}\), the number of nodes which belong to the same class \(count_{i}(C_{i})\), and the first vertex \(V_{i}\) which belongs to class \(C_{i}\) from I. Once this information is fetched from the Attribute Index Structure I, the naive keyword search algorithm is used to search nodes which belong to class \(C_{i}\). This naive keyword search starts at the node \(V_{i}\) derived from I and finds the Breadth First Search (BFS) path with the node \(V_{i}\) as the root node. It continues to search the nodes with same class \(C_{i}\) of attributes as node \(v_{i}\) along the BFS path of the node \(V_{i}\). The Breadth First Search (BFS) path makes sure that all the nodes are covered in the network, and every node is compared with other nodes to find the nodes having similar class label. The keyword search has the upper bound of threshold length \(count_{i}(C_{i})\), and continues the keyword search until the \(count_{i}(C_{i})\) number of nodes are not matched with the given class \(C_{i}\). Following pseudocode is used for the Keyword Search required in personalized community detection. The pseudocode for deriving the k_core value for all the nodes, and the retrieval of a Breadth First Search Tree (BFS) for root node \(V_{i} \in I\) is given by Algorithm 4 and Algorithm 5, respectively.
Generalized community detection
The generalized community detection can derive all communities from a network graph based on the Keyword Attribute Signature associated with each node in the graph. The personalized community detection is based on the keyword search query Q, while generalized community detection may not need keyword search query Q. The Attribute Index Structure I has all the required information about different attributes \(X_{i}(v_{i})\) on node \(v_{i} \in V\) and class \(C_{i}\) of these attributes. All this information can be used for the generalized community detection. The process starts by scanning the Attribute Index Structure I for each class \(C_{i}\) of the attribute, then perform the keyword search at node \(V_{i}\) associated with \(C_{i}\) in I. The Keyword Search process explained in the personalized community detection leads to a community of nodes for each class \(C_{i} \in I\). Same process is performed recursively for each class \(C_{i}\) of the attribute, corresponding node \(V_{i}\), and the attributes \(X_{i}(V_{i})\) associated with the node \(V_{i}\). The pseudocode given in Algorithm 3 explains the generalized community detection process in detail:
The personalized community detection can be used to derive a particular community from a graph in an online manner. However, the generalized
community detection can be used to derive all the communities from a graph without any query in an online manner.
Illustration
The proposed method is explained by illustrating a simple example. We consider a small graph with corresponding node attributes and edges as displayed in Fig. 4a. If we consider the Nodeweight and Edgeweight as \(50\%\) each, we get the influential attributes as \(\{1{:}{School = UNLV}\}\), \(\{2{:}City = Las\) \(Vegas \}\), \(\{3{:}{Role = Student}\}\), and \(\{4{:}{Role = Professor}\}\). We create the compact signature from the influential attributes as shown in Fig. 4a. If we consider the Jaccard Similarity Index JCD as \(40\%\), \(k\_core\) and geodesic distance GD as 1 each, then we can apply the method to get the attribute index structure shown in Fig. 4b. Each class identified in the attribute index structure is assigned as an attribute to each node in the graph. The generalized community detection algorithm gives all the communities for the sample graph as shown in Fig. 4c.
For example, if we look at the KarateClub network graph shown in Fig. 2a with different attributes on each node and the Attribute Index Structure shown in Table 5, we derive the community of nodes that belong to the same class of attributes as shown in Fig. 5a. Similarly, based on the previously defined measures, we derive the communities for the PoliticalBooks network dataset shown in Fig. 3. All the communities are displayed in Fig. 5b.
Algorithm analysis
The complexity analysis of the proposed method can be divided into following major parts based on the major steps involved in the community detection process.
Nodeweight and Edgeweight
The \(Node{\text{}}weight\) and \(Edge{\text{}}weight\) are calculated by calculating the probability of each attribute on each node \(v_{i}\) and edge \(e_{ij}\), respectively. Let’s assume that there are n nodes and m edges in a network graph, and each node contains an average of c attributes, then the time required to calculate Nodeweight and Edgeweight can be given as follows:
Maximizing degree of nodes
Identifying the nodes, which have a maximum degree, satisfy the requirement of the structure cohesiveness. The kcore measure is used to identify such nodes with a maximum possible degree. The kcore of a graph G can be identified within the time complexity of \({\mathcal {O}} (m)\), where m is the number of lines. Since all the n nodes of graph G are traversed to identify the kcore value, the complexity of the process to maximize the degree of nodes can be given as follows:
Attribute Index Structure creation
As explained in the previous section, the Attribute Index Structure is created to classify Keyword Attribute Signature on each node into different classes. These classes are used to generate the communities based on the similarity of a set of attributes on two nodes of the graph. Since we consider the nodes which have degree greater than or equal to the threshold value of k_core, nodes which have degree less than the k_core are rejected and will not be part of any community. This criteria prune the search space over a large network graph. There is another threshold known as Jaccard Similarity Index \(\theta _{c}\), which verify the similarity between two Keyword Attribute Signatures. If the similarity between two sets is greater than or equal to \(\theta _{c}\), then such sets are combined into one class \(C_{i}\), otherwise, the two sets are classified into two different class of attributes \(C_{i}\) and \(C_{j}\), respectively. If we consider the worst case scenario where all the nodes are densely connected to each other, hence, they have maximal degrees associated with them, then all the n nodes of the graph G are considered for the Attribute Index Structure creation. Also, if we assume that there are c attributes on each node of the graph G, then the time required for the comparison of the two Keyword Attribute Signatures would be some constant value. Hence, the total time required for the creation of Attribute Index Structure can be given by the following equation:
Keyword search for community detection
Every class of attributes in the Attribute Index Structure \(C_{i} \in I\) is associated with a vertex \(V_{i}\), and the number of nodes \(count_{i}(C_{i})\) which belong to the class \(C_{i}\). This information is used for the personalized as well as generalized community detection by using the Keyword Search method. Since the generalized community detection uses each class of attributes \(C_{i} \in I\), the Keyword Search method is executed for every class and generate communities. The Keyword Search starts at the first vertex \(V_{i}\) associated with class \(C_{i}\), then it searches iteratively for keyword \(C_{i}\) on every node in Breadth First Search (BFS) tree oriented at root \(V_{i}\) (\(v_{i} \in BFS\_TREE(V_{i})\)). It is also necessary to consider another important requirement for cohesive community structure, i.e. shortest path length between two nodes. The shortest path length between two nodes should be less than or equal to a maximum threshold path length. Thus, the time required for the generalized community detection with keyword search would consist of the total time required for finding Nodeweight, Edgeweight, and kcore, creating Attribute Index Structure, retrieving the BFS tree for vertex \(v_{i} \in C_{i}\), and determining the nodes having shortest path length less than or equal to a maximum threshold path length. The time required for the BFS tree creation is \(O(V + E)\), but the nodes in the graph have maximum degree forming a dense structure, hence, it is safe to assume that the time required for the BFS tree creation is dominated by the number of edges, that is O(E), or O(m). Now, the generalized community detection searches for all the classes \(C_{i} \in I\), hence, the BFS tree is retrieved for each vertex \(v_{i}\) associated with \(C_{i} \in I\). In the worst case, each vertex \(v_{i}\) belongs to separate class \(C_{i}\), hence, the BFS tree requires the \(O(n *E)\) or \(O(V*E)\) time. The time required to calculate the shortest path length for n or V vertices is \(O(n^2)\) or \(O(V^2)\). Thus, the total time complexity for the generalized community detection can be given as follows:
Since as per the assumption, the given graph is undirected, attributed, and dense graph, hence the number of edges E dominate the number of nodes V, which results in the time complexity to be bounded with the number of edges or degree of the nodes. Hence, the resultant time complexity for the generalized community detection can be given as follows:
Experimental results
Different experiments are performed to verify the accuracy of the proposed method. We consider only the undirected and attributed graph for all the experiments. All the experiments are executed on 64 GB main memory in Intel Core i5 @ 3.70 GHz on an Windows 10 operating system. Python 2.7 is used to implement the algorithms with networkx package for graph related operations.
Experimental setup
We divide our experiments into three parts. The first part of the experiment compares the proposed approach with the existing methods. We use the network datasets like KarateClub, American Football, PoliticalBooks, Dolphinnetwork, emailEUcore, DBLP, and Amazon [38] with the groundtruth communities for the comparison experiment. The second part contains the experiments on smaller datasets, where a number of nodes in the graph are less than or equal to 1000, while the third part contains experiments on the large datasets where the number of nodes in the graph is greater than 10,000. Since the community structure would contain the dense subgraphs, we include the variation in a number of edges by creating synthetic graphs having 2000, 5000, and 10,000 nodes respectively, and the probability of edge creation 0.50, 0.40, and 0.30 respectively. We distribute a number of attributes randomly on each node of all the above graphs where no attribute values are assigned to any node, so that the threshold value for attribute classification varies, and the resultant community structure can be verified. We use real datasets like YouTube video crawl [39], Twitter User Profiles [40], Skytrax Airline Reviews, Terrorist Data [41], Caesars Entertainment anonymous dataset, and Facebook for the second and third part of the experiment. We randomly assign attributes to the datasets having only edge lists, and randomly create edges with a certain probability of edge creation for the datasets having node list only. The networkx package of Python 2.7 is used for all the graph related operation in the experiments.
Discussion
Table 6 shows the details about the runtime and a number of communities in each comparison experiment. Figure 6 displays the result for comparison of runtime and the number of communities generated for existing methods and the proposed method, respectively. Tables 7 and 8 show the statistics for the small as well as large graph datasets, respectively. The tables show statistics about the number of nodes, the number of edges, the probability of edge creation, and the number of attributes on each node. Tables 9 and 10 show the statistics about the experimental results on the small as well as large graph datasets, respectively. The tables show detailed information of each experiment, where the number of nodes and edges are mentioned along with the threshold value for the similarity of attributes between two nodes, a threshold value for the shortest path length, the number of communities, and the time required for the proposed method to generate these communities. All this detailed information shows the authenticity of the proposed method to generate more accurate communities. All the experimental results are depicted in Figs. 7 and 8, respectively.
Case study
We create a small case study based on a real time graph dataset provided by Caesars Entertainment Corporation located at Las Vegas, USA . This dataset contains the anonymous real time attribute data collected from the Caesars Entertainment Corporation WiFi data, a test graph is created to represent the information about patrons visiting different properties of Caesars Entertainment, time, and places of their visit at a particular property. We create a graph \(G =(V,E)\) with \(V =200\) nodes and \(E =12000\) edges with \(60\%\) probability of edge creation in the graph at different nodes, this makes the graph structurally cohesive. We assign different attributes \(X_{i}(v_{i})\) like, Patron_Id, Path_From_Property, Path_To_Property, Time_From_Property, Time_To_Property, and Place_Visited on all the vertices \(v_{i} \in V\). Since each attribute may have different values on each node, the probability threshold value of Nodeweight =10.0 and EdgeWeight =1.0 is set. Tables 11 and 12 represent all the attribute typevalue pairs having probability greater than or equal to Nodeweight and Edgeweight, respectively. Table 13 represents the Attribute Index Structure for graph dataset. Figs. 9, 10a–c, 11a–c show the original graph and communities generated through the proposed method, respectively.
Now, for the personalized community detection, we can create the queries q like, find a community of nodes where people traveled from property A to property B. Such a query q represents the class of keyword attributes \(Path\_From\_\) \(Property =A, Path\_To\_Property =B\), and the personalized community detection algorithm finds all the nodes \(v_{i} \in I\), where \(C_{i}(v_{i}) = q\). This creates a community of nodes \(Comm_{i}(C_{i})\), where all the nodes have path from Property A to B . However, the generalized community detection finds the communities \(Comm_{i}(C_{i})\) for all \(C_{i} \in I\), which contains all the nodes sharing the keyword attribute information, resulting in more accurate community detection as desired.
Concluding remarks
A community structure derived from an attributed graph exhibits the structure and keyword attribute cohesiveness. The proposed keyword search based method derives communities with the structure and keyword attribute cohesiveness by constructing an Attribute Index Structure. The Attribute Index Structure correctly represents different classes of attributes and helps to derive the community of nodes which share a finite number of keyword attributes, along with the cohesive structure. The proposed method is able to provide the personalized and generalized community detection methods, which provides the flexibility to determine community of nodes in an online manner. Hence, the proposed method provides a more accurate measure of community detection in terms of the cohesive structure as well as keyword attribute similarity, compared to the existing algorithms. In addition, the proposed method provides a mechanism to generate communities in an online manner, which is more useful to determine realtime community of nodes. For future work, we intend to design a probabilistic model to predict the community of a node based on its connectivity with different nodes and attribute similarity. A probabilistic model can predict the class of a node, which can be further used for the Advanced Keyword Search techniques. We will also examine other metrics of keyword search over distributed graphs so that, the current work can be extended to a distributed environment and more efficient techniques of keyword search can be incorporated for the purpose of community detection.
Data availability statement
Since we used the dataset from Caesars Entertainment for the experimental analysis. This dataset contains the anonymous information about the Caesars’ customers visiting different properties at different time and hours of the day. However, we will not be able to disclose the dataset. We used some open source datasets for experimental analysis available [38]. All the implementation related source codes are available at : https://github.com/sanketchobe/AdvanceCommunityDetection.
Abbreviations
 GD:

geodesic distance
 BFS:

Breadth First Search
References
 1.
Albert R, Barabási AL. Statistical mechanics of complex networks. Rev Mod Phys. 2002;74:47–97.
 2.
Sun PG, Sun X. Complete graph model for community detection. Phys A Stat Mech Appl. 2017;471:88–97.
 3.
Rosvall M, Bergstrom CT. An informationtheoretic framework for resolving community structure in complex networks. Proc Natl Acad Sci. 2007;104:7327–31.
 4.
Raghavan UN, Albert R, Kumara S. Near linear time algorithm to detect community structures in largescale networks. Phys Rev E. 2007;76:36106.
 5.
Aldous D, Fill J. Reversible Markov chains and random walks on graphs; 2002. http://www.stat.berkeley.edu/users/aldous/RWG/book.html.
 6.
Zhang XS, Wang RS, Wang Y, Wang J, Qiu Y, Wang L, et al. Modularity optimization in community detection of complex networks. Epl. 2009;87:38002.
 7.
Fortunato S, Castellano C. Community structure in graphs. In: Meyers RA, editor. Computational complexity theory. New York: Springer; 2012. p. 490–512.
 8.
Sachan M, Contractor D, Faruquie TA, Subramaniam LV. Using content and interactions for discovering communities in social networks. In: Proceedings of the 21st internarional confernce on world wide web—WWW ’12. New York: ACM; 2012. p. 331. http://dl.acm.org/citation.cfm?doid=2187836.2187882.
 9.
Girvan M, Newman MEJ. Community structure in social and biological networks. Proc Natl Acad Sci USA. 2002;99:7821–6.
 10.
Nallapati RM, Ahmed A, Xing EP, Cohen WW. Joint latent topic models for text and citations. In: Proceeding 14th ACM SIGKDD international conference knowledge discovery data Min—KDD 08. New York: ACM; 2008. p. 542.
 11.
Liu Y, NiculescuMizil A, Gryc W. Topiclink LDA. In: Proceedings of the 26th annual international conference on machine learning. New York: ACM; 2009. p. 1–8.
 12.
Newman M, Girvan M. Finding and evaluating community structure in networks. Phys Rev E. 2004;69:26113.
 13.
Fortunato S, Barthelemy M. Resolution limit in community detection. Proc Natl Acad Sci. 2006;104:36–41.
 14.
Li HJ, Bu Z, Li A, Liu Z, Shi Y. Fast and accurate mining the community structure: integrating center locating and membership optimization. IEEE Trans Knowl Data Eng. 2016;28:2349–62.
 15.
Tong H, Faloutsos C, Gallagher B, EliassiRad T. Fast besteffort pattern matching in large attributed graphs. In: Proceedigns of the 13th ACM SIGKDD intenational conference on knowledge discovery data minning—KDD ’07. New York: ACM; 2007. p. 737.
 16.
Fang Y, Cheng R, Luo S, Hu J. Effective community search for large attributed graphs. In: Proceedings of the VLDB endow. VLDB Endowment; 2016. p. 1233–44.
 17.
Zhou Y, Cheng H, Yu JX. Graph clustering based on structural/attribute similarities. In: Proceedings of the VLDB endow. VLDB Endowment; 2014. p. 718–29.
 18.
Ruan Y, Fuhry D, Parthasarathy S. Efficient community detection in large networks using content and links. In: Proceedings of the 22nd international conference on world Wide Web—WWW ’13. New York: ACM; 2016. p. 1089–98.
 19.
Xu Z, Ke Y, Wang Y, Cheng H, Cheng J. A modelbased approach to attributed graph clustering. In; Proceedings of the 2012 international conference on management of data—SIGMOD ’12. New York: ACM; 2012. p. 505.
 20.
Yang J, McAuley J, Leskovec J. Community detection in networks with node attributes. In: Proceedings of the IEEE international conference data mining. Nwe York: ICDM; 2013. p. 1151–6.
 21.
He T, Chan KCC. MISAGA: an algorithm for mining interesting subgraphs in attributed graphs. IEEE Trans Cybern. 2018;48:1369–82.
 22.
Yang T, Jin R, Chi Y, Zhu S. Combining link and content for community detection. In: Alhajj R, Rokne J, editors. Encyclopedia of social network analysis and mining. New York: Springer; 2017.
 23.
Sozio M, Gionis A. The communitysearch problem and how to plan a successful cocktail party. In: Proceedings 16th ACM SIGKDD international conference on knowldge discovery data minning—KDD ’10. New York: ACM; 2010. p. 939.
 24.
Xiao Y, Lu Y, Cui W, Wang W, Wang H. Online search of overlapping communities. In: Proceedings of the 2013 international conference on management data—SIGMOD ’13. New York: ACM; 2013. p. 277.
 25.
Cui W, Xiao Y, Wang H, Wang W, Local search of communities in large graphs. In: Proceedings of the ACM SIGMOD international conference on management data—SIGMOD ’14. New York: ACM; 2014. p. 991–1002.
 26.
Li RH, Qin L, Yu JX, Mao R. Influential community search in large networks. In: Proceedings of the VLDB endow. VLDB Endowment; 2015. p. 509–20. http://www.vldb.org/pvldb/vol8/p509li.pdf.
 27.
Yu JX, Huang X, Qin L, Cheng H, Tian W, Querying ktruss community in large and dynamic graphs. In: Proceedings of the ACM SIGMOD international conference on management data—SIGMOD ’14. New York: ACM; 2014. p. 1311–22.
 28.
Bhalotia G, Hulgeri A, Nakhe C, Chakrabarti S, Sudarshan S. Keyword searching and browsing in databases using BANKS. In: Proceedings of the international confernece on data engineering; 2002. p. 431–40.
 29.
Kacholia V, Pandit S, Chakrabarti S, Sudarshan S, Desai R, Karambelkar H. Bidirectional expansion for keyword search on graph databases. Vldb. VLDB Endowment; 2005. p. 505–16. http://dl.acm.org/citation.cfm?id=1083592.1083652
 30.
Ding B, Yu JX, Wang S, Qin L, Zhang X, Lin X. Finding topk mincost connected trees in databases. In: Proceedings of the international conference on data engineering; 2007. p. 836–45.
 31.
Kargar M, An A. Keyword search in graphs. In: Proceedings of the VLDB endow. VLDB Endowment; 2014. p. 681–92.
 32.
Lian X, Chen L, Sun Y, Wang G, Yu JX, Yuan Y. keyword search over distributed graphs with compressed signature. IEEE Trans Knowl Data Eng. 2017;29:1212–25.
 33.
Seidman SB. Network structure and minimum degree. Soc Netw. 1983;5:269–87.
 34.
Dorogovtsev SN, Goltsev AV, Mendes JFF. Kcore organization of complex networks. Phys Rev Lett. 2005;96:40601.
 35.
Li RH, Yu JX, Mao R. Efficient core maintenance in large dynamic graphs. IEEE Trans Knowl Data Eng. 2014;26:2453–65.
 36.
Wu L, Bai T, Zhe W, Wang L, Hu Y, Ji J. A new community detection algorithm based on distance centrality. In: Proceedings of the 2013, 10th international conference on fuzzy system knowledge discovery FSKD 2013; 2013. p. 898–902.
 37.
Hutair MB, Aghbari Z Al, Kamel I. Social community detection based on node distance and interest. In: Proceedings of the 3rd IEEE/ACM international conference big data computing, application technologies—BDCAT ’16; 2016. p. 274–89.
 38.
Leskovec J, Krevl A. SNAP datasets: stanford large network dataset collection; 2014. https://snap.stanford.edu/data/wikiVote.html.
 39.
Cheng X, Dale C, Liu J. Statistics and social network of YouTube videos. In: IEEE International workshop on Quality of Service IWQoS; 2008. p. 229–38.
 40.
Kwak H, Lee C, Park H, Moon S. What is Twitter, a social network or a news media? In: WWW ’10 proceedings of the 19th international conference world wide web. New York: ACM; 2010. p. 591.
 41.
Gutfraind A, Genkin M. A graph database framework for covert network analysis: an application to the Islamic State network in Europe. Soc Netw. 2017;51:178–88.
Acknowledgements
We sincerely and gratefully acknowledge following organizations for their help and support.
Caesars Entertainment Corporation, Las Vegas, USA, for providing the attributed graph dataset. This graph dataset was created for the test purpose from the Anonymous Pervasive WiFi data, and contains the anonymous information of different patrons visiting different properties of Caesars Entertainment, time of visit, place of visit at the property, and path taken from one property to another.
The United States Department of Defense (W911NF1710088, W911NF1610416), AEOP/REAP programs support, the National Science Foundation (1625677, 1710716), and the United Healthcare Foundation (UHF 1592) for their support and finance for this project.
Funding
The authors were funded through the UNLV Big Data Hub.
This study was supported by U.S. Department of Defense (Grant numbers: W911NF1810437; W911NF1810246).
Author information
Affiliations
Contributions
All authors have contributed to the research and manuscript with the order they appear. The last author being the project principal investigator. All authors discussed the final results as well as improved the final manuscript. Both authors read and approved the final manuscript.
Corresponding author
Correspondence to Justin Zhan.
Ethics declarations
Consent for publication
Not applicable.
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
Chobe, S., Zhan, J. Advancing community detection using Keyword Attribute Search. J Big Data 6, 83 (2019) doi:10.1186/s405370190243y
Received
Accepted
Published
DOI
Keywords
 Keyword search
 Attributed graphs
 Attribute index
 Personalized community detection
 Generalized community detection