1. Introduction
Link prediction in complex networks is a fundamental topic in network science and plays a crucial role in uncovering the structural organization and evolutionary patterns of complex systems [
1]. By inferring potential or missing links, link prediction helps reveal network robustness, information diffusion processes, and small-world properties, while also supporting interdisciplinary research across physics, computer science, and sociology [
2]. Practically, link prediction has been widely applied in social media for user recommendation [
3], in biological systems for identifying protein interactions and their functional modules [
4], and in infrastructure or financial networks for optimizing resources and assessing risks [
5]. Despite these advances, achieving accurate and stable link prediction in complex networks is still challenging due to the difficulty in balancing local and global structural influences during computation.
Existing link prediction methods can generally be grouped into five categories: similarity, maximum likelihood, matrix factorization, graph embedding, and graph neural network (GNN)-based approaches [
6,
7]. These methods exploit network topology, statistical dependencies, or representation learning capabilities to infer potential connections from different perspectives, and have been applied to various types of networks.
The essence of similarity-based methods lies in quantifying the structural similarity between node pairs under the assumption that nodes with higher similarity are more likely to establish links in the future [
8]. Typically, these approaches employ different types of similarity indices: local measures rely on first-order or second-order neighborhoods, offering computational simplicity but limited global awareness, whereas global measures incorporate contributions from all possible paths, yielding a more comprehensive representation of network structure. Despite their efficiency and interpretability, they still struggle to simultaneously capture fine-grained local details and global topological patterns [
9].
Maximum likelihood-based methods model the randomness and latent structural patterns of networks through probabilistic frameworks, estimating the likelihood of link formation via statistical inference [
10]. These approaches emphasize interpretability by explicitly revealing the driving factors behind link formation, and can effectively handle noise, uncertainty, and missing data [
11]. Typical models include hierarchical structure models, stochastic block models (SBMs), and exponential random graph models (ERGMs), with parameters fitted using maximum likelihood estimation or Bayesian inference to compute the conditional probability of links between node pairs [
12]. For instance, SBMs partition nodes into groups and estimate inter-group connection probabilities, whereas ERGMs characterize link generation based on degree distributions and clustering coefficients [
13]. Although such methods perform well in sociological and biological networks due to their statistical interpretability, their high computational cost limits scalability to large and dense networks.
Matrix factorization and spectral methods share a common foundation in characterizing the spectral properties of adjacency or Laplacian matrices [
14]. Matrix factorization approaches, such as singular value decomposition (SVD) and nonnegative matrix factorization, aim to reconstruct the adjacency matrix through low-rank latent representations [
15,
16]. In contrast, spectral methods analyze the eigenvalues and eigenvectors of the graph Laplacian to capture global structural modes, effectively revealing community organization and latent correlations among nodes. Although mathematically related, spectral methods emphasize theoretical interpretability, whereas matrix factorization provides greater flexibility and scalability in large-scale networks. Due to the high computational cost of full eigendecomposition, recent studies have employed truncated spectra, randomized SVD, or polynomial filtering approximations to reduce complexity. Nevertheless, both paradigms still struggle to retain discriminative high-order structural information while maintaining computational efficiency.
Graph embedding methods typically employ unsupervised or semi-supervised learning, integrating network topology and potential semantic information, and are suitable for large-scale, heterogeneous, or dynamic networks [
17]. To be specific, they involve two steps: first, generating node sequences via random walks to capture local and global structural information, to compress network topology into a low-dimensional space [
18]; then, training embedding models through negative sampling or contrastive learning to ensure that node embeddings reflect network topological characteristics [
19]. These methods often rely on large amounts of training data and can be sensitive to parameters, such as walk length, embedding dimension, and sampling strategy [
20]. Additionally, while embeddings effectively compress structural information, they may obscure interpretable network properties, making it challenging to explain the learned representations.
GNN methods further extend this idea by leveraging neural architectures to capture complex topological dependencies and node attributes in an end-to-end manner [
21]. Typical models include graph convolutional networks, graph attention networks, and temporal GNNs, all of which aggregate neighbor information to produce expressive node embeddings [
22,
23]. These methods often incorporate attention or temporal mechanisms to handle dynamic networks, and link probabilities are inferred through decoders or classifiers [
24]. While GNN-based approaches have achieved impressive performance in social, biological, and transportation networks due to their ability to model spatiotemporal dependencies, they demand substantial computational resources. They are sensitive to the choice of hyperparameter settings and data quality.
Additionally, it is noteworthy that link prediction methods based on quantum walks have recently been proposed [
25,
26], and these studies suggest that quantum properties can address the challenge of balancing the contributions of local and global network features [
27]. Quantum techniques achieve high accuracy in link prediction but rely heavily on eigendecomposition, which incurs high computational cost on the conventional von Neumann computing system [
28]. Capturing global network patterns efficiently remains a major challenge in link prediction, as spectral and matrix factorization methods are often computationally expensive for large networks. Inspired by the connections between quantum walks and spectral approaches, the proposed spectral-adaptive fusion (SAF) algorithm selectively retains dominant spectral components through truncated decomposition, preserving the most informative global structures while integrating local neighborhood information via adaptive fusion, thereby achieving efficiency and accurate reconstruction of missing links. In this sense, SAF is designed to address several limitations of existing methods within a unified framework: local similarity indices often lack global structural awareness, full spectral or matrix-factorization methods incur high computational costs, and graph neural networks may reduce structural interpretability. The contributions of this study are summarized as follows.
The SAF algorithm constructs a spectral embedding matrix by retaining a small subset of the spectral components and employs a quadratically constructed and row-column normalized matrix together with a Gaussian kernel matrix. An adaptive fusion mechanism based on common neighbors is designed to integrate these matrices for link scoring.
Ablation studies demonstrate that this common-neighbor-based adaptive fusion effectively combines local and global structural information, significantly enhancing the link prediction performance of SAF.
Guided by energy retention and spectral gap analyses, the truncated parameter of SAF is determined to 5%, leading to an average runtime reduction of 71.0% across eight datasets, confirming its computational efficiency.
In terms of AUC, SAF outperforms advanced graph neural networks by 2.22% and matrix factorization methods by 10.65%, while maintaining high stability and predictive accuracy in terms of AUPR and recall indices even at low training ratios.
The remainder of this paper is organized as follows.
Section 2 introduces the link prediction problem, eight representative baseline algorithms, and classical evaluation metrics.
Section 3 proposes the SAF algorithm, detailing its spectral decomposition, quadratic similarity matrices, Gaussian kernel fusion, and the adaptive weighting mechanism.
Section 4 evaluates link prediction performance on eight real-world networks, comparing results in terms of AUC, AUPR, and recall perspectives to demonstrate the superiority and robustness of SAF. Finally,
Section 5 concludes the study and discusses future research directions.
3. Spectral Adaptive Fusion Algorithm for Link Prediction
To accurately identify missing links in networks, this study proposes the SAF algorithm. The algorithm begins by reconstructing the network through spectral decomposition to derive a row-column normalized spectral matrix, based on which node similarities are computed using a Gaussian kernel. By incorporating common neighbor information, an adaptive adjustment parameter is designed to balance and fuse the contributions of the normalized spectral matrix and the similarity matrix, thereby enabling link prediction in networks.
Figure 2 schematically illustrates SAF’s core workflow, detailing the key computational stages from spectral decomposition to feature fusion.
3.1. Description of the SAF Algorithm
The graph
is represented by its adjacency matrix
, each element in
A can be defined as:
Matrix A encodes the presence or absence of links between nodes i and j, assuming A is unweighted and undirected.
The SAF algorithm employs spectral decomposition to extract structural representations for link prediction. To reduce the computational burden of full eigendecomposition, SAF retains only a subset of dominant spectral components for networks larger than a predefined threshold
, while using the full spectrum for smaller networks. Let
m denote the number of selected spectral components, where
for
and
for
. For the adjacency matrix
A, denote the selected eigenpairs as
,
, where
is the eigenvector corresponding to eigenvalue
. Accordingly, the spectral decomposition used in SAF can be formulated as:
Assuming that
is the selected spectral embedding matrix, and
. Then, matrix
A can be reconstructed by
when
, Equation (
11) corresponds to the full eigendecomposition; when
, it gives the truncated spectral representation used by SAF.
Spectral features constitute the core representation for the SAF algorithm in restoring missing links within a network. As illustrated in
Figure 2, SAF combines a row-column normalized spectral matrix
Q with a Gaussian kernel matrix
K, to integrate global spectral patterns and local higher-order neighborhood information. This initial spectral matrix
Q is constructed from the squared selected eigenvectors and can be defined as:
where
denotes the
r-th selected eigenvector of the adjacency matrix
A, ⊙ represents element-wise multiplication, and
m is the number of spectral components used in SAF. Directly using the initial matrix
Q may bias the results toward nodes with larger spectral responses or higher centrality, while diminishing the contribution of peripheral nodes.
Accordingly, SAF applies a lightweight single-pass row-column normalization to the initial
Q, improving score comparability and reducing central-node dominance without introducing additional iterative cost. Specifically, row normalization is first performed to balance the similarity scores assigned by each node:
Column normalization is then applied to the row-normalized matrix to balance the accumulated similarity received by each node, reducing the overrepresentation of influential nodes while preserving their structural role:
Since the row-column normalized spectral matrix
Q is constructed from the selected eigenvectors, it mainly captures global spectral structure and may not fully reflect local higher-order neighborhood variations. To address this, SAF applies a Gaussian kernel to the node embeddings obtained from the selected spectral matrix
U. Let
denote the spectral embedding vector of node
i, corresponding to the
i-th row of
U. The squared Euclidean distance between nodes
i and
j in the spectral embedding space is defined as
The Gaussian kernel converts spectral distances into similarity scores via an exponential decay function, suppressing extreme values and improving the robustness of link prediction. The Gaussian kernel in SAF can be defined as follows:
where
denotes the Gaussian-kernel similarity between nodes
i and
j, and
is the kernel bandwidth. This transformation suppresses extreme distance effects and provides a nonlinear similarity measure that complements the global spectral matrix
Q.
To balance the contributions of the spectral matrix
Q and the Gaussian kernel matrix
K for each candidate node pair, SAF introduces an adaptive parameter
, which adjusts their weights based on the neighborhood overlap between nodes. This design enables SAF to integrate global spectral features with local higher-order information. The final similarity matrix
S is defined as:
where
denotes the adaptive parameter, determined by the number of nodes and their common neighbors, and defined as:
In Equation (
18),
represents the common neighbor between nodes
i and
j, which can be computed from the square of the adjacency matrix, i.e.,
It is noteworthy that the objective of link prediction is to identify potential future links, not those already present in the network. Therefore, if a link exists between nodes
i and
j, the effect of their common neighbors is suppressed by setting
to 0 in Equation (
19). This ensures that the adaptive parameter
in SAF accurately reflects the neighborhood overlap of node pairs without existing edges, enabling a balanced weighting between the similarity matrices
Q and
K.
The adaptive parameter
in Equation (
17) balances the contributions of the similarity matrices
Q and
K, mitigating information loss from truncated spectral decomposition. Dominant eigencomponents in
Q preserve global structural patterns but may omit finer local interactions. By incorporating the number of common neighbors between node pairs as an adaptive weighting factor,
adjusts based on neighborhood overlap: a smaller overlap increases
, emphasizing global spectral features, while a larger overlap decreases
, giving more weight to
K to capture local higher-order differences and nonlinear similarities. This strategy balances global and local information, improving link prediction performance under spectral truncation.
3.2. Implementation of SAF Algorithm
Algorithm 1 implements SAF for link prediction. As shown in lines 2∼8, the adjacency matrix is obtained, and spectral decomposition is performed, computing either the top-
l eigenpairs for large networks or the full eigenpairs for small networks. In lines 9∼13, a spectral matrix
Q is constructed and normalized. Local structural information is captured via the Gaussian kernel matrix
K in lines 14∼16, while lines 17∼19 assign adaptive weights
based on common neighbors to compensate for information lost in spectral truncation partly. Finally, in lines 20∼23, matrices
Q and
K are fused using
, symmetrized, and zeroed on the diagonal to produce the final similarity matrix
S for link prediction. The code for the SAF algorithm is publicly available at
https://github.com/bandit-wen/SAF_linkPrediction (accessed on 10 October 2025).
| Algorithm 1 SAF Algorithm for Link Prediction |
Require: Network , truncated parameter l, threshold ; Ensure: Similarity matrix S;- 1:
adjacency matrix of G; - 2:
if then - 3:
Compute the top-l eigenpairs of A; - 4:
; - 5:
else - 6:
Compute all eigenpairs of A; - 7:
; - 8:
end if - 9:
; - 10:
; - 11:
; - 12:
Normalize rows: ; - 13:
Normalize columns: ; - 14:
Let and denote the i-th and j-th rows of U; - 15:
Compute ; - 16:
; - 17:
; - 18:
Set if edge exists; - 19:
; - 20:
; - 21:
Symmetrize S: ; - 22:
Set diagonal items ; - 23:
return S;
|
3.3. Ablation Study of the SAF Algorithm
To evaluate the effect of the adaptive weighting mechanism in SAF, three ablation experiments were conducted on the same network under identical edge removal conditions. The experiments include: the original SAF algorithm, SAF with the
parameter fixed at 0.5, and SAF without the adaptive weighting mechanism. The experiments were performed on the email network, which contains 1133 nodes and 5451 edges.
Figure 3 presents the AUC performance of the three configurations under varying edge deletion ratios.
As shown in
Figure 3, the full SAF consistently outperforms both the fixed-
variants (SAF with
) and the non-adaptive variant (SAF without an adaptive weighting mechanism) across all deletion ratios. The performance drop is particularly noticeable under higher deletion rates for the ablated versions. These results indicate that the adaptive mechanism discussed in Equations (
17)–(
19) effectively integrates local structural information with global spectral features, enhancing the algorithm’s ability to identify missing links and demonstrating its objective effectiveness in link prediction.
3.4. Discussion of Spectral Truncation in SAF
The SAF algorithm leverages spectral truncation to efficiently capture the global structural patterns of a network while addressing the challenges of large-scale computation and incomplete local information.
(i) Structure Preservation in Spectral Truncation: Spectral truncation can be essentially viewed as a low-rank approximation technique aimed at reducing feature dimensionality while retaining dominant structural information. From the perspective of spectral graph theory, the leading eigenvectors of the adjacency matrix or its normalized variants correspond to the most representative structural patterns. In real-world networks, where the degree distribution follows a power law, spectral energy is highly concentrated in these leading components. Therefore, spectral truncation prioritizes dominant patterns, enabling substantial dimensionality reduction while preserving the essential structural features necessary for link prediction.
(ii) Adaptive Completion for Truncated Information: While spectral truncation preserves low-frequency dominant structures, it inevitably loses some high-frequency information, impairing the representation of fine-grained local structures. To address this issue, SAF algorithm introduces an adaptive fusion mechanism based on common neighbor features. The method dynamically modulates the fusion weights between the spectral feature matrices Q and K according to the number of shared neighbors, effectively integrating global structural information with local neighborhood characteristics and enhancing the truncated spectral representation.
(iii) Computational Complexity Advantage after Truncation: Full eigendecomposition typically requires computational complexity, which is impractical for large-scale networks. By computing only the top-l eigencomponents using the ARPACK-based truncated eigensolver in Python 3.12, SAF reduces the dimension-dependent spectral computation to , while the actual eigensolver cost depends on matrix sparsity and convergence behavior. Spectral truncation thus serves as an effective feature compression technique, enabling SAF to exploit dominant global structural information with lower decomposition and spectral-similarity computation costs, while the dense pairwise scoring stage still requires memory.
Section 4 will determine suitable truncated parameters and analyzes SAF’s link prediction performance under spectral truncation.
4. Experimental Analysis of Link Prediction
This section optimizes the truncated parameters of the SAF algorithm and evaluate its link prediction performance using the AUC, AUPR, and recall metrics.
4.1. Experimental Setup
This study employs eight open-source complex networks from diverse domains, summarized in
Table 2. These datasets can be categorized as follows. (i) social networks: Email, Hamsterster, and Moreno capture email exchanges, online friendships, and small-scale social interactions, respectively. (ii) co-authorship networks: NetSci, ca-GrQc, and CA-HepTh represent collaborations in network science, general relativity and quantum cosmology, and high energy physics, respectively; (iii) technological network: the p2p network from a peer-to-peer file sharing system. (iv) infrastructure network: the US Power Grid models the U.S. electrical transmission system. All datasets are publicly available from the Network Repository.
Table 2 summarizes the key topological characteristics of the network datasets used in this study. Here,
N denotes the number of nodes,
M the number of links, and
the maximum node degree. The average degree
reflects the overall network connectivity, while the clustering coefficient
c quantifies the local density of interconnections. The network diameter
d indicates the longest shortest-path distance between any two nodes, and the assortativity coefficient
measures the tendency of nodes with similar degrees to connect.
In addition, this study uses the eight methods introduced in
Section 2, including RA, AA, Cosine, SBM, RWembed, DeepLink, Neo, DANMFL, and NMF, as baselines to evaluate the link prediction accuracy of the proposed SAF algorithm across eight complex networks reported in
Table 2.
4.2. Optimizing the Truncated Parameter in the SAF Algorithm
The spectral truncated parameter is critical to SAF performance and is determined using two metrics: the energy retention ratio and the spectral gap, both computed after sorting the eigenvalues in descending order by magnitude.
The energy retention ratio
E measures the proportion of energy captured by the top-
l eigenvalues relative to the total spectral energy. Since the contribution of each eigencomponent is determined by the squared eigenvalue, the eigenvalues are first sorted in descending order by magnitude, i.e.,
. The energy retention ratio is then defined as
Generally, a higher proportion of retained spectral energy captures a greater amount of the network’s structural information [
37].
The spectral gap measures the difference between consecutive eigenvalues sorted in descending order by magnitude. Typically, a pronounced spectral gap indicates a clear separation between dominant and subsequent spectral components, suggesting that the preceding eigenvalues play a more critical role in preserving the network’s structural information. The spectral gap between the
i-th and
-th eigenvalues magnitudes is computed as:
The spectral truncated parameter of the SAF algorithm is determined using Equations (
20) and (
21), selecting an optimal level that preserves the structurally significant eigenvalues for link prediction while filtering out noise.
The spectral truncated parameter is further determined using a maximum distance elbow method. Specifically, the starting and ending points of each curve are connected to form a reference chord, and the perpendicular distance from each candidate eigenvalue to this chord is calculated to quantify the degree of curve bending. For the curve constructed from the eigenvalue index and its corresponding measure, assuming that the starting and ending points are denoted as
and
, respectively, then the perpendicular distance from any candidate point
to the chord
can be expressed as:
Accordingly, the elbow point is defined as the index with the maximum perpendicular distance, i.e., .
The results derived from Equations (
20) and (
21) are presented in
Figure 4. In each subplot, the first elbow point, marked by a gray dashed line, separates the spectral components that capture dominant structural information from those that mainly contribute to local or microscopic variations.
As shown in
Figure 4a, the cumulative energy retention curves rise rapidly at the early stage and then gradually flatten. At the first elbow points, retaining less than 30% of the spectral components is sufficient to preserve approximately 80% of the total spectral energy across the eight networks. This indicates that the main structural information is concentrated in a relatively limited subset of high-magnitude spectral components, while the remaining components mainly provide marginal cumulative contributions.
Further,
Figure 4b identifies the first elbow points of the spectral gap curves within the same 30% spectral range. These elbow points appear much earlier than those in the energy retention curves, suggesting that the most pronounced separations among eigenvalue magnitudes are concentrated in only a small number of leading spectral components. Taken together, the two results indicate that a small group of high-magnitude eigenvalues captures the dominant global structure, whereas subsequent components mainly encode dispersed secondary or local variations. This provides empirical support for adopting a compact spectral truncation in SAF, rather than retaining a large proportion of the spectrum.
Based on the analyses for
Figure 4a,b, the truncated parameter
l for SAF is initially bounded by the average elbow proportions across the eight networks. Specifically, the upper bound is set using the mean elbow point from energy retention, calculated as
, while the lower bound is determined from the mean elbow point of the spectral gap experiment, i.e.,
.
To further examine the relationship between truncated ratio and link prediction accuracy, SAF is evaluated under truncated ratios ranging from 1% to 50%, with a step size of 2% and the training parameter
set to 0.1.
Figure 5 reports the corresponding AUC, AUPR, and recall results across the eight networks.
As shown in
Figure 5, increasing the number of truncated eigenvalues does not lead to a significant improvement in prediction accuracy. For most networks, including Email, Moreno, Hamsterster, ca-GrQc, and CA-HepTh, AUC and AUPR remain relatively stable over a wide range of truncated ratios, indicating that a small subset of dominant spectral components is already sufficient to preserve the main structural information required for link prediction. This observation is consistent with the energy retention and spectral gap analyses in
Figure 4, where the informative spectral components are concentrated in the leading part of the spectrum. Although some networks, such as p2p and US power grid, show local fluctuations or moderate changes with increasing truncated ratios, no general monotonic relationship can be observed between the number of retained eigenvalues and predictive performance.
The recall curves exhibit greater variability than AUC and AUPR, suggesting that the recovery of top-ranked missing links is more sensitive to network structure and truncated ratio. In particular, sparse networks such as US power grid and p2p show relatively low and stable recall values. This further suggests that retaining more spectral components does not necessarily improve the recovery of missing links in sparse or weakly locally closed networks.
According to
Figure 4 and
Figure 5, the candidate range for the truncation parameter can be determined as 1.61% to 22.56%. Within this candidate range, the predictive performance already stabilizes at low truncated ratios, while further increasing the number of retained spectral components does not yield consistent gains in AUC, AUPR, and recall. Accordingly, SAF adopts 5% as a compact setting that stays safely above the 1.61% lower bound while remaining far below the 22.56% upper bound, thus avoiding overly aggressive truncation and preserving dominant spectral information with lower computational cost.
With the truncated ratio set to 5%, the running time of the SAF algorithm is compared between full spectral decomposition and truncated decomposition that retains only the top 5% spectral components. All experiments are conducted on a unified hardware platform with the following specifications: 11th Core i5-11400H processor (2.70 GHz), 16.0 GB RAM, NVIDIA GeForce RTX 3050 Laptop GPU, running on Windows 11 operating system. The time comparison results are illustrated in
Figure 6.
As depicted in
Figure 6, when the truncated parameter is set to 5%, SAF reduces the running time by 64.3% to 76.6% compared with full spectral decomposition, with an average reduction of 71.0% across all eight network datasets. As the network scale increases, the efficiency advantage of spectral truncation becomes more evident, indicating that the proposed truncation strategy provides favorable scalability while maintaining predictive performance.
Section 4.2,
Section 4.3,
Section 4.4 and
Section 4.5 of this study will experimentally verify that the SAF algorithm maintains superior link prediction accuracy under the condition of retaining 5% spectral features.
4.3. Link Prediction Performance Under AUC Index
In the AUC index (refer to
Section 2.3), a higher value indicates superior predictive capability.
Figure 7 and
Figure 8 report the AUC results of various methods across different training ratios, illustrating how algorithm performance evolves as the amount of observed data increases. The heatmaps employ color gradients to represent AUC values, where dark blue indicates higher predictive accuracy and light green corresponds to lower scores. Numerical annotations are also provided to explicitly display the AUC performance of each algorithm across all datasets.
As shown in
Figure 7 and
Figure 8, regardless of the training parameter
, the SAF algorithm consistently achieves the highest AUC on the NetSci, Hamsterster, and US Power Grid networks, demonstrating its significant advantage in link prediction. In particular, on the US Power Grid network, SAF substantially outperforms all baseline methods. Among traditional similarity-based approaches, RA and AA represent local similarity metrics, while Cosine represents a global similarity metric. SAF surpasses all of these, confirming that its adaptive mechanism effectively balances local and global features. Within graph embedding and graph learning methods, the Neo algorithm shows certain advantages, e.g., on the CA-HepTh network. However, overall, its performance remains less stable compared with SAF across most networks.
To more precisely assess the effectiveness of the SAF algorithm in link prediction, the conventional AUC metric is further refined by introducing a relative improvement indicator. This modification quantitatively measures the performance gains of SAF over baseline algorithms, providing a more objective benchmark for evaluating practical applicability. The average AUC is subsequently obtained by summing the AUC values across different training ratios
(e.g., 0.1, 0.2, 0.3, and 0.4) and dividing by the total number of ratios, as formulated below:
where
represents the number of
values. This average quantifies the algorithm’s overall performance stability on a network. To further evaluate the relative improvement of SAF over the baselines, the improvement rate is defined as:
This evaluation metric effectively highlights performance disparities among algorithms while maintaining fairness under varying noise levels. Based on Equations (
23) and (
24), the average AUC and relative AUC improvements of SAF and the eight baseline methods across the eight networks are presented in
Figure 9.
As shown in
Figure 9, SAF achieves positive average relative AUC improvements over all baseline methods across the eight networks. The gains are especially large compared with SBM, with an average improvement of 58.60%, indicating that a fixed block-structure assumption is insufficient to capture the heterogeneous link formation patterns in these networks. Compared with classical similarity indices, SAF also improves the average AUC by 7.82%, 7.85%, and 8.15% over RA, AA, and Cosine, respectively, suggesting that the fusion of spectral information and local neighborhood structure provides more discriminative link scores than relying on local overlap or vector similarity alone.
For representation learning and matrix-factorization-based methods, SAF obtains average improvements of 8.47%, 8.58%, and 10.65% over RWembed, DeepLink, and NMF, respectively. Although SAF does not outperform every baseline on every single network, the positive average gains against all methods show that it provides a more stable balance between global spectral structure and local neighborhood information. Compared with Neo, the average improvement is relatively smaller at 2.22%, but SAF still achieves competitive AUC performance without relying on deep neural architectures, further supporting its effectiveness and computational interpretability.
4.4. Link Prediction Under the AUPR Index
This section evaluates link prediction performance using the AUPR metric. As shown in
Table 3,
Table 4,
Table 5 and
Table 6, prediction becomes more challenging at lower training ratios, as the availability of observed edges decreases, leading to a general decline in algorithmic performance.
Table 3,
Table 4,
Table 5 and
Table 6 report the AUPR results under different training ratios. Overall, SAF shows consistently strong performance across the four settings and achieves the best results in most networks. In particular, on NetSci, Moreno, Hamsterster, and ca-GrQc, SAF maintains high AUPR values regardless of the training ratio, with AUPR above 0.93 on NetSci, above 0.92 on Moreno, above 0.95 on Hamsterster, and above 0.91 on ca-GrQc. In such cases, SAF effectively exploits the retained high-magnitude spectral components to capture global structural patterns, while its adaptive weighting mechanism further strengthens local neighborhood signals.
The advantage of SAF is more evident on the US power grid network. Most baseline methods obtain AUPR values around 0.5∼0.6, whereas SAF remains above 0.74 under all training ratios. The US power grid has a very low clustering coefficient and a large diameter (as described in
Table 2), indicating that local triangle-based similarity alone is insufficient to characterize potential links. Conventional indices such as RA, AA, and Cosine therefore show limited effectiveness. By contrast, SAF does not rely solely on local overlap; it uses spectral components to capture global connectivity patterns and then adaptively incorporates common-neighbor information.
Neo achieves the highest AUPR on the p2p network under all four training ratios. This may be related to the structural characteristics of p2p, which has the lowest clustering coefficient and relatively low assortativity among the datasets. In such a sparse technological network, local closure and degree-based homophily are weak, making common-neighbor signals less reliable. Neo’s neighborhood-overlap-aware neural aggregation is therefore better suited to capturing higher-order, non-triangular dependencies, explaining its advantage on the p2p network.
According to
Table 3,
Table 4,
Table 5 and
Table 6, the AUPR results show that SAF is especially effective when global spectral structure and local neighborhood information are both informative, and it remains robust even when local structural signals are weak.
4.5. Link Prediction Under the Recall Index
This section adopts the recall metric to evaluate all link prediction methods under different training ratios
. Recall index is computed based on the top-
k ranked link scores, where
k is set to the number of links to be predicted and therefore varies with the training ratio
. The corresponding experimental results are depicted in
Figure 10, where different algorithms are distinguished by colored markers. A vertical dashed line is used to mark the recall value of SAF as a criterion.
As shown in
Figure 10, SAF generally remains among the leading methods in terms of recall under different training ratios, indicating its strong ability to recover missing links among the top-ranked predictions. In the SAF algorithm, the truncated spectral components preserve the dominant global structure of the network, while the Gaussian kernel and the adaptive weighting mechanism further refine local link discrimination.
RA and AA also achieve competitive recall in NetSci, ca-GrQc, and CA-HepTH networks, which is expected because recall emphasizes whether true missing links can be retrieved among the top predictions. However, their performance depends heavily on local overlap and becomes less stable when such local signals are weak. NMF temporarily outperforms SAF on the Hamsterster network, suggesting that matrix factorization can be effective when the network contains strong low-rank or community regularities. Nevertheless, its recall varies more noticeably across networks, indicating weaker stability under heterogeneous structural conditions.
It is also notable that Neo is competitive in terms of AUC and AUPR, as shown in
Section 4.3 and
Section 4.4, but does not consistently achieve high recall. This suggests that neural neighborhood aggregation can improve overall ranking performance or the precision, but may not always place true missing links at the top of the prediction list. In contrast, SAF provides a more balanced mechanism: spectral truncation captures global structural patterns, while adaptive fusion with common-neighbor information enhances the retrieval of locally plausible missing links. These results indicate that SAF is effective not only in global ranking metrics but also in robustly recovering actual missing links under different training conditions.
In summary, the experimental results in
Section 4 demonstrate that SAF achieves a favorable balance between computational efficiency and link prediction accuracy. Furthermore, SAF provides a robust and interpretable solution for link prediction across different complex networks.
5. Conclusions and Future Works
This study proposed a spectral-adaptive fusion (SAF) algorithm for link prediction in complex networks. The algorithm constructed a spectral embedding matrix by retaining a small portion of spectral components and integrated it with a Gaussian kernel method. Further, an adaptive weighting mechanism based on common neighbors was designed to combine local and global features, mitigating the overemphasis on highly central nodes. Guided by energy retention and spectral gap analyses, the truncated parameter was determined to 5%, which reduced the average runtime by 71.0% across eight networks. In terms of predictive accuracy, SAF achieved an average AUC improvement of 2.22% over advanced graph neural networks and 10.65% over matrix factorization approaches, while maintaining stable AUPR and recall performance even under limited training data.
Future work will focus on extending SAF to a wider range of network types to further enhance its applicability. One direction is its adaptation to directed networks, enabling the capture of asymmetric relationships inherent in citation, communication, and regulatory systems. Another avenue involves hypergraphs or higher-order networks, where SAF’s fusion of spectral and structural features could model multi-node interactions and preserve complex relational patterns. Additionally, the current study focuses on static networks; many real-world networks evolve, exhibiting temporal patterns and dynamic interactions. Extending SAF to handle temporal link prediction represents an important future direction. Potential approaches include incorporating time-aware spectral decomposition, dynamic Gaussian kernel mapping, or sequential embedding techniques to capture evolving structural and neighborhood patterns, enabling robust link prediction in dynamic network scenarios.