Skip to Content
  • Article
  • Open Access

3 February 2026

AMPS: A Direction-Aware Adaptive Multi-Scale Potential Model for Link Prediction in Complex Networks

,
,
,
and
Department of Laboratory for Big Data and Decision, National University of Defense Technology, Changsha 410073, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.

Abstract

To overcome the limitations of current link prediction methods in effectively leveraging topological information and node importance, this paper introduces a new model called AMPS (Adaptive Multi-scale Potential-enhanced Path Similarity). The model is built on a hierarchical structure that captures both global network topology and local interaction patterns, with full compatibility for directed and undirected networks. This is achieved through a process that quantifies node potential fields, enhances multi-scale similarity, and fuses information across scales. Specifically, we define three types of potential field models, global, local, and k-hop, to flexibly measure node importance. We also introduce two complementary prediction modules: an enhanced common neighbor matrix (PCN), which uses potential fields to refine local structural details, and a feature-weighted generalized path similarity (GLP), which integrates node importance into path evaluation. The final similarity score is obtained by adaptively combining the outputs of PCN and GLP. Experiments on 12 undirected datasets and 9 directed datasets demonstrate that AMPS significantly outperforms other mainstream algorithms in terms of the AUC metric. It also exhibits strong robustness under varying training set ratios, maintaining stable advantages in both directed and undirected scenarios. This framework provides a physically intuitive, topology-aware, and high-precision solution for link prediction across various types of networks.

1. Introduction

Complex systems in the real world—such as social networks, transport networks, and biological networks—are often constituted by numerous interacting elements, whose collective behavior cannot be explained solely through isolated individual characteristics. Abstracting such systems as complex networks composed of nodes (entities) and edges (relationships) provides a unified framework for understanding their structure, function, and evolution. This representation not only accommodates multi-source heterogeneous data but also describes local connections and global organization within the same framework, thereby supporting analysis and decision-making. Networks are inherently dynamic and evolving; the continuous emergence of new nodes and connections leads to the modification or disappearance of existing relationships. Faced with this continuously evolving reality, where observations are often incomplete, link prediction emerges as a critical task. Its objective is to estimate latent missing edges or future potential connections based solely on the currently observable network topology. This task not only compensates for the incompleteness of observed networks but also provides forward-looking insights into system evolution, demonstrating significant value across numerous domains [1]. Examples include merchant prediction tasks based on transaction data for constructing recommendation systems [2], exploring potential new ‘follow’ relationships between users in social networks [3], forecasting natural gas prices [4], research on Information Dissemination in Social Media [5], and mining scientific research trends through keyword networks [6].
Despite the significant value of link prediction, balancing accuracy and efficiency remains a challenge. Existing methods generally fall into three categories similarity-based, likelihood-based, and learning-based approaches. While simple topological metrics are efficient, they often lack accuracy. Conversely, learning-based methods offer high performance but suffer from high computational complexity and limited interpretability. Crucially, most existing methods treat nodes as homogeneous entities or rely on static centrality measures, failing to dynamically capture the “field effects” or potential influence of nodes within the network topology. For instance, a connection formed by a highly influential core node should carry a different structural weight than one formed by a peripheral node.
To address these limitations, incorporating node importance and topological potential theory into link prediction offers a promising direction. Physics-inspired potential field models can intuitively characterize a node’s global and local influence. However, effectively integrating these potential fields with multi-scale path information—spanning from local neighbors to global k-hop structures—remains an open problem, especially when dealing with both directed and undirected networks.
Based on this motivation, this paper proposes a novel link prediction algorithm integrating node importance. The algorithm’s core comprises two complementary modules: a prediction module based on path information and node importance, and a prediction module based on structural similarity and node importance. To accommodate diverse network characteristics, we define three potential field models: a global potential field model based on shortest path distances between nodes, a local potential field model integrating node local structural attributes, and a k-hop potential field model that balances local aggregation and multi-hop propagation requirements by adjusting the range of influence.
The main contributions of this paper are:
(1)
Proposing the use of potential field models as a core tool for quantifying node importance, and defining three specialized potential fields (global, local, k-hop) to accommodate different network characteristics.
(2)
Innovatively designing two link prediction modules, one that deeply integrates path information with node importance, and another that embeds potential field node importance into structural similarity calculations, enabling differentiated weight allocation for neighboring nodes.
(3)
Conducting extensive experiments across multiple real-world network datasets to validate the superiority of the proposed method over various benchmark approaches and analyzing the applicability of different potential field models across diverse network types.
(4)
Enhancing model interpretability by visually demonstrating, through potential fields, how node importance influences prediction outcomes.

3. Proposed Method

Accurate prediction of latent links within complex networks hinges on effectively integrating node importance with multi-scale structural information, rather than relying solely on singular topological metrics. To this end, this paper proposes an Adaptive Multi-scale Potential-enhanced Path Similarity Model (AMPS), employing a hierarchical architecture comprising ‘node potential field quantification—multi-scale similarity enhancement—cross-scale information fusion’. This aims to simultaneously capture both global network topology and local node interaction patterns. The core design of this framework possesses the following key characteristics: (1) it proposes three optional potential field models based on global shortest paths, local structural attributes, and k-hop distance decay, respectively. These are applicable to different network structures, avoiding the bias introduced by a single importance assessment metric. (2) It achieves hierarchical fusion of structural similarity. This combines enhanced common neighbor similarity with feature-weighted path similarity, incorporating adjustable weights to balance the influence of local and global structural information on link prediction. (3) It innovates a potential field–distance coupling mechanism. By integrating node potential field values with topological distance constraints, it enhances the validity of similarity assessments for non-adjacent nodes, proving particularly effective for node pairs exhibiting high potential field values yet sparse direct connections. The algorithm framework flow of AMPS is shown in Figure 1 and a summary of key notations and definitions is shown in Table 1.
Figure 1. The algorithm framework flow of AMPS.
Table 1. Summary of key notations and definitions.
The core modules of the model comprise:
  • Node potential field computation: Quantifying a node’s global and local importance within the network.
  • Enhanced common neighbor matrix: Integrating node potential fields with local neighbor overlap information.
  • Feature-weighted generalized path similarity: Incorporating node potential fields to adjust global path contributions.
  • Composite similarity matrix: Synthesizing local and global similarity metrics to generate final predictions.

3.1. Construction of the Node Potential Field

3.1.1. Theoretical Motivation for Potential Functions

Gaussian Decay: We explain that the Gaussian kernel corresponds to the solution of the heat diffusion equation, representing the most natural form of information diffusion in a network. It is also the maximum entropy distribution for a fixed variance, making it the statistically “safest” assumption for global influence estimation without introducing arbitrary biases.
Inverse Decay: This is motivated by gravity-like or electrostatic-like interactions, which are standard models for describing local aggregation forces in complex systems. While strict mathematical “optimality” is difficult to prove for all graph types (due to the heterogeneity of complex networks), we argue that these physically inspired forms provide a robust baseline that covers both diffusive (global) and aggregative (local) behaviors.

3.1.2. Design of Multi-Scale Node Potential Field Models

Node importance serves as the core driver in link formation, yet traditional metrics such as degree centrality can only characterize local properties. To comprehensively quantify node importance, three complementary potential field models have been designed to capture a node’s influence on the network from global, local, and multi-scale perspectives respectively:
(i).
Global potential field model
This model is based on the shortest path distance between nodes, emphasizing the impact of a node’s reachability across the entire network:
ϕ i g l o b a l = j = 1 n exp ( ( d i j σ ) 2 )
Here, d i j denotes the shortest path distance between nodes i and j , while σ represents the Gaussian kernel width, which governs the rate of distance decay. This model quantifies node i ’s global radiative capacity by summing the decayed distances from all nodes to i .
(ii).
Local potential field model
This model characterizes a node’s capacity for aggregation within local communities by integrating its local structural properties. Nodes exhibiting strong local aggregation are more likely to form new links within the community:
ϕ i l o c a l = μ k i + τ j Γ ( i ) e 1 / η + γ c i
Here, k i denotes the degree of node i ; Γ ( i ) represents the set of i ’s direct neighbors; c i is the clustering coefficient of node i ; μ , τ , and γ are weighting coefficients; and η is the decay parameter for neighbor distance.
(iii).
k-hop potential field model
To balance the requirements of local aggregation and multi-hop propagation, this model avoids the high computational complexity of global models while compensating for the neglect of long-range correlations in local models. It is suitable for analyzing medium-scale network structures:
ϕ i k h o p = k = 0 K ( 1 1 + k δ Γ k ( i ) )
Here, Γ k ( i ) denotes the set of k-hop neighbors for node i , K represents the maximum hop count, and δ signifies the exponential decay coefficient. This model quantifies a node’s multi-scale influence within the k-hop range by comprehensively considering both the number of neighbors at varying hop distances and the distance decay weighting.
Using a 30-node WS small-world network as the subject, we analyzed the quantitative differences in node influence across various potential field models, with results shown in Figure 2. To ensure direct comparability of the three potential fields, a unified color scale was applied, normalized to the range [0, 1]. A value of 1 corresponds to dark colors, while 0 corresponds to light colors, representing a decreasing order of node potential field values from high to low. For the global potential field, nodes with high potential values are concentrated around network hubs, confirming its ability to effectively capture global topological information. For the local potential field, high-potential nodes cluster within highly clustered communities, demonstrating its accuracy in depicting local structural features. For the k-hop potential field, high-potential nodes exhibit both local clustering and multi-hop propagation capabilities, highlighting its advantage in balancing multi-scale topological information. Overall distribution patterns show broadly consistent trends across the three potential field models. However, subtle differences in node-specific potential field rankings persist due to variations in their respective quantitative definitions. The figure simultaneously highlights the three nodes with the highest and lowest potential values under each model. Node 23 emerges as a high-influence core node across all three potential fields. Visual analysis reveals its position at the network’s geometric center, surrounded by numerous neighbors and connected to other nodes via shortest paths. Such high-potential nodes exhibit significantly higher probabilities of initiating new links. Among nodes with the lowest potential field values, Node 19 is consistently identified as the node with the lowest potential field across all three fields. Topologically, this node connects to only two neighbors and resides at the network periphery, making it significantly less likely to generate new links.
Figure 2. Quantitative distribution of node influence in three potential field models.
To unify dimensions, all potential field values undergo normalization processing:
ϕ i = ϕ i min ( ϕ ) max ( ϕ ) min ( ϕ )
Considering the definition of three potential fields for directed networks, it is necessary to incorporate directional factors. Therefore, the core modification lies in decomposing symmetric relationships in undirected graphs into asymmetric predecessor–successor relationships. The design approach includes direction-aware potential field computation, direction-specific neighbor definition, and path direction constraints. The three potential field models are defined as follows:
i.
Global potential field model
ϕ i g l o b a l = j = 1 n exp ( ( d i j d i r σ ) 2 )
Here, d i j d i r denotes the direction-specific shortest path distance from node i to node j . For out-edge prediction tasks, d i j d i r = d i j o u t represents the forward distance; for in-edge prediction tasks, d i j d i r = d i j i n represents the backward distance.
ii.
Local potential field model
ϕ i l o c a l = μ k i i n + k i o u t 2 + τ j Γ d i r ( i ) e 1 / η + γ c i d i r
where k i i n and k i o u t denote the in-degree and out-degree of a node, respectively, and Γ d i r ( i ) represents the direction-specific neighborhood set. c i d i r is the directed clustering coefficient.
iii.
k-hop potential field model
Based on direction-specific k-hop neighbor counting, considering distance decay effects:
ϕ i k h o p = k = 0 K ( 1 1 + k δ Γ k d i r ( i ) )
Here, Γ k d i r ( i ) denotes the set of k-hop neighbors in a specific direction.
Figure 3 illustrates the node potential distributions of three different potential field models in the same directed network: the local potential field does not require direction distinction as it fuses the bidirectional (in-edge and out-edge) information of nodes; there are certain differences in the node potential distributions of the three models, and the distribution trends of the global potential field and k-hop potential field are relatively close. Figure 4 further focuses on the potential distribution differences between the global potential field and k-hop potential field in the “out-edge” and “in-edge” directions: for the same potential field, the potential values of the same node in the out-edge and in-edge directions are significantly distinct, while the overall distribution patterns of the global potential field and k-hop potential field in the same direction are roughly similar. In the experiment, only links actively initiated by the predicted node are considered ( d i j d i r = d i j o u t ).
Figure 3. Distribution comparison of global, local, and k-hop potential fields in directed networks.
Figure 4. Out/In-direction differences of potential fields in directed networks.

3.2. Augmented Co-Matrix

The traditional common neighbor (CN) metric merely counts the ‘number of overlapping neighbors’ without distinguishing the varying importance of different neighbors (e.g., core neighbors contribute more significantly to link formation). Therefore, it is necessary to combine node potential fields to adjust the ‘effective contribution’ of neighbors.
P C N ( i , j ) = min ( ϕ i , ϕ j ) u Γ ( i ) Γ ( j ) ϕ u
Here, u Γ ( i ) Γ ( j ) ϕ u represents the weighted sum of potential fields from common neighbors, amplifying the contribution of important neighbors to similarity, min ( ϕ i , ϕ j ) denotes the minimum potential field constraint for nodes i and j . We employ the minimum operator instead of a product or sum to model the limiting factor constraint in link formation. The likelihood of a connection is often constrained by the node with a lower potential or activity level. Specifically, we have the following:
Compatibility Constraint: A connection requires varying degrees of reciprocity. Even if a high-potential hub initiates a link, a low-potential node may lack the capacity to sustain it. The min function ensures that the baseline similarity is determined by the structural bottleneck of the pair.
Bias Mitigation: Unlike the product operation ( ϕ i , ϕ j ) , which excessively amplifies scores between two high-degree nodes (potentially leading to the “Rich-Club” bias and false positives), the operator provides a more conservative and robust estimation, preventing the dominance of node importance over topological evidence. This model preserves local structural information while incorporating global node importance, thereby enhancing the rationality of similarity assessment.
Direction-specific enhanced common neighbor matrices require redefinition: common neighbors are defined as the intersection of node i ’s outgoing edge neighbors and node j ’s incoming edge neighbors:
P C N ( i , j ) = min ( ϕ i , ϕ j ) u Γ o u t ( i ) Γ i n ( j ) ϕ u

3.3. Feature-Weighted Generalized LP Similarity

Traditional path similarity (LP) assesses node similarity by counting the number of second- and third-order paths between nodes, employing exponential decay weighting. However, this approach overlooks the heterogeneity of nodes within paths. To address this, this study proposes a feature-weighted generalized LP similarity algorithm. Building upon the original path-weighting scheme, it introduces a node-level weighting mechanism. This ensures that path contribution is modulated simultaneously by both path length and the characteristics of relay nodes.
(i).
Fundamental concept
The strength of a path is determined not only by its length but also by the product of the weights of all relay nodes along the path. Consequently, paths involving core nodes exert a greater influence on similarity, thereby more accurately capturing the latent associations between node pairs within the global topology.
(ii).
Mathematical model
Consider an undirected, unweighted graph G = ( V , E ) , where V denotes the set of vertices and E denotes the set of edges. The adjacency matrix of the graph is defined as A , where A i j = 1 indicates a connection exists between vertices i and j ; it is 0 otherwise. The traditional LP similarity matrix is defined as
S = A 2 + α A 3
where α > 0 denotes the adjustable parameter for the control path weight.
To incorporate node importance, a diagonal matrix W = d i a g ( w ) of node weights is introduced, where w i represents the weight of node i , defined by potential fields or other centrality metrics. By recursively defining the weighted strength matrix of paths, joint modulation of path length and node importance is achieved:
First-order path (direct connection): No relay nodes; the weighted strength matrix is the adjacency matrix itself:
P ( 1 ) = A
Second-order path ( i w j ): The weight w w of relay node w modulates the path strength, with the total weighted strength being the sum of contributions from all relay nodes:
P ( 2 ) = A W A
Generally, the weighted intensity matrix for an l -order path may be recursively defined as
P ( l ) = P ( l 1 ) W A = A ( W A ) l 1
Ultimately, the feature-weighted generalized LP similarity represents a linear combination of the weighted strengths for paths of each order (truncated to a finite length of 3 during actual computation):
S G L P = l = 1 L β l P ( l ) = l = 1 L β l A ( W A ) l 1
(iii).
Weighting function design
The weight vector w constitutes the model’s core innovation and requires flexible design according to varying task requirements. This paper proposes the following alternative approaches:
  • Inverse Degree Weighting: Suitable for suppressing the excessive influence of nodes with high degrees:
    w i i n v _ deg = 1 k i
  • Logarithmic Inverse Degree Weighting: Further smoothing of degree variations, with enhanced robustness:
    w i i n v _ log _ deg = 1 log ( k i + 1 )
  • Potential Field Weighting: Directly reusing node potential field quantification results in strongly correlating path contributions with node importance:
    w i P C N = ϕ i

3.4. Combination Similarity Matrix

The enhanced common neighbor (PCN) focuses on ‘local neighbor overlap’, while the feature-weighted LP concentrates on ‘semi-local multi-length paths’, with both approaches providing complementary information. Through a weighted combination, a balance is achieved between local accuracy and global generalization, thereby enhancing the robustness of link prediction.
S f i n a l = ω S P C N + ( 1 ω ) S G L P
The weights and ω can be optimized using the validation set.
The pseudo-code of the algorithm is presented in Algorithm 1.
Algorithm 1 Computation Framework of AMPS
Input: Adjacency matrix A , Potential parameters   ( σ , η , μ , τ , γ , δ , K ) , Fusion weight ω ,
   GLP parameters   ( L , β ) .
Output:  Final   Similarity   Matrix   S f i n a l
1. // Step 1: Calculate Node Potential Field  ϕ
2. if model == ‘global’ then
3.   Compute distance matrix D
4.    ϕ i j i exp ( ( d i j / σ ) 2 )   for   all   i V
5. else if model == ‘local’ then
6.    ϕ i μ k i + τ j Γ ( i ) e 1 / η + γ c i for all i V
7. else if model == ‘k-hop’ then
8.    ϕ i k = 0 K | Γ k ( i ) | ( 1 + k δ ) 1   for   all   i V
9. end if
10. Normalize ϕ to range [0, 1] via Equation (15)
11. // Step 2: Compute Enhanced Common Neighbor (PCN)
12. for   each   pair   ( i , j ) V × V  do
13.    Identify   common   neighbors :   U i j = Γ ( i ) Γ ( j )  
14.    S u m ϕ u U i j ϕ u  
15.    S i j P C N min ( ϕ i , ϕ j ) S u m ϕ
16. end for
17. // Step 3: Compute Feature-weighted Generalized LP (GLP)
18. Construct   weight   matrix   W diag ( weighting _ scheme ( ϕ , A ) ) ;  
19. Initialize   S G L P 0 ,   P ( l ) A ;
20. for   l = 2 to L  do
21.     P ( l ) P ( l 1 ) W A ;
22.     S G L P S G L P + β l 1 P ( l ) ;
23. end for
24. Normalize   S G L P to range [0, 1];
25. // Step 4: Adaptive Fusion
26. S f i n a l ω S P C N + ( 1 ω ) S G L P
27. return   S f i n a l

3.5. Time Complexity Analysis

The computational complexity of the proposed AMPS method is analyzed as follows. Let N and M denote the number of nodes and edges, respectively, and k denote the average degree of the network. The node potential field computation depends on the chosen model:
  • Global potential model: Theoretically, it requires O ( N 3 ) time using the Floyd–Warshall algorithm. However, for sparse graphs, we employ N independent runs of Breadth-First Search (BFS), reducing the complexity to O ( N ( N + M ) )
  • Local potential model: This involves iterating over neighbors to calculate clustering coefficients. For a node i with degree k i , this costs O ( k i 2 ) . Summing over all nodes, the total complexity is O ( N < k > 2 )
  • k-hop potential model: This utilizes a BFS truncated at depth K . In the worst case for sparse graphs, the search space grows exponentially with the branching factor, approximately O ( N k K ) . Since K is typically small (e.g., K = 2   or   3 ), this remains efficient.
The prediction modules invoke the following costs:
  • Enhanced common neighbor (PCN): This involves computing weighted neighbor overlaps, which is computationally equivalent to sparse matrix multiplication, taking O ( N < k > 2 ) time.
  • Feature-weighted generalized path similarity (GLP): This requires iterative sparse matrix multiplications up to path length L . Assuming the matrices remain relatively sparse during early iterations, the complexity is approximately O ( L N < k > 2 ) .
  • Fusion: The final adaptive combination is a linear operation on the similarity matrices, taking O ( N 2 ) .
Considering the dominant terms, the overall time complexity of AMPS is generally dominated by the matrix multiplication components, approximating O ( L N < k > 2 ) for sparse graphs, which ensures scalability for medium-to-large-scale networks.

4. Experiments and Discussion

In this section, we present the evaluation results of the proposed method on real-world datasets and compare it with the prediction algorithm from Section 2. Concurrently, the paper conducts performance comparisons between different potential field models and experiments on optimizing weighting parameters based on composite similarity matrices.

4.1. Datasets

For evaluating the effectiveness of the proposed method in link prediction tasks, this study selected nine real networks with distinct topological characteristics as the experimental datasets. Key topological properties of the experimental datasets are tabulated in Table 2.
Table 2. The topological properties of datasets.
(i)
Undirected networks
(1)
KA (Karate) [40]: A network about the social connections of a karate club’s members.
(2)
Polbooks [41]: A network of US politics-related books compiled by V. Krebs (Valdis Krebs).
(3)
JZ (Jazz) [42]: A network of connections among jazz musicians.
(4)
USAir [8]: A network of the US air transportation system, where nodes typically represent US airports and edges represent air routes between them.
(5)
Infect [43]: A human contact network where nodes stand for humans and edges between nodes represent physical-world proximity.
(6)
CE (C. elegans) [44]: A metabolic network of Caenorhabditis elegans, represented by a list of edges that denote connections in the organism’s metabolic processes.
(7)
Food [45]: A network of 620 official blue-tick food-related Facebook pages with links representing their associations.
(8)
Email [46]: A network of email communication at the University Rovira i Virgili (Tarragona, southern Catalonia, Spain), where nodes represent individual users and edges indicate that at least one email was sent.
(9)
PB [47]: A network that captures hyperlink connections between US politics-themed weblogs.
(10)
PPI [48]: A network where nodes represent proteins and edges represent the interaction relationships between different proteins.
(11)
Wiki [49]: A network of Wiki links within Wikipedia, where nodes represent individual articles, and each directed edge denotes a single Wiki link.
(12)
Openflights [50]: A network of routes between airports worldwide.
(ii)
Directed networks
(1)
Chess [51]: A network for chess games. Nodes represent chess players, and directed edges represent game interactions; an outgoing edge corresponds to the player using the white pieces, while an ingoing edge corresponds to the player using the black pieces.
(2)
Highschool [52]: A directed network describing the friendship relationships among male students at a high school in Illinois, USA.
(3)
Kohonen [53]: A citation network for papers on self-organizing maps or Kohonen T.
(4)
Physicians [54]: A directed network describing the spread of innovative ideas among 246 physicians across four towns.
(5)
Residence [41]: A friendship network comprising 217 residents of the Australian National University dormitory area.
(6)
FWFD (Food Web of Florida Bay in fry season) [55]: A dry-season food web in a south Florida cypress wetland.
(7)
Wiki-Vote [56]: A social network based on election participation on Wikipedia. Users are treated as nodes, and voting behavior corresponds to directed edges.
(8)
Polblogs [47]: The hyperlink network among US political blogs.
(9)
Adolescent [57]: A friendship network among students, constructed based on a survey conducted from 1994 to 1995.

4.2. Evaluation Metric

To verify the effectiveness of the proposed algorithm, a standard link prediction evaluation framework was adopted for the experiment. The real edge set E of the original network is divided into a training set E t r and a test set E t e , which satisfies the properties of mutual exclusivity ( E t r E t e = ) and completeness ( E t r E t e = E ). Among them, E t r is used for algorithm training, and E t e is used for performance verification. The set of edges that actually do not exist in the network is defined as E n = U E (U is the maximum possible number of edges in the network).
The algorithm calculates the similarity scores of all node pairs on the training set E t r . The performance evaluation is realized by comparing the score distributions of the real missing edges E t e and the real non-existent edges E n in the test set. Two key metrics are used for quantification: the AUC (Area Under the Receiver Operating Characteristic Curve) index and the ROC (Receiver Operating Characteristic) curve itself. AUC describes the probability that “a randomly selected missing edge has a higher predicted score than a randomly selected non-existent edge”.
The specific calculation process is as follows: conduct n independent comparisons, randomly select an edge e t e from E t e and an edge e n from E n each time, and compare their scores. Two results are counted: n 1 is the number of times that the score of e t e is higher than that of e n , and n 2 is the number of times that the score of e n is higher than that of e t e . The AUC is calculated according to the following formula [58]:
A U C = n 1 + 0.5 × n 2 n
When AUC = 0.5, the algorithm’s predictive performance is indistinguishable from random guessing, indicating it cannot differentiate between positive and negative samples. When AUC approaches 1, the algorithm consistently ranks positive samples above negative ones, achieving optimal predictive performance. In link prediction experiments, a higher AUC value signifies the algorithm’s enhanced ability to capture potential connection relationships between nodes.

4.3. Experimental Results

As previously mentioned, to validate the experimental effectiveness of the proposed method, a standardized link prediction experimental framework was employed to conduct a unified evaluation of the proposed AMPS algorithm against seven comparison algorithms (CN, PA, LP, ACT, NSim, SAC, and GSIM). The true edge set E of each network was divided into training sets E t r and E t c through independent random partitioning, with the training set accounting for 90% and the test set for 10%. Additionally, a set of non-existent edges E n = U E was defined as negative samples for performance evaluation. To mitigate random partitioning bias, the experiment was independently repeated 50 times, with the final evaluation metric being the average AUC value across all 50 runs.
Key parameters for each algorithm employ domain-standard or optimized configurations: for comparison algorithms, path weight α in LP was set to 0.1; weights γ and δ in NSim were both set to 0.4; SAC used degree centrality as its core parameter; and weights α and β in GSIM were set to 1.8 and 0.2 respectively. The proposed AMPS algorithm selected the optimal ‘GFP + inv_log_deg’ configuration, where the global potential field model parameter was σ = 1.0 ; the local potential field model parameters were μ = 0.5 , τ = 0.2 , γ = 0.3 , and η = 1.0 ; the maximum hop count was K = 3 for the k-hop potential field model; the distance decay coefficient was δ = 1.0 ; the maximum path order was set to 3; and a fusion weight ratio of 1:9 was set between PCN and GLP. Table 3 displays the average AUC values after 50 experiments for different methods. The results demonstrate that the proposed AMPS model consistently achieves the highest AUC values on all 12 datasets, outperforming all other benchmark methods.
Table 3. Comparison of AUC values among original link prediction algorithms.
To visually demonstrate the performance differences between the proposed AMPS algorithm and various comparison algorithms in link prediction tasks across different network datasets, we plotted ROC curves, as shown in Figure 5. It can be observed that the AMPS algorithm achieves optimal ROC curves across all 12 datasets, validating its universality across diverse network topologies and scales.
Figure 5. Comparison of ROC curves of various link prediction algorithms on different network datasets.
Due to the simple topology and limited data volume of the Karate dataset, it is difficult to distinguish fine-grained performance differences among different algorithm configurations. Therefore, we present only the AUC values across 11 real-world network datasets for the nine combinations of three potential field models (GPF, LPF, and kPF) and three weighting schemes (inv_deg, inv_log_deg, and PF_w) within the AMPS algorithm. The results are presented in Table 4. For PF_w, we chose ‘global’ as the parameter because, by comparison, the results using ‘global’ as the parameter are better than those of the other two. This quantifies the impact of different configurations on link prediction accuracy. Results indicate that the GPF + inv_log_deg combination achieves optimal performance, reaching the highest AUC of 0.991 on the Openflights dataset. In contrast, PF_w-based combinations (e.g., GPF + PF_w and LPF + PF_w) exhibit lower AUC values across most datasets, confirming that inverse logarithmic degree weighting better adapts to node importance.
Table 4. Performance comparison of AMPS model configurations.
To verify the effectiveness of the proposed algorithm in directed networks, this study first compared the performance of three potential field models. Experimental results show that their performance is generally comparable across different datasets. Therefore, the global potential field model was selected as the basic framework for subsequent comparative experiments, and the specific results are presented in Table 5. It can be observed that the proposed algorithm ranks first in terms of AUC values on seven out of nine datasets. On the ‘Residence’ dataset, AMPS achieves a performance nearly identical to the best baseline (0.852 vs. 0.853). Regarding the ‘Kohonen’ dataset, we acknowledge a noticeable performance gap compared to the motif-based Bifan algorithm (0.725 vs. 0.890), although AMPS still outperforms standard local metrics like DCN and DAA. This suggests that specific directed motifs may play a dominant role in citation networks like Kohonen, which are partially distinct from the potential field properties captured by AMPS. These results fully demonstrate the superiority of the proposed algorithm in directed network link prediction tasks.
Table 5. Comparison of AUC performance of different link prediction algorithms on directed network datasets.

4.4. Parameter Sensitivity and Robustness Analysis

To determine the optimal weight allocation for the composite similarity matrix, we conducted an extensive grid search on the weight parameter ω (controlling the contribution of the PCN module) across all real-world datasets. The experimental results are shown in Figure 6. The parameter ω was systematically adjusted from 0.1 to 0.9 at intervals of 0.1, covering all feasible weight allocation ratios between the two modules. Experimental results demonstrate that when ω = 1 , the model achieves superior performance across diverse network topologies, with several notable advantages. Taking the 8:2 ratio for the training set to test set as an example, we have the following: in the validation of weight allocation for the AMPS method, the 1:9 PCN-GLP ratio proves to be the optimal configuration, achieving peak AUC performance across multiple critical datasets, including Jazz (0.967), USAir (0.939), CE (0.943), and Food (0.904). Particularly on the CE dataset, the 1:9 ratio delivers an AUC of 0.943, achieving a significant 2.0% improvement over the PCN-only configuration (0.925), highlighting its performance advantage. Even in certain datasets like the PPI network, where the 8:2 ratio reaches an identical peak AUC of 0.939, the 1:9 ratio maintains this excellent level, demonstrating stable performance retention. This optimal weight allocation validates our core design concept: the GLP module captures the network’s global structural backbone, making it the primary determinant of link prediction accuracy (contributing approximately 90% of the predictive power). Meanwhile, the PCN module acts as a fine-tuning mechanism that appropriately refines local structural information with a 10% weighting. This specific ratio prevents the noise and bias associated with over-reliance on common neighbors, achieving an ideal balance of global pattern dominance and local information refinement.
Figure 6. AUC performance comparison of PCN and GLP weight allocation across different datasets.
To evaluate the robustness and stability of algorithms under varying training set sizes, we designed experiments examining the relationship between training set proportion and algorithm performance. As shown in Figure 7, the experiments investigated the variation patterns of AUC performance (averaged over 50 trials) for each algorithm as the training set proportion changed within the range [0.5, 0.9].
Figure 7. Comparison of the AUC robustness of various link prediction algorithms under different training set ratios.
Quantitative analysis at the optimal fusion ratio ( ω = 0.1 ) reveals that the AMPS algorithm exhibits significant robustness advantages. Regardless of the training set proportion, its AUC values consistently outperform all comparison algorithms. Specifically, we see the following:
On the USAir dataset, AMPS maintains a high baseline of 0.9205 even with only 50% training data. As data availability increases to 90%, the performance steadily climbs to 0.9455, demonstrating a clear data-driven gain.
On the CE dataset, the improvement is even more pronounced, surging from 0.8667 (50% training) to 0.9450 (90% training), verifying the model’s capacity to learn from denser structures.
On the JZ dataset, the model achieves a remarkable AUC of 0.9661 at the 90% training scale, up from 0.9425 at the 50% level.
While the Karate dataset shows some variability due to its smaller scale, on all other datasets, AMPS’s performance exhibits a sustained and stable upward trend as the training set proportion increases. This phenomenon strongly validates the design advantages of the AMPS model and its PCN-GLP fusion mechanism; it effectively captures key topological features via local potentials when training samples are limited (solving the cold-start problem in sparse networks) while refining the exploration of global associations when training data is abundant. This ensures the model maintains outstanding and stable performance across various training scales.

5. Conclusions

Link prediction is one of the most important and challenging tasks in complex network analysis. The goal of a link prediction algorithm is to estimate the likelihood of the existence of missing or future links based on the currently observed network topology. In this paper, we have designed a novel link prediction method, named AMPS, that significantly improves the prediction accuracy compared to existing state-of-the-art methods. The proposed method is based on a multi-scale similarity framework that incorporates the global and local importance of nodes, quantified by potential field models, into both neighborhood overlap and path-based similarity indices. Unlike traditional methods that rely on singular topological features, our approach adaptively fuses the structural diversity of a node’s neighborhood with the topological cohesion between nodes. The extensive experiments presented in this paper on 21 real-world network datasets demonstrate that the proposed method achieves a higher accuracy, measured by AUC, compared to other popular benchmark methods, and exhibits strong robustness across different training set ratios. There are several directions in which the work reported here can be extended. From a theoretical perspective, it would be interesting to explore other node centrality measures and fusion strategies to further enhance prediction performance. From an application perspective, it would be interesting to explore the applications of the proposed link prediction method in other domains such as personalized recommendation and biological interaction inference.

Author Contributions

Conceptualization, X.Q.; methodology, X.Q.; software, X.Q.; validation, M.Z. and J.T.; formal analysis, X.Q.; investigation, X.Q.; resources, X.Q. and M.Z.; data curation, S.L.; writing—original draft preparation, X.Q. and S.L.; writing—review and editing, J.T. and Y.R.; visualization, X.Q.; supervision, M.Z.; project administration, Y.R.; funding acquisition, Y.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant numbers 72101265 and 72401286.

Data Availability Statement

All data analyzed during this study are included in this published article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tu, H.; Wang, Y.; Zhang, Y.; Wang, X.; Liu, W. A Spectrally Discretized Wide-Angle Parabolic Equation Model for Simulating Acoustic Propagation in Laterally Inhomogeneous Oceans. J. Acoust. Soc. Am. 2023, 153, 3334. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Yilmaz, E.A.; Balcisoy, S.; Bozkaya, B. A Link Prediction-Based Recommendation System Using Transactional Data. Sci. Rep. 2023, 13, 6905. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Dileo, M.; Zignani, M.; Gaito, S. Temporal Graph Learning for Dynamic Link Prediction with Text in Online Social Networks. Mach. Learn. 2024, 113, 2207–2226. [Google Scholar] [CrossRef] [Scilit]
  4. Liu, J.; Qiu, B.; Du, P.; Zhao, X.; Zhu, J. A Novel Probabilistic Connectivity Network Link Prediction Model for Natural Gas Price Based on an Improved K-Shell Algorithm. Phys. A Stat. Mech. Its Appl. 2025, 671, 130672. [Google Scholar] [CrossRef] [Scilit]
  5. Zhou, F.; Lü, L.; Liu, J.; Mariani, M.S. Beyond network centrality: Individual-level behavioral traits for predicting information superspreaders in social media. Natl. Sci. Rev. 2024, 11, nwae073. [Google Scholar] [CrossRef] [Scilit]
  6. Behrouzi, S.; Shafaeipour Sarmoor, Z.; Hajsadeghi, K.; Kavousi, K. Predicting Scientific Research Trends Based on Link Prediction in Keyword Networks. J. Informetr. 2020, 14, 101079. [Google Scholar] [CrossRef] [Scilit]
  7. Tu, H.; Wang, Y.; Zhou, X.; Xu, G.; Gao, D.; Ma, S. Application of a Spectral Scheme for Simulating Slowly Horizontally Varying Three-Dimensional Ocean Acoustic Propagation. Ocean. Eng. 2026, 343, 123035. [Google Scholar] [CrossRef] [Scilit]
  8. Newman, M.E.J. Clustering and Preferential Attachment in Growing Networks. Phys. Rev. E 2001, 64, 025102. [Google Scholar] [CrossRef] [Scilit]
  9. Adamic, L.A.; Adar, E. Friends and Neighbors on the Web. Soc. Netw. 2003, 25, 211–230. [Google Scholar] [CrossRef] [Scilit]
  10. Barabasi, A.-L.; Albert, R. Emergence of Scaling in Random Networks. Science 1999, 286, 509–512. [Google Scholar] [CrossRef] [Scilit]
  11. Zhou, T.; Lü, L.; Zhang, Y.-C. Predicting Missing Links via Local Information. Eur. Phys. J. B 2009, 71, 623–630. [Google Scholar] [CrossRef] [Scilit]
  12. Katz, L. A New Status Index Derived from Sociometric Analysis. Psychometrika 1953, 18, 39–43. [Google Scholar] [CrossRef] [Scilit]
  13. Klein, D.J.; Randi, M. Resistance Distance. J. Math. Chem. 1993, 12, 81–95. [Google Scholar] [CrossRef] [Scilit]
  14. Mishra, S.; Singh, S.S.; Kumar, A.; Biswas, B. MNERLP-MUL: Merged Node and Edge Relevance Based Link Prediction in Multiplex Networks. J. Comput. Sci. 2022, 60, 101606. [Google Scholar] [CrossRef] [Scilit]
  15. Rai, A.K.; Tripathi, S.P.; Yadav, R.K. A Novel Similarity-Based Parameterized Method for Link Prediction. Chaos Solitons Fractals 2023, 175, 114046. [Google Scholar] [CrossRef] [Scilit]
  16. Kong, Z.; Zhai, S.; Wang, L.; Guo, G. A General Link Prediction Method Based on Path Node Information and Source Node Information. Inf. Sci. 2025, 709, 122051. [Google Scholar] [CrossRef] [Scilit]
  17. Yao, Y.; Ti, Z.; Xu, Z.; He, Y.; Liu, Z.; Liu, W.; He, X.; Nian, F.; Tang, J. CICN: Higher-Order Link Prediction with Clustering Mutual Information of Common Neighbors. J. Comput. Sci. 2025, 85, 102513. [Google Scholar] [CrossRef] [Scilit]
  18. Yang, R.; Liu, B.; Lü, L. Simplicial Motif Predictor Method for Higher-Order Link Prediction. Expert Syst. Appl. 2025, 269, 126284. [Google Scholar] [CrossRef] [Scilit]
  19. Liu, Z.; Yao, Y.; Xu, Z. Rb-Based: Link Prediction Based on the Resource Broadcast of Nodes for Complex Networks. Evol. Intel. 2024, 17, 3793–3813. [Google Scholar] [CrossRef] [Scilit]
  20. Clauset, A.; Moore, C.; Newman, M.E.J. Hierarchical Structure and the Prediction of Missing Links in Networks. Nature 2008, 453, 98–101. [Google Scholar] [CrossRef] [Scilit]
  21. Anderson, C.J.; Wasserman, S.; Faust, K. Building Stochastic Blockmodels. Soc. Netw. 1992, 14, 137–161. [Google Scholar] [CrossRef] [Scilit]
  22. Pan, L.; Zhou, T.; Lü, L.; Hu, C.-K. Predicting Missing Links and Identifying Spurious Links via Likelihood Analysis. Sci. Rep. 2016, 6, 22955. [Google Scholar] [CrossRef] [Scilit]
  23. Perozzi, B.; Al-Rfou, R.; Skiena, S. DeepWalk: Online Learning of Social Representations. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA, 24–27 August 2014; pp. 701–710. [Google Scholar]
  24. Grover, A.; Leskovec, J. Node2vec: Scalable Feature Learning for Networks. Knowl. Discov. Databases 2016, 2016, 855–864. [Google Scholar] [CrossRef] [Scilit]
  25. Zhang, M.; Chen, Y. Link Prediction Based on Graph Neural Networks. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 3–8 December 2018; Curran Associates, Inc.: Nice, France, 2018; Volume 31. [Google Scholar]
  26. Karami, R.; Vahidipour, S.M.; Rezvanian, A. SEAL+: A Subgraph-Enhanced Framework for Link Prediction with Graph Neural Networks. J. Ind. Inf. Integr. 2025, 44, 100802. [Google Scholar] [CrossRef] [Scilit]
  27. Ruan, Y.; Liu, S.; Tang, J.; Guo, Y.; Yu, T. GLC: A Dual-Perspective Approach for Identifying Influential Nodes in Complex Networks. Expert Syst. Appl. 2025, 268, 126292. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, M.; Lou, X.; Cui, B. A Degree-Related and Link Clustering Coefficient Approach for Link Prediction in Complex Networks. Eur. Phys. J. B 2021, 94, 33. [Google Scholar] [CrossRef] [Scilit]
  29. Liu, Y.; Liu, S.; Yu, F.; Yang, X. Link Prediction Algorithm Based on the Initial Information Contribution of Nodes. Inf. Sci. 2022, 608, 1591–1616. [Google Scholar] [CrossRef] [Scilit]
  30. Aziz, F.; Gul, H.; Muhammad, I.; Uddin, I. Link Prediction Using Node Information on Local Paths. Phys. A Stat. Mech. Its Appl. 2020, 557, 124980. [Google Scholar] [CrossRef] [Scilit]
  31. Wu, Z.; Lin, Y.; Wang, J.; Gregory, S. Link Prediction with Node Clustering Coefficient. Phys. A Stat. Mech. Its Appl. 2016, 452, 1–8. [Google Scholar] [CrossRef] [Scilit]
  32. Hu, J.; Han, Y.; Hu, J. Topological Potential: Modeling Node Importance with Activity and Local Effect in Complex Networks. In Proceedings of the 2010 Second International Conference on Computer Modeling and Simulation, Cambridge, UK, 15–16 May 2010; Volume 2, pp. 411–415. [Google Scholar]
  33. Du, Z.; Tang, J.; Qi, Y.; Wang, Y.; Han, C.; Yang, Y. Identifying Critical Nodes in Metro Network Considering Topological Potential: A Case Study in Shenzhen City—China. Phys. A Stat. Mech. Its Appl. 2020, 539, 122926. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, X.; Wang, Z.; Liu, G.; Wang, Y. Key Node Identification in Social Networks Based on Topological Potential Model. Comput. Commun. 2024, 213, 158–168. [Google Scholar] [CrossRef] [Scilit]
  35. Feng, J.; Chen, Y.; Li, F.; Sarkar, A.; Zhang, M. How Powerful Are K-Hop Message Passing Graph Neural Networks. arXiv 2023, arXiv:2205.13328. [Google Scholar] [CrossRef] [Scilit]
  36. Li, T.; Zhang, R.; Niu, B.; Yao, Y.; Ma, J.; Jiang, J.; Zhao, Z. Link Prediction Based on Local Structure and Node Information Along Local Paths. Comput. J. 2024, 67, 45–56. [Google Scholar] [CrossRef]
  37. Zhang, X.; Zhao, C.; Wang, X.; Yi, D. Identifying Missing and Spurious Interactions in Directed Networks. Int. J. Distrib. Sens. Netw. 2015, 11, 507386. [Google Scholar] [CrossRef] [Scilit]
  38. Zhang, Q.-M.; Lü, L.; Wang, W.-Q.; Yu, X.; Zhou, T. Potential Theory for Directed Networks. PLoS ONE 2013, 8, e55437. [Google Scholar] [CrossRef] [Scilit]
  39. 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. [Google Scholar] [CrossRef] [Scilit]
  40. Zachary, W.W. An Information Flow Model for Conflict and Fission in Small Groups. J. Anthropol. Res. 1977, 33, 452–473. [Google Scholar] [CrossRef] [Scilit]
  41. Kunegis, J. KONECT: The Koblenz Network Collection. In Proceedings of the 22nd International Conference on World Wide Web, Rio de Janeiro, Brazil, 13–17 May 2013; ACM: Rio de Janeiro, Brazil, 2013; pp. 1343–1350. [Google Scholar]
  42. Gleiser, P.; Danon, L. Community Structure in Jazz. Advs. Complex Syst. 2003, 6, 565–573. [Google Scholar] [CrossRef] [Scilit]
  43. Isella, L.; Stehlé, J.; Barrat, A.; Cattuto, C.; Pinton, J.-F.; Van den Broeck, W. What’s in a Crowd? Analysis of Face-to-Face Behavioral Networks. J. Theor. Biol. 2011, 271, 166–180. [Google Scholar] [CrossRef] [Scilit]
  44. Duch, J.; Arenas, A. Community Detection in Complex Networks Using Extremal Optimization. Phys. Rev. E 2005, 72, 027104. [Google Scholar] [CrossRef] [Scilit]
  45. Rossi, R.; Ahmed, N. The Network Data Repository with Interactive Graph Analytics and Visualization. AAAI 2015, 29, 9277. [Google Scholar] [CrossRef] [Scilit]
  46. Guimera, R.; Danon, L.; Diaz-Guilera, A.; Giralt, F.; Arenas, A. Self-Similar Community Structure in Organisations. Phys. Rev. E 2003, 68, 065103. [Google Scholar] [CrossRef] [Scilit]
  47. Adamic, L.; Labs, H.; Glance, N.; Blvd, B. The Political Blogosphere and the 2004 U.S. Election: Divided They Blog. In Proceedings of the 3rd International Workshop on Link Discovery, Chicago, IL, USA, 21–25 August 2005. [Google Scholar]
  48. Bu, D. Topological Structure Analysis of the Protein-Protein Interaction Network in Budding Yeast. Nucleic Acids Res. 2003, 31, 2443–2450. [Google Scholar] [CrossRef] [Scilit]
  49. Qiao, H. Fengduqianhe/GraphEmbedding-Master 2025. Available online: https://github.com/fengduqianhe/GraphEmbedding-master (accessed on 18 October 2025).
  50. Openflights|Infrastructure Networks|Network Data Repository. Available online: https://networkrepository.com/inf-openflights.php (accessed on 18 October 2025).
  51. Chess. Available online: http://www.konect.cc/networks/chess/ (accessed on 18 October 2025).
  52. Introduction to Mathematical Sociology|Princeton University Press. Available online: https://press.princeton.edu/books/hardcover/9780691145495/introduction-to-mathematical-sociology (accessed on 19 November 2025).
  53. Batagelj, V.; Mrvar, A. Pajek—Analysis and Visualization of Large Networks. In Proceedings of the International Symposium on Graph Drawing, New York, NY, USA, 29 September–2 October 2004. [Google Scholar]
  54. Coleman, J.; Katz, E.; Menzel, H. The Diffusion of an Innovation Among Physicians. Sociometry 1957, 20, 253. [Google Scholar] [CrossRef] [Scilit]
  55. Michalski, R.; Palus, S.; Kazienko, P. Matching Organizational Structure and Social Network Extracted from Email Communication. In Business Information Systems; Abramowicz, W., Ed.; Lecture Notes in Business Information Processing; Springer: Berlin/Heidelberg, Germany, 2011; Volume 87, pp. 197–206. ISBN 978-3-642-21829-3. [Google Scholar]
  56. Leskovec, J.; Huttenlocher, D.; Kleinberg, J. Predicting Positive and Negative Links in Online Social Networks. arXiv 2010, arXiv:1003.2429. [Google Scholar] [CrossRef] [Scilit]
  57. Moody, J. Peer Influence Groups: Identifying Dense Clusters in Large Networks. Soc. Netw. 2001, 23, 261–283. [Google Scholar] [CrossRef] [Scilit]
  58. Lü, L.; Zhou, T. Link Prediction in Complex Networks: A Survey. Phys. A Stat. Mech. Its Appl. 2011, 390, 1150–1170. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.