Next Article in Journal
Research on Active Safety Situation of Road Passenger Transportation Enterprises: Evaluation, Prediction, and Analysis
Next Article in Special Issue
Unveiling Influence in Networks: A Novel Centrality Metric and Comparative Analysis through Graph-Based Models
Previous Article in Journal
Revisiting the Characterization of Resting Brain Dynamics with the Permutation Jensen–Shannon Distance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Link Prediction in Complex Networks Using Average Centrality-Based Similarity Score

1
Algorithms and Complexity Theory Lab, Department of Computer Science and Engineering, SRM University-Andhra Pradesh, Amaravati 522502, India
2
Department of Computing, Sheffield Hallam University, Sheffield S1 2NU, UK
*
Authors to whom correspondence should be addressed.
Entropy 2024, 26(6), 433; https://doi.org/10.3390/e26060433
Submission received: 26 March 2024 / Revised: 2 May 2024 / Accepted: 17 May 2024 / Published: 21 May 2024
(This article belongs to the Special Issue Advances in Complex Networks and Artificial Intelligence)

Abstract

:
Link prediction plays a crucial role in identifying future connections within complex networks, facilitating the analysis of network evolution across various domains such as biological networks, social networks, recommender systems, and more. Researchers have proposed various centrality measures, such as degree, clustering coefficient, betweenness, and closeness centralities, to compute similarity scores for predicting links in these networks. These centrality measures leverage both the local and global information of nodes within the network. In this study, we present a novel approach to link prediction using similarity score by utilizing average centrality measures based on local and global centralities, namely Similarity based on Average Degree ( S A C D ) , Similarity based on Average Betweenness ( S A C B ) , Similarity based on Average Closeness ( S A C C ) , and Similarity based on Average Clustering Coefficient ( S A C C C ) . Our approach involved determining centrality scores for each node, calculating the average centrality for the entire graph, and deriving similarity scores through common neighbors. We then applied centrality scores to these common neighbors and identified nodes with above average centrality. To evaluate our approach, we compared proposed measures with existing local similarity-based link prediction measures, including common neighbors, the Jaccard coefficient, Adamic–Adar, resource allocation, preferential attachment, as well as recent measures like common neighbor and the Centrality-based Parameterized Algorithm ( C C P A ) , and keyword network link prediction ( K N L P ) . We conducted experiments on four real-world datasets. The proposed similarity scores based on average centralities demonstrate significant improvements. We observed an average enhancement of 24% in terms of Area Under the Receiver Operating Characteristic (AUROC) compared to existing local similarity measures, and a 31% improvement over recent measures. Furthermore, we witnessed an average improvement of 49% and 51% in the Area Under Precision-Recall (AUPR) compared to existing and recent measures. Our comprehensive experiments highlight the superior performance of the proposed method.

1. Introduction

A graph is used to represent a complex network, where nodes or vertices represent entities, and edges or links represent the interactions or relations between these entities. Complex networks play a major role in natural phenomena, including biological networks, information networks, social networks, and technological networks [1,2,3]. In such networks, nodes are neurons, scientists, individuals, or locations, whereas edges are associations or interactions between the nodes. In recent times, complex networks have gained significant attention in various fields including link prediction [4], centrality measures [5], community detection [6], and influence maximization [7]. New nodes and links are constantly added to complex networks, which makes these networks dynamic. The challenge of predicting links in a network is therefore critical to comprehend the network’s evolution. The link prediction (LP) problem was introduced by Liben-Nowell et al. [8]. The LP problem aims to determine the probability of an interaction happening in the future between two nodes when such an interaction does not exist at a present moment in time. There is potential significance for the link prediction problem across multiple domains. Techniques for link prediction can be utilized to determine the interactions in biological networks that are the most likely to occur, thereby considerably reducing the costs associated with conducting experiments. Link prediction can be used to send friend requests on social networks such as Facebook and LinkedIn. On e-commerce platforms like Amazon, users can receive product recommendations by predicting connections between users and items. This is done using a user–item graph that represents user preferences or purchase history. Link prediction in co-authorship networks such as DBLP might point to possible partnerships between researchers [9]. Numerous link prediction algorithms have been proposed recently. These algorithms are classified into three groups: similarity-based measures [10,11], probabilistic measures [12], and dimensionality-based measures [13]. In particular, the most efficient and fundamental techniques for resolving the link prediction problem is the similarity-based measure. This approach computes a score, S v , u , for each pair of nodes ( v , u ) , that indicates how similar the two nodes are to one another. Two nodes are considered similar if they share a large number of features, according to the general definition. The similarity indices are divided into three groups: local, global, and quasi-local [14]. In order to compute a node’s similarity, local similarity indices employ structural information from their neighbors rather than the entire network. A few popular local similarity measures are common neighbors, the Jaccard coefficient, preferential attachment, resource allocation, and Adamic–Adar. These measures are discussed in Section 4.1. In this study, we defined a new similarity measure that belongs to the class of common neighbor measures [15] and we used this as a basis for link prediction. These measures evaluate the probability of a link forming between non-adjacent pairs of nodes in a network based on the quantity of common neighbors they share. The primary drawback of local similarity indices is their limited ability to utilize local data; they use only one-hop and two-hop neighborhoods [16]. However, links can emerge between nodes existing beyond two-hop neighborhood. Global similarity indices utilize the entire network’s structural information to evaluate link scores. However, they are not parallelizable and their computational complexity limits efficiency in large networks. Conversely, quasi-local similarity indices combine the best features of both methods. In order to retain accuracy, quasi-local indices use more information than local indices and omit unnecessary information [17]. The use of centrality-based link prediction has several advantages over traditional methods. Firstly, centrality measures help analysts evaluate the relative importance of nodes and edges in the network, which is crucial for predicting new connections. This leads to a more detailed understanding of the network’s structure and dynamics, enabling more precise and informed predictions. Moreover, centrality measures, such as the clustering coefficient, measure the extent to which nodes in a network tend to form clusters, whereas closeness centrality is found to better describe endpoint influence, and betweenness centrality best quantifies path connectivity. This comprehensive assessment of a node’s influence and importance within the network leads to more accurate predictions of future links.
This paper’s outline is structured as follows: Section 2 and Section 3 describe problem definitions and recent works on link prediction and centrality measures. Section 4 discusses the related existing measures. Section 5 presents the methodology, including the centrality measures utilized, the calculation of average centrality, and the definition of similarity scores. Section 6 describes the experimental setup and presents the evaluation results. Section 7 provides an in-depth analysis and comparison with existing measures and recent measures. Section 8 concludes the paper and outlines potential directions for future research. Finally, Abbreviations defines the abbreviations used in this paper.

2. Problem Definition

Definition 1. 
Link Prediction: The link prediction task involves a complex network denoted as G = ( V , E ) , where V represents the set of vertices and E represents the set of edges. The objective is to generate a list of edges that are not currently present in the network G t 0 , t i , but are predicted to appear in the future network G t j where t j > t i > t 0 [4].
The graph G may include directed edges indicating one-way interactions between nodes, along with weights indicating the strength of these interactions. However, this study focuses solely on undirected and unweighted edges. The potential expansion of this research to include directed and weighted networks is a prospect for future work.
Definition 2. 
Centrality Measure: Given a graph G = ( V , E ) , where V and E denote vertex and edge sets, respectively, the centrality, represented as C and defined as C : V R , assigns a real-valued score to u, quantifying the significance of u based on its structural position and connections to other nodes in G.
Various centrality measures exist, each capturing different aspects of a node’s importance. Common centrality metrics include degree centrality, which measures the number of connections a node has, and betweenness centrality, which quantifies how often a node lies on the shortest paths between other nodes in the graph. Other measures include closeness centrality and the clustering coefficient, each providing unique insights into a node’s centrality within the network.
The formation of future links in a network between two non-adjacent nodes u and v majorly depends on the structural similarity of u and v. A key factor influencing this resemblance is the presence of shared neighbors between u and v. However, many existing methods for predicting links fail to differentiate between these common neighbors. We believe that all common neighbors may not contribute equally in future link formation. In this work, we intend to evaluate the role of significance of common neighbors in link prediction. As the centrality of nodes depict different kinds of significance in the network, the centrality value of common neighbors affect link formation. Therefore, in this work, we examine various centrality values of nodes (especially common neighbors) on the task of link prediction.

3. Recent Work

This section addresses the latest research on link prediction using centrality measures. Lu et al. [15] summarized recent works on link prediction algorithms, and also introduced some real-time applications, as well as outlined the upcoming challenges of link prediction algorithms. Das et al. [18] presented research works on centrality measures based on social networks. The authors presented real-time applications of centrality measures in traffic, biology, transportation, research, drugs, and security. Bloch et al. [19] discussed centrality measures in networks based on nodal statistics and also discussed some properties which identify path-based centrality measures. Nasiri et al. [20] proposed new link prediction measures, namely weighted common neighbors (WCNs), depending on common neighbors and different types of centrality measures like degree, closeness, betweenness, k-core, eigenvector, and pagerank, which are used to predict the formation of new links in networks. To measure the performance of centrality measures based on link prediction, Singh et al. [21] investigated centrality measure network structures, then identified influential users and predicted future connections. Ahmad et al. [22] proposed a novel measure, called common neighbor and the Centrality-based Parameterized Algorithm (CCPA), which is parameterized and identifies future edges between non-adjacent node pairs using common neighbors and centralities. The next novel measure called the keyword network link prediction algorithm (KNLP) was proposed by Behrouzi et al. [23], which exploits nodes’ clustering coefficient, centrality measures using eigenvector centrality, and community information, which can be used as an another parameter to predict the links based on centrality values. S Kumar et al. [24] proposed link prediction based on centralities of nodes, which improves the set of features that are utilized to make the predictions. The basic node centralities and various binary machine learning classifiers are used to predict links. T Gao et al.’s [25] focus was on degrees of end points and neighbors, so the authors proposed a powerful combination of endpoints and neighbors (PCEN) model, which gets better prediction results than existing models. Kumar et al. [26] proposed a new approach to link prediction based on the level-2 node clustering coefficient. To compute similarity scores between node pairs, the authors defined level-2 common nodes and their clustering coefficient, which extracts level-2 common neighbors’ clustering information from the seed node pairs. Based on the rich get richer scenario, Zhang et al. [27] proposed an novel index relying on betweenness centrality to predict the links that will exist in the future. Later, Wu et al. [28] proposed local triangle structure information, which can be transformed by the clustering coefficient of common neighbors directly. Yang et al. [29] proposed an algorithm, named common neighbors and distance which excels in predicting missing links between nodes without common neighbors, outperforming many existing methods for real-world networks without adding any complexity. In this paper, we generalized similarity scores based on average centrality measures, which were calculated using local and global centrality measures, which give the best prediction accuracy compared to existing link prediction measures.

4. Related Work

In this section, we discuss basic link prediction and centrality measures for simple, unweighted, and undirected graphs. G = ( V , E ) is a representation of a network or graph, where V is the number of nodes and E is the collection of network edges.

4.1. Existing Similarity Measures

A straightforward method, known as “similarity-based method”, computes a similarity score for non-adjacent node pairs, v and u. The similarity scores are sorted; the node pairs with the highest scores indicate the expected linkages between them. Similarity scores are grouped into local, global, and quasi-local groups [4].
  • Local Similarity Measures: Local similarity measures focus on examining the immediate neighbors of a node in the network. Some well-known measures include the common neighbor (CN) [15], Jaccard coefficient (JC) [3], preferential attachment (PA) [30], Adamic–Adar (AA) [31], resource allocation (RA) [32], etc.
    Common Neighbor: The likelihood of a link being formed between two nodes, v and u, is higher when they share a significant number of common neighbors.
    S v , u C N = | Γ ( v ) Γ ( u ) |
    In Equation (1), S v , u C N denotes the size of the nodes’ neighborhoods’ intersection; Γ ( v ) is the set of neighbors of node v.
    Jaccard Coefficient: The common neighbor is comparable to this metric, which normalizes the score of the common neighbor, as given below.
    S v , u J C = | Γ ( v ) Γ ( u ) | | Γ ( v ) Γ ( u ) |
    In Equation (2), S v , u J C is the size of the intersection of two nodes’ neighborhoods, out of the total neighbors of nodes v and u, where Γ ( v ) is the set of neighbors of node v.
    Preferential Attachment: It counts the richness of two nodes instead of shared neighbors between non-adjacent node pairs. The degrees of nodes v and u are multiplied collectively.
    S v , u P A = | d ( v ) | | d ( u ) |
    P A requires the degree of nodes and does not consider common neighbors. In Equation (3), d ( v ) is the degree of node v.
    Resource Allocation: We assume two non-adjacent node pairs, v and u. The amount of resources provided from node v to node u determines how similar the two nodes are when they are transferring resources through their shared nodes.
    S v , u R A = r Γ ( v ) Γ ( u ) 1 d r
    In Equation (4), d r is the degree of node r.
    Adamic–Adar: Adamic–Adar is a variant of resource allocation. In real-world scenarios, for example, individuals with a larger number of friends tend to allocate less time and resources to particular friend compared to those with fewer friends. This is defined as follows:
    S v , u A A = r Γ ( v ) Γ ( u ) 1 l o g | d r |
    In Equation (5), d r is the degree of node r.

4.2. Recent Measures

In this section, two of recent centrality based similarity scores: CCPA [22] and KNLP [23] are elaborated.
  • Common Neighbor and Centrality-based Parameterized Algorithm (CCPA): To recommend the creation of new linkages in complex networks, CCPA uses two essential node characteristics—the number of shared neighbors between node pairs, and their centrality measures. In this case, closeness centrality is taken into account as a parameter for missing link prediction. The term “common neighbor” describes the nodes that are shared by two nodes. The term “centrality” refers to the significance of a node inside the network.
    S v , u C C P A = α · | Γ ( v ) Γ ( u ) | + ( 1 α ) · N D v , u
    In Equation (6), the user-generated parameter α [ 0 , 1 ] regulates the centrality and common neighbor relevance. The set of neighbors of node v is represented by Γ ( v ) , and  D v , u is the shortest path length between v and u.
  • Keyword Network Link Prediction Algorithm (KNLP): KNLP depends on the nodes’ clustering coefficient, and their centrality measure like eigenvector centrality [33]. The stronger correlation between eigenvector centrality and node degree shows that nodes with the highest eigenvector have more connections. For nodes u and v, KNLP is defined as follows:
    S v , u K N L P = C S v + C S u C C v + C C u + ϵ
    In Equation (7), C S v and C S u are the centrality scores for nodes v and u, C C v and C C u are clustering coefficient values for nodes v and u, and their values always range between 0 and 1. Here, ϵ is used to avoid the division by zero error.

4.3. Centrality Measures

Centrality measures identify the nodes that are most crucial or central in the graph G. These measures help us to understand which nodes are the most influential, well-connected, or central in the graph. Centralities are derived into local measures, global measures, and so on [34].
  • Local Centrality: Local centrality involves only immediate neighborhood. Degree centrality (D) [5] and clustering coefficient (CC) [35] are two popular local centralities used in this paper.
    Degree Centrality: The node v’s degree centrality is calculated as the fraction of other nodes adjacent to node v out of the possible total. Nodes characterized by a high degree of centrality are referred to as H u b nodes.
    C D ( v ) = d v N 1
    In Equation (8), the graph’s total number of nodes is N, and node v has a degree of d v .
    Clustering Coefficient: The clustering coefficient of a specific node is determined by the ratio of closed triangles within the node’s neighborhood, to the total number of triangles present in that neighborhood. It is also known as transitivity.
    C C C ( v ) = 2 K v d v ( d v 1 )
    In Equation (9), node v has a degree of d v , and the number of triangles connected to node v is K v .
  • Global Centrality: Global centrality involves the whole graph. Closeness centrality (C) [34] and betweenness centrality (B) [36] are few popular global centralities used in this paper.
    Closeness Centrality: One method of identifying nodes that can efficiently distribute information throughout a network is through closeness centrality. The closeness centrality of a node, denoted as v, within a graph, is determined by taking the reciprocal of the average shortest path distance from node v to all N 1 reachable nodes in the graph.
    C C ( v ) = N 1 u ¬ v D v , u
    In Equation (10), the shortest path length from v to u is denoted by D v , u . In the network, the node that is nearest to every other node is the one with the highest closeness centrality.
    Betweenness Centrality: A node’s betweenness centrality is a measure of how many shortest paths there are via a particular node.
    C B ( v ) = v , u V σ v , u ( r ) σ v , u
    In Equation (11), σ v , u represents the total number of shortest paths between nodes v and u, and  σ v , u ( r ) denotes the total number of shortest paths between nodes v and u that pass through node r.

5. Proposed Work

In this section, we outline our proposed approach for predicting links, which relies on the average centrality of the common neighbors. The proposed method computes a prediction score based on similarity between the nodes, which is based on the centrality score of the common neighbors between them. We name this method Similarity based on Average Centrality ( S A C ). S A C initially computes various centrality scores for the common neighbors and considers only the nodes with scores exceeding the network’s overall average centrality score. We employ both local and global centrality measures.

5.1. Similarity Based on Average Centrality Measures (SAC)

The algorithm S A C can be generalized to use any centrality measure of nodes. Let C denote the centrality score of a node v and A C (G) denote a graph’s average centrality value computed using Equation (12).
A C ( G ) = v V ( G ) C ( v ) N
In Equation (12), C ( v ) represents the centrality value of the node v, and N denotes the total number of nodes in the whole graph G. The similarity of two vertices using the average centrality of a graph is defined as depicted in Equation (13):
S A C C ( v , u ) = { x x Γ ( v ) Γ ( u ) and C ( x ) A C ( G ) }
In Equation (13), S A C C ( v , u ) is the similarity scores of node pairs v and u, collecting all common neighbors and applying centrality scores to those common neighbors and then counting the nodes which exceed the average centrality of the graph. x denotes common neighbors between nodes v and u, and Γ ( v ) and Γ ( u ) are neighbors of the nodes v and u, respectively. A C is the average centrality of the graph, which is defined in Equation (12). The centrality C can be any local or global centralities defined in Table 1.
For instance, if we consider the centrality C to denote the degree centrality, we can utilize the average degree centrality ( A D ) as defined in Equation (12). This enables us to calculate the similarity between two vertices based on the average degree centrality of the graph, as specified in row 1 of Table 1. C can be tailored to the betweenness centrality, closeness centrality, or clustering coefficient by using the second, third, and fourth rows of Table 1, respectively, leading to the computation of S A C B ( v , u ) , S A C C ( v , u ) , and  S A C C C ( v , u ) .
Algorithm 1 outlines the process for calculating the S A C C ( v , u ) for non-adjacent node pairs within the graph.
Algorithm 1: An algorithm for common neighbor-based average centrality
Entropy 26 00433 i001
A sample illustration of Algorithm 1 is given using a toy example, depicted in Figure 1, featuring eight nodes and twelve edges.
For the graph given in Figure 1, we find similarity scores for S A C D ( v , u ) , S A C B ( v , u ) , S A C C ( v , u ) , S A C C C ( v , u ) , C N , J C , A A , R A , P A , C C P A , and K N L P . In this example, we find similarity scores for few non-adjacent node pairs; similarly, we can find similarity scores for other non-adjacent node pairs as well. We present the computation of similarity scores using the average centrality measure, with the degree centrality C being our chosen metric.
Initially, we calculate the degree centrality for each node in the graph. Node 1 and Node 2, for instance, both exhibit a degree centrality of 0.375, and so forth. Subsequently, we determine the average degree centrality for the graph, denoted as A D ( G ) , as specified in Table 1, line 1. For our toy graph, A D ( G ) equals 0.375. Next, to identify common neighbors for a non-adjacent node pair (1,2), we locate Nodes 4 and 7. Applying the degree centrality scores to these common neighbors, we find that Node 4 has a centrality of 0.625, and Node 7 has a centrality of 0.25. Finally, we count the nodes with centrality scores exceeding the average degree centrality. In this scenario, the common neighbor Node 4 surpasses the average degree centrality. Consequently, the similarity between node pairs (1,2), based on average degree centrality, is 1. This process is repeated for several node pairs in the toy graph, and the results are summarized in Table 2.

5.2. Time Complexity of Similarity Based on Average Centrality Measures

Given the network G = ( V , E ) , where the number of nodes is indicated by | V | = n , and the number of edges is represented by | E | = m , the computational cost of evaluating the C for every vertex in a graph G can be expressed as O ( f ( n ) ) . The complexity for finding the similarity score S A C C in Algorithm 1 is O ( f ( n ) + O ( n 2 ) ) . In the case where C is the degree, the time complexity for finding the S A C D is O ( n 2 ) [5,37]. If the C is the clustering coefficient, betweenness centrality, and closeness centrality, then the time complexity for finding the S A C B , S A C C , and S A C C C is O ( n m ) [34,35,36].

6. Implementation

The proposed approach’s effectiveness was compared to a few popular cutting-edge link prediction measures. The datasets utilized for performance analysis and the measures used for evaluation are described in depth in this section.

6.1. Datasets

To evaluate the effectiveness of our proposed method, we conducted simulations on four different datasets. These datasets were taken from different domains and were downloaded from [38]. In bio-celegans, nodes represent genes or proteins, where edges are interactions between the proteins. The dataset comprises a total of 453 nodes and 2025 edges. The web-polblogs dataset represents a network of political blogs, where webpages are the nodes and hyperlinks between webpages are the edges. It consists of 643 nodes and 2280 edges. The CA-Grqc dataset represents a collaboration network, where nodes are authors or research papers and edges represent relationships between authors or citations between research papers. It consists of 5242 nodes and 14,496 edges. The last dataset used was Facebook-large dataset, which represents a social network, where nodes specify users and the edges represent friendship between users. It consists of 22,470 nodes and 171,002 edges. Table 3 displays the characteristics of these datasets. Among all of these datasets, bio-celegans is a dense network with a relatively high average clustering coefficient. CA-Grqc has a low average degree, which indicates a lower average number of connections per node. Facebook-large has high average degree, which indicates a well-connected network and it has a relatively low diameter, suggesting shorter paths between nodes compared to CA-Grqc.
Our study was carried out using a PC with an 11th generation Intel(R) with Core(TM) i7-8700 CPU, which has six cores, twelve logical processors, and a base clock speed of 3.20 GHz. The computer was running Windows 10 Education and had 16 GB of RAM. Python was used to perform our investigation, and Scikit-Learn, Matplotlib, Pandas, Networkx, and Numpy were among the packages used to build the methods.
For each of these datasets, 20% of the links were set aside for testing purposes. Prediction scores were calculated for the remaining 80% of the links. Subsequently, the effectiveness of the predictions was assessed using both the Area Under the ROC curve and the Area Under the Precision-Recall curve. These evaluation metrics will be discussed further in the following section.

6.2. Evaluation Metrics

In the assessment of similarity-based centralities, standard metrics like Area Under the Receiver Operating Characteristic curve (AUROC) and Area Under the Precision-Recall curve (AUPR) are commonly employed. In our study, we employed these metrics to assess the performance of our proposed measures.
AUROC: AUROC, short for Area Under the Receiver Operating Characteristic (ROC), is a widely used metric for assessing the effectiveness of a prediction model. The ROC curve is a visual representation that illustrates the relationship between the True Positive Rate (TPR) and the (FPR). The TPR (y-axis) vs. FPR (x-axis) is plotted for various threshold values [39]. AUROC gives the area under the ROC curve. AUROC measures the probability of false alarms or incorrect positive predictions. The AUROC score has a range from 0 to 1, where a higher value signifies superior performance. An AUROC of 1 represents a perfect model, while an AUROC of 0.5 indicates a random model.
AUPR: AUPR stands for Area Under Precision-Recall (PR) curve, is another metric used to evaluate the performance of a prediction model. AUPR demonstrates superior performance in scenarios where the ROC curve may provide an overly optimistic assessment of a predictor’s performance, especially with imbalanced data [40,41]. The PR curve displays the precision on the y-axis and the recall on the x-axis. Precision quantifies the ratio of correct positive predictions to all positive predictions, while recall calculates the ratio of correct positive predictions to all actual positive instances. AUPR is a single quantity that represents the area under PR curve.

7. Results

In this section, we conducted experiments to evaluate the efficacy of the proposed approach. The obtained results are presented below for analysis. First, we compared our generalized S A C methods, proposed in Section 5, with existing local similarity measures like CN, JC, AA, RA, and PA and the latest link prediction measures, CCPA and KNLP, on four datasets. Our measures were tested on evaluation measures like A U R O C and A U P R , as discussed in Section 6.2. We show that the performance of generalized S A C is good compared to existing link prediction measures. We have explained that the prediction of link score increases for S A C ( v , u ) , by collecting all common neighbors for nodes v,u and applying centrality scores to those common neighbors and then counting the nodes which exceed the average centrality of the graph. In the section below, we discuss the results of the proposed algorithms based on popular existing link prediction measures, but we do not include the latest existing method, K N L P , in the table, as KNLP obtained comparatively small values. So, we present the results of KNLP separately in Table 4 and Table 5 for comparison.

7.1. Comparing Proposed Similarity-Based Centralities with Existing Similarity-Based Link Prediction Measures

The discussion about the results of the proposed generalized S A C measures is presented in this section. Average degree (AD), average betweenness (AB), average closeness (AC), and average clustering coefficient (ACC) are considered for the centrality C proposed in Section 5. These proposed measures are compared against the basic link prediction measures of CN, JC, AA, RA, PA, and CCPA. Figure 2 displays the AUROC findings for four datasets. While prediction scores are calculated for all non-adjacent node pairs, the evaluation is solely conducted on the top k pairs of nodes. This approach stems from the notion that node pairs with the highest scores are most likely to form connections in the future. We explored different values of k ranging from 1750 to 35,000. The AUROC and AUPR scores for k ranging from 1750 to 35,000 are given in Figure 2.
Let us choose a specific Facebook-large from the CA-Grqc dataset with k = 17,500 and the S A C C C measure where the AUROC is 0.918. This score suggests that, for this measure and dataset combination at this particular value of k, the model performed well in differentiating between positive and negative predictions in link prediction tasks. Essentially, the AUROC value of 0.918 indicates that there was a notable proportion of true positives compared to false positives across various threshold settings, resulting in this score.
In the CA-Grqc dataset, the proposed measure S A C C C on average demonstrated superior performance compared to all the baselines, followed by S A C D , whereas the worst performing measure was PA, on average. The clustering patterns captured by S A C C C may provide more accurate predictions compared to the simplistic degree-based approach of preferential attachment, resulting in superior performance for S A C C C . In the Facebook-large dataset, our measure S A C C C exhibited strong performance on average. In the Facebook dataset, S A C C C probably accounts for the network’s local clustering structure, meaning it does not only examine direct connections between nodes, but also relationships among their mutual friends. In contrast, traditional measures primarily concentrate on pairwise node relationships alone. In the web-polblogs dataset, our proposed S A C D and RA were comparable, as S A C D and RA focus on the number of neighbors a node has. In the bio-celegans dataset, S A C D obtained the highest scores in some k-node pairs, while S A C C C performed better in others. However, overall, S A C C C achieved the highest scores among all measures. In the Facebook-large, web-polblogs, and bio-celegans datasets, JC was the worst performing measure. This is because of the normalization of common neighbors, which tends to decrease the scores on large datasets with increasing numbers of nodes. Specifically, for CA-Grqc, our proposed measure S A C C C consistently outperforms AA by 5%, and CCPA, the latest measure, by 7%. For the Facebook-large dataset, the proposed S A C C C demonstrates a 0.9% enhancement compared to CN, and a significant 5% improvement over CCPA. In web-polblogs, S A C C C exhibits a competitive performance, outpacing RA by 0.3%, and surpassing CCPA, by 12%. Finally, for bio-celegans, S A C C C excels with an 8% improvement over PA and a notable 9% improvement over CCPA.
In Figure 3, we present the AUPR results across four datasets. In the CA-Grqc dataset, our proposed measure S A C C C outperforms all the baselines. In the Facebook-large dataset, S A C C C shows strong performance, while PA emerges as the worst performing measure for both the CA-Grqc and Facebook-large datasets. In the web-polblogs dataset, S A C D performs the best among all measures. In the bio-celegans dataset, S A C C C performs better, whereas JC does not performing well on both web-polblogs and bio-celegans. Specifically, for CA-Grqc, our proposed measure S A C C C consistently outperforms RA by 19%, and CCPA, the latest measure, by 28%. For the Facebook-large dataset, the proposed S A C C C demonstrates a 29% enhancement compared to CN, and a significant 46% improvement over CCPA. In web-polblogs, S A C D , outpaces CN by 21%, and surpasses CCPA, by 13%. Finally, for bio-celegans, S A C C C excels with a 31% improvement over RA and a notable 37% improvement over CCPA.

7.2. Comparing Proposed Measures

In this section, we present a comprehensive comparison study of the suggested similarity measures on a variety of real-world datasets, including web-polblogs, bio-celegans, Facebook-large, and CA-Grqc. The similarity measures we considered were S A C D , S A C B , S A C C , and S A C C C . Our results in Figure 4 show that S A C C C consistently performs better in terms of AUROC throughout the networks of CA-Grqc, Facebook-large, and bio-celegans. S A C D , however, exhibits the best performance on the web-polblogs dataset. On the other hand, S A C B performs the worst on the CA-Grqc, bio-celegans, and Facebook-large datasets. However, S A C C C performs poorly on the web-polblogs dataset. The web-polblogs dataset pertains to political blogs, where individuals often share their personal experiences rather than consistently citing external sources. The diversity in content within political blogs may contribute to a lower clustering coefficient, leading to the weak performance of S A C C C when compared to S A C D , which emphasizes node connectivity over clustering tendencies. When considering the AUPR in Figure 5, S A C C C consistently demonstrates superior performance across all datasets. Conversely, S A C B consistently performs the worst among all measures across all datasets.These results emphasize the influence of a network’s structure and properties on the effectiveness of local similarities based on local and global centralities. Furthermore, it is worth noting that, in various network scenarios, local centralities perform better than global centralities.

7.3. Comparing Proposed Measures with Recent Methods like CCPA and KNLP

In Table 4 and Table 5, we randomly chose a few node pairs instead of representing them all. These tables summarize the results based on AUC and AUPR obtained for the proposed algorithms, comparing them with the recent methods CCPA and KNLP on four datasets. It should be noted that we considered top k node pairs, with k = 20 datapoints ranging from 1750 to 35,000 i.e., k = 1750 , 3500 , , 35,000 . In Table 4, we examine the Facebook-large dataset with k = 26,250. The AUROC score for the K N L P measure is 0.257. This implies that the KNLP approach encountered difficulties in accurately discerning between positive and negative predictions of link formation in this dataset and under these parameter conditions. The result suggests a higher prevalence of false positives compared to true positives across different datapoint settings, leading to the AUROC value of 0.257. In Table 4, for CA-Grqc dataset, for the top 8750 node pairs, our approach S A C C C outperform the latest measures, CCPA and KNLP, by 6% and 57%. For the top 26,250 node pairs, S A C C C demonstrated significant improvement over CCPA by 7% and over KNLP by 44%. For the Facebook-large dataset, for the top 8750 node pairs, S A C C C excels with an 11% improvement over CCPA and 37% improvement over KNLP. Furthermore, for the top 26,250 node pairs, S A C C C performs best over CCPA and KNLP by 10% and 44%. In web-polblogs, S A C D performs best over CCPA by 11% on the top 8750 and 26,250 node pairs, and also performs best over KNLP by 14% and 12% for the top 8750 and 26,250 node pairs. For bio-celegans, for the top 8750 node pairs, S A C D demonstrates a 10% enhancement compared to CCPA, and a significant 14% improvement over KNLP. Furthermore, for the top 26,250 node pairs, the S A C C C measure outpaces CCPA by 11%, and surpasses KNLP by 12%.
In the context of Table 5, our S A C D approach exhibits superior performance on the CA-Grqc dataset. Specifically, for the top 8750 node pairs, it outperforms the latest measures, CCPA and KNLP, by 37% and 91%, respectively. Additionally, for the top 26,250 node pairs, S A C C C demonstrates a significant improvement over CCPA, showing a 17% advantage, and over KNLP, showcasing a remarkable 70% improvement. Turning to the Facebook-large dataset, S A C C C excels for both the top 8750 and top 26,250 node pairs, surpassing CCPA by 48% and 32%, and outperforming KNLP by 69% and 56%, respectively.
In the case of the web-polblogs dataset, S A C C C outperforms CCPA by 14% and KNLP by 21% for the top 8750 node pairs. Moreover, for the top 26,250 node pairs, S A C D demonstrates a significant improvement over CCPA by 10% and KNLP by 17%. For the bio-celegans dataset, S A C C C showcases a notable 29% enhancement over CCPA and a substantial 36% improvement over KNLP for the top 8750 node pairs. Similarly, for the top 26,250 node pairs, S A C C C outpaces CCPA by 28% and surpasses KNLP by 34%.

7.4. Discussion

The experimental result shows that our proposed similarity-based centralities (SAC) measures outperformed state-of-the-art models, when compared with existing local similarity-based link prediction measures and the latest measures, particularly S A C C C , outperform existing link prediction measures like JC and KNLP, in terms of AUROC on all datasets. However, S A C C C consistently achieved higher scores in terms of AUPR, indicating its superior predictive power over PA, JC, and KNLP measures on overall datasets. For example, when considering the JC measure applied to the web-polblogs dataset, which represents a network of political blogs, the presence of distinct communities or tightly-connected groups within the network may result in fewer shared connections between nodes from different communities. This phenomenon can lead to less accurate predictions. Moreover, in political blog networks, the formation of links in the preferential attachment (PA) model may depend more on the relevance of topics rather than solely on the connectivity of highly linked political blogs. Consequently, this could lead to lower predictive accuracy compared to models like S A C C C and S A C D , which take into account the presence of closely connected communities in the network.
When comparing the proposed measures themselves, our proposed measure S A C C C performed exceptionally well on datasets like CA-Grqc, Facebook-large, and bio-celegans, as it effectively captured the patterns and structures specific to these networks. S A C D performed better on the web-polblogs dataset, where the number of neighbors is crucial for link prediction. However, both S A C B and S A C C exhibited lower levels of information flow between proteins and are less closely connected. Consequently, they achieved lower accuracy compared to S A C C C and S A C D . In terms of AUPR, S A C C C consistently outperformed other measures, while S A C B performed the worst for all datasets. This indicates AUPR effectiveness in identifying true positive links while minimizing false positives.
These findings emphasize the importance of considering network structure and properties when selecting the most suitable similarity measures for link prediction.

8. Conclusions

In conclusion, our research addresses the challenging task of predicting missing links based on centralties in complex networks. We propose novel similarity measures that incorporate generalized centrality measures, including degree, betweenness, closeness, and clustering coefficient. Our approach identifies top similarity scores by considering the top 20 node pairs. The results, as measured by AUC and AUPR, demonstrate the superior effectiveness of our approach. Our findings highlight the effectiveness of the proposed measures, particularly in the realm of local similarity based on local centrality measures rather than global centralities.
Future research endeavors could extend this work to predicting links using global similarity measures based on global centralities within complex networks. Additionally, we aim to explore similarity-based centralities in hypergraphs as an extension beyond traditional graphs. Furthermore, considering the significance of weighted networks, where edges are assigned different weights to denote the strength or importance of connections between nodes, it would be valuable to explore how the SAC approach performs in such networks, as the weights may influence the centrality measures and, consequently, the similarity scores. Directed networks, where edges have a specific direction, introduce additional complexities in measuring centrality. However, our current focus remains on unweighted, undirected graphs and we intend to explore weighted, directed graphs in future extensions of our work.

Author Contributions

The conceptual framework and methodology were developed by Y.V.N., with equal contributions from M.K.E., T.J.L., and H.S. in compiling primary data and implementing the model. Y.V.N. conducted the simulations. The findings were validated by Y.V.N., M.K.E., and T.J.L., while analysis was performed by H.S. The manuscript was collaboratively written by Y.V.N., M.K.E., and T.J.L., and H.S. managed all correspondence with the journal. All authors have reviewed and approved the final version of the manuscript for publication.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations listed below were used in this paper:
LPLink prediction
CMsCentrality measures
CNsCommon neighbors
JCJaccard coefficient
AAAdamic–Adar
RAResource allocation
PAPreferential attachment
DDegree centrality
BBetweenness centrality
CCloseness centrality
CCClustering coefficient
CCPACommon Neighbor and Centrality-based Parameterized Algorithm
KNLPKeyword network link prediction algorithm
SAC_DSimilarity based on Average Degree
SAC_BSimilarity based on Average Betweenness
SAC_CSimilarity based on Average Closeness
SAC_CCSimilarity based on Average Clustering Coefficient
AUROCArea Under the Receiver Operating Characteristic
AUPRArea Under Precision-Recall

References

  1. Albert, R.; Barabási, A.L. Statistical mechanics of complex networks. Rev. Mod. Phys. 2002, 74, 47. [Google Scholar] [CrossRef]
  2. Musial, K.; Bródka, P.; De Meo, P. Analysis and applications of complex social networks. Complexity 2017, 2017, 3014163. [Google Scholar] [CrossRef]
  3. Newman, M.E. Clustering and preferential attachment in growing networks. Phys. Rev. E 2001, 64, 025102. [Google Scholar] [CrossRef] [PubMed]
  4. Liben-Nowell, D.; Kleinberg, J. The link prediction problem for social networks. In Proceedings of the Twelfth International Conference on Information and Knowledge Management, New Orleans, LA, USA, 3–8 November 2003; pp. 556–559. [Google Scholar]
  5. Freeman, L.C. Centrality in social networks: Conceptual clarification. In Social Network: Critical Concepts in Sociology; Routledg: London, UK, 2002; Volume 1, pp. 238–263. [Google Scholar]
  6. Kumar, S.; Panda, B.; Aggarwal, D. Community detection in complex networks using network embedding and gravitational search algorithm. J. Intell. Inf. Syst. 2021, 57, 51–72. [Google Scholar] [CrossRef]
  7. Chen, W.; Wang, Y.; Yang, S. Efficient influence maximization in social networks. In Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Paris, France, 28 June–1 July 2009; pp. 199–208. [Google Scholar]
  8. Liben-Nowell, D.; Kleinberg, J. The link-prediction problem for social networks. J. Am. Soc. Inf. Sci. Technol. 2007, 58, 1019–1031. [Google Scholar] [CrossRef]
  9. Schafer, J.B.; Frankowski, D.; Herlocker, J.; Sen, S. Collaborative filtering recommender systems. In The Adaptive Web: Methods and Strategies of Web Personalization; Springer: Berlin/Heidelberg, Germany, 2007; pp. 291–324. [Google Scholar]
  10. Leicht, E.A.; Holme, P.; Newman, M.E. Vertex similarity in networks. Phys. Rev. E 2006, 73, 026120. [Google Scholar] [CrossRef] [PubMed]
  11. Li, S.; Huang, J.; Liu, J.; Huang, T.; Chen, H. Relative-path-based algorithm for link prediction on complex networks using a basic similarity factor. Chaos Interdiscip. J. Nonlinear Sci. 2020, 30, 013104. [Google Scholar] [CrossRef]
  12. Airoldi, E.M.; Blei, D.; Fienberg, S.; Xing, E. Mixed membership stochastic blockmodels. Adv. Neural Inf. Process. Syst. 2008, 21, 1–8. [Google Scholar]
  13. Clauset, A.; Moore, C.; Newman, M.E. Hierarchical structure and the prediction of missing links in networks. Nature 2008, 453, 98–101. [Google Scholar] [CrossRef]
  14. Kumar, A.; Singh, S.S.; Singh, K.; Biswas, B. Link prediction techniques, applications, and performance: A survey. Phys. A Stat. Mech. Appl. 2020, 553, 124289. [Google Scholar] [CrossRef]
  15. Lü, L.; Zhou, T. Link prediction in complex networks: A survey. Phys. A Stat. Mech. Appl. 2011, 390, 1150–1170. [Google Scholar] [CrossRef]
  16. Nandini, Y.; Lakshmi, T.J.; Enduri, M.K. Link Prediction in Complex Networks: An Empirical Review. In Proceedings of the International Conference on Frontiers of Intelligent Computing: Theory and Applications, Cardiff, UK, 11–12 April 2023; Springer: Berlin/Heidelberg, Germany, 2023; pp. 57–67. [Google Scholar]
  17. Wang, P.; Xu, B.; Wu, Y.; Zhou, X. Link prediction in social networks: The state-of-the-art. Sci. China Inf. Sci. 2015, 1, 1–38. [Google Scholar] [CrossRef]
  18. Das, K.; Samanta, S.; Pal, M. Study on centrality measures in social networks: A survey. Soc. Netw. Anal. Min. 2018, 8, 13. [Google Scholar] [CrossRef]
  19. Bloch, F.; Jackson, M.O.; Tebaldi, P. Centrality measures in networks. Soc. Choice Welf. 2023, 61, 413–453. [Google Scholar] [CrossRef]
  20. Nasiri, E.; Berahmand, K.; Samei, Z.; Li, Y. Impact of centrality measures on the common neighbors in link prediction for multiplex networks. Big Data 2022, 10, 138–150. [Google Scholar] [CrossRef]
  21. Singh, S.S.; Mishra, S.; Kumar, A.; Biswas, B. Link prediction on social networks based on centrality measures. In Principles of Social Networking: The New Horizon and Emerging Challenges; Springer: Berlin/Heidelberg, Germany, 2022; pp. 71–89. [Google Scholar]
  22. Ahmad, I.; Akhtar, M.U.; Noor, S.; Shahnaz, A. Missing link prediction using common neighbor and centrality based parameterized algorithm. Sci. Rep. 2020, 10, 364. [Google Scholar] [CrossRef] [PubMed]
  23. Behrouzi, S.; Sarmoor, Z.S.; Hajsadeghi, K.; Kavousi, K. Predicting scientific research trends based on link prediction in keyword networks. J. Inf. 2020, 14, 101079. [Google Scholar] [CrossRef]
  24. Kumar, S.; Mallik, A.; Panda, B. Link prediction in complex networks using node centrality and light gradient boosting machine. World Wide Web 2022, 25, 2487–2513. [Google Scholar] [CrossRef]
  25. Gao, T.; Zhu, X. Link prediction based on the powerful combination of endpoints and neighbors. Int. J. Mod. Phys. B 2020, 34, 2050269. [Google Scholar] [CrossRef]
  26. Kumar, A.; Singh, S.S.; Singh, K.; Biswas, B. Level-2 node clustering coefficient-based link prediction. Appl. Intell. 2019, 49, 2762–2779. [Google Scholar] [CrossRef]
  27. Zhang, P.; Li, J.; Dong, E.; Liu, Q. A method of link prediction based on betweenness. In Proceedings of the Computational Social Networks: 4th International Conference, CSoNet 2015, Beijing, China, 4–6 August 2015; Proceedings 4. Springer: Berlin/Heidelberg, Germany, 2015; pp. 228–235. [Google Scholar]
  28. Wu, Z.; Lin, Y.; Wang, J.; Gregory, S. Link prediction with node clustering coefficient. Phys. A Stat. Mech. Appl. 2016, 452, 1–8. [Google Scholar] [CrossRef]
  29. Yang, J.; Zhang, X.D. Predicting missing links in complex networks based on common neighbors and distance. Sci. Rep. 2016, 6, 38208. [Google Scholar] [CrossRef] [PubMed]
  30. Barabâsi, A.L.; Jeong, H.; Néda, Z.; Ravasz, E.; Schubert, A.; Vicsek, T. Evolution of the social network of scientific collaborations. Phys. A Stat. Mech. Appl. 2002, 311, 590–614. [Google Scholar] [CrossRef]
  31. Adamic, L.A.; Adar, E. Friends and neighbors on the web. Soc. Netw. 2003, 25, 211–230. [Google Scholar] [CrossRef]
  32. Zhou, T.; Lü, L.; Zhang, Y.C. Predicting missing links via local information. Eur. Phys. J. B 2009, 71, 623–630. [Google Scholar] [CrossRef]
  33. Bonacich, P. Some unique properties of eigenvector centrality. Soc. Netw. 2007, 29, 555–564. [Google Scholar] [CrossRef]
  34. Newman, M. Networks; Oxford University Press: New York, NY, USA, 2018. [Google Scholar]
  35. Serrano, M.Á.; Boguna, M. Clustering in complex networks. I. General formalism. Phys. Rev. E 2006, 74, 056114. [Google Scholar] [CrossRef] [PubMed]
  36. Freeman, L.C. A set of measures of centrality based on betweenness. Sociometry 1977, 40, 35–41. [Google Scholar] [CrossRef]
  37. Krnc, M.; Škrekovski, R. Group degree centrality and centralization in networks. Mathematics 2020, 8, 1810. [Google Scholar] [CrossRef]
  38. Rossi, R.; Ahmed, N. The network data repository with interactive graph analytics and visualization. In Proceedings of the AAAI Conference on Artificial Intelligence, Austin, TX, USA, 25–30 January 2015; Volume 29. [Google Scholar]
  39. Davis, J.; Goadrich, M. The relationship between Precision-Recall and ROC curves. In Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA, USA, 25–29 June 2006; pp. 233–240. [Google Scholar]
  40. Boyd, K.; Eng, K.H.; Page, C.D. Area under the precision-recall curve: Point estimates and confidence intervals. In Proceedings of the Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2013, Prague, Czech Republic, 23–27 September 2013; Proceedings, Part III 13. Springer: Berlin/Heidelberg, Germany, 2013; pp. 451–466. [Google Scholar]
  41. Chawla, N.V. Data mining for imbalanced datasets: An overview. In Data Mining and Knowledge Discovery Handbook; Springer: Berlin/Heidelberg, Germany, 2010; pp. 875–886. [Google Scholar]
Figure 1. An illustration of an undirected toy network with eight nodes and twelve edges.
Figure 1. An illustration of an undirected toy network with eight nodes and twelve edges.
Entropy 26 00433 g001
Figure 2. AUROC scores for link prediction using common neighbors based on average centrality for top k node pairs, k ranging from 1750 to 35,000, for four datasets.
Figure 2. AUROC scores for link prediction using common neighbors based on average centrality for top k node pairs, k ranging from 1750 to 35,000, for four datasets.
Entropy 26 00433 g002
Figure 3. AUPR scores for link prediction using common neighbors based on average centrality for the top 35,000 node pairs across four datasets.
Figure 3. AUPR scores for link prediction using common neighbors based on average centrality for the top 35,000 node pairs across four datasets.
Entropy 26 00433 g003
Figure 4. AUROC scores for proposed measures of top 35,000 node pairs across four datasets with SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), and SACCC (Similarity based on Average Clustering Coefficient).
Figure 4. AUROC scores for proposed measures of top 35,000 node pairs across four datasets with SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), and SACCC (Similarity based on Average Clustering Coefficient).
Entropy 26 00433 g004
Figure 5. AUPR for proposed measures of top 35,000 node pairs across four datasets with SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), and SACCC (Similarity based on Average Clustering Coefficient).
Figure 5. AUPR for proposed measures of top 35,000 node pairs across four datasets with SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), and SACCC (Similarity based on Average Clustering Coefficient).
Entropy 26 00433 g005
Table 1. S A C C ( v , u ) is the proposed centrality, where C stands for D (degree), B (betweenness), C (closeness), and CC (clustering coefficient).
Table 1. S A C C ( v , u ) is the proposed centrality, where C stands for D (degree), B (betweenness), C (closeness), and CC (clustering coefficient).
S.No.Centrality C Avg C SAC C ( v , u )
1 C D ( v ) = d v n 1 A D ( G ) = v V ( G ) C D ( v ) N S A C D ( v , u ) = { x x Γ ( v ) Γ ( u ) and D ( x ) A D ( G ) }
2 C B ( v ) = p , q V σ p , q ( v ) σ p , q A B ( G ) = v V ( G ) C B ( v ) N S A C B ( v , u ) = { x x Γ ( v ) Γ ( u ) and B ( x ) A B ( G ) }
3 C C ( v ) = n 1 u ¬ v d v , u A C ( G ) = v V ( G ) C C ( v ) N S A C C ( v , u ) = { x x Γ ( v ) Γ ( u ) and C ( x ) A C ( G ) }
4 C C C ( v ) = 2 K v d v ( d v 1 ) A C C ( G ) = v V C C C ( v ) N S A C C C ( v , u ) = { x x Γ ( v ) Γ ( u ) and C C ( x ) A C C ( G ) }
Table 2. SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), SACCC (Similarity based on Average Clustering Coefficient), CN (common neighbor), JC (Jaccard coefficient), PA (preferential attachment), RA (resource allocation), AA (Adamic–Adar), CCPA (Common Neighbor and Centrality-based Parameterized Algorithm), and KNLP (keyword network link prediction algorithm) similarity scores for non-adjacent node pairs for a graph are shown in Figure 1.
Table 2. SACD (Similarity based on Average Degree), SACB (Similarity based on Average Betweenness), SACC (Similarity based on Average Closeness), SACCC (Similarity based on Average Clustering Coefficient), CN (common neighbor), JC (Jaccard coefficient), PA (preferential attachment), RA (resource allocation), AA (Adamic–Adar), CCPA (Common Neighbor and Centrality-based Parameterized Algorithm), and KNLP (keyword network link prediction algorithm) similarity scores for non-adjacent node pairs for a graph are shown in Figure 1.
Various MeasuresNode Pair (v,u)(1,2)(2,3)(2,6)(4,7)(4,8)(5,7)
Proposed MeasuresSACD (v,u)112221
SACB (v,u)112211
SACC (v,u)212111
SACCC (v,u)001020
Basic Measures S v , u C N 212222
S v , u J C 0.50.20.50.40.40.2
S v , u A A 20.61.31.81.60.9
S v , u R A 0.70.20.40.60.50.3
S v , u P A 96910108
Recent Measures S v , u C C P A 2.41.52.422.41.5
S v , u K N L P 0.90.40.72.30.51.2
Table 3. Basic properties of datasets.
Table 3. Basic properties of datasets.
Datasets#Nodes#Edges#Max. Degree#Avg. Degree#Diameter#Avg. Clust. Coeff.
bio-celegans45320252378.9470.646
web-polblogs64322801657.09100.232
CA-Grqc524214,496815170.529
Facebook-large22,470171,00270915.22150.359
Table 4. Performance of the proposed measures against existing measures in terms of AUROC for the top k predictions, at various thresholds of k.
Table 4. Performance of the proposed measures against existing measures in terms of AUROC for the top k predictions, at various thresholds of k.
DatasetskSACDSACBSACCSACCCCCPAKNLP
CA-Grqc17500.9090.7460.8750.9190.8590.549
87500.910.7840.8180.9180.8590.344
17,5000.9110.8470.8780.9180.8420.392
26,2500.9070.8280.8950.9230.8510.482
35,0000.9130.7660.8620.9260.8530.444
Facebook-large17500.5320.6060.5330.6220.6260.317
87500.5970.6250.6170.6790.5710.304
17,5000.6250.6230.6380.6830.6070.251
26,2500.6480.6270.6480.6950.590.257
35,0000.6580.6280.6680.6970.5910.392
web-polblogs17500.8560.7180.7430.6790.7210.456
87500.8770.7720.780.7470.7710.384
17,5000.8830.7290.7490.7090.7850.407
26,2500.8930.7390.7620.7130.7880.385
35,0000.8840.7610.8010.70.7710.376
bio-celegans17500.8630.6270.6740.9050.8030.79
87500.920.6360.6720.9130.8220.785
17,5000.8960.6390.7230.90.8030.824
26,2500.90.6970.7340.9210.8160.802
35,0000.8980.6660.7490.9150.8320.788
Table 5. Performance of the proposed measures against existing measures in terms of AUPR for the top k predictions, at various thresholds of k.
Table 5. Performance of the proposed measures against existing measures in terms of AUPR for the top k predictions, at various thresholds of k.
DatasetskSACDSACBSACCSACCCCCPAKNLP
CA-Grqc17500.9080.67560.90190.90020.54030.0002
87500.75070.48430.67830.79150.53680.0002
17,5000.70430.44980.65170.71230.51040.008
26,2500.65690.43270.64870.70740.53410.0023
35,0000.62440.33360.57910.72490.53450.0001
Facebook-large17500.58150.48030.59730.83530.21320.0001
87500.4880.36190.50980.69430.20920.0002
17,5000.4330.2990.44320.60230.21510.0002
26,2500.41150.2850.40810.56030.24310.0001
35,0000.37580.24820.39530.52220.22680.0314
web-polblogs17500.29980.24190.24280.23620.0940.003
87500.18220.18020.19480.21260.06760.0015
17,5000.15680.13380.12730.20090.06870.0024
26,2500.17690.14470.11710.16420.07330.0021
35,0000.14030.15590.14180.14460.09110.0016
bio-celegans17500.22320.14330.25720.4530.07530.0211
87500.17440.11770.14830.38670.0950.0273
17,5000.13960.0910.13450.40030.07550.0356
26,2500.1080.07860.14610.37360.09210.0297
35,0000.08870.08060.12650.45050.0810.0265
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Nandini, Y.V.; Lakshmi, T.J.; Enduri, M.K.; Sharma, H. Link Prediction in Complex Networks Using Average Centrality-Based Similarity Score. Entropy 2024, 26, 433. https://doi.org/10.3390/e26060433

AMA Style

Nandini YV, Lakshmi TJ, Enduri MK, Sharma H. Link Prediction in Complex Networks Using Average Centrality-Based Similarity Score. Entropy. 2024; 26(6):433. https://doi.org/10.3390/e26060433

Chicago/Turabian Style

Nandini, Y. V., T. Jaya Lakshmi, Murali Krishna Enduri, and Hemlata Sharma. 2024. "Link Prediction in Complex Networks Using Average Centrality-Based Similarity Score" Entropy 26, no. 6: 433. https://doi.org/10.3390/e26060433

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