Next Article in Journal
Communication-Theoretic Model of Power Talk for a Single-Bus DC Microgrid
Previous Article in Journal
Throughput Capacity of Selfish Wireless Ad Hoc Networks with General Node Density
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nearest Neighbor Search in the Metric Space of a Complex Network for Community Detection

Department of Computer Science and Engineering, Jaypee University of Information Technology, Waknaghat, Solan 173215, India
*
Author to whom correspondence should be addressed.
Information 2016, 7(1), 17; https://doi.org/10.3390/info7010017
Submission received: 22 December 2015 / Revised: 26 February 2016 / Accepted: 11 March 2016 / Published: 16 March 2016
(This article belongs to the Special Issue Online Social Networks and Implications)

Abstract

:
The objective of this article is to bridge the gap between two important research directions: (1) nearest neighbor search, which is a fundamental computational tool for large data analysis; and (2) complex network analysis, which deals with large real graphs but is generally studied via graph theoretic analysis or spectral analysis. In this article, we have studied the nearest neighbor search problem in a complex network by the development of a suitable notion of nearness. The computation of efficient nearest neighbor search among the nodes of a complex network using the metric tree and locality sensitive hashing (LSH) are also studied and experimented. For evaluation of the proposed nearest neighbor search in a complex network, we applied it to a network community detection problem. Experiments are performed to verify the usefulness of nearness measures for the complex networks, the role of metric tree and LSH to compute fast and approximate node nearness and the the efficiency of community detection using nearest neighbor search. We observed that nearest neighbor between network nodes is a very efficient tool to explore better the community structure of the real networks. Several efficient approximation schemes are very useful for large networks, which hardly made any degradation of results, whereas they save lot of computational times, and nearest neighbor based community detection approach is very competitive in terms of efficiency and time.

1. Introduction

The nearest neighbor (NN) search is an important computational primitive for structural analysis of data and other query retrieval purposes. NN search is very useful for dealing with massive data sets, but it suffers from the curse of dimension [1,2]. Though nearest neighbor search is a extensively studied research problem for low dimensional data, a recent surge of results shows that it is the most useful tool for analyzing very large quantities of data, provided a suitable space partitioning the data structure is used, like, kd-tree, quad-tree, R-tree, metric-tree and locality sensitive hashing [3,4,5,6]. One more advantage of using nearest neighbor search for large data analysis is the availability of efficient approximation scheme, which provides almost same results in very less time [7,8].
Though nearest neighbor search is very successful and extensively used across the research domains of computer science, it is not studied rigorously in complex network analysis. Complex networks are generally studied with a graph theoretic framework or spectral analysis framework. One basic reason for this limitation may be the nodes of the complex networks do not naturally lie on a metric space, thus restricting the use of nearest neighbor analysis which is done using metric or nearness measures.
Other than graphs, the complex networks are characterized by small “average path length” and a high “clustering coefficient”. A network community (also known as a module or cluster) is typically a group of nodes with more interconnections among its members than the remaining part of the network [9,10,11]. To extract such group of nodes from a network one generally selects an objective function that captures the possible communities as a set of nodes with better internal connectivity than external [12,13]. However, very little research has been done for network community detection, which tries to develop nearness between the nodes of a complex network and use the nearest neighbor search for partitioning the network [14,15,16,17,18,19,20]. The way metric is defined among the nodes should be able to capture the crucial properties of complex networks. Therefore, we need to create the metric very carefully so that it can explore the underlying community structure of the real life networks [21].
Extracting network communities in large real graphs such as social networks, web, collaboration networks and bio-networks is an important research direction of recent interest [11,22,23,24,25]. In this work, we have developed the notion of nearness among the nodes of the network using some new matrices derived from the modified adjacency matrix of the graph which is flexible over the networks and can be tuned to enhance the structural properties of the network required for community detection.
The main contributions of this work are, (1) development of the concept of nearness between the nodes of a complex network; (2) comparing the proposed nearness with other notions of similarities; (3) study and experiment on approximate nearest neighbor search for complex network using M-tree and LSH; (4) design of efficient community detection algorithm using nearest neighbor search. We observed that nearest neighbor between network nodes is a very efficient tool to explore better community structure of the real networks. Further several efficient approximation scheme are very useful for large networks, which hardly made any degradation of results, whereas saves lot of computational times.
The rest of this paper is organized as follows. Section 2 describes the notion of nearness in complex network and proposed method to compute distance between the nodes of a complex network. Section 3 and Section 4 describe the algorithm of the nearest neighbor search over complex network using of metric tree and locality sensitive hashing methods respectively. In Section 5, the proposed algorithm for network community detection using nearest neighbor search is discussed. The results of the comparison between community detection algorithms are illustrated in Section 6.

2. Proposed Notion of Nearness in Complex Network

The notion of nearness between the nodes of a graph is used in several purposes in the history of literature of graph theory. Most of the time the shortest path and edge connectivity are popular choices to describe nearness of nodes. However, the edge count does not give the true measure of network connectivity. A true measure of nearness in a complex network should able to determine how much one node can affect the other node to provide a better measure of connectivity between nodes of a real life complex network. Research in this direction need special attention in the domain of complex network analysis, one such is proposed in this article and described in the following subsections.

2.1. Definitions

Definition 1 (Metric space of network). 
Given, a graph G = ( V , E ) the metric is defined over the vertex set V and d, a function to compute the distance between two vertices of V. Pair ( V , d ) distinguished metric space if d satisfies reflexivity, non-negativity, symmetry and triangle inequality.
Definition 2 (Nearest neighbor search on network). 
The nearest-neighbor searching problem in complex network is to find the nearest node in a graph G = ( V , E ) between a query vertex v q and any other vertex of the graph V { v q } , with respect to a metric space M ( V , d ) associated with the graph G = ( V , E ) .
Definition 3 (Approximate nearest neighbor search on network). 
For any v q V , An ϵ approximate NN of v q V is to find a point v p V { v q } s.t. d ( v p , v q ) ( 1 + ϵ ) d ( v , v q ) v V { v q } .

2.2. Nearness in Complex Network

Methods based on node neighborhoods. For a node x, let N ( x ) denote the set of neighbors of x in a graph G ( V , E ) . A number of approaches are based on the idea that two nodes x and y are more likely to be affected by one another if their sets of neighbors N ( x ) and N ( y ) have large overlap.
Common neighbors: 
The most direct implementation of this idea for nearness computation is to define d ( x , y ) : = | N ( x ) N ( y ) | , the number of neighbors that x and y have in common.
Jaccard coefficient: 
The Jaccard coefficient, a commonly used similarity metric, measures the probability that both x and y have a feature f, for a randomly selected feature f that either x or y has. If we take features here to be neighbors in G ( V , E ) , this leads to the measure d ( x , y ) : = | N ( x ) N ( y ) | / | N ( x ) N ( y ) | .
Preferential attachment: 
The probability that a new edge involves node x is proportional to | N ( x ) | , the current number of neighbors of x. The probability of co-authorship of x and y is correlated with the product of the number of collaborators of x and y. This corresponds to the measure d ( x , y ) : = | N ( x ) | × | N ( y ) | .
Katz measure: 
This measure directly sums over the collection of paths, exponentially damped by length to count short paths more heavily. This leads to the measure d ( x , y ) : = β × | p a t h s ( x , y ) | where, p a t h s ( x , y ) is the set of all length paths from x to y. (β determines the path size, since paths of length three or more contribute very little to the summation.)
Commute time: 
A random walk on G starts at a node x, and iteratively moves to a neighbor of x chosen uniformly at random. The hitting time H ( x , y ) from x to y is the expected number of steps required for a random walk starting at x to reach y. Since the hitting time is not in general symmetric, it is also natural to consider a commute time C ( x , y ) : = H ( x , y ) + H ( y , x ) .
PageRank: 
Random resets form the basis of the PageRank measure for Web pages, and we can adapt it for link prediction as follows: Define d ( x , y ) to be the stationary probability of y in a random walk that returns to x with probability α each step, moving to a random neighbor with probability 1 α .
Most of the methods are developed for different types of problems like information retrieval, ranking, prediction e.t.c. and developed for general graphs. In the article [21], the authors studied a measure specially designed for complex network.

2.3. Proposed Nearness in Complex Network

In this subsection, we developed the notion of nearness among the nodes of the network using some linear combination of adjacency matrix A and identity matrix of same dimension for the network G = ( V , E ) . The similarities between the nodes are defined on matrix L = λ I + A as spherical similarity among the rows and determine by applying a concave function φ over the standard notions of similarities like, Pearson coefficient( σ P C ), Spacerman coefficient( σ S C ) or Cosine similarity( σ C S ). ϕ ( σ ) ( ) must be chosen using the chord condition, i.e., metric-preserving ( ϕ ( d ( x i , x j ) = d ϕ ( x i , x j ) ), concave and monotonically-increasing, to obtain a metric. It works by picking a pair of rows from L and computing the distance defined in the ϕ ( σ ) ( ) . The function φ converts a similarity function (Pearson coefficient ( σ P C ), Spacerman coefficient ( σ S C ) or cosine similarity ( σ C S )) into a distance matrix. In general, the similarity function satisfies the positivity and similarity condition of the metric, but not the triangle inequality. φ is a metric-preserving ( ϕ ( d ( x i , x j ) = d ϕ ( x i , x j ) ), concave and monotonically-increasing function. The three conditions above are referred to as the chord condition. The φ function is chosen to have minimum internal area with the chord.
The choice of λ and ϕ ( σ ) ( ) in the above sub-modules play a crucial role in the graph to metric transformation algorithm to be used for community detection. The complex network is characterized by a small average diameter and a high clustering coefficient. Several studies on network structure analysis reveal that there are hub nodes and local nodes characterizing the interesting structure of the complex network. Suppose we have taken ϕ = a r c c o s , σ C S and constant λ 0 . λ = 0 penalizes the effect of the direct edge in the metric and is suitable to extract communities from a highly dense graph. λ = 1 places a similar weight of the direct edge, and the common neighbor reduces the effect of the direct edge in the metric and is suitable to extract communities from a moderately dense graph. λ = 2 sets more importance for the direct edge than the common neighbor (this is the common case of available real networks). λ 2 penalizes the effect of the common neighbor in the metric and is suitable for extracting communities from a very sparse graph.

3. Nearest Neighbor Search on Complex Network Using Metric Tree

There are numerous methods developed to compute the nearest neighbor search for points of a metric space. However, finding the nearest neighbor search on some data where dimension is high suffer from curse of dimension. Some recent research in this direction revealed that dimension constrained can be tackled by using efficient data structures like metric tree and locality sensitive hashing. In this section we have explored metric tree to perform the nearest neighbor search on complex network with the help of metric mapping of complex network described in the previous section.

3.1. Metric-Tree

A metric tree is a data structure specially designed to perform the nearest neighbor query for the points residing on a metric space and perform well on high dimension particularly when some approximation is permitted. A metric tree organizes a set of points in a spatial hierarchical manner. It is a binary tree whose nodes represent a set of points. The root node represents all points, and the points represented by an internal node v is partitioned into two subsets, represented by its two children. Formally, if we use N ( v ) to denote the set of points represented by node v, and use v . l c and v . r c to denote the left child and the right child of node v, then we have N ( v ) = N ( v . l c ) N ( v . r c ) ϕ = N ( v . l c ) N ( v . r c ) for all the non-leaf nodes. At the lowest level, each leaf node contains very few points.
An M-Tree [26] consists of leaf node, internal node and routing object. Leaf nodes are set of objects N v with pointer to parent object v p . Internal nodes are set of routing objects N R O with pointer to its parent object v p . Routing object v r store covering radius r ( v r ) and pointer to covering tree T ( v r ) , Distance of v r from its parent object d ( v r , P ( v r ) ) . Feature values stored in the object v j are object identifier oid ( v j ) and distance of v j from its parent object d ( v j , P ( v j ) )
The key to building a metric-tree is how to partition a node v. A typical way is as follows: We first choose two pivot points from N ( v ) , denoted as v . l p v and v . r p v . Ideally, v . l p v and v . r p v are chosen so that the distance between them is the largest of all distances within N ( v ) . More specifically, | | v . l p v v . r p v | | = m a x p 1 , p 2 N ( v ) | | p 1 p 2 | | . A search on a metric-tree is performed using a stack. The current radius r is used to decide which child node to search first. If the query q is on the left of current point, then v . l c is searched first, otherwise, v . r c is searched first. At all times, the algorithm maintains a candidate NN and there distance determines the current radius, which is the nearest neighbor it finds so far while traversing the tree. The algorithm for nearest neighbor search using metric tree is (Algorithm 1) given below.

3.2. Nearest Neighbor Search Algorithm Using M-Tree

The theoretical advantage of using metric tree as a data structure for nearest neighbor search is: Let M = ( V , d ) , be a bounded metric space. Then for any fixed data V R n of size n, and for constant c 1 , ϵ such that we may compute d ( q , V ) | ϵ with at most c · log ( n ) + 1 expected metric evaluations [27].
Algorithm 1 NN search in M-Tree
Require: M = ( V , d ) &q
Ensure: d ( q , v q )
1:
Insert root object v r in stack
2:
Set current radius as d ( v r , q )
3:
Successively traverse the tree in search of q
4:
PUSH all the objects of traversal path into stack
5:
Update the current radius
6:
If leaf object reached
7:
POP objects from stack
8:
For all points lying inside the ball of current radius centering q, verify for possible nearest neighbor and update the current radius.
9:
return d ( q , v q )

4. Nearest Neighbor Search on Complex Network Using Locality Sensitive Hashing

Metric trees, so far represent the practical state of the art for achieving efficiency in the largest dimension possible. However, many real-world problems consist of very large dimension and beyond the capability of such search structures to achieve sub-linear efficiency. Thus, the high-dimensional case is the long-standing frontier of the nearest-neighbor problem. The approximate nearest neighbor can be computed very efficiently using Locality sensitive hashing.

4.1. Approximate Nearest Neighbor

Given a metric space ( S , d ) and some finite subset S D of data points S D S on which the nearest neighbor queries are to be made, our aim to organize S D s.t. NN queries can be answered more efficiently. For any q S , NN problem consists of finding single minimal located point p S D s.t. d ( p , q ) is minimum over all p S D . We denote this by p = N N ( q , S D ) .
An ϵ approximate NN of q S is to find a point p S D s.t. d ( p , q ) ( 1 + ϵ ) d ( x , d ) x S D .

4.2. Locality Sensitive Hashing (LSH)

Several methods to compute first nearest neighbor query exists in the literature and locality-sensitive hashing (LSH) is most popular because of its dimension independent run time [28,29]. In a locality sensitive hashing, the hash function has the property that close points are hash into same bucket with high probability and distance points are hash into same bucket with low probability. Mathematically, a family H = { h : S U } is called ( r 1 , r 2 , p 1 , p 2 ) -sensitive if for any p , q S
  • if p B ( q , r 1 ) then P r H [ h ( q ) = h ( p ) ] p 1
  • if p B ( q , r 2 ) then P r H [ h ( q ) = h ( p ) ] p 2
where B ( q , r ) denotes a hyper sphere of radius r centered at q. In order for a locality-sensitive family to be useful, it has to satisfy inequalities p 1 > p 2 and r 1 < r 2 when D is a distance, or p 1 > p 2 and r 1 > r 2 when D is a similarity measure [4,5]. The value of δ = l o g ( 1 / P 1 ) / l o g ( 1 / P 2 ) determines search performance of LSH. Defining a LSH as a ( r , r ( 1 + ϵ ) , p 1 , p 2 ) , the ( 1 + ϵ ) NN problem can be solved via series of hashing and searching within the buckets [5,30,31].

4.3. Locality Sensitive Hash Function for Complex Network

In this sub-section, we discuss the existence of locality sensitive hash function families for the proposed metric for complex network. The LSH data structure stores all nodes in hash tables and searches for nearest neighbor via retrieval. The hash table is contain many buckets and identified by bucket id. Unlike conventional hashing, the LSH approach tries to maximize the probability of collision of near items and put them into same bucket. For any given the query q the bucket h ( q ) considered to search the nearest node. In general k hash functions are chosen independently and uniformly at random from hash family H. The output of the nearest neighbor query is provided from the union ok k buckets. The consensus of k functions reduces the error of approximation. For metric defined in the previous Section 2 we considered k random points from the metric space. Each random point r i define a hash function h i ( x ) = s i g n ( d ( x , r i ) ) , where d is the metric and i [ 1 , k ] . These randomized hash functions are locality sensitive [32,33].
Algorithm 2 NN search in LSH
Require: M = ( V , d ) &q
Ensure: d ( q , V )
1:
Identify buckets of query point q corresponding to different hash functions.
2:
Compute nearest neighbor of q only for the points inside the selected buckets.
3:
return d ( q , V )
The theoretical advantage of using locality sensitive hashing as a data structure for nearest neighbor search is: Let M = ( V , d ) , be a bounded metric space. Then for any fixed data V R n of size n, and for constant c 1 , ϵ such that we may compute d ( q , V ) | ϵ with at most m n O ( 1 / ϵ ) expected metric evaluations, where m is the number of dimension of the metric space. In case of complex network m = n so expected time is n O ( 2 / ϵ ) [27,34].

5. Proposed Community Detection Based on Nearest Neighbor

In this section we have described the algorithm proposed for network community detection using nearest neighbor search. Our approach differs from the existing methods of community detection. The broad categorization of the available algorithms is generally based on graph traversal, semidefinite programming and spectral analysis. The basic approach and the complexity of very popular algorithms are listed in the Table 1. There are more algorithms developed to solve network community detection problem a complete list can be obtained in several survey articles [11,35,36]. Theoretical limitations and evaluation strategies of community detection algorithms are provided in the articles [37,38,39,40,41]. Content based node similarity (discussed in [42,43]) methods uses additional information of the network node and not available in general complex networks. A partial list of algorithms developed for network community detection purpose is tabulated in Table 1. The algorithms are categorized into three main group as spectral (SP), graph traversal based (GT) and semi-definite programming based (SDP). The categories and complexities are also given in Table 1.

5.1. Distance Based Community Detection

There exist no algorithms in the literature of network community detection which compute direct nearest neighbor between nodes to the best of our knowledge; however, concepts of nearness used in some of the algorithms and they are described below.
Walktrap Algorithm (WT): This algorithm by Pons and Latapy [14] uses a hierarchical agglomerative method. Here, the distance between two nodes is defined in terms of random walk process. The basic idea is that if two nodes are in the same community, the probability to get to a third node located in the same community through a random walk should not be very different. The distance is constructed by summing these differences over all nodes, with a correction for degree. The complexity of the algorithm is O ( n 3 ) as reported in Latapy & Pons (walktrap, 2004 [14]).
Label Propagation Algorithm (LP): This algorithm by Raghavan et al. [57] uses the concept of node neighborhood and the diffusion of information in the network to identify communities. Initially, each node is labeled with a unique value. Then an iterative process takes place, where each node takes the label which is the most spread in its neighborhood. This process goes on until the conditions, no label change, is met. The resulting communities are defined by the last label values with the complexity O ( n + m ) for each iteration as reported in Raghavan et al. (label propagation, 2007 [57]).
Geometric Brownian motion (GBM): This concept was borrowed from statistical physics by Zhou et al. [47] and extended by Jin et al. [60] with the inclusion of the concept of bispace. This method develops the notion of Brownian motion on networks to compute the influences between the nodes, which used to discover communities of social networks. The complexity of the algorithm is O ( n 3 ) as reported in Jin et al. (GBM, 2014 [60]).

5.2. Proposed Algorithm for Network Community Detection Using Nearest Neighbor Search

In this subsection we have described k-central algorithm for the purpose of network community detection by using the nearest neighbor search in a complex network. The community detection methods based on partitioning of graph is possible using nearest neighbor search, because the nodes of the graph are converted into the points of a metric space. This algorithm for network community detection converges automatically and does not compute the value of objective function in iterations therefore reduce the computation compared to standard methods. The k-central algorithm for community detection is (Algorithm 3) given below.
Algorithm 3 k-central algorithm
Require: M = ( V , d )
Ensure: T = { C 1 , C 2 , , C k } with minimum c o s t ( T )
1:
Initialize centers z 1 , , z k R n and clusters T = { C 1 , C 2 , , C k }
2:
repeat
3:
  for i = 1 to k do
4:
      for j = 1 to k do
5:
             C i { x V s . t . | z i x | | z j x | }
6:
      end for
7:
  end for
8:
  for j = 1 to k do
9:
       z i C e n t r a l ( C i ) ; where C e n t r a l ( C i ) C i
10:
  end for
11:
until | c o s t ( T t ) c o s t ( T t + 1 ) | = 0
12:
return T = { C 1 , C 2 , , C k }

5.3. Complexity And Convergence

Complexity of the network community detection algorithms are the least studied research topic in network science. However, the rate of convergence is one of the important issues of algorithmic complexity and low rate of convergence is the major pitfall of the most of the existing algorithms. Due to the transformation into the metric space, our algorithm is equipped with the quick convergence facility of the k-partitioning on metric space by providing a good set of initial points. Another crucial pitfall suffer by majority of the existing algorithms is the validation of the objective function in each iteration during convergence. Our algorithm converges automatically to the optimal partition thus reduces the cost of validation during convergence.
Theorem 4. 
During the course of the k center partitioning algorithm, the cost (community-wise total distance from the corresponding centers ) monotonically decreases.
Proof. 
Let Z t = { z 1 t , , z k t } , T t = { C 1 t , , C k t } denote the centers and clusters at the start of the t t h iteration of k partitioning algorithm. The first step of the iteration assigns each data point to its closest center; therefore c o s t ( T t + 1 , Z t ) c o s t ( T t , Z t )
On the second step, each cluster is re-centered at its mean; therefore c o s t ( T t + 1 , Z t + 1 ) c o s t ( T t + 1 , Z t ) . ☐
The main achievement of our algorithm is to use the rich literature of clustering using nearest neighbor. Clustering is easy NP-Hard in metric space, whereas graph partitioning is NP-Hard. Our algorithm converges automatically to optimal clustering. It does not require verifying the value of objective function guide next iteration, like popular approaches, thus saving the time of computation.

6. Experiments and Results

In this section we described in details several experiments to asses the, proposed nearness measure for the nodes of the network, efficiency of several approximation scheme to compute node nearness and performance of proposed algorithm for community detection. Several experiments conducted in this regard are detailed below along with their parameter settings, results and conclusions.

6.1. Experimental Designs

We performed three different experiments to asses the performance of the proposed network nearest neighbor search for community detection. The first experiment is designed to evaluate the nearness measure, the second experiment is designed to explore the effectiveness of approximate nearest neighbor search for network community detection and the third experiment is designed to verify behavior of the algorithm and the time required to compute the algorithm. One of the major goals of the last experiment is to verify the behavior of the algorithm with respect to the performance of other popular methods exists in the literature in terms of standard modularity measures. Experiments are conducted over several real networks Table 2 to compare the results (Table 5 and Table 6) of our algorithm with the state-of-the-art algorithms (Table 1) available in the literature in terms of modularity most preferred by the researchers of the domain of network community detection. The details of the several experiments and the analysis of the results are given in the following subsections.

6.2. Performance Indicator

Modularity: The notion of modularity is the most popular for the network community detection purpose. The modularity index assigns high scores to communities whose internal edges are more than that expected in a random-network model which preserves the degree distribution of the given network.

6.3. Datasets

A list of real networks taken from several real life interactions are considered for our experiments and they are shown in Table 2 below. We have also listed the number of nodes, number of edges, average diameter, and the k value used in SubSection 5.2. The values of the last column can be used to assess the quality of detected communities.

6.4. Experiment 1: Experiment with Nearness Measure

In this experiment we tried to asses the usefulness of proposed nearness measure between the nodes of complex network. For this purpose we have equiped our algorithm with different measures of nearness along with our measure. Experimental steps are as follows:
Nearness measures: 
Six different measures are taken for construction the distance based community detection. They are jaccard coefficient (JA), preferential attachment (PA), Katz measure (KM), commute time (CT), page rank (PR) and proposed metric (PM). details of the measures are already discussed in SubSection 2.2 and proposed metric is detailed in SubSection 2.3.
Algorithm: 
The community detection algorithm proposed in Section 5 is used and exact nearest neighbor between nodes are considered and computed communities besed on those different nearness measures.
Network data: 
Different types of real network data is taken, small, large, very sparse and relatively dense and they are discussed in Table 2.
Results: 
Compared the community structure obtained by algorithms, equipped with different measures of node nearness, in terms of modularity and shown in Table 3.
Observation: 
It can be observed from Table 3 that algorithm based on proposed metric (shown in column PA) provides better modularity than other for community detection.

6.5. Experiment 2: Experiment on Approximation

In this experiment we explore the effectiveness of several approximation techniques of nearest neighbor search on complex network designed via metric tree and locality sensitive hashing. For this purpose we have equiped our algorithm with different data structures (metric tree and LSH) with varying approximation ratio. Experimental steps are as follows:
Metric and algorithm: 
The algorithms considered in this experiment used proposed measures of node nearness detailed in SubSection 2.3. The community detection algorithm proposed in Section 5 is used in this experiment.
Approximation: 
Computed communities using approximate nearest neighbor via metric tree and locality sensitive hashing. Different precision of approximation is considered ranges from 0–0.5 and computed five times each over both the scheme of approximation.
Network data: 
Different types of real network data is taken to verify the acceptablity of degradation over the networks and is shown in Table 4.
Results: 
Compared the community structure obtained by algorithms, equipped with approximate nearest neighbor instead of exact measures of node nearness, in terms of modularity and shown in Table 4.
Observations: 
Observed that both the approximation schemes are very good for community detection and slightly degrade the results under ranges of Approximations Table 4.

6.6. Experiment 3: Experiment to Evaluate Proposed Algorithm

In this experiment we have compared several algorithms for network community detection with our proposed algorithm developed using the nearest neighbor search in complex network, which is discussed in Section 5. The experiment is performed on a large list of network data sets Table 2. Two versions of the experiment are developed for comparison purposea based on modularity and time taken. The results are shown in the Table 5 and Table 6 respectively.
Experimental steps are as follows:
Design of experiment: 
In this experiment we have compared three groups of algorithms for network community detection with one based on nearest neighbor search, described above. Two versions of the experiment are developed for comparison purposes based on modularity and time taken in seconds.
Best of literature: 
Regarding the three groups of algorithms; the first group contain algorithms based on semi-definite programming and the second group contain algorithms based on graph traversal approaches. For each group, we have taken the best value of modularity in Table 5 among all the algorithms in the groups. All the algorithms considered in this experiment are detailed in Section 5.
Other distance based methods: 
Three different methods of network community detection are also considered for our comparison which indirectly use the influence between the nodes in their algorithms. These methods are walktrap (WT), label propagation (LP) and geometric brownian motion (GBM) and already discussed in Section 5 along with their references and complexities.
Proposed methods: 
Three versions of proposed algorithm are compared with other algorithms, the proposed algorithm based on exact nearest neighbor, approximated nearest neighbor computed using metric tree and approximate nearest neighbor computed using locality sensitive hashing.
Network data: 
A long list of real network data is taken for evaluation of modularity and timedescribed in Table 4.
Efficiency and time: 
Compared the community structure obtained in terms of modularity and time (seconds) taken by the algorithms, shown in the Table 5 and Table 6, respectively.
The results obtained with our approach are very competitive with most of the well known algorithms in the literature and this is justified over the large collection of datasets. On the other hand, it can be observed that time (second) taken (Table 6) by our algorithm is quite less compared to other methods and justify the theoretical findings.

6.7. Results Analysis and Achievements

In this subsection, we have described the analysis of the results obtained in our experiments shown. The results obtained in the first experiment justify that the proposed distance is more useful for complex network to extract the community structure compared to other measures of similarity. The results obtained in the second experiment verify that the approximate distance is also useful for network community detection especially for large data where time is a major concern. The results obtained in the third experiment justify that the proposed algorithm for community detection is very efficient compared to other existing methods in terms of modularity and time.

7. Conclusions

In this paper, we studied the interesting problem of the nearest neighbor within the nodes of a complex networks and applied this for community detection. We have used a geometric framework for network community detection instead of the traditional graph theoretic approach or spectral methods. Processing the nearest neighbor search in complex networks cannot be achieved straightforwardly; we presented the transformation of the graph to metric space and efficient computation of the nearest neighbor therein using metric tree and locality sensitive hashing. To validate the performance of proposed nearest neighbor search designed for complex networks, we applied our approaches on a community detection problem. Through several experiments conducted in this regard and we found community detection using nearest neighbor search is very efficient and time saving for large networks due to good approximations. The results obtained on several network data sets prove the usefulness of the proposed method and provide motivation for further application of other structural analysis of complex network using the nearest neighbor search.

Acknowledgments

This work is supported by the Jaypee University of Information Technology.

Author Contributions

Suman Saha proposed the algorithm and prepared the manuscript. Satya P. Ghrera was in charge of the overall research and critical revision of the paper. Both authors have read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Uhlmann, J.K. Satisfying general proximity/similarity queries with metric trees. Inf. Proc. Lett. 1991, 40, 175–179. [Google Scholar] [CrossRef]
  2. Ruiz, E.V. An algorithm for finding nearest neighbours in (approximately) constant average time. Pattern Recognit. Lett. 1986, 4, 145–157. [Google Scholar] [CrossRef]
  3. Panigrahy, R. Entropy based nearest neighbor search in high dimensions. In Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithm (SODA ’06), Miami, FL, USA, 22–24 January 2006.
  4. Indyk, P.; Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing (STOC ’98), Dallas, TX, USA, 23–26 May 1998.
  5. Gionis, A.; Indyk, P.; Motwani, R. Similarity search in high dimensions via hashing. In Proceedings of the 25th International Conference on Very Large Data Bases (VLDB ’99), Edinburgh, UK, 7–10 September 1999.
  6. Dasgupta, S.; Freund, Y. Random projection trees and low dimensional manifolds. In Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing (STOC ’08), Victoria, BC, Canada, 17–20 May 2008.
  7. Akoglu, L.; Khandekar, R.; Kumar, V.; Parthasarathy, S.; Rajan, D.; Wu, K.L. Fast nearest neighbor search on large time-evolving graphs. In Proceedings of the European Conference on Machine Learning and Knowledge Discovery in Databases, Nancy, France, 15–19 September 2014.
  8. Liu, T.; Moore, A.W.; Gray, E.; Yang, K. An Investigation of Practical Approximate Nearest Neighbor Algorithms; MIT Press: Cambridge, MA, USA, 2004; pp. 825–832. [Google Scholar]
  9. Weiss, R.; Jacobson, E. A method for the analysis of complex organisations. Am. Sociol. Rev. 1955, 20, 661–668. [Google Scholar] [CrossRef]
  10. Schaeffer, S.E. Graph clustering. Comput. Sci. Rev. 2007, 1, 27–64. [Google Scholar] [CrossRef]
  11. Fortunato, S. Community detection in graphs. Phys. Rep. 2010, 486, 75–174. [Google Scholar] [CrossRef]
  12. Newman, M.E.J.; Girvan, M. Finding and evaluating community structure in networks. Phys. Rev. E 2004, 69, 026113. [Google Scholar] [CrossRef] [PubMed]
  13. Luxburg, U. A tutorial on spectral clustering. Stat. Comput. 2007, 17, 395–416. [Google Scholar] [CrossRef]
  14. Pons, P.; Latapy, M. Computing communities in large networks using random walks. J. Graph Algorithms Appl. 2004, 10, 284–293. [Google Scholar]
  15. Duch, J.; Arenas, A. Community detection in complex networks using Extremal Optimization. Phys. Rev. E 2005, 72, 027104. [Google Scholar] [CrossRef] [PubMed]
  16. Chakrabarti, D. AutoPart: Parameter-Free Graph Partitioning and Outlier Detection. In Knowledge Discovery in Databases: PKDD 2004; Boulicaut, J.F., Esposito, F., Giannotti, F., Pedreschi, D., Eds.; Springer: Berlin/Heidelberg, Germany, 2004; Volume 3202, pp. 112–124. [Google Scholar]
  17. Macropol, K.; Singh, A.K. Scalable discovery of best clusters on large graphs. Proc. VLDB Endow. 2010, 3, 693–702. [Google Scholar] [CrossRef]
  18. Levorato, V.; Petermann, C. Detection of communities in directed networks based on strongly p-connected components. In Proceedings of the 2011 International Conference on Computational Aspects of Social Networks (CASoN), Salamanca, Spain, 19–21 October 2011; pp. 211–216.
  19. Brandes, U.; Gaertler, M.; Wagner, D. Experiments on Graph Clustering Algorithms. In Algorithms - ESA 2003; Battista, G.D., Zwick, U., Eds.; Springer: Berlin/Heidelberg, Germany, 2003; Volume 2832, pp. 568–579. [Google Scholar]
  20. Bullmore, E.; Sporns, O. Complex brain networks: Graph theoretical analysis of structural and functional systems. Nat. Rev. Neurosci. 2009, 10, 186–198. [Google Scholar] [CrossRef] [PubMed]
  21. Saha, S.; Ghrera, S.P. Network community detection on metric space. Algorithms 2015, 8, 680–696. [Google Scholar] [CrossRef]
  22. Freeman, L.C. Centrality in social networks conceptual clarification. Soc. Netw. 1978, 1, 215–239. [Google Scholar] [CrossRef]
  23. Carrington, P.J.; Scott, J.; Wasserman, S. (Eds.) Models and Methods in Social Network Analysis; Cambridge University Press: Cambridge, UK, 2005.
  24. Newman, M. The structure and function of complex networks. SIAM Rev. 2003, 45, 167–256. [Google Scholar] [CrossRef]
  25. Radicchi, F.; Castellano, C.; Cecconi, F.; Loreto, V.; Parisi, D. Defining and identifying communities in networks. Proc. Natl. Acad. Sci. USA 2004, 101, 2658–2663. [Google Scholar] [CrossRef] [PubMed]
  26. Ciaccia, P.; Patella, M.; Zezula, P. M-tree: An efficient access method for similarity search in metric spaces. In Proceedings of the 23rd International Conference on Very Large Data Bases (VLDB’97), Athens, Greece, 25–29 August 1997.
  27. Ciaccia, P.; Patella, M.; Zezula, P. A cost model for similarity queries in metric spaces. In Proceedings of the 16th ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS ’97), Seattle, WA, USA, 1–4 June 1998.
  28. Motwani, R.; Naor, A.; Panigrahy, R. Lower Bounds on Locality Sensitive Hashing. SIAM J. Discret. Math. 2007, 21, 930–935. [Google Scholar] [CrossRef]
  29. Paulevé, L.; Jégou, H.; Amsaleg, L. Locality sensitive hashing: A comparison of hash function types and querying mechanisms. Pattern Recognit. Lett. 2010, 31, 1348–1358. [Google Scholar] [CrossRef] [Green Version]
  30. Joly, A.; Buisson, O. A posteriori multi-probe locality sensitive hashing. In Proceedings of the 16th ACM International Conference on Multimedia, Vancouver, BC, Canada, 27–31 October 2008; pp. 209–218.
  31. Datar, M.; Immorlica, N.; Indyk, P.; Mirrokni, V.S. Locality-sensitive hashing scheme based on p-stable distributions. In Proceedings of the Twentieth Annual Symposium on Computational Geometry (SCG ’04), Brooklyn, NY, USA, 9–11 June 2004.
  32. Andoni, A.; Indyk, P. Near-optimal Hashing Algorithms for Approximate Nearest Neighbor in High Dimensions. Commun. ACM 2008, 51, 117–122. [Google Scholar] [CrossRef]
  33. Charikar, M.S. Similarity Estimation Techniques from Rounding Algorithms. In Proceedings of the Thiry-fourth Annual ACM Symposium on Theory of Computing (STOC ’02), Montreal, QC, Canada, 19–21 May 2002.
  34. Indyk, P. A Sublinear Time Approximation Scheme for Clustering in Metric Spaces. In Proceedings of the 40th Annual Symposium on Foundations of Computer Science, New York, NY, USA, 17–19 October 1999; pp. 154–159.
  35. Leskovec, J.; Lang, K.J.; Mahoney, M.W. Empirical comparison of algorithms for network community detection. In Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA, 26–30 April 2010.
  36. Yang, J.; Leskovec, J. Defining and Evaluating Network Communities Based on Ground-Truth. In Proceedings of the ACM SIGKDD Workshop on Mining Data Semantics, Beijing, China, 12–16 August 2012.
  37. Zarei, M.; Samani, K.A.; Omidi, G.R. Complex eigenvectors of network matrices give better insight into the community structure. J. Stat. Mech. Theory Exp. 2009, 2009, P10018. [Google Scholar] [CrossRef]
  38. Pan, G.; Zhang, W.; Wu, Z.; Li, S. Online community detection for large complex networks. PLoS ONE 2014, 9, e102799. [Google Scholar] [CrossRef] [PubMed]
  39. Lee, C.; Cunningham, P. Community detection: Effective evaluation on large social networks. J. Complex Netw. 2014, 2, 19–37. [Google Scholar] [CrossRef]
  40. Aldecoa, R.; Marin, I. Exploring the limits of community detection strategies in complex networks. Sci. Rep. 2013, 3. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  41. De Meo, P.; Ferrara, E.; Fiumara, G.; Provetti, A. Mixing local and global information for community detection in large networks. J. Comput. Syst. Sci. 2014, 80, 72–87. [Google Scholar] [CrossRef]
  42. De Meo, P.; Nocera, A.; Terracina, G.; Ursino, D. Recommendation of similar users, resources and social networks in a social internetworking scenario. Inf. Sci. 2011, 181, 1285–1305. [Google Scholar] [CrossRef]
  43. Becker, H.; Naaman, M.; Gravano, L. Learning similarity metrics for event identification in social media. In Proceedings of the Third ACM International Conference on Web Search and Data Mining (WSDM ’10), New York, NY, USA, 3–6 February 2010.
  44. Van Dongen, S. A Cluster Algorithm For Graphs; Technical Report INS-R 0010; CWI: Amsterdam, The Netherlands, 2000. [Google Scholar]
  45. Eckmann, J.P.; Moses, E. Curvature of co-links uncovers hidden thematic layers in the World Wide Web. Proc. Natl. Acad. Sci. USA 2002, 99, 5825–5829. [Google Scholar] [CrossRef] [PubMed]
  46. Girvan, M.; Newman, M.E.J. Community structure in social and biological networks. Proc. Natl. Acad. Sci. USA 2002, 99, 7821–7826. [Google Scholar] [CrossRef] [PubMed]
  47. Zhou, H.; Lipowsky, R. Network brownian motion: A new method to measure vertex-vertex proximity and to identify communities and subcommunities. In Computational Science - ICCS 2004; Springer: Berlin/Heidelberg, Germany, 2004; Volume 3038, pp. 1062–1069. [Google Scholar]
  48. Reichardt, J.; Bornholdt, S. Detecting fuzzy community structures in complex networks with a Potts model. Phys. Rev. Lett. 2004, 93, 218701. [Google Scholar] [CrossRef] [PubMed]
  49. Clauset, A.; Newman, M.E.J.; Moore, C. Finding community structure in very large networks. Phys. Rev. E 2004. [Google Scholar] [CrossRef] [PubMed]
  50. Wu, F.; Huberman, B. Finding communities in linear time: A physics approach. Eur. Phys. J. B 2004, 38, 331–338. [Google Scholar] [CrossRef]
  51. Fortunato, S.; Latora, V.; Marchiori, M. Method to find community structures based on information centrality. Phys. Rev. E 2004, 70, 056104. [Google Scholar] [CrossRef] [PubMed]
  52. Donetti, L.; Muñoz, M.A. Detecting network communities: A new systematic and efficient algorithm. J. Stat. Mech. Theory Exp. 2004, 2004, P10012. [Google Scholar] [CrossRef]
  53. Guimera, R.; Amaral, L.A.N. Functional cartography of complex metabolic networks. Nature 2005, 433, 895–900. [Google Scholar] [CrossRef] [PubMed]
  54. Capocci, A.; Servedio, V.D.P.; Caldarelli, G.; Colaiori, F. Detecting communities in large networks. Physica A 2004, 352, 669–676. [Google Scholar] [CrossRef]
  55. Bagrow, J.P.; Bollt, E.M. Local method for detecting communities. Phys. Rev. E 2005, 72, 046108. [Google Scholar] [CrossRef] [PubMed]
  56. Palla, G.; Derenyi, I.; Farkas, I.; Vicsek, T. Uncovering the overlapping community structure of complex networks in nature and society. Nature 2005, 435, 814–818. [Google Scholar] [CrossRef] [PubMed]
  57. Raghavan, U.N.; Albert, R.; Kumara, S. Near linear time algorithm to detect community structures in large-scale networks. Phys. Rev. E 2007, 76, 036106. [Google Scholar] [CrossRef] [PubMed]
  58. Rosvall, M.; Bergstrom, C.T. Maps of random walks on complex networks reveal community structure. Proc. Natl. Acad. Sci. 2008, 105, 1118–1123. [Google Scholar] [CrossRef] [PubMed]
  59. Ronhovde, P.; Nussinov, Z. Multiresolution community detection for megascale networks by information-based replica correlations. Phys. Rev. E 2009, 80, 016109. [Google Scholar] [CrossRef] [PubMed]
  60. Jin, F.; Khandpur, R.P.; Self, N.; Dougherty, E.; Guo, S.; Chen, F.; Prakash, B.A.; Ramakrishnan, N. Modeling mass protest adoption in social network communities using geometric brownian motion. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ’14), New York, NY, USA, 24–27 August 2014.
Table 1. Algorithms for network community detection and their complexities.
Table 1. Algorithms for network community detection and their complexities.
AuthorReferenceCategoryOrder
Van Dongen(Graph clustering, 2000 [44])GT O ( n k 2 ) , k < n parameter
Eckmann & Moses(Curvature, 2002 [45])GT O ( m k 2 )
Girvan & Newman(Modularity, 2002 [46])SDP O ( n 2 m )
Zhou & Lipowsky(Vertex Proximity, 2004 [47])GT O ( n 3 )
Reichardt & Bornholdt(spinglass, 2004 [48])SDPparameter dependent
Clauset et al.(fast greedy, 2004 [49])SDP O ( n l o g 2 n )
Newman & Girvan(eigenvector, 2004 [12])SP O ( n m 2 )
Wu & Huberman(linear time, 2004 [50])GT O ( n + m )
Fortunato et al.(infocentrality, 2004 [51])SDP O ( m 3 n )
Radicchi et al.(Radicchi et al. 2004 [25])SP O ( m 4 / n 2 )
Donetti & Munoz(Donetti and Munoz, 2004 [52])SDP O ( n 3 )
Guimera et al.(Simulated Annealing, 2004 [53])SDPparameter dependent
Capocci et al.(Capocci et al. 2004 [54])SP O ( n 2 )
Latapy & Pons(walktrap, 2004 [14])SP O ( n 3 )
Duch & Arenas(Extremal Optimization, 2005 [15])GT O ( n 2 l o g n )
Bagrow & Bollt(Local method, 2005 [55])SDP O ( n 3 )
Palla et al.(overlapping community, 2005 [56])GT O ( e x p ( n ) )
Raghavan et al.(label propagation, 2007 [57])GT O ( n + m )
Rosvall & Bergstrom(Infomap, 2008 [58])SP O ( m )
Ronhovde & Nussinov(Multiresolution community, 2009 [59])GT O ( m β l o g n ) , β 1.3
De Meo et al.(Mixing information, 2014 [41])SDP O ( n 3 )
Jin et al.(Geometric Brownian motion, 2014 [60])SDP O ( n 3 )
Table 2. Complex network datasets and values of their parameters.
Table 2. Complex network datasets and values of their parameters.
NameType# Nodes# EdgesDiameterk
DBLPU317,0801,049,8668268
Arxiv-AstroPhU18,772396,160523
web-StanfordD281,9032,312,4979.769
FacebookU403988,2344.7164
GplusD107,61413,673,4533457
TwitterD81,3061,768,1494.5213
Epinions1D75,879508,8375128
LiveJournal1D4,847,57168,993,7736.5117
OrkutU3,072,441117,185,0834.8756
YoutubeU1,134,8902,987,6246.5811
PokecD1,632,80330,622,5645.2246
Slashdot0811D77,360905,4684.781
Slashdot0922D82,168948,4644.787
FriendsterU65,608,3661,806,067,1355.8833
Amazon0601D403,3943,387,3887.692
P2P-Gnutella31D62,586147,8926.535
RoadNet-CAU1,965,2065,533,214500322
Wiki-VoteD7115103,6893.821
Table 3. Experiment 1: Experiment with nearness measure.
Table 3. Experiment 1: Experiment with nearness measure.
NameJCPAKMCTPRPM
Facebook0.48060.49370.50370.49730.52060.5434
Gplus0.30610.32530.34110.33090.36710.3998
Twitter0.34040.34650.35080.34810.35820.3691
Epinions10.06670.08160.09430.08610.11500.1401
LiveJournal10.10100.10970.11670.11220.12840.1432
Pokec0.01830.02050.02220.02110.02510.0288
Slashdot08110.00660.00800.00870.00820.01010.0127
Slashdot09220.00860.01050.01160.01090.01370.0171
Friendster0.03600.03950.04220.04050.04670.0526
Orkut0.04240.04760.05180.04910.05870.0675
Youtube0.03750.04830.05740.05150.07240.0903
DBLP0.40720.41030.41180.41100.41480.4207
Arxiv-AstroPh0.44690.45900.46820.46240.48370.5045
web-Stanford0.36930.37380.37650.37490.38150.3896
Amazon06010.20570.21740.22660.22070.24190.2615
P2P-Gnutella310.01800.02460.03020.02660.03940.0503
RoadNet-CA0.07010.08930.10510.09490.13120.1633
Wiki-Vote0.08740.11090.13080.11790.16330.2023
Table 4. Experiment 2: Experiment on approximation.
Table 4. Experiment 2: Experiment on approximation.
NameExact0.1 Mtree0.1 Lsh0.2 Mtree0.2 Lsh0.3 Mtree0.3 Lsh0.4 Mtree0.4 Lsh0.5 Mtree0.5 Lsh
Facebook0.54720.54680.54620.54630.54520.54590.54410.54540.54310.54500.5421
Gplus0.40560.40530.40490.40500.40420.40470.40350.40440.40280.40410.4021
Twitter0.37090.37060.37010.37020.36930.36990.36850.36950.36770.36920.3669
Epinions10.14470.14460.14450.14450.14430.14450.14410.14440.14390.14430.1437
LiveJournal10.14580.14560.14540.14550.14500.14530.14470.14520.14430.14500.1439
Pokec0.02950.02940.02930.02940.02920.02930.02900.02930.02890.02920.0287
Slashdot08110.01250.01240.01230.01230.01220.01210.01200.01200.01190.01190.0117
Slashdot09220.01680.01670.01670.01670.01660.01660.01640.01660.01630.01650.0162
Friendster0.05360.05350.05340.05340.05320.05330.05290.05320.05270.05310.0525
Orkut0.06900.06890.06880.06880.06850.06870.06830.06860.06800.06850.0678
Youtube0.09360.09360.09350.09350.09340.09350.09320.09340.09310.09340.0930
DBLP0.42150.42110.42060.42070.41970.42040.41890.42000.41800.41960.4171
Arxiv-AstroPh0.50810.50770.50720.50730.50630.50690.50530.50650.50440.50610.5035
web-Stanford0.39080.39040.39000.39010.38910.38970.38830.38940.38740.38900.3866
Amazon06010.26500.26470.26440.26450.26380.26420.26330.26400.26270.26370.2621
P2P-Gnutella310.05230.05230.05230.05230.05230.05230.05230.05230.05230.05230.0523
RoadNet-CA0.16920.16900.16860.16870.16810.16850.16750.16820.16700.16800.1664
Wiki-Vote0.20950.20940.20930.20930.20900.20920.20880.20910.20850.20900.2083
Table 5. Comparison of our approaches with other best methods in terms of modularity.
Table 5. Comparison of our approaches with other best methods in terms of modularity.
NameSpectralSDPGTWTLPGBMNN-SearchM-TreeLSH
Facebook0.44870.54640.54340.51170.50420.47420.54720.54500.5421
Gplus0.25730.40470.39980.35280.34120.29630.40560.40410.4021
Twitter0.32610.37060.36910.35450.35130.33750.37090.36920.3669
e Epinions10.02800.14400.14010.10340.09400.05890.14470.14430.1437
LiveJournal10.07910.14550.14320.12200.11690.09660.14580.14500.1439
Pokec0.01290.02940.02880.02350.02230.01720.02950.02920.0287
Slashdot08110.00380.01300.01270.00950.00900.00600.01250.01190.0117
Slashdot09220.00450.01760.01710.01270.01190.00780.01680.01650.0162
Friendster0.02750.05360.05260.04430.04230.03430.05360.05310.0525
Orkut0.02940.06890.06750.05490.05190.03980.06900.06850.0678
Youtube0.00960.09340.09030.06400.05730.03190.09360.09340.0930
DBLP0.40110.42140.42070.41360.41250.40600.42150.41960.4171
Arxiv-AstroPh0.41740.50790.50450.47550.46880.44100.50810.50610.5035
web-Stanford0.35950.39080.38960.37910.37720.36730.39080.38900.3866
Amazon06010.17680.26490.26150.23360.22690.19990.26500.26370.2621
P2P-Gnutella310.00090.05220.05030.03430.03010.01460.05230.05230.0523
RoadNet-CA0.02120.16900.16330.11680.10530.06030.16920.16800.1664
Wiki-Vote0.02660.20930.20230.14510.13060.07520.20950.20900.208
Table 6. Comparison of our approaches with other best methods in terms of time.
Table 6. Comparison of our approaches with other best methods in terms of time.
NameSpectralSDPGTWTLPGBMNN-SearchM-TreeLSH
Facebook67111378641
Gplus79783213421512877948661390115
Twitter46248578688650955439823568
Epinions141141966774945247529217456
LiveJournal1129713322129239414271514969576179
Pokec128113052075233014101480901538173
Slashdot0811552561891100060863638222874
Slashdot0922561570906101761864738923275
Friendster2061210533523766226923901477880280
Orkut1497152924352736164717351074640203
Youtube82984413401505913957578345111
DBLP38140365573942046134120157
Arxiv-AstroPh21723037542323926319711633
web-Stanford49852585296054960043725874
Amazon06016536781089122571977152030893
P2P-Gnutella311821842933282002091247424
RoadNet-CA75878512611419834894599355107
Wiki-Vote54558899596339237

Share and Cite

MDPI and ACS Style

Saha, S.; Ghrera, S.P. Nearest Neighbor Search in the Metric Space of a Complex Network for Community Detection. Information 2016, 7, 17. https://doi.org/10.3390/info7010017

AMA Style

Saha S, Ghrera SP. Nearest Neighbor Search in the Metric Space of a Complex Network for Community Detection. Information. 2016; 7(1):17. https://doi.org/10.3390/info7010017

Chicago/Turabian Style

Saha, Suman, and Satya P. Ghrera. 2016. "Nearest Neighbor Search in the Metric Space of a Complex Network for Community Detection" Information 7, no. 1: 17. https://doi.org/10.3390/info7010017

APA Style

Saha, S., & Ghrera, S. P. (2016). Nearest Neighbor Search in the Metric Space of a Complex Network for Community Detection. Information, 7(1), 17. https://doi.org/10.3390/info7010017

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop