A Survey on GNN-based Link Prediction: Techniques, Applications, and Challenges
Summary
This survey comprehensively reviews GNN-based link prediction from a dedicated GNN perspective, categorizing recent advancements by techniques (GCN, GAE, GAT, GFormer) and applications (knowledge graphs, recommendation systems), and discusses challenges and future directions.
View Cached Full Text
Cached at: 07/21/26, 06:36 AM
# A Survey on GNN-based Link Prediction: Techniques, Applications, and Challenges
Source: [https://arxiv.org/html/2607.16198](https://arxiv.org/html/2607.16198)
00footnotetext:Recently Accepted for publication in Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery © 2026 Wiley Periodicals, Inc\. All rights reserved\. This version of the article has been accepted, after peer review but is not the version of record\. The final version will be available at: https://doi\.org/10\.1002/widm\.70093\. Paper list at Github:https://github\.com/sunxiaobei/awesome\-gnn\-based\-link\-prediction\. This work is subject to a 12\-month post\-publication embargo\.\[3\]Yajie Song \[1,2\]Cheng Zhai \[3\]Zhixiao Wang
1\]\\orgdivSchool of Safety Engineering,\\orgnameChina University of Mining and Technology,\\orgaddressXuzhou, Jiangsu,\\postcode221116,\\countryChina
2\]\\orgdivState Key Laboratory of Coal Mine Disaster Prevention and Control,\\orgnameChina University of Mining and Technology,\\orgaddressXuzhou, Jiangsu,\\postcode221116,\\countryChina
3\]\\orgdivSchool of Computer Science and Technology,\\orgnameChina University of Mining and Technology,\\orgaddress\\streetXuzhou,\\cityJiangsu,\\postcode221116,\\countryChina
4\]\\orgdivDepartment of Computer Science,\\orgnameUniversity of Illinois at Chicago,\\orgaddressChicago, IL,\\countryUSA
###### Abstract
Graph Neural Networks \(GNNs\) have emerged as the leading paradigm for link prediction, enabling the inference of missing connections and the anticipation of potential future links\. However, existing reviews lack systematic exploration specifically targeting underlying GNN architectures and diverse graph structures\. To address this critical gap, this paper provides a comprehensive review of GNN\-based link prediction from a novel and dedicated GNN perspective\. We propose an innovative taxonomy that categorizes recent advancements based on techniques and applications\. From a technique perspective, we focus on key GNN encoder architectures, including GCN\-based, GAE\-based, GAT\-based, and GFormer\-based methods, discussing their strengths and limitations\. From an application perspective, we highlight prominent use cases of link prediction in knowledge graphs and recommendation systems, demonstrating their real\-world impact\. In addition, we examine the current challenges and discuss promising future directions\.
###### keywords:
Link Prediction, Graph Neural Network, Knowledge Graph, Recommend System
## 1Introduction
Graphs are essential for modeling complex systems due to their ability to represent intricate relationships\. Link prediction is a fundamental task in such graphs, aiming to infer missing or future potential links between nodes based on the topology of the existing network\. Typical applications include friend recommendation in social networks\[[85](https://arxiv.org/html/2607.16198#bib.bib85)\], product recommendation in e\-commerce networks\[[39](https://arxiv.org/html/2607.16198#bib.bib39)\], citation relationship prediction in citation networks\[[28](https://arxiv.org/html/2607.16198#bib.bib28)\], and movie recommendation in recommendation systems\[[40](https://arxiv.org/html/2607.16198#bib.bib40)\]\.
Traditionally, heuristic\-based methods and shallow embedding\-based methods are two classic approaches to link prediction\. Heuristic\-based methods primarily focus on exploring the connection patterns in a large amount of graph\-structured data and designing specific heuristic formulas to predict new connections\. For example, common neighbors \(CNs\)\[[64](https://arxiv.org/html/2607.16198#bib.bib64)\]is a popular heuristic that assumes node pairs sharing more neighbors are more likely to form connections\. Similarly, the Jaccard index\[[24](https://arxiv.org/html/2607.16198#bib.bib24)\], the Adamic–Adar index\[[1](https://arxiv.org/html/2607.16198#bib.bib1)\], and the Resource Allocation index\[[125](https://arxiv.org/html/2607.16198#bib.bib125)\]are all based on the assumption that node similarity can be inferred from their neighborhood information, and that such similarity indicates the likelihood of a connection between nodes\. In contrast, shallow embedding\-based methods aim to map nodes into lower\-dimensional vectors while preserving their neighborhood structures and similar feature relationships within the graph\. DeepWalk\[[67](https://arxiv.org/html/2607.16198#bib.bib67)\]and Node2vec\[[17](https://arxiv.org/html/2607.16198#bib.bib17)\]treat nodes as words and sequences of connected nodes as sentences for node embedding\. Other embedding methods, such as matrix factorization\[[60](https://arxiv.org/html/2607.16198#bib.bib60)\], FSSDNMF\[[7](https://arxiv.org/html/2607.16198#bib.bib7)\], predict potential connections between nodes in a network by factorizing the adjacency matrix into two low\-rank factor matrices\. However, extending these methods to large\-scale graphs may encounter limitations\.

Figure 1:Motivation and Contributions: From Fragmented Perspectives to a Unified GNN\-based Link Prediction Framework\. The left panel identifies a critical research gap at the intersection of classic link prediction, graph representation learning, and graph\-specific link prediction, where existing reviews lack a systematic exploration specifically targeting underlying GNN architectures and diverse graph structures\. To address this critical gap, this survey provides a comprehensive review from a novel and dedicated GNN perspective\. We provide a systematic synthesis of state\-of\-the\-art research across three fundamental dimensions: Techniques, focusing on the evolution of GNN\-based methods; Applications, evaluating their deployment in diverse scenarios; and Challenges, identifying critical frontiers for future investigation\.Recently, the development of GNNs\[[32](https://arxiv.org/html/2607.16198#bib.bib32),[94](https://arxiv.org/html/2607.16198#bib.bib94),[19](https://arxiv.org/html/2607.16198#bib.bib19)\]has been particularly noteworthy and has become a powerful tool for analyzing graph\-structured data\. Naturally, a series of link prediction methods based on GNNs have also emerged\. Despite state\-of\-the\-art methods are rapidly evolving, corresponding analysis and summarization remain limited\. While existing reviews have investigated link prediction from the distinct perspectives of classic LP methods, network specific LP methods, and graph representation learning \(summarized in Fig\.[1](https://arxiv.org/html/2607.16198#S1.F1)\)\. Lv et al\.\[[55](https://arxiv.org/html/2607.16198#bib.bib55)\], V\.Mart’mez et al\.\[[59](https://arxiv.org/html/2607.16198#bib.bib59)\], and Laskshmi et al\.\[[35](https://arxiv.org/html/2607.16198#bib.bib35)\]gave an overview of exiting calssic non\-GNN based link prediction techniques\. From the perspective of GNNs, on the one hand, Barros et al\.\[[3](https://arxiv.org/html/2607.16198#bib.bib3)\], Dwivedi et al\.\[[15](https://arxiv.org/html/2607.16198#bib.bib15)\], and Khemani et al\.\[[29](https://arxiv.org/html/2607.16198#bib.bib29)\]summarized the graph representation learning techniques, which can then be applied to link prediction as downstream task\. On the other hand, some works focus on link prediction techniques within specific networks, such as, social networks\[[78](https://arxiv.org/html/2607.16198#bib.bib78)\], dynamic graph\[[84](https://arxiv.org/html/2607.16198#bib.bib84)\], and hyper graph\[[6](https://arxiv.org/html/2607.16198#bib.bib6)\]\)\. In summary, while previous reviews have provided valuable insights, they generally exhibit main limitations\. First, comprehensive surveys focusing explicitly on the intersection of GNN and link prediction are still scarce\. Second, existing graph representation learning reviews typically treat link prediction merely as a generic downstream task\. This perspective often fails to capture the intricate GNN designs specifically engineered for link prediction\. This study is motivated by the urgent need to bridge the gap between rapid GNN model developments and the practical requirements of complex real\-world networks\.
To the best of our knowledge, this is one of the first reviews to systematically explore link prediction techniques and related applications from a novel, dedicated GNN perspective\. It is worth noting that we focus on models specifically designed for the link prediction problem, rather than treating it as a mere downstream task\. The significance of this GNN perspective lies in its ability to trace how architectural innovations \(from local message\-passing to global attention\) fundamentally reshape edge inference capabilities\. The innovative two\-dimensional taxonomy is presented in Figure 1\. Specifically, we categorize the latest research into two major directions: techniques and applications, based on the inherent dichotomy between methodological innovation and scenario\-driven demands\. From a technique perspective, we categorize recent literature into four types based on their backbone networks: Graph Convolutional Networks \(GCN\), Graph Autoencoders \(GAE\), Graph Attention Networks \(GAT\), and Graph Transformers \(GFormer\)\. From an application perspective, we focus on the role of link prediction technology in the knowledge graphs and recommendation systems\. Unlike existing work, we introduce a rigorous comparative framework of model strengths and limitations, making this survey a more prescriptive and actionable resource for selecting optimal GNN architectures\. In addition, some open issues and future directions are also discussed\. The main contributions of this paper are as follows\.
- •Graph neural network perspective: We examine link prediction from a novel GNN perspective, highlighting recent advancements and methods driven by GNN architectures, including GCN\-based, GAE\-based, GAT\-based, and GFormer\-based approaches\.
- •Comprehensive review: We provide a comprehensive review of GNN\-based link prediction methods from both technique and application perspectives, covering a wide variety of underlying graph types\.
- •Open issues and future directions: We also present open issues and challenges of link prediction technologies in terms of data and methods, which offer insights for advancing future research directions\.
In the rest of this survey, we give the preliminaries and notations in Section[2](https://arxiv.org/html/2607.16198#S2)\. In Section[3](https://arxiv.org/html/2607.16198#S3), we present a unique taxonomy for the latest research in terms of techniques and applications\. Section[4](https://arxiv.org/html/2607.16198#S4)summarizes the progress of link prediction technology based on GNNs\. In Section[5](https://arxiv.org/html/2607.16198#S5), we explore the applications of link prediction, with a focus on the recommendation system and the KGs\. Section[6](https://arxiv.org/html/2607.16198#S6)summarizes open issues from recent research and highlights possible future directions\. Finally, Section[7](https://arxiv.org/html/2607.16198#S7)concludes this survey\.
## 2Preliminaries and notations
In this section, we provid a detailed description of preliminaries and notations\. We establish a rigorous conceptual framework for GNN\-based link prediction task through formalizing fundamental notation systems, systematizing graph typology classifications, paradigmaticizing link prediction task formulations, and architecturing GNNs structures\.
### 2\.1Graph
A graph represents objects and their relationships through a set of nodes and edges that connect them\. The concept of a graph is highly flexible, enabling its application to model and analyze various types of networks and systems, including social networks, transportation networks, and computer networks\. To capture the complex structure of real\-world systems, research on graph\-structured data has gradually expanded from simple graphs to various complex graphs\. The symbolic definitions for various types of graphs are as follows, and the schematic figure is shown in Figure[2](https://arxiv.org/html/2607.16198#S2.F2)\.

Figure 2:Taxonomy of Graph Structures in Link Prediction\. This figure illustrates the diverse architectural paradigms of graphs encountered in modern link prediction, ranging from foundational to complex topologies\. Simple graphs represent the basic connectivity between homogeneous nodes, while heterogeneous graphs and knowledge graphs introduce multi\-type entities and relations, necessitating advanced semantic modeling\. Dynamic graphs capture the temporal evolution of networks through time\-stamped snapshots, whereas hypergraphs and multi\-layer graphs account for high\-order interactions and multi\-dimensional relational strata, respectively\. Together, these structures represent the multifaceted data landscape that current GNN\-based methods aim to address, highlighting the transition from low\-dimensional topology to high\-order, non\-Euclidean complexity\.- •Simple Graph: A simple graphGsG^\{s\}can be mathematically denoted asGs=\(𝒱,ℰ\)G^\{s\}=\(\\mathcal\{V\},\\mathcal\{E\}\), where𝒱\\mathcal\{V\}is a set of nodes andℰ\\mathcal\{E\}is a set of edges\. Each edge is a pair of distinct nodes, i\.e\.,ℰ⊆\{\{u,v\}∣u,v∈𝒱andu≠v\}\\mathcal\{E\}\\subseteq\\\{\\\{u,v\\\}\\mid u,v\\in\\mathcal\{V\}\\text\{ and \}u\\neq v\\\}\.
- •Heterogeneous Graph: Heterogeneous graphs allow the coexistence of different types of nodes and edges\. A heterogeneous graphGheG^\{he\}is represented asGhe=\(𝒱,ℰ,𝒯V,𝒯E\)G^\{he\}=\(\\mathcal\{V\},\\mathcal\{E\},\\mathcal\{T\}\_\{V\},\\mathcal\{T\}\_\{E\}\), where𝒱\\mathcal\{V\}is the set of nodes andℰ\\mathcal\{E\}is the set of edges\.𝒯V\\mathcal\{T\}\_\{V\}is the set of node types, and each nodev∈𝒱v\\in\\mathcal\{V\}has a type labelτV\(v\)∈𝒯V\\tau\_\{V\}\(v\)\\in\\mathcal\{T\}\_\{V\}\. Similarly,𝒯E\\mathcal\{T\}\_\{E\}is the set of edge types, and each edgee∈ℰe\\in\\mathcal\{E\}has a type labelτE\(e\)∈𝒯E\\tau\_\{E\}\(e\)\\in\\mathcal\{T\}\_\{E\}\.
- •Dynamic Graph: Dynamic graphs, also known as temporal graphs, contain a large amount of timestamp information\. Mathematically, a dynamic graph can be represented as: Give a graphGd=\(𝒱,ℰ\)G^\{d\}=\(\\mathcal\{V\},\\mathcal\{E\}\),𝒱=\{v,ts,te\}\\mathcal\{V\}=\\\{v,t\_\{s\},t\_\{e\}\\\}, withvvbeing a vertex of the graph andts,tet\_\{s\},t\_\{e\}are respectively the start and end timestamps for the existence of the vertex \(withts≤tet\_\{s\}\\leq t\_\{e\}\)\.ℰ=\{u,v,ts,te\}\\mathcal\{E\}=\\\{u,v,t\_\{s\},t\_\{e\}\\\}, withu,v∈𝒱u,v\\in\\mathcal\{V\}andts,tet\_\{s\},t\_\{e\}are respectively the start and end timestamps for the existence of the edge \(withts≤tet\_\{s\}\\leq t\_\{e\}\)\.
- •Hyper Graph: Hyper Graph is a special setting of the network, which extends the concept of a graph by allowing edges to connect any number of vertices\. A hyper graphGhyG^\{hy\}is a pairGhy=\(𝒱,ℰ\)G^\{hy\}=\(\\mathcal\{V\},\\mathcal\{E\}\), where𝒱\\mathcal\{V\}is a set of nodes andℰ\\mathcal\{E\}is a set of hyperedges\. Each hyperedgee∈ℰe\\in\\mathcal\{E\}is a non\-empty subset of the node set, i\.e\.,e⊆𝒱e\\subseteq\\mathcal\{V\}ande≠∅e\\neq\\emptyset\. Unlike ordinary graphs, hyperedges can connect multiple \(more than two\) nodes\.
- •Mutilayer Graph: Given a set𝒱\\mathcal\{V\}ofnnentities and a setℒ=\{L1,⋯,Lℓ\}\\mathcal\{L\}=\\\{L\_\{1\},\\cdots,L\_\{\\ell\}\\\}of layers, indexed inℒ=\{1,…,ℓ\}\\mathcal\{L\}=\\\{1,\\ldots,\\ell\\\}, with\|ℒ\|=ℓ≥2\|\\mathcal\{L\}\|=\\ell\\geq 2, we denote an attributed multilayer network withGm=\(𝒱ℒ,Eℒ,𝒱,ℒ\)G^\{m\}=\(\\mathcal\{V\}\_\{\\mathcal\{L\}\},E\_\{\\mathcal\{L\}\},\\mathcal\{V\},\\mathcal\{L\}\), where𝒱ℒ⊆𝒱×ℒ\\mathcal\{V\}\_\{\\mathcal\{L\}\}\\subseteq\\mathcal\{V\}\\times\\mathcal\{L\}is the set of all entity occurrences, or nodes, inℒ\\mathcal\{L\}, and in particular,VlV\_\{l\}is the set of nodes in layerll\(l∈ℒl\\in\\mathcal\{L\}\);EℒE\_\{\\mathcal\{L\}\}is the set of edges between nodes belonging to the same layer, andEl⊆Vl×VlE\_\{l\}\\subseteq V\_\{l\}\\times V\_\{l\}is the set of edges in layerll\. Each entity has a node in at least one layer, hence𝒱=⋃l=1ℓVl\\mathcal\{V\}=\\bigcup\_\{l=1\}^\{\\ell\}V\_\{l\}, and that inter\-layer edges exist between each node in a layer and its counterpart in a different layer\.
- •Knowledge Graph: Let𝒱\\mathcal\{V\}denote the set of entities andℰ\\mathcal\{E\}denote the set of relations\. A knowledge graphGk=\(𝒱,ℰ\)G^\{k\}=\(\\mathcal\{V\},\\mathcal\{E\}\)represents data through a set of triplets\(s,r,t\)\(s,r,t\), withs,t∈𝒱s,t\\in\\mathcal\{V\}andr∈ℰr\\in\\mathcal\{E\}\. Consequently, a knowledge graph can be expressed asGk\(𝒱,ℰ\)=\{\(s,r,t\)∣s,t∈𝒱,r∈ℰ\}⊆𝒱×ℰ×𝒱G^\{k\}\(\\mathcal\{V\},\\mathcal\{E\}\)=\\\{\(s,r,t\)\\mid s,t\\in\\mathcal\{V\},r\\in\\mathcal\{E\}\\\}\\subseteq\\mathcal\{V\}\\times\\mathcal\{E\}\\times\\mathcal\{V\}\.
### 2\.2Graph Neural Networks
GNNs\(Graph Neural Networks\) are deep learning models designed for processing graph\-structured data, effectively capturing the complex relationships and structural information between nodes within a graph\. The core concept of GNNs involves updating node representations by aggregating information from their neighborhoods\. The basic steps include node initialization and information aggregation\. The general working principle of GNNs is given by
hi\(l\+1\)=σ\(W\(l\)⋅hi\(l\)\+∑j∈𝒩\(i\)W\(l\)⋅hj\(l\)\)h\_\{i\}^\{\(l\+1\)\}=\\sigma\\left\(W^\{\(l\)\}\\cdot h\_\{i\}^\{\(l\)\}\+\\sum\_\{j\\in\\mathcal\{N\}\(i\)\}W^\{\(l\)\}\\cdot h\_\{j\}^\{\(l\)\}\\right\)\(1\)wherehi\(l\)h\_\{i\}^\{\(l\)\}represents the output of nodeiiat layerll,𝒩\(i\)\\mathcal\{N\}\(i\)denotes the set of neighboring nodes of nodeii,W\(l\)W^\{\(l\)\}is the learnable weight matrix, andσ\\sigmais a nonlinear activation function \(such as ReLU\)\.
We analyzed GNN\-based link prediction and categorized backbone networks into four main types: GCN, GAE, GAT and GFormer\. We denote the adjacency matrix of a graph asAA, and the feature matrix of nodes is denoted asXX\. The details are as follows\.
- •GCN GCN\[[32](https://arxiv.org/html/2607.16198#bib.bib32)\]is a deep learning model designed for graph\-structured data, utilizing an efficient layer\-wise propagation rule to directly process graphs while encoding both their structure and node features\. The layer\-wise propagation rule is given by: H\(l\+1\)=σ\(D~−12A~D~−12H\(l\)W\(l\)\)H^\{\(l\+1\)\}=\\sigma\\left\(\\tilde\{D\}^\{\-\\frac\{1\}\{2\}\}\\tilde\{A\}\\tilde\{D\}^\{\-\\frac\{1\}\{2\}\}H^\{\(l\)\}W^\{\(l\)\}\\right\)\(2\)where,A~=A\+IN\\tilde\{A\}=A\+I\_\{N\}is the adjacency matrix of the undirected graphG\{G\}with added self\-connections\.INI\_\{N\}is the identity matrix,D~ii=∑jA~ij\\tilde\{D\}\_\{ii\}=\\sum\_\{j\}\\tilde\{A\}\_\{ij\}andW\(l\)W^\{\(l\)\}is a layer\-specific trainable weight matrix\.σ\(⋅\)\\sigma\(\\cdot\)denotes an activation function, such as theReLU\(⋅\)=max\(0,⋅\)\\text\{ReLU\}\(\\cdot\)=\\max\(0,\\cdot\)\.H\(l\)∈ℝN×DH^\{\(l\)\}\\in\\mathbb\{R\}^\{N\\times D\}is the matrix of activations in thellth layer;H\(0\)=XH^\{\(0\)\}=X\. A two\-layer GCN model can be defined as: GCN\(X,A\)=softmax\(A^ReLU\(A^XW\(0\)\)W\(1\)\)GCN\(X,A\)=\\text\{softmax\}\\left\(\\hat\{A\}\\,\\text\{ReLU\}\\left\(\\hat\{A\}XW^\{\(0\)\}\\right\)W^\{\(1\)\}\\right\)\(3\)where,A^=D~−12A~D~−12\\hat\{A\}=\\tilde\{D\}^\{\-\\frac\{1\}\{2\}\}\\tilde\{A\}\\tilde\{D\}^\{\-\\frac\{1\}\{2\}\}can be caculated in a pre\-processing step,W\(0\)∈ℝD×HW^\{\(0\)\}\\in\\mathbb\{R\}^\{D\\times H\}is an input\-to\-hidden weight matrix for a hidden layer withHHfeature maps\.W\(1\)∈ℝH×FW^\{\(1\)\}\\in\\mathbb\{R\}^\{H\\times F\}is a hidden\-to\-output weight matrix\. The softmax is the activation function\.
- •GAE GAE\[[31](https://arxiv.org/html/2607.16198#bib.bib31)\]is an unsupervised learning method for graph\-structured data\. The GAE consists of two parts: Encoder and Decoder\. The Encoder is responsible for mapping the nodes of the graph to a low\-dimensional vector space, and the Decoder’s task is to reconstruct the adjacency matrixA^\\hat\{A\}from the embedding representation Z\. The embeddings Z and the reconstructed adjacencyA^\\hat\{A\}can be caculated by: 𝐀^=σ\(𝐙𝐙⊤\),with𝐙=GCN\(𝐗,𝐀\)\\hat\{\\mathbf\{A\}\}=\\sigma\\left\(\\mathbf\{Z\}\\mathbf\{Z\}^\{\\top\}\\right\),\\text\{ with \}\\mathbf\{Z\}=\\text\{GCN\}\(\\mathbf\{X\},\\mathbf\{A\}\)\(4\)
- •GAT GAT\[[94](https://arxiv.org/html/2607.16198#bib.bib94)\]is a novel neural network architecture for graph\-structured data\. GAT addresses limitations of prior graph convolution\-based methods by employing masked self\-attention layers\[[90](https://arxiv.org/html/2607.16198#bib.bib90)\]\. It enables nodes to dynamically assign varying weights to neighboring features, eliminating the need for computationally intensive matrix operations or prior graph structure information\. Its core mechanism can be represented by the following formulas: αij=exp\(LeakyReLU\(𝐚T\[𝐖h→i∥𝐖h→j\]\)\)∑k∈𝒩iexp\(LeakyReLU\(𝐚T\[𝐖h→i∥𝐖h→k\]\)\)\\alpha\_\{ij\}=\\frac\{\\exp\\left\(\\text\{LeakyReLU\}\\left\(\\mathbf\{a\}^\{T\}\\left\[\\mathbf\{W\}\\vec\{h\}\_\{i\}\\,\\\|\\,\\mathbf\{W\}\\vec\{h\}\_\{j\}\\right\]\\right\)\\right\)\}\{\\sum\_\{k\\in\\mathcal\{N\}\_\{i\}\}\\exp\\left\(\\text\{LeakyReLU\}\\left\(\\mathbf\{a\}^\{T\}\\left\[\\mathbf\{W\}\\vec\{h\}\_\{i\}\\,\\\|\\,\\mathbf\{W\}\\vec\{h\}\_\{k\}\\right\]\\right\)\\right\)\}\(5\)𝐡i′=σ\(∑j∈𝒩iαij𝐖h→j\)\\mathbf\{h\}^\{\\prime\}\_\{i\}=\\sigma\\left\(\\sum\_\{j\\in\\mathcal\{N\}\_\{i\}\}\\alpha\_\{ij\}\\mathbf\{W\}\\vec\{h\}\_\{j\}\\right\)\(6\) where,αij\\alpha\_\{ij\}is the attention coefficient of nodejjto nodeii,h→i\\vec\{h\}\_\{i\}andh→j\\vec\{h\}\_\{j\}are the feature vectors of nodesiiandjj,𝐖\\mathbf\{W\}is the learnable weight matrix\.𝐚\\mathbf\{a\}is the weight vector used for computing the attention coefficients,LeakyReLUis the rectified linear unit activation function with a negative input slope\.σ\\sigmais the nonlinear activation function \(e\.g\., ReLU\),𝒩i\\mathcal\{N\}\_\{i\}is the neighborhood set of nodeii\.
- •GFormer GFormer is a model that combines GNNs with the Transformer architecture\[[89](https://arxiv.org/html/2607.16198#bib.bib89)\]\. The Transformer was initially proposed in the field of Natural Language Processing \(NLP\)\[[93](https://arxiv.org/html/2607.16198#bib.bib93)\]for processing sequential data, relying on the self\-attention mechanism to capture the relationships among elements within a sequence\. Subsequently, its effectiveness for graph data has also been demonstrated\. The core structure in Transformer is the self\-attention mechanism\. LetH=\[h1,⋯,hn\]∈ℝn×dH=\\left\[h\_\{1\},\\cdots,h\_\{n\}\\right\]\\in\\mathbb\{R\}^\{n\\times d\}denote the input of self\-attention module whereddis the hidden dimension andhi∈ℝ1×dh\_\{i\}\\in\\mathbb\{R\}^\{1\\times d\}is the hidden representation at positionii\. The inputHHis projected by three matricesWQ∈ℝd×dQW\_\{Q\}\\in\\mathbb\{R\}^\{d\\times d\_\{Q\}\},WK∈ℝd×dKW\_\{K\}\\in\\mathbb\{R\}^\{d\\times d\_\{K\}\}andWV∈ℝd×dVW\_\{V\}\\in\\mathbb\{R\}^\{d\\times d\_\{V\}\}to the corresponding representationsQ,K,VQ,K,V\. The self\-attention is then calculated as: Q=HWQ,K=HWK,V=HWVQ=HW\_\{Q\},\\quad K=HW\_\{K\},\\quad V=HW\_\{V\}\(7\)A=QK⊤dK,Attn\(H\)=softmax\(A\)VA=\\frac\{QK^\{\\top\}\}\{\\sqrt\{d\_\{K\}\}\},\\quad\\text\{Attn\}\(H\)=\\text\{softmax\}\(A\)V\(8\)Self\-attention mechanism can be applied to GNNs in various ways, When used as an inter\-layer propagation mechanism, it can be represented as: h\(l\)′\\displaystyle h^\{\{\}^\{\\prime\}\(l\)\}=MHA\(LN\(h\(l−1\)\)\)\+h\(l−1\)\\displaystyle=\\text\{MHA\}\(\\text\{LN\}\(h^\{\(l\-1\)\}\)\)\+h^\{\(l\-1\)\}\(9\)h\(l\)\\displaystyle h^\{\(l\)\}=FFN\(LN\(h\(l\)′\)\)\+h\(l\)′\\displaystyle=\\text\{FFN\}\(\\text\{LN\}\(h^\{\{\}^\{\\prime\}\(l\)\}\)\)\+h^\{\{\}^\{\\prime\}\(l\)\}\(10\)LN refers to layer normalization, MHA denotes multi\-head self\-attention, and FFN represents feed\-forward blocks\.
### 2\.3Link Prediction

Figure 3:GNN\-based link prediction framework\. This figure illustrates a typical GNN\-based link prediction pipeline\. A GNN encoder \(e\.g\., GCN, GAT, GAE, or GFormer\) takes the adjacency matrix and node features as input to generate node representations, which are then fed into an MLP decoder to predict missing links\. In the predicted graph, solid lines indicate node pairs predicted as positive \(i\.e\., existing links\), while dashed lines indicate node pairs predicted as negative \(i\.e\., missing links\)\.Link prediction is a specialized task within the edge\-level category, shown in Figure[3](https://arxiv.org/html/2607.16198#S2.F3)\. Link prediction aims to predict the existing yet unknown or missing links within a graph, leveraging both the existing graph topology and node features\. LetGo=\(𝒱,ℰo\)G^\{o\}=\(\\mathcal\{V\},\\mathcal\{E\}^\{o\}\)represent an observed graph withNNnodes, where𝒱\\mathcal\{V\}is the set of nodes andℰo\\mathcal\{E\}^\{o\}is the set of observed links \(edges\)\. The observed link setℰo\\mathcal\{E\}^\{o\}is a subset of the set of all true linksℰ∗\\mathcal\{E\}^\{\*\}, i\.e\.,ℰo⊂ℰ∗\\mathcal\{E\}^\{o\}\\subset\\mathcal\{E\}^\{\*\}\. The goal of link prediction is to infer missing links from a sample setℰs\\mathcal\{E\}^\{s\}, which contains both true \(inℰ∗\\mathcal\{E\}^\{\*\}\) and false \(not inℰ∗\\mathcal\{E\}^\{\*\}\) links\. Formally, design an algorithmLinkPredictorthat takes an observed graphGo⊂GG^\{o\}\\subset Gas input and a bool value\(or link probability\) as output:LinkPredictor\(Go\)=Π:𝒱×𝒱→\{True,False\}\\textsc\{LinkPredictor\}\(G^\{o\}\)=\\Pi:\\mathcal\{V\}\\times\\mathcal\{V\}\\rightarrow\\\{\\text\{True\},\\text\{False\}\\\}which accurately classifies links inℰs\\mathcal\{E\}^\{s\}\.
## 3Taxonomy of GNN\-Based link prediction
As a fundamental task in graph analysis, link prediction has consistently attracted significant research attention\. In recent years, driven by the rapid advancement of graph neural networks \(GNNs\), a large number of GNN\-based link prediction methods have emerged\. These methods leverage the powerful representation learning capabilities of GNNs and have achieved notable performance improvements\. However, despite the growing body of literature, few studies have systematically reviewed these works specifically from a GNN perspective\. Such a systematic review is crucial for identifying current technological trends, uncovering potential research gaps, and further advancing the field\. To address this gap, this survey comprehensively summarizes recent advances in link prediction from a GNN perspective and proposes a two\-dimensional fine\-grained taxonomy to highlight the pivotal role of GNNs in this domain\.
Figure 4:The detailed taxonomy of GNN\-based link prediction\. We categorize existing research into two major directions: techniques \(left\) and applications \(right\)\. Specifically, the technique direction is further subdivided into two groups: Group 1 comprises GCN\-based and GAE\-based methods, which focus on node\-wise, pair\-wise, and position encoding mechanisms; Group 2 includes GAT\-based and GFormer\-based methods, which emphasize local and global attention mechanisms\. The application direction highlights key real\-world scenarios, including knowledge graph completion and reasoning, as well as diverse recommendation systems\.Based on the inherent logic and objectives of this study, we categorize the existing research on link prediction into two major directions: techniques and applications, as illustrated in Figure 4\. From a technique perspective \(left\), we focus on literature that designs and optimizes GNN models specifically for link prediction\. This line of research aims to enhance the performance and efficiency of link prediction through innovative model architectures and optimization strategies\. Specifically, as shown in the hierarchical structure of Figure[4](https://arxiv.org/html/2607.16198#S3.F4), the technical evolution spans a paradigm shift from basic neighborhood aggregation in GCN\-based models to sophisticated adaptive attention and global dependency modeling in GFormer\-based architectures\. By categorizing these methods into node\-wise, pair\-wise, position encoding\-based, and attention\-based mechanisms, we highlight how different architectural designs address the intrinsic challenges of graph structural encoding\. From the application perspective \(right\), we concentrate on the deployment of link prediction techniques in real\-world scenarios\. In this direction, GNN\-based link prediction research demonstrates broad applicability and addresses crucial practical considerations\. This detailed two\-fold taxonomy ensures a comprehensive exploration of both the theoretical foundations and the empirical utility of current research\. The core literature of our survey is summarized in Table 1\. We provides a comparative analysis of mainstream GNN\-based link prediction models, highlighting their respective strengths and inherent limitations\. For example, GCN\-based methods offer high efficiency and robust local aggregation but are prone to structural over\-smoothing\. GAE\-based approaches excel in unsupervised distribution modeling, yet they often suffer from limited expressiveness and a transductive nature\. To address these issues, GAT\-based models introduce adaptive neighbor weighting to filter noise, while GFormer\-based models leverage global context to capture long\-range dependencies\. However, both GATs and GFormers face significant challenges in terms of high computational costs and memory bottlenecks\.
Table 1:Summary of GNN\-based link prediction techniques\.TaxonomyGraph TypeMethodModelYearReferenceGCN\-based LPGsG^\{s\}node\-wiseCPAGCN2023\[[21](https://arxiv.org/html/2607.16198#bib.bib21)\]PA2025\[[88](https://arxiv.org/html/2607.16198#bib.bib88)\]CLP2024\[[122](https://arxiv.org/html/2607.16198#bib.bib122)\]RGIB2023\[[126](https://arxiv.org/html/2607.16198#bib.bib126)\]TC2024\[[101](https://arxiv.org/html/2607.16198#bib.bib101)\]LTLP2024\[[100](https://arxiv.org/html/2607.16198#bib.bib100)\]pair\-wisewalkPooling2022\[[65](https://arxiv.org/html/2607.16198#bib.bib65)\]FakeEdge2022\[[14](https://arxiv.org/html/2607.16198#bib.bib14)\]DPLP2024\[[70](https://arxiv.org/html/2607.16198#bib.bib70)\]Scaled2022\[[49](https://arxiv.org/html/2607.16198#bib.bib49)\]PS22023\[[91](https://arxiv.org/html/2607.16198#bib.bib91)\]LGCL2023\[[121](https://arxiv.org/html/2607.16198#bib.bib121)\]ELPH2023\[[5](https://arxiv.org/html/2607.16198#bib.bib5)\]Proxi2024\[[92](https://arxiv.org/html/2607.16198#bib.bib92)\]BloomSigLP2024\[[115](https://arxiv.org/html/2607.16198#bib.bib115)\]Eclip2024\[[43](https://arxiv.org/html/2607.16198#bib.bib43)\]position\-encodingHPLC2024\[[30](https://arxiv.org/html/2607.16198#bib.bib30)\]PEG2022\[[96](https://arxiv.org/html/2607.16198#bib.bib96)\]GheG^\{he\}node\-wisexGCN2023\[[87](https://arxiv.org/html/2607.16198#bib.bib87)\]GhyG^\{hy\}node\-wiseLHGNN2025\[[77](https://arxiv.org/html/2607.16198#bib.bib77)\]GAE\-based LPGsG^\{s\}node\-wiseDGAE2022\[[105](https://arxiv.org/html/2607.16198#bib.bib105)\]CensNet\-VAE2023\[[27](https://arxiv.org/html/2607.16198#bib.bib27)\]D\-VGAE2024\[[9](https://arxiv.org/html/2607.16198#bib.bib9)\]Refined\-GAE2024\[[57](https://arxiv.org/html/2607.16198#bib.bib57)\]pair\-wiseLabeling Trick2022\[[114](https://arxiv.org/html/2607.16198#bib.bib114)\]NCNC2024\[[98](https://arxiv.org/html/2607.16198#bib.bib98)\]GAT\-based LPGheG^\{he\}global attentionSIHG2023\[[53](https://arxiv.org/html/2607.16198#bib.bib53)\]LPMPA2023\[[123](https://arxiv.org/html/2607.16198#bib.bib123)\]GmG^\{m\}local attentionML\-link2024\[[112](https://arxiv.org/html/2607.16198#bib.bib112)\]GdG^\{d\}global & local attentionDATGN2023\[[61](https://arxiv.org/html/2607.16198#bib.bib61)\]local attentionCTGLP2024\[[52](https://arxiv.org/html/2607.16198#bib.bib52)\]TNCN2024\[[116](https://arxiv.org/html/2607.16198#bib.bib116)\]IDEA2024\[[68](https://arxiv.org/html/2607.16198#bib.bib68)\]GsG^\{s\}local attentionDisenlink2022\[[124](https://arxiv.org/html/2607.16198#bib.bib124)\]Debias2023\[[54](https://arxiv.org/html/2607.16198#bib.bib54)\]GFormer\-based LPGsG^\{s\}global attentionLPFormer2024\[[83](https://arxiv.org/html/2607.16198#bib.bib83)\]SIEG2024\[[82](https://arxiv.org/html/2607.16198#bib.bib82)\]GdG^\{d\}local attentionBehaviorNet2024\[[44](https://arxiv.org/html/2607.16198#bib.bib44)\]T\-SPEAR2024\[[36](https://arxiv.org/html/2607.16198#bib.bib36)\]GheG^\{he\}global attentionPath2pair2024\[[20](https://arxiv.org/html/2607.16198#bib.bib20)\]\\botrule
Technique perspective: GNNs have proven effective in link prediction, leading to the emergence of various methods\. These methods mainly use a message\-passing mechanism and can be categorized into four types based on their backbone networks: GCN\-based, GAE\-based, GAT\-based, GFormer\-based\. GCN updates node embeddings by aggregating information from their neighbors, but its limitation lies in its strong assumption of graph homophily\. Therefore, GCN\-based methods are mostly used for homogeneous graphs\. GAE demonstrates stronger applicability and efficiency in unsupervised learning and large\-scale graph data processing\. It is worth noting that, in this survey, GAE\-based methods refer to those that employ GAE as the backbone model\. GAT introduces an attention mechanism that allows the model to dynamically assign different weights to different neighbors\. Thus, GAT\-based methods are well suited for graphs with distinct node features or complex structures\. Owing to its effectiveness, the Transformer architecture has been increasingly adopted for graph data processing and widely applied to link prediction tasks\. GFormer\-based methods encompass approaches that integrate Transformer technology into GNNs\.
Application perspective: Given their representative significance and practical value, KGs and recommendation systems receive significant attention in this survey\. KGs utilize link prediction to complete missing relationships or infer potential connections, widely applied in fields such as semantic search and intelligent question answering\. Recommendation systems, on the other hand, enhance the accuracy of personalized recommendations by predicting potential interactions between users and items\. These two domains not only demonstrate substantial practical significance but also present critical technical challenges, including data sparsity and dynamic behavior modeling, which have garnered considerable attention in cutting\-edge research\. Particularly in recent years, with the advancement of GNNs, the application of link prediction in KGs and recommendation systems has seen remarkable progress, becoming a focal point of research\.
## 4Technique perspective
### 4\.1GCN\-based Link Prediction
GCN is an efficient graph learning model commonly used for link prediction, particularly in static homogeneous graphs\. GNN\-based link prediction methods employ message\-passing mechanisms to iteratively aggregate neighborhood information, integrating both node attributes and topology information to learn effective latent node embeddings\. Following this paradigm, recent research have enhanced the expressive power of GCN specifically tailored for link prediction scenarios in three ways: node\-wise approaches\[[21](https://arxiv.org/html/2607.16198#bib.bib21),[88](https://arxiv.org/html/2607.16198#bib.bib88),[122](https://arxiv.org/html/2607.16198#bib.bib122),[87](https://arxiv.org/html/2607.16198#bib.bib87),[126](https://arxiv.org/html/2607.16198#bib.bib126),[101](https://arxiv.org/html/2607.16198#bib.bib101),[77](https://arxiv.org/html/2607.16198#bib.bib77)\], pair\-wise approaches\[[115](https://arxiv.org/html/2607.16198#bib.bib115),[43](https://arxiv.org/html/2607.16198#bib.bib43),[70](https://arxiv.org/html/2607.16198#bib.bib70),[65](https://arxiv.org/html/2607.16198#bib.bib65),[5](https://arxiv.org/html/2607.16198#bib.bib5),[14](https://arxiv.org/html/2607.16198#bib.bib14),[92](https://arxiv.org/html/2607.16198#bib.bib92),[91](https://arxiv.org/html/2607.16198#bib.bib91),[49](https://arxiv.org/html/2607.16198#bib.bib49),[121](https://arxiv.org/html/2607.16198#bib.bib121)\]and position\-encoding approaches\[[30](https://arxiv.org/html/2607.16198#bib.bib30),[96](https://arxiv.org/html/2607.16198#bib.bib96)\]\. Node\-wise methods focus on learning representations for individual nodes and then combining the representations of node pairs for prediction, emphasizing the feature information of nodes and their neighbors\. In contrast, pair\-wise methods directly focus on the complex structural information between node pairs, such as the subgraphs structures centered around node pairs or common neighbors\. These structural features are crucial for link prediction\. Position\-encoding methods capture the position information of nodes in a graph to distinguish isomorphic nodes\.
As a significant instantiation of GCN\-based link prediction, node\-wise approaches remain prevalent in contemporary research\. Node\-wise link prediction methods leverage GCN’s node\-centric characteristics to learn representations for the two end nodes of a link, obtaining link representations through concatenation or summation\. CPAGCN\[[21](https://arxiv.org/html/2607.16198#bib.bib21)\]found that nodes within the same community or with greater community overlap are more likely to form links\. Therefore, the author integrates the node representation matrix obtained through GCN with an overlapping community detection model to reconstruct the graph\. This method improves link prediction accuracy by leveraging community\-shared information via loss of graph construct\. Subramonian et al\.\[[88](https://arxiv.org/html/2607.16198#bib.bib88)\]first discovered that GCNs using a symmetric normalized graph filter exhibit a preferential attachment \(PA\) bias within the group, a tendency in link prediction tasks to link nodes with high degrees\. To tackle the group\-level unfairness resulting from this PA bias, the article introduces a fairness regularization term into the original GCN’s training loss function\. By refining the structure of GNNs and introducing a hybrid aggregator, Rui et al\.\[[77](https://arxiv.org/html/2607.16198#bib.bib77)\]achieved enhanced performance in higher\-order link prediction while also streamlining the model architecture\. To construct a reliable prediction interval for GCN\-Based link prediction, Zhao et al\.\[[122](https://arxiv.org/html/2607.16198#bib.bib122)\]incorporated conformal prediction techniques into link prediction\. Additionally, sampling methods were employed to adjust the degree distribution of the graph nodes to approximate a power\-law distribution, thereby enhancing the efficiency of conformal prediction\. Wang et al\.\[[101](https://arxiv.org/html/2607.16198#bib.bib101)\]assign weights to edges based on the local subgraph differences between nodes, enabling nodes to obtain information from nodes with stronger topological interactions\. RGIB\[[126](https://arxiv.org/html/2607.16198#bib.bib126)\]enhances model robustness against noise by balancing the mutual information between input graph topology, target labels, and learned representations\. Wang et al\.\[[100](https://arxiv.org/html/2607.16198#bib.bib100)\]proposed a data augmentation method that can be used for both node\-wise and pair\-wise methods\. LTLP\[[100](https://arxiv.org/html/2607.16198#bib.bib100)\]introduced the long\-tail problem in link prediction: pairs with many common neighbors are a minority\. A subgraph enhancement module is designed to improve link prediction performance by increasing the number of common neighbors of the tail nodes\. Unlike other methods, xGCN\[[87](https://arxiv.org/html/2607.16198#bib.bib87)\]utilizes an unsupervised link prediction approach for heterogeneous graphs, enhancing the efficiency and scalability of the GCN\.

Figure 5:Coupled pair\-wise method\. Main coupled pair\-wise methods is subgraph\-based, leveraging GNNs to learn the subgraph structure around links\.
Figure 6:Decoupled pair\-wise method\. Most decoupled pairwise methods build upon node\-wise methods by adding pairwise structural information\. The design focus of these methods lies in the pairwise feature encoder\.Pair\-wise methods represent another important approach to GCN\-based link prediction, which have garnered substantial attention for their ability to directly model the intricate structural relationships between node pairs\. GCN sometimes shows suboptimal results in link prediction, which can be largely attributed to its neglect of information specific to target links\. For example, it may not learn the similarity between node pairs like link heuristics do, Chen et al\.\[[8](https://arxiv.org/html/2607.16198#bib.bib8)\]proves that GNNs are unable to count connected substructures such as triangles\. To enhance the expressive ability of vanilla GCN, many methods have incorporated link\-specific structural information into GCN\. Pair\-wise methods can be further divided into coupled and uncoupled methods, the difference between these two categories can be seen in Figure[5](https://arxiv.org/html/2607.16198#S4.F5)and Figure[6](https://arxiv.org/html/2607.16198#S4.F6)\. A common and effective coupled approach is to extract the local subgraph of the target link and classify it using GCN\[[65](https://arxiv.org/html/2607.16198#bib.bib65),[14](https://arxiv.org/html/2607.16198#bib.bib14),[70](https://arxiv.org/html/2607.16198#bib.bib70),[49](https://arxiv.org/html/2607.16198#bib.bib49),[91](https://arxiv.org/html/2607.16198#bib.bib91)\]\. However, they extract the subgraph in different ways\. WalkPooling\[[65](https://arxiv.org/html/2607.16198#bib.bib65)\]and FakeEdge\[[14](https://arxiv.org/html/2607.16198#bib.bib14)\]captures rich structural information by sampling k\-hop neighborhood subgraphs\. To reduce data dependency, Ran et al\.\[[70](https://arxiv.org/html/2607.16198#bib.bib70)\]propose an innovative path subgraph extraction method to replace the neighborhood subgraph\. ScaLed\[[49](https://arxiv.org/html/2607.16198#bib.bib49)\]employs random walks for subgraph sampling\. Furthermore, Tan et al\.\[[91](https://arxiv.org/html/2607.16198#bib.bib91)\]innovatively parameterize the subgraph selection process, enabling it to automatically learn and infer the optimal subgraph structure based on the features of the edges\. As an innovative edge representation method, subgraph extraction has also been introduced into a contrastive learning framework\[[121](https://arxiv.org/html/2607.16198#bib.bib121)\]\. Zhang et al\.\[[121](https://arxiv.org/html/2607.16198#bib.bib121)\]improves performance in link prediction tasks by maximizing the mutual information between edge representations obtained through subgraphs and line graphs\. Subgraph extraction\-based methods have achieved significant performance\. However, explicitly constructing subgraphs is computationally expensive\. So, many researchers try to design decoupled models\. To reduce computational burden, these decoupled methods encode structural features and integrate them as additional features to enhance GCN\[[5](https://arxiv.org/html/2607.16198#bib.bib5),[92](https://arxiv.org/html/2607.16198#bib.bib92),[115](https://arxiv.org/html/2607.16198#bib.bib115)\]\. BloomSigLP\[[115](https://arxiv.org/html/2607.16198#bib.bib115)\]encodes node neighborhoods by compressing neighborhood information into compact bit arrays using hashing techniques, and recovers structural features such as neighborhood overlap through simple bitwise operations\. ELPH\[[5](https://arxiv.org/html/2607.16198#bib.bib5)\]uses subgraph sketches to estimate the intersection and union of node neighborhoods, allowing the rapid computation of structural features during training and inference\. PROXI\[[92](https://arxiv.org/html/2607.16198#bib.bib92)\]encodes structural indices and domain indices into a set of features and combines them with the node pair representations learned by GCN to predict the existence of links\. However, the aforementioned methods all overlook the rich information contained in the edges of the graph\. To fill this gap, ECLip\[[43](https://arxiv.org/html/2607.16198#bib.bib43)\]integrates edge information into node embeddings using a contrastive learning framework and feeds the node embeddings into a pair\-wise predictor for link prediction\.
Position\-encoding approaches is a technique for mapping nodes in a graph to a low\-dimensional vector space, where these vectors capture the position information of the nodes within the graph\. Position\-encoding improves the GNN understanding of graph structure and differentiates isomorphic nodes\. HPLC\[[30](https://arxiv.org/html/2607.16198#bib.bib30)\]integrate landmark selection with graph clustering to assign location information to nodes to distinguish various links\. PEG\[[96](https://arxiv.org/html/2607.16198#bib.bib96)\]generates permutation\-equivariant positional encodings by separately updating node and position features\.
### 4\.2GAE\-based Link Prediction
GAE is an advanced encoder\-decoder GNN designed for efficient processing of graph data\. By minimizing reconstruction loss, GAE learns effective representations, ensuring scalability for large datasets\. The node embeddings produced by GAE aid in predicting unobserved links, making it popular for link prediction tasks\. Similar to GCN, GAE\-based methods are mostly used for homogeneous graphs\.
Recently, many researchers have made improvements to GAE for the link prediction task\. Ma et al\.\[[57](https://arxiv.org/html/2607.16198#bib.bib57)\]optimized GAE through hyperparameter tuning and techniques like orthogonal embedding and linear propagation, achieving the performance of more complex models while improving computational efficiency\. A hybrid structural model for link prediction was designed by combining CensNet and VAE in CensNet\-VAE\[[27](https://arxiv.org/html/2607.16198#bib.bib27)\]\. The structure employs CensNet in the encoder, which is a generic graph embedding architecture consisting of node and edge layers\. D\-VGAE\[[9](https://arxiv.org/html/2607.16198#bib.bib9)\]highlights the limitations of the homogeneity assumption in GAE for link prediction tasks\. It proposes a hard Expectation\-Maximization \(EM\) algorithm for end\-to\-end learning by integrating two distinct embedding spaces: a homogeneity space based on cosine similarity and a node popularity space based on the norm\. Most GAE\-based link prediction techniques rely on its shallow structure\. DGAE\[[105](https://arxiv.org/html/2607.16198#bib.bib105)\]breaks through the limitations of traditional GAE\-based link prediction methods\. It is the first to enhance the performance of GAE by deepening its structure, thereby more effectively extracting information from higher\-order neighborhoods and node features\. By constructing residual connections and using autoencoders for co\-embeddings, the model captures multi\-scale information and generates a more compact joint edge\-node representation, significantly improving the accuracy and robustness of link prediction\.
These methods have made improvements to GAE and have boosted the performance of link prediction in various ways\. However, their fundamental approach is still to first apply GAE to the entire network to calculate the feature representation of each node and then aggregate the features of the two end nodes of a link to predict the likelihood of the link\. However, this approach prevents GAE from capturing the interdependencies between the two nodes at the ends of a link, and it fails to distinguish links with different structural roles within the graph\. Labeling Trick\[[114](https://arxiv.org/html/2607.16198#bib.bib114)\]and NCNC\[[98](https://arxiv.org/html/2607.16198#bib.bib98)\]have explored the causes of this limitation and have enhanced GAE’s ability to represent multiple nodes effectively\. Zhang et al\.\[[114](https://arxiv.org/html/2607.16198#bib.bib114)\]leverage target\-nodes\-distinguishing and permutation equivariance properties of the labeling trick to learn the most expressive structural representation for a set of nodes\. This enables GAE to assign the same representation to isomorphic links while differentiating all non\-isomorphic links\. Wang et al\.\[[98](https://arxiv.org/html/2607.16198#bib.bib98)\]guide the pooling step of the original GAE\-based link prediction method by combining the node representations of the target link’s end nodes and their common neighbors\. This approach helps GAE distinguish between non\-isomorphic links formed by isomorphic nodes\.
### 4\.3GAT\-based Link Prediction
GCN and GAE typically assume that all neighboring nodes contribute equally when aggregating neighborhood information\. This approach is straightforward and efficient\. However, these models face challenges when dealing with complex and heterogeneous structures\. In contrast, GAT employs an attention mechanism that allows it to dynamically assign different weights to neighboring nodes based on their importance, as shown in Figure[7](https://arxiv.org/html/2607.16198#S4.F7)\. This enables the model to selectively focus on more relevant neighbors when aggregating information, thereby enhancing its ability to capture complex relationships within the graph\.

Figure 7:Two types of attention mechanisms in GNN\-based link prediction methods\. Local attention focuses only on the direct neighbors of the target node, which global attention further involves higher\-order neighbors\.Given that GAT can distinguish between different types of nodes and edges, numerous GAT\-based techniques have recently been widely applied to heterogeneous graphs\[[112](https://arxiv.org/html/2607.16198#bib.bib112),[123](https://arxiv.org/html/2607.16198#bib.bib123),[53](https://arxiv.org/html/2607.16198#bib.bib53)\]\. ML\-Link\[[112](https://arxiv.org/html/2607.16198#bib.bib112)\]employs the attention mechanism in multilayer heterogeneous graphs to dynamically assign weights to different types of overlapping neighbor, highlighting the significance of different neighborhoods more effectively\. SIHG\[[53](https://arxiv.org/html/2607.16198#bib.bib53)\]successfully employs GAT for signed heterogeneous graphs by integrating a sign attention module\. This approach maximizes mutual information between edge polarities and node embeddings, facilitating the recognition of the most representative neighboring nodes for edge sign inference\. Zhao et al\.\[[123](https://arxiv.org/html/2607.16198#bib.bib123)\]employ a local attention mechanism to dynamically aggregate the embeddings of the node pair of different metapaths, effectively capturing the significance of local semantic information in heterogeneous networks to improve the accuracy of link prediction\.
Additionally, GAT has also demonstrated remarkable performance in dynamic graphs\[[116](https://arxiv.org/html/2607.16198#bib.bib116),[61](https://arxiv.org/html/2607.16198#bib.bib61),[52](https://arxiv.org/html/2607.16198#bib.bib52),[68](https://arxiv.org/html/2607.16198#bib.bib68)\]\. CTGLP\[[52](https://arxiv.org/html/2607.16198#bib.bib52)\]incorporates a time\-aware local attention mechanism that assigns higher aggregation weights to neighboring nodes with more recent interactions with the central node\. This method effectively captures temporal dependencies in dynamic graphs, significantly enhancing the performance of dynamic link prediction\. DATGN\[[61](https://arxiv.org/html/2607.16198#bib.bib61)\]introduces global and local dual\-attention mechanisms to capture the global temporal information and local spatiotemporal evolution patterns in dynamic graphs, demonstrating the unique value of attention mechanisms in dynamic graph analysis\. Qin et al\.\[[68](https://arxiv.org/html/2607.16198#bib.bib68)\]introduce an attention mechanism to dynamically align node hidden states across different time steps in dynamic graphs, effectively handling changes in node sets and enhancing the model’s adaptability and prediction accuracy\. TNCN\[[116](https://arxiv.org/html/2607.16198#bib.bib116)\]also successfully applies graph attention to link prediction in dynamic graphs\. This method enhances the performance of dynamic link prediction by efficiently extracting temporal neighboring structures and obtaining multi\-hop common neighbor information\. Notably, the method employs graph attention embeddings to process node memory, thereby acquiring temporal representations\.
Most significantly, GAT can also effectively address more complex issues within homogeneous graphs\[[124](https://arxiv.org/html/2607.16198#bib.bib124),[54](https://arxiv.org/html/2607.16198#bib.bib54)\]\. For instance, zhou et al\.\[[124](https://arxiv.org/html/2607.16198#bib.bib124)\]creatively introduces the disentangled representation learning for link prediction in heterophilic graphs\. Typically, homogeneous graphs generally conform to the homophily hypothesis, which suggests that nodes exhibiting similar attributes are more likely to be connected\. However, this assumption does not always hold in real\-world networks\. Heterogeneity refers to the tendency of nodes to connect to nodes with different characteristics or class labels\. Moreover, luo et al\.\[[54](https://arxiv.org/html/2607.16198#bib.bib54)\]propose a twin\-structure framework to alleviate the bias between cross\-links and internal\-links through data augmentation and embedding fusion\. The framework uses GAT as its GNN model, leveraging its dynamic attention mechanism to generate effective node embeddings and improve the capture of inter\-community connections\.
### 4\.4GFormer\-based Link Prediction
In recent years, Transformer\[[89](https://arxiv.org/html/2607.16198#bib.bib89)\]architecture has achieved remarkable results in various fields\. Graphormer\[[110](https://arxiv.org/html/2607.16198#bib.bib110)\]shows that the Transformer architecture is not only a dominant choice in natural language processing\[[13](https://arxiv.org/html/2607.16198#bib.bib13),[46](https://arxiv.org/html/2607.16198#bib.bib46)\]and computer vision\[[33](https://arxiv.org/html/2607.16198#bib.bib33),[47](https://arxiv.org/html/2607.16198#bib.bib47)\], but also attain excellent results on graph representation learning\. Compared to GAT, the self\-attention of the transformer allows it to simultaneously consider relationships between all nodes in the graph, rather than just those within local neighborhoods\. This global perception enables the Transformer to capture long\-range dependencies between nodes, which is crucial for link prediction since future links may be influenced by nodes that are far apart\. The unique strengths of Graph Transformer facilitate its extensive application in a variety of complex graphs\[[83](https://arxiv.org/html/2607.16198#bib.bib83),[82](https://arxiv.org/html/2607.16198#bib.bib82),[20](https://arxiv.org/html/2607.16198#bib.bib20),[44](https://arxiv.org/html/2607.16198#bib.bib44),[36](https://arxiv.org/html/2607.16198#bib.bib36)\]\.
LPFormer\[[83](https://arxiv.org/html/2607.16198#bib.bib83)\]and SIEG\[[82](https://arxiv.org/html/2607.16198#bib.bib82)\]utilize transformer to encode the structural relationships between target node pairs, successfully applying the transformer architecture to homogeneous graphs\. LPFormer\[[83](https://arxiv.org/html/2607.16198#bib.bib83)\]employs an attention module to capture the diverse structural features that contribute to link formation, alleviating the inductive bias caused by previously classifying all links using the same fundamental factors\. Similarly, SIEG\[[82](https://arxiv.org/html/2607.16198#bib.bib82)\]introduces the Binary Structural Transformer to learn different heuristics for target links\. In heterogeneous graphs, transformers can also play a significant role\. Paths2Pair\[[20](https://arxiv.org/html/2607.16198#bib.bib20)\]introduces two important modules, Meta\-Path Level Aggregation and Pair Level Aggregation, in the heterogeneous graph link prediction framework\. The former utilizes transformer structure to aggregate the information of each type of meta\-path to the target node pairs, while the latter aggregates the interactions between different meta\-paths\. This approach effectively reduces the complexity and information loss challenges often encountered by traditional GNNs when handling heterogeneous graphs\. BehaviorNet\[[44](https://arxiv.org/html/2607.16198#bib.bib44)\]and T\-SPEAR\[[36](https://arxiv.org/html/2607.16198#bib.bib36)\]innovatively applies the transformer architecture to dynamic graphs\. By leveraging the self\-attention mechanism of the Transformer, liu et al\.\[[44](https://arxiv.org/html/2607.16198#bib.bib44)\]incorporate edge behaviors as supplementary information into node representations, thereby enhancing the structural information of nodes\. Additionally, the integration of fine\-grained temporal information as auxiliary attributes into the graph representation contributes to improved performance in dynamic graph link prediction\. T\-SPEAR\[[36](https://arxiv.org/html/2607.16198#bib.bib36)\]is an adversarial attack method for link prediction on continuous\-time dynamic graphs\. It employs a Transformer\-enhanced surrogate model to estimate edge formation probabilities and injects highly improbable edges as adversarial examples, subtly disrupting the target model’s predictions\.
## 5Application perspective
In the real world, many systems can be abstracted as graphs, and many problems within these systems can be modeled as link prediction tasks\. Efficient link prediction not only deepens our understanding of network construction and evolution\[[16](https://arxiv.org/html/2607.16198#bib.bib16)\], but also unlocks broad applications across multiple fields\. In KGs, link prediction helps complete missing or new relations\[[119](https://arxiv.org/html/2607.16198#bib.bib119),[45](https://arxiv.org/html/2607.16198#bib.bib45)\], enhancing our understanding of their dynamics\. Moreover, it also enhances the effectiveness of KGs in intelligent query answering scenarios\[[2](https://arxiv.org/html/2607.16198#bib.bib2)\]\. In social networks, link prediction technology is widely applied in friend recommendations\[[86](https://arxiv.org/html/2607.16198#bib.bib86),[79](https://arxiv.org/html/2607.16198#bib.bib79)\], personalized recommendations\[[108](https://arxiv.org/html/2607.16198#bib.bib108),[56](https://arxiv.org/html/2607.16198#bib.bib56),[58](https://arxiv.org/html/2607.16198#bib.bib58)\], and session\-based recommendations \(SBR\)\[[118](https://arxiv.org/html/2607.16198#bib.bib118),[117](https://arxiv.org/html/2607.16198#bib.bib117),[106](https://arxiv.org/html/2607.16198#bib.bib106)\]\. By predicting possible connections between users, these systems can provide more accurate social relationship recommendations and personalized content delivery, greatly enhancing the user experience\. In biological networks, identifying interactions between entities can be expensive and time\-consuming\. Link prediction technology can lower experimental costs and accelerate the understanding of these networks through accurate predictions\[[11](https://arxiv.org/html/2607.16198#bib.bib11),[71](https://arxiv.org/html/2607.16198#bib.bib71)\]\. Link prediction can predict drug\-drug interactions\[[48](https://arxiv.org/html/2607.16198#bib.bib48)\], supporting combination therapies and accelerating drug development\. This section focuses on analyzing the recent applications of link prediction technology in KGs and recommendation systems, highlighting innovative practices and their value\.
### 5\.1Link prediction for knowledge graph
KGs are networks representing real\-world entities and their relationships\. As a fundamental infrastructure for structured knowledge representation, KGs effectively model real\-world semantic relationships through triple structures \(head entity\-relation\-tail entity\)\. Their robust semantic reasoning capabilities, demonstrated in tasks such as semantic parsing\[[4](https://arxiv.org/html/2607.16198#bib.bib4),[22](https://arxiv.org/html/2607.16198#bib.bib22)\], scene graph generation\[[113](https://arxiv.org/html/2607.16198#bib.bib113)\], and intelligent question\-answering\(QA\) systems\[[23](https://arxiv.org/html/2607.16198#bib.bib23),[2](https://arxiv.org/html/2607.16198#bib.bib2)\], have significantly advanced cognitive intelligence\. However, KGs often suffer from incompleteness due to three primary factors: \(1\) the dynamic evolution of entity relationships hindering real\-time updates, \(2\) information loss during the integration of multi\-source heterogeneous data, and \(3\) technical limitations in explicitly capturing implicit relationships during knowledge acquisition\. Such structural deficiencies severely impair KG performance in downstream applications\. For instance, missing critical relational chains may lead to erroneous reasoning outputs in QA systems\.

Figure 8:GNN\-based link prediction framework for knowledge graph \(KG\) completion\. The pipeline translates a query triple \(h,r,?\) into a downstream inference task by leveraging multi\-relational context\. Specifically, a GNN\-based encoding module processes the KG to simultaneously capture global topological patterns and local subgraph structures, generating high\-dimensional latent embeddings\. By projecting entities \(e\.g\., Kobe Bryant\) and relations \(e\.g\., work for\) into a unified vector space, the framework computes the likelihood of candidate tail entities, thereby completing the missing link \(e\.g\., Los Angeles Lakers\) based on the learned structural representations\.Knowledge Graph Completion \(KGC\) addresses these gaps by predicting missing triples to enhance semantic networks\. It strengthens the logical completeness of KGs to support complex reasoning tasks\. As the core technical of KGC, link prediction models latent interaction patterns between entities to effectively infer unobserved relationships\. The performance of link prediction directly determines both the accuracy and scalability of knowledge completion\. Recent years have witnessed remarkable breakthroughs in KG link prediction techniques, with advanced methodologies substantially improving prediction reliability and computational efficiency\. We illustrate the GNN\-based KGC pipeline in Fig\.[8](https://arxiv.org/html/2607.16198#S5.F8)\.
Link prediction has always been a crucial task in KGs\. Inductive link prediction has gained significant attention in recent years because of its practicality and challenges\[[38](https://arxiv.org/html/2607.16198#bib.bib38),[119](https://arxiv.org/html/2607.16198#bib.bib119),[120](https://arxiv.org/html/2607.16198#bib.bib120),[45](https://arxiv.org/html/2607.16198#bib.bib45),[63](https://arxiv.org/html/2607.16198#bib.bib63)\]\. Inductive link prediction is a key reasoning task in KGs, aiming to predict relationships between entities that do not appear in the training data, rather than relying solely on known entities and relationships\. This task is especially important for dynamically evolving KGs\. FAGA\[[38](https://arxiv.org/html/2607.16198#bib.bib38)\], LCILP\[[63](https://arxiv.org/html/2607.16198#bib.bib63)\]and REST\[[45](https://arxiv.org/html/2607.16198#bib.bib45)\]achieve inductive learning by extracting subgraphs around target triples and using a GNN to score the subgraphs\. Unlike previous subgraph extraction methods, LCILP\[[63](https://arxiv.org/html/2607.16198#bib.bib63)\]modifies the subgraph sampling approach by employing a locality\-aware clustering method based on Personalized PageRank to sample densely related subgraphs around target links, thereby improving prediction efficiency\. Additionally, FAGA\[[38](https://arxiv.org/html/2607.16198#bib.bib38)\]identifies the causal relationship between subgraph semantic patterns and relation prediction, overcoming the limitations of redundant information\. REST\[[45](https://arxiv.org/html/2607.16198#bib.bib45)\]adopts a single\-source initialization method, initializing edge features only for target links, which ensures the relevance of the mined rules to the target links\. In contrast, DEKG\-ILP\[[119](https://arxiv.org/html/2607.16198#bib.bib119)\]and ISE2\[[120](https://arxiv.org/html/2607.16198#bib.bib120)\]focus on the characteristics of emerging KGs to enhance the performance of inductive link prediction\. DEKG\-ILP\[[119](https://arxiv.org/html/2607.16198#bib.bib119)\]optimizes closed link and bridging link through two modules, CLRM and GSM, significantly improving the performance of inductive link prediction for discrete emerging KGs\. ISE2\[[120](https://arxiv.org/html/2607.16198#bib.bib120)\]effectively captures the long\-term dependency interactions and incremental features between emerging KGs at different stages by incorporating two modules, SEFM and AGQ, which take into account the sequential\-emerging nature of KGs\. In addition to inductive learning, some special scenario settings have also been explored\. For instance, CEKFA\[[99](https://arxiv.org/html/2607.16198#bib.bib99)\]extends the traditional normalization of noun phrases to the normalization of relation phrases and triples\. Compared to the traditional method of decomposing n\-ary relational facts into triples, NaLP\[[18](https://arxiv.org/html/2607.16198#bib.bib18)\]models n\-ary data by representing each n\-ary relational fact as a set of role\-value pairs, explicitly capturing the correlations among them\. This approach avoids the information loss associated with traditional decomposition into triples\. KGs often contain some noisy information, NYLON\[[111](https://arxiv.org/html/2607.16198#bib.bib111)\]innovatively introduces element\-wise and fact\-wise confidences via a “least confidence” principle, and combines it with active crowd learning, to investigate knowledge graph link prediction technology in noisy environments for the first time\. Another technique for link prediction in KGs is optimizing knowledge graph representation learning\[[51](https://arxiv.org/html/2607.16198#bib.bib51),[95](https://arxiv.org/html/2607.16198#bib.bib95),[12](https://arxiv.org/html/2607.16198#bib.bib12),[50](https://arxiv.org/html/2607.16198#bib.bib50),[10](https://arxiv.org/html/2607.16198#bib.bib10)\]\. There are many sub\-tasks of link prediction on KGs\. In order to unify the input forms, contextual modeling of specific tasks, and encoding of topological information, UniLP\[[41](https://arxiv.org/html/2607.16198#bib.bib41)\]utilizes generative pre\-trained language models to provide a unified framework for different link prediction sub\-tasks\.
Beyond predicting relationships between entities, link prediction also plays a vital role in knowledge question answering on incomplete KGs\[[2](https://arxiv.org/html/2607.16198#bib.bib2),[62](https://arxiv.org/html/2607.16198#bib.bib62)\]\. CQD\[[62](https://arxiv.org/html/2607.16198#bib.bib62)\]breaks down complex queries into differentiable optimization problems and uses a pre\-trained neural link predictor to calculate the truth value of each atomic query, achieving efficient answers to complex queries\. Subsequently, Arakelyan et al\.\[[2](https://arxiv.org/html/2607.16198#bib.bib2)\]effectively improved the accuracy of answering complex queries on incomplete knowledge graphs by recalibrating neural link prediction scores\. These studies have significantly enhanced the capacity for knowledge question answering on incomplete KGs\.
### 5\.2Link prediction for recommend system
Recommendation systems are essential technologies for modern internet platforms, significantly improving user experience and platform value by predicting users’ interests in products or content\. However, with the increasing complexity and dynamism of user behavior data, traditional recommendation methods face numerous challenges, such as data sparsity, cold start issues, and capturing dynamic preferences\. In recent years, GNNs and their applications in link prediction have provided new ideas for addressing these issues\. In the context of recommendation systems, link prediction can be transformed into predicting potential interaction relationships between users and items, such as purchases, views, or clicks\. GNN\-based link prediction methods can effectively capture the complex relationships between users and items by learning node embeddings in the graph structure while handling heterogeneous information and dynamic behaviors\. In this section, we will explore the application of GNN\-based link prediction in recommendation systems, focusing on GNN\-based recommendation methods\.

Figure 9:The GNN\-based link prediction framework for a session\-based recommendation system\. Input sessions are transformed into session graphs to capture item transition patterns\. A GNN layer aggregates neighborhood features into hidden embeddings, which are synthesized into a global session representation to predict the ranked recommendation list for the next item\.Traditional recommendation systems rely on user identity and long\-term behavior data for personalized recommendations\[[80](https://arxiv.org/html/2607.16198#bib.bib80),[34](https://arxiv.org/html/2607.16198#bib.bib34)\]\. However, with the strengthening of privacy policies and the increase in anonymous users, these methods are no longer applicable\. SBR have emerged\[[37](https://arxiv.org/html/2607.16198#bib.bib37),[104](https://arxiv.org/html/2607.16198#bib.bib104),[118](https://arxiv.org/html/2607.16198#bib.bib118)\], which utilize only short\-term behavior sequences within the user’s current session to predict the next behavior\. SBR predicts the next user interaction based on behavioral patterns within the current session, which can be seen as a special link prediction problem\. Recently, Numerous advanced approaches transform user session behavior sequences into graph representations\[[102](https://arxiv.org/html/2607.16198#bib.bib102),[69](https://arxiv.org/html/2607.16198#bib.bib69),[66](https://arxiv.org/html/2607.16198#bib.bib66),[97](https://arxiv.org/html/2607.16198#bib.bib97),[117](https://arxiv.org/html/2607.16198#bib.bib117),[103](https://arxiv.org/html/2607.16198#bib.bib103),[109](https://arxiv.org/html/2607.16198#bib.bib109)\], capitalizing on the inherent advantages of GNN for processing non\-Euclidean data structures\. The basic GNN\-based method for SBR is shown as Fig\.[9](https://arxiv.org/html/2607.16198#S5.F9)\. The inherent capability of GNNs to dynamically capture both intra\-session item transition relationships and inter\-session behavioral correlations has led to the successful application of GNN\-based link prediction methodologies in recommendation systems, particularly for session\-based scenarios where understanding temporal dependencies and latent connectivity patterns is crucial\. BiPNet proposed by Zhang et al\.\[[117](https://arxiv.org/html/2607.16198#bib.bib117)\]constructs a heterogeneous hypergraph, using users’ behavioral features as different types of nodes, and captures high\-order relationships through hyperedges, effectively capturing users’ price preferences and interest preferences, successfully improving the performance of SBR\. RNMSR\[[103](https://arxiv.org/html/2607.16198#bib.bib103)\]learns instance\-level preferences through GNN, modeling users’ repeat consumption behavior by combining instance\-level and group\-level user preferences, providing a new perspective for SBR\. H3GNN\[[109](https://arxiv.org/html/2607.16198#bib.bib109)\]integrates hierarchical GNN and directed graph aggregators to effectively capture both the high\-order relationships between users and items and the sequential dependencies within sessions\. LP\-MRGNN\[[97](https://arxiv.org/html/2607.16198#bib.bib97)\]captures global item relationships across sessions by creating a multi\-relational item graph that encompasses both target and auxiliary behaviors, which are encoded with GNN\. Additionally, the model innovatively integrates the link prediction task into the loss function to assist in training, significantly enhancing recommendation performance\. Moreover, xia et al\.\[[106](https://arxiv.org/html/2607.16198#bib.bib106)\]propose a novel model compression technique leveraging compositional encoding, which significantly accelerates the reconstruction of embeddings to enable faster local inference\.
## 6Challenges and open issues
This survey has synthesized the extensive contributions of the existing literature, highlighting the remarkable advancements and inherent strengths of GNN\-based link prediction in both techniques and applications\. However, despite this progress, several critical weaknesses and research gaps persist, limiting the efficacy of existing models in increasingly sophisticated real\-world scenarios\. Specifically, challenges remain to address structural complexity, representation expressiveness, learning paradigm innovation, and the fusion of advanced techniques\. To bridge these gaps and catalyze transformative future improvements, this section systematically delineates the pivotal challenges and open issues that demand urgent attention from the research community\. By critically analyzing these limitations, we aim to provide a roadmap for developing next\-generation GNN architectures that are more robust, scalable, and aligned with the multifaceted demands of advanced graph\-based applications\.
### 6\.1Complex graphs
While GNNs have demonstrated effectiveness in addressing link prediction challenges, existing methods predominantly focus on canonical graph structures, such as simple graphs and heterogeneous graphs\. However, real\-world networks exhibit multifaceted complexity, including multilayer graphs, hypergraphs, and dynamic graphs\. Although recent efforts have leveraged attention mechanisms to incrementally adapt GNNs for certain complex scenarios, these solutions often remain superficial extensions of simple graph\-based frameworks\. Crucially, systematic GNN architectures tailored for advanced topologies \(e\.g\., hypergraph, dynamic multilayer graph\) remain underexplored\. This gap necessitates a dedicated investigation into principled designs, such as neighborhood rough sets\-based ensemble methods\[[25](https://arxiv.org/html/2607.16198#bib.bib25)\]and granular combination entropy\[[26](https://arxiv.org/html/2607.16198#bib.bib26)\]for uncertainty modeling\.
### 6\.2Structural features
GNN\-based link prediction methods have become the standard in link prediction technology\. Most of these methods follow a paradigm: using GNNs to learn individual node representations and aggregating the representations of both endpoints to predict the link state\. However, this approach has limitations in capturing the complex relationships between node pairs\. GNNs have been shown to be incapable of differentiating node pairs that contain isomorphic nodes\[[114](https://arxiv.org/html/2607.16198#bib.bib114)\]\. This is primarily because GNNs tend to learn identical representations for isomorphic nodes, and the simple aggregation of node representations cannot distinguish these node pairs\. Enhancing the expressiveness of GNNs in multi\-node tasks such as link prediction may be an interesting and challenging research direction\. This challenge echoes the fundamental goals of traditional graph mining\[[73](https://arxiv.org/html/2607.16198#bib.bib73)\], which focuses on extracting hidden knowledge and structural patterns from complex databases\. In fact, link prediction can be viewed as an extension of structural pattern analysis, similar to how frequent subgraph mining\[[74](https://arxiv.org/html/2607.16198#bib.bib74),[75](https://arxiv.org/html/2607.16198#bib.bib75),[72](https://arxiv.org/html/2607.16198#bib.bib72),[76](https://arxiv.org/html/2607.16198#bib.bib76)\]identifies recurring and significant sub\-structures to characterize network behaviors\. While preliminary attempts have been made in this field, as analyzed in Section 4, coupled approaches\[[91](https://arxiv.org/html/2607.16198#bib.bib91)\]suffer from heavy computational burdens, whereas decoupled methods\[[5](https://arxiv.org/html/2607.16198#bib.bib5)\]exhibit limited expressiveness due to their reliance on handcrafted structural features\. A critical open challenge lies in learning expressive structural link representations efficiently \(ensuring isomorphic links share identical embeddings while distinguishing all non\-isomorphic counterparts\[[114](https://arxiv.org/html/2607.16198#bib.bib114)\]\) which remains unresolved\.
### 6\.3Self\-Supervised learning
Recent advancements\[[43](https://arxiv.org/html/2607.16198#bib.bib43),[121](https://arxiv.org/html/2607.16198#bib.bib121)\]have witnessed a paradigm shift from traditional supervised learning to contrastive self\-supervised frameworks for link prediction\. Self\-supervised learning \(e\.g\., contrastive learning\) has emerged as a powerful paradigm for learning representations without explicit labeling, which is particularly beneficial in the context of link prediction where labeled data can be scarce or expensive to obtain\. However, existing contrastive learning approaches\[[43](https://arxiv.org/html/2607.16198#bib.bib43),[121](https://arxiv.org/html/2607.16198#bib.bib121)\]for link prediction have some limitations\. Many contrastive learning methods require complex graph augmentations and large batch sizes to effectively learn discriminative representations, making them computationally expensive\. Furthermore, although contrastive learning can learn node representations by contrasting positive and negative sample pairs, it still faces challenges when dealing with unseen node pairs or new graph structures\. By addressing these limitations and building on the strengths of self\-supervised learning, contrastive learning can become an even more powerful tool for link prediction, offering both high performance and scalability\.
### 6\.4Scalability and computational efficiency
With the exponential growth of real\-world networks, link prediction models encounter substantial computational and scalability bottlenecks\. Conventional mitigation strategies for large\-scale graphs, including subgraph sampling, sparse neural operations, and distributed training frameworks, alleviate computational complexity but often compromise prediction accuracy due to structural information loss and gradient instability\. Moreover, a deep architectural bottleneck known as “over\-smoothing” frequently emerges when scaling GNNs, causing node features to converge and lose the discriminative structural identity required for edge inference\. Consequently, designing lightweight architectures and topology\-preserving partitioning methods remains a critical hurdle for efficient link inference\. Beyond these architectural optimizations, the advent of Graph Foundation Models \(GFMs\)\[[42](https://arxiv.org/html/2607.16198#bib.bib42)\]represents a paradigm shift for relational reasoning\. Analogous to Large Language Models \(LLMs\), GFMs are designed to extract universal topological and relational patterns by pre\-training on vast, heterogeneous graph datasets\[[81](https://arxiv.org/html/2607.16198#bib.bib81),[107](https://arxiv.org/html/2607.16198#bib.bib107)\]\. For link prediction, this transfer learning approach circumvents the prohibitive cost of training bespoke models from scratch for every new network\. Furthermore, GFMs offer a unified interface that bridges fragmented relational tasks, such as link prediction, triplet classification, and relation extraction\. Building upon this trend, multimodal graph learning has also emerged, which enriches link inference by fusing structural data with diverse modalities like text and images to overcome the inherent sparsity of real\-world graphs\.
## 7Conclusion
Graph Neural Networks \(GNNs\) have driven remarkable progress in addressing the inherent challenges of link prediction, attracting significant attention due to their diverse real\-world applications\. In this survey, we present a comprehensive overview of the latest advancements from a dedicated GNN perspective\. We systematically categorize the latest research into techniques and applications based on the inherent dichotomy between methodological innovation and scenario\-driven demands\. In terms of technology, we deeply analyzed four primary architectural paradigms, namely GCN\-based, GAE\-based, GAT\-based, and GFormer\-based models\. From the application perspective, we focus on link prediction for KGs and recommendation systems\. In addition, we examine the current challenges and discuss promising future directions, including complex graphs, structural features, self\-supervised learning, and scalability and computational efficiency\. In a word, we systematically categorize and analyze these advanced techniques and their applications, aiming to facilitate our comprehension and utilization of GNN\-based link prediction\.
## Acknowledgements
We thank the partial support funded by Basic Research Program of Jiangsu \(No\.BK20251653\), the Fundamental Research Funds for the Central Universities \(No\.2025QN1023\), and the National Natural Science Foundation of China Joint Fund Key Project \(No\.U25B20138\)\.
## References
- \\bibcommenthead
- Adamic and Adar \[2003\]Adamic LA, Adar E \(2003\) Friends and neighbors on the web\. Social Networks 25\(3\):211–230\.[10\.1016/S0378\-8733\(03\)00009\-1](https://arxiv.org/doi.org/10.1016/S0378-8733(03)00009-1)
- Arakelyan et al\. \[2023\]Arakelyan E, Minervini P, Daza D, et al \(2023\) Adapting neural link predictors for data\-efficient complex query answering\. Advances in Neural Information Processing Systems 36:27079–27091\.[10\.5555/3666122\.3667300](https://arxiv.org/doi.org/10.5555/3666122.3667300)
- Barros et al\. \[2021\]Barros CD, Mendonça MR, Vieira AB, et al \(2021\) A survey on embedding dynamic graphs\. ACM Computing Surveys \(CSUR\) 55\(1\):1–37\.[10\.1145/3483595](https://arxiv.org/doi.org/10.1145/3483595)
- Berant et al\. \[2013\]Berant J, Chou A, Frostig R, et al \(2013\) Semantic parsing on freebase from question\-answer pairs\. In: Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing\. Association for Computational Linguistics, pp 1533–1544
- Chamberlain et al\. \[2023\]Chamberlain BP, Shirobokov S, Rossi E, et al \(2023\) Graph neural networks for link prediction with subgraph sketching\. In: The Eleventh International Conference on Learning Representations, pp 1–12, URL[https://openreview\.net/forum?id=m1oqEOAozQU](https://openreview.net/forum?id=m1oqEOAozQU)
- Chen and Liu \[2024\]Chen C, Liu YY \(2024\) A survey on hyperlink prediction\. IEEE Transactions on Neural Networks and Learning Systems 35\(11\):15034–15050\.[10\.1109/TNNLS\.2023\.3286280](https://arxiv.org/doi.org/10.1109/TNNLS.2023.3286280)
- Chen et al\. \[2022\]Chen G, Wang H, Fang Y, et al \(2022\) Link prediction by deep non\-negative matrix factorization\. Expert Systems with Applications 188:115991\.[10\.1016/j\.eswa\.2021\.115991](https://arxiv.org/doi.org/10.1016/j.eswa.2021.115991)
- Chen et al\. \[2020\]Chen Z, Chen L, Villar S, et al \(2020\) Can graph neural networks count substructures? Advances in neural information processing systems 33:10383–10395
- Cho \[2024\]Cho YS \(2024\) Decoupled variational graph autoencoder for link prediction\. In: Proceedings of the ACM Web Conference 2024\. Association for Computing Machinery, New York, NY, USA, WWW ’24, pp 839–849,[10\.1145/3589334\.3645601](https://arxiv.org/doi.org/10.1145/3589334.3645601)
- Chung and Whang \[2023\]Chung C, Whang JJ \(2023\) Learning representations of bi\-level knowledge graphs for reasoning beyond link prediction\. AAAI 37\(4\):4208–4216\.[10\.1609/aaai\.v37i4\.25538](https://arxiv.org/doi.org/10.1609/aaai.v37i4.25538)
- Clauset et al\. \[2008\]Clauset A, Moore C, Newman ME \(2008\) Hierarchical structure and the prediction of missing links in networks\. Nature 453\(7191\):98–101\.[10\.1038/nature06830](https://arxiv.org/doi.org/10.1038/nature06830)
- Deng et al\. \[2024\]Deng W, Zhang Y, Yu H, et al \(2024\) Knowledge graph embedding based on dynamic adaptive atrous convolution and attention mechanism for link prediction\. Information Processing & Management 61\(3\):103642\.[10\.1016/j\.ipm\.2024\.103642](https://arxiv.org/doi.org/10.1016/j.ipm.2024.103642)
- Devlin et al\. \[2019\]Devlin J, Chang MW, Lee K, et al \(2019\) Bert: Pre\-training of deep bidirectional transformers for language understanding\. In: Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 \(long and short papers\), pp 4171–4186,[10\.18653/v1/N19\-1423](https://arxiv.org/doi.org/10.18653/v1/N19-1423)
- Dong et al\. \[2022\]Dong K, Tian Y, Guo Z, et al \(2022\) Fakeedge: Alleviate dataset shift in link prediction\. In: Proceedings of the First Learning on Graphs Conference, vol 198\. PMLR, pp 56:1–56:19, URL[https://openreview\.net/forum?id=QDN0jSXuvtX](https://openreview.net/forum?id=QDN0jSXuvtX)
- Dwivedi et al\. \[2023\]Dwivedi VP, Joshi CK, Luu AT, et al \(2023\) Benchmarking graph neural networks\. Journal of Machine Learning Research 24\(43\):1730 – 1777\.[10\.5555/3648699\.3648742](https://arxiv.org/doi.org/10.5555/3648699.3648742)
- Gou and Wu \[2022\]Gou F, Wu J \(2022\) Triad link prediction method based on the evolutionary analysis with iot in opportunistic social networks\. Computer Communications 181:143–155\.[10\.1016/j\.comcom\.2021\.10\.009](https://arxiv.org/doi.org/10.1016/j.comcom.2021.10.009)
- Grover and Leskovec \[2016\]Grover A, Leskovec J \(2016\) node2vec: Scalable feature learning for networks\. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining\. Association for Computing Machinery, New York, NY, USA, KDD ’16, pp 855–864,[10\.1145/2939672\.2939754](https://arxiv.org/doi.org/10.1145/2939672.2939754)
- Guan et al\. \[2019\]Guan S, Jin X, Wang Y, et al \(2019\) Link prediction on n\-ary relational data\. In: The World Wide Web Conference\. ACM, San Francisco CA USA, pp 583–593,[10\.1145/3308558\.3313414](https://arxiv.org/doi.org/10.1145/3308558.3313414)
- Hamilton et al\. \[2017\]Hamilton WL, Ying R, Leskovec J \(2017\) Inductive representation learning on large graphs\. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp 1025–1035,[10\.5555/3294771\.3294869](https://arxiv.org/doi.org/10.5555/3294771.3294869)
- Hang et al\. \[2024\]Hang J, Hong Z, Feng X, et al \(2024\) Paths2pair: Meta\-path based link prediction in billion\-scale commercial heterogeneous graphs\. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Barcelona Spain, pp 5082–5092,[10\.1145/3637528\.3671563](https://arxiv.org/doi.org/10.1145/3637528.3671563)
- He et al\. \[2023\]He C, Cheng J, Fei X, et al \(2023\) Community preserving adaptive graph convolutional networks for link prediction in attributed networks\. Knowledge\-Based Systems 272:110589\.[10\.1016/j\.knosys\.2023\.110589](https://arxiv.org/doi.org/10.1016/j.knosys.2023.110589)
- Heck et al\. \[2013\]Heck L, Hakkani\-Tür D, Tur G \(2013\) Leveraging knowledge graphs for web\-scale unsupervised semantic parsing\. In: Proceedings of INTERSPEECH, pp 1594–1598,[10\.21437/Interspeech\.2013\-401](https://arxiv.org/doi.org/10.21437/Interspeech.2013-401)
- Huang et al\. \[2019\]Huang X, Zhang J, Li D, et al \(2019\) Knowledge graph embedding based question answering\. In: Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining\. Association for Computing Machinery, New York, NY, USA, WSDM ’19, pp 105–113,[10\.1145/3289600\.3290956](https://arxiv.org/doi.org/10.1145/3289600.3290956)
- Jaccard \[1901\]Jaccard P \(1901\) Etude de la distribution florale dans une portion des alpes et du jura\. Bulletin de la Societe Vaudoise des Sciences Naturelles 37:547–579\.[10\.5169/seals\-266450](https://arxiv.org/doi.org/10.5169/seals-266450)
- Jiang et al\. \[2025\]Jiang F, Hu Q, Yang Z, et al \(2025\) A neighborhood rough sets\-based ensemble method, with application to software fault prediction\. Expert Systems with Applications 264:125919
- Jiang et al\. \[2026\]Jiang F, Yu X, Hu Q, et al \(2026\) An ensemble method using neighborhood granular combination entropy for software defect prediction\. Information Processing & Management 63\(2\):104483
- Jiang et al\. \[2023\]Jiang X, Zhu R, Ji P, et al \(2023\) Co\-embedding of nodes and edges with graph neural networks\. IEEE Transactions on Pattern Analysis and Machine Intelligence 45\(6\):7075–7086\.[10\.1109/TPAMI\.2020\.3029762](https://arxiv.org/doi.org/10.1109/TPAMI.2020.3029762)
- Kc et al\. \[2009\]Kc M, Chau R, Hagenbuchner M, et al \(2009\) A machine learning approach to link prediction for interlinked documents\. In: Proceedings of the Focused Retrieval and Evaluation, and 8th International Conference on Initiative for the Evaluation of XML Retrieval\. Springer\-Verlag, Berlin, Heidelberg, INEX’09, pp 342–354,[10\.1007/978\-3\-642\-14556\-8\_34](https://arxiv.org/doi.org/10.1007/978-3-642-14556-8_34)
- Khemani et al\. \[2024\]Khemani B, Patil S, Kotecha K, et al \(2024\) A review of graph neural networks: concepts, architectures, techniques, challenges, datasets, applications, and future directions\. Journal of Big Data 11\(1\):18\.[10\.1186/s40537\-023\-00876\-4](https://arxiv.org/doi.org/10.1186/s40537-023-00876-4)
- Kim and Baek \[2024\]Kim M, Baek S \(2024\) Hierarchical position embedding of graphs with landmarks and clustering for link prediction\. In: Proceedings of the ACM Web Conference 2024\. ACM, Singapore Singapore, pp 389–400,[10\.1145/3589334\.3645372](https://arxiv.org/doi.org/10.1145/3589334.3645372)
- Kipf and Welling \[2016\]Kipf TN, Welling M \(2016\) Variational graph auto\-encoders\. arXiv preprint arXiv:161107308
- Kipf and Welling \[2017\]Kipf TN, Welling M \(2017\) Semi\-supervised classification with graph convolutional networks\. In: International Conference on Learning Representations, pp 1–14, URL[https://openreview\.net/forum?id=SJU4ayYgl](https://openreview.net/forum?id=SJU4ayYgl)
- Kolesnikov et al\. \[2021\]Kolesnikov A, Dosovitskiy A, Weissenborn D, et al \(2021\) An image is worth 16x16 words: Transformers for image recognition at scale\. In: International Conference on Learning Representations, pp 1–21, URL[https://openreview\.net/forum?id=YicbFdNTTy](https://openreview.net/forum?id=YicbFdNTTy)
- Koren \[2008\]Koren Y \(2008\) Factorization meets the neighborhood: a multifaceted collaborative filtering model\. In: Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining, pp 426–434,[10\.1145/1401890\.1401944](https://arxiv.org/doi.org/10.1145/1401890.1401944)
- Lakshmi and Bhavani \[2018\]Lakshmi TJ, Bhavani SD \(2018\) Link prediction measures in various types of information networks: A review\. In: 2018 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining \(ASONAM\), pp 1160–1167,[10\.1109/ASONAM\.2018\.8508295](https://arxiv.org/doi.org/10.1109/ASONAM.2018.8508295)
- Lee et al\. \[2024\]Lee D, Lee J, Shin K \(2024\) Spear and shield: adversarial attacks and defense methods for model\-based link prediction on continuous\-time dynamic graphs\. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp 13374–13382,[10\.1609/aaai\.v38i12\.29239](https://arxiv.org/doi.org/10.1609/aaai.v38i12.29239)
- Li et al\. \[2017\]Li J, Ren P, Chen Z, et al \(2017\) Neural attentive session\-based recommendation\. In: Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, pp 1419–1428,[10\.1145/3132847\.3132926](https://arxiv.org/doi.org/10.1145/3132847.3132926)
- Li et al\. \[2024\]Li M, Liu X, Ji H, et al \(2024\) Causal subgraph learning for generalizable inductive relation prediction\. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Barcelona Spain, pp 1610–1620,[10\.1145/3637528\.3671972](https://arxiv.org/doi.org/10.1145/3637528.3671972)
- Li and Chen \[2013\]Li X, Chen H \(2013\) Recommendation as link prediction in bipartite graphs: A graph kernel\-based machine learning approach\. Decision Support Systems 54\(2\):880–890\.[10\.1016/j\.dss\.2012\.09\.019](https://arxiv.org/doi.org/10.1016/j.dss.2012.09.019)
- Lin et al\. \[2024\]Lin X, Zhou C, Wu J, et al \(2024\) Towards flexible and adaptive neural process for cold\-start recommendation\. IEEE Transactions on Knowledge and Data Engineering 36\(4\):1815–1828\.[10\.1109/TKDE\.2023\.3304839](https://arxiv.org/doi.org/10.1109/TKDE.2023.3304839)
- Liu et al\. \[2024a\]Liu B, Peng M, Xu W, et al \(2024a\) Unilp: Unified topology\-aware generative framework for link prediction in knowledge graph\. In: Proceedings of the ACM Web Conference 2024\. Association for Computing Machinery, New York, NY, USA, WWW ’24, pp 2170–2180,[10\.1145/3589334\.3645592](https://arxiv.org/doi.org/10.1145/3589334.3645592)
- Liu et al\. \[2025\]Liu J, Yang C, Lu Z, et al \(2025\) Graph foundation models: Concepts, opportunities and challenges\. IEEE Transactions on Pattern Analysis and Machine Intelligence
- Liu et al\. \[2024b\]Liu L, Xie Q, Wen W, et al \(2024b\) Edge contrastive learning for link prediction\. Information Processing & Management 61\(6\):103847\.[10\.1016/j\.ipm\.2024\.103847](https://arxiv.org/doi.org/10.1016/j.ipm.2024.103847)
- Liu et al\. \[2024c\]Liu M, Tu Z, Su T, et al \(2024c\) Behaviornet: A fine\-grained behavior\-aware network for dynamic link prediction\. ACM Trans Web 18\(2\):1–26\.[10\.1145/3580514](https://arxiv.org/doi.org/10.1145/3580514)
- Liu et al\. \[2023\]Liu T, Lv Q, Wang J, et al \(2023\) Learning rule\-induced subgraph representations for inductive relation prediction\. Advances in Neural Information Processing Systems 36:3517–3535\.[10\.5555/3666122\.3666278](https://arxiv.org/doi.org/10.5555/3666122.3666278)
- Liu et al\. \[2019\]Liu Y, Ott M, Goyal N, et al \(2019\) Roberta: A robustly optimized bert pretraining approach\. arXiv preprint arXiv:190711692
- Liu et al\. \[2021\]Liu Z, Lin Y, Cao Y, et al \(2021\) Swin transformer: Hierarchical vision transformer using shifted windows\. 2021 IEEE/CVF International Conference on Computer Vision \(ICCV\) pp 9992–10002\.[10\.1109/ICCV48922\.2021\.00986](https://arxiv.org/doi.org/10.1109/ICCV48922.2021.00986)
- Long et al\. \[2022\]Long Y, Wu M, Liu Y, et al \(2022\) Pre\-training graph neural networks for link prediction in biomedical networks\. Bioinformatics 38\(8\):2254–2262\.[10\.1093/bioinformatics/btac100](https://arxiv.org/doi.org/10.1093/bioinformatics/btac100)
- Louis et al\. \[2022\]Louis P, Jacob SA, Salehi\-Abari A \(2022\) Sampling enclosing subgraphs for link prediction\. In: Proceedings of the 31st ACM International Conference on Information & Knowledge Management, pp 4269–4273,[10\.1145/3511808\.3557688](https://arxiv.org/doi.org/10.1145/3511808.3557688)
- Lu et al\. \[2024\]Lu Y, Yang D, Wang P, et al \(2024\) Schema\-aware hyper\-relational knowledge graph embeddings for link prediction\. IEEE Transactions on Knowledge and Data Engineering 36\(6\):2614–2628\.[10\.1109/TKDE\.2023\.3323499](https://arxiv.org/doi.org/10.1109/TKDE.2023.3323499)
- Luo et al\. \[2023a\]Luo H, E H, Tan L, et al \(2023a\) Dhge: Dual\-view hyper\-relational knowledge graph embedding for link prediction and entity typing\. AAAI 37\(5\):6467–6474\.[10\.1609/aaai\.v37i5\.25795](https://arxiv.org/doi.org/10.1609/aaai.v37i5.25795)
- Luo et al\. \[2023b\]Luo S, Li H, Huang J \(2023b\) Dynamic group link prediction in continuous\-time interaction network\. In: Proceedings of the Thirty\-Second International Joint Conference on Artificial Intelligence, IJCAI ’23,[10\.24963/ijcai\.2023/248](https://arxiv.org/doi.org/10.24963/ijcai.2023/248), URL[https://doi\.org/10\.24963/ijcai\.2023/248](https://doi.org/10.24963/ijcai.2023/248)
- Luo et al\. \[2023c\]Luo Y, Huang Z, Chen H, et al \(2023c\) Interpretable signed link prediction with signed infomax hyperbolic graph\. IEEE Transactions on Knowledge and Data Engineering 35\(4\):3991–4002\.[10\.1109/TKDE\.2021\.3139035](https://arxiv.org/doi.org/10.1109/TKDE.2021.3139035)
- Luo et al\. \[2023d\]Luo Z, Huang H, Lian J, et al \(2023d\) Cross\-links matter for link prediction: rethinking the debiased gnn from a data perspective\. Advances in Neural Information Processing Systems 36:79594–79612
- Lü and Zhou \[2011\]Lü L, Zhou T \(2011\) Link prediction in complex networks: A survey\. Physica A: Statistical Mechanics and its Applications 390\(6\):1150–1170\.[10\.1016/j\.physa\.2010\.11\.027](https://arxiv.org/doi.org/10.1016/j.physa.2010.11.027)
- Ma et al\. \[2024\]Ma C, Ren Y, Castells P, et al \(2024\) Temporal conformity\-aware hawkes graph network for recommendations\. In: Proceedings of the ACM Web Conference 2024\. ACM, Singapore Singapore, pp 3185–3194,[10\.1145/3589334\.3645354](https://arxiv.org/doi.org/10.1145/3589334.3645354)
- Ma et al\. \[2025\]Ma W, Wang Y, Wang X, et al \(2025\) Reconsidering the performance of gae in link prediction\. In: Proceedings of the 34th ACM International Conference on Information and Knowledge Management\. Association for Computing Machinery, New York, NY, USA, CIKM ’25, p 2052–2062,[10\.1145/3746252\.3761108](https://arxiv.org/doi.org/10.1145/3746252.3761108), URL[https://doi\.org/10\.1145/3746252\.3761108](https://doi.org/10.1145/3746252.3761108)
- Mao et al\. \[2021\]Mao K, Zhu J, Xiao X, et al \(2021\) Ultragcn: Ultra simplification of graph convolutional networks for recommendation\. In: Proceedings of the 30th ACM International Conference on Information & Knowledge Management\. ACM, Virtual Event Queensland Australia, pp 1253–1262,[10\.1145/3459637\.3482291](https://arxiv.org/doi.org/10.1145/3459637.3482291)
- Martínez et al\. \[2017\]Martínez V, Berzal F, Cubero JC \(2017\) A survey of link prediction in complex networks\. ACM Computing Surveys 49\(4\):1–33\.[10\.1145/3012704](https://arxiv.org/doi.org/10.1145/3012704)
- Menon and Elkan \[2011\]Menon AK, Elkan C \(2011\) Link prediction via matrix factorization\. In: Machine Learning and Knowledge Discovery in Databases\. Springer, Berlin, Heidelberg, pp 437–452,[10\.1007/978\-3\-642\-23783\-6\_28](https://arxiv.org/doi.org/10.1007/978-3-642-23783-6_28)
- Mi et al\. \[2023\]Mi Q, Wang X, Lin Y \(2023\) A double attention graph network for link prediction on temporal graph\. Applied Soft Computing 136:110059\.[10\.1016/j\.asoc\.2023\.110059](https://arxiv.org/doi.org/10.1016/j.asoc.2023.110059)
- Minervini et al\. \[2022\]Minervini P, Arakelyan E, Daza D, et al \(2022\) Complex query answering with neural link predictors\. In: Proceedings of the Thirty\-First International Joint Conference on Artificial Intelligence\. International Joint Conferences on Artificial Intelligence Organization, Vienna, Austria, pp 5309–5313,[10\.24963/ijcai\.2022/741](https://arxiv.org/doi.org/10.24963/ijcai.2022/741)
- Mohamed et al\. \[2023\]Mohamed HA, Pilutti D, James S, et al \(2023\) Locality\-aware subgraphs for inductive link prediction in knowledge graphs\. Pattern Recognition Letters 167:90–97\.[10\.1016/j\.patrec\.2023\.02\.004](https://arxiv.org/doi.org/10.1016/j.patrec.2023.02.004)
- Newman \[2001\]Newman MEJ \(2001\) Clustering and preferential attachment in growing networks\. Physical Review E 64:025102\.[10\.1103/PhysRevE\.64\.025102](https://arxiv.org/doi.org/10.1103/PhysRevE.64.025102)
- Pan et al\. \[2022\]Pan L, Shi C, Dokmanić I \(2022\) Neural link prediction with walk pooling\. In: International Conference on Learning Representations, pp 1–18, URL[https://openreview\.net/forum?id=CCu6RcUMwK0](https://openreview.net/forum?id=CCu6RcUMwK0)
- Pang et al\. \[2022\]Pang Y, Wu L, Shen Q, et al \(2022\) Heterogeneous global graph neural networks for personalized session\-based recommendation\. In: Proceedings of the fifteenth ACM international conference on web search and data mining, pp 775–783,[10\.1145/3488560\.3498505](https://arxiv.org/doi.org/10.1145/3488560.3498505)
- Perozzi et al\. \[2014\]Perozzi B, Al\-Rfou R, Skiena S \(2014\) Deepwalk: online learning of social representations\. In: Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining\. Association for Computing Machinery, New York, NY, USA, KDD ’14, pp 701–710,[10\.1145/2623330\.2623732](https://arxiv.org/doi.org/10.1145/2623330.2623732)
- Qin et al\. \[2023\]Qin M, Zhang C, Bai B, et al \(2023\) High\-quality temporal link prediction for weighted dynamic graphs via inductive embedding aggregation\. IEEE Transactions on Knowledge and Data Engineering 35\(9\):9378–9393\.[10\.1109/TKDE\.2023\.3238360](https://arxiv.org/doi.org/10.1109/TKDE.2023.3238360)
- Qiu et al\. \[2020\]Qiu R, Huang Z, Li J, et al \(2020\) Exploiting cross\-session information for session\-based recommendation with graph neural networks\. ACM Transactions on Information Systems \(TOIS\) 38\(3\):1–23\.[10\.1145/3382764](https://arxiv.org/doi.org/10.1145/3382764)
- Ran et al\. \[2024\]Ran X, Ye Q, Hu H, et al \(2024\) Differentially private graph neural networks for link prediction\. In: 2024 IEEE 40th International Conference on Data Engineering \(ICDE\), pp 1632–1644,[10\.1109/ICDE60146\.2024\.00133](https://arxiv.org/doi.org/10.1109/ICDE60146.2024.00133)
- Redner \[2008\]Redner S \(2008\) Teasing out the missing links\. Nature 453\(7191\):47–48\.[10\.1038/453047a](https://arxiv.org/doi.org/10.1038/453047a)
- Rehman and Asghar \[2020\]Rehman SU, Asghar S \(2020\) Online social network trend discovery using frequent subgraph mining\. Social Network Analysis and Mining 10\(1\):67
- Rehman et al\. \[2012\]Rehman SU, Khan AU, Fong S \(2012\) Graph mining: A survey of graph mining techniques\. In: Seventh International Conference on Digital Information Management \(ICDIM 2012\), IEEE, pp 88–92
- Rehman et al\. \[2014\]Rehman SU, Asghar S, Zhuang Y, et al \(2014\) Performance evaluation of frequent subgraph discovery techniques\. Mathematical problems in engineering 2014\(1\):869198
- Rehman et al\. \[2018\]Rehman SU, Asghar S, Fong S \(2018\) An efficient ranking scheme for frequent subgraph patterns\. In: Proceedings of the 2018 10th international conference on machine learning and computing, pp 257–262
- Rehman et al\. \[2024\]Rehman SU, Khalil MI, Kundi M, et al \(2024\) A study on frequent subgraph mining approaches: Challenges and future directions\. Research Updates in Mathematics and Computer Science 4:33–63
- Rui et al\. \[2025\]Rui X, Zhuang J, Sun C, et al \(2025\) Higher\-order link prediction via light hypergraph neural network and hybrid aggregator\. International Journal of Machine Learning and Cybernetics 16\(4\):2671–2685\.[10\.1007/s13042\-024\-02414\-x](https://arxiv.org/doi.org/10.1007/s13042-024-02414-x)
- Samad et al\. \[2020\]Samad A, Qadir M, Nawaz I, et al \(2020\) A comprehensive survey of link prediction techniques for social network\. EAI Endorsed Transactions on Industrial Networks and Intelligent Systems 7\(23\)\.[10\.4108/eai\.13\-7\-2018\.163988](https://arxiv.org/doi.org/10.4108/eai.13-7-2018.163988)
- Santos et al\. \[2021\]Santos FP, Lelkes Y, Levin SA \(2021\) Link recommendation algorithms and dynamics of polarization in online social networks\. In: Proceedings of the National Academy of Sciences of the United States of America, p e2102141118,[10\.1073/pnas\.2102141118](https://arxiv.org/doi.org/10.1073/pnas.2102141118)
- Sarwar et al\. \[2001\]Sarwar B, Karypis G, Konstan J, et al \(2001\) Item\-based collaborative filtering recommendation algorithms\. In: Proceedings of the 10th international conference on World Wide Web, pp 285–295,[10\.1109/CSSS\.2012\.507](https://arxiv.org/doi.org/10.1109/CSSS.2012.507)
- Shi et al\. \[2024a\]Shi C, Yang C, Fang Y, et al \(2024a\) Lecture\-style tutorial: Towards graph foundation models\. In: Companion Proceedings of the ACM Web Conference 2024, pp 1264–1267
- Shi et al\. \[2024b\]Shi L, Hu B, Zhao D, et al \(2024b\) Structural information enhanced graph representation for link prediction\. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp 14964–14972,[10\.1609/aaai\.v38i13\.29417](https://arxiv.org/doi.org/10.1609/aaai.v38i13.29417)
- Shomer et al\. \[2024\]Shomer H, Ma Y, Mao H, et al \(2024\) Lpformer: An adaptive graph transformer for link prediction\. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Barcelona Spain, pp 2686–2698,[10\.1145/3637528\.3672025](https://arxiv.org/doi.org/10.1145/3637528.3672025)
- Skarding et al\. \[2022\]Skarding J, Hellmich M, Gabrys B, et al \(2022\) Benchmarking graph neural networks on dynamic link prediction\. In: International Conference on Learning Representations, pp 1–17
- Song et al\. \[2022a\]Song X, Lian J, Huang H, et al \(2022a\) Friend recommendations with self\-rescaling graph neural networks\. In: Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. Association for Computing Machinery, New York, NY, USA, KDD ’22, pp 3909–3919,[10\.1145/3534678\.3539192](https://arxiv.org/doi.org/10.1145/3534678.3539192)
- Song et al\. \[2022b\]Song X, Lian J, Huang H, et al \(2022b\) Friend recommendations with self\-rescaling graph neural networks\. In: Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Washington DC USA, pp 3909–3919,[10\.1145/3534678\.3539192](https://arxiv.org/doi.org/10.1145/3534678.3539192)
- Song et al\. \[2023\]Song X, Lian J, Huang H, et al \(2023\) xgcn: An extreme graph convolutional network for large\-scale social link prediction\. In: Proceedings of the ACM Web Conference 2023\. ACM, Austin TX USA, pp 349–359,[10\.1145/3543507\.3583340](https://arxiv.org/doi.org/10.1145/3543507.3583340)
- Subramonian et al\. \[2025\]Subramonian A, Sagun L, Sun Y \(2025\) Networked inequality: preferential attachment bias in graph neural network link prediction\. In: Proceedings of the 41st International Conference on Machine Learning, ICML’24, vol 235\. JMLR\.org, Vienna, Austria, pp 46891–46925
- Sun et al\. \[2023\]Sun C, Li C, Lin X, et al \(2023\) Attention\-based graph neural networks: a survey\. Artif Intell Rev 56\(Suppl 2\):2263–2310\.[10\.1007/s10462\-023\-10577\-2](https://arxiv.org/doi.org/10.1007/s10462-023-10577-2)
- Sun et al\. \[2024\]Sun C, Meng F, Li C, et al \(2024\) Lgat: a light graph attention network focusing on message passing for semi\-supervised node classification\. Computing 106\(6\):1729–1747\.[10\.1007/s00607\-024\-01261\-6](https://arxiv.org/doi.org/10.1007/s00607-024-01261-6)
- Tan et al\. \[2023\]Tan Q, Zhang X, Liu N, et al \(2023\) Bring your own view: Graph neural networks for link prediction with personalized subgraph selection\. In: Proceedings of the Sixteenth ACM International Conference on Web Search and Data Mining, pp 625–633,[10\.1145/3539597\.3570407](https://arxiv.org/doi.org/10.1145/3539597.3570407)
- Tola et al\. \[2024\]Tola A, Myrick J, Coskunuzer B \(2024\) Proxi: Challenging the gnns for link prediction\. arXiv preprint arXiv:241001802
- Vaswani et al\. \[2017\]Vaswani A, Shazeer N, Parmar N, et al \(2017\) Attention is all you need\. In: Proceedings of the 31st International Conference on Neural Information Processing Systems\. Curran Associates Inc\., Red Hook, NY, USA, NIPS’17, pp 6000–6010
- Veličković et al\. \[2018\]Veličković P, Cucurull G, Casanova A, et al \(2018\) Graph attention networks\. In: International Conference on Learning Representations, pp 1–12, URL[https://openreview\.net/forum?id=rJXMpikCZ](https://openreview.net/forum?id=rJXMpikCZ)
- Wang et al\. \[2023a\]Wang C, Li Z, Wang X, et al \(2023a\) Enhance: Enhanced entity and relation embedding for knowledge hypergraph link prediction\. In: Companion Proceedings of the ACM Web Conference 2023\. ACM, Austin TX USA, pp 115–118,[10\.1145/3543873\.3587326](https://arxiv.org/doi.org/10.1145/3543873.3587326)
- Wang et al\. \[2022\]Wang H, Yin H, Zhang M, et al \(2022\) Equivariant and stable positional encoding for more powerful graph neural networks\. In: International Conference on Learning Representations, pp 1–24, URL[https://openreview\.net/forum?id=e95i1IHcWj](https://openreview.net/forum?id=e95i1IHcWj)
- Wang et al\. \[2023b\]Wang W, Zhang W, Liu S, et al \(2023b\) Incorporating link prediction into multi\-relational item graph modeling for session\-based recommendation\. IEEE Transactions on Knowledge and Data Engineering 35\(3\):2683–2696\.[10\.1109/TKDE\.2021\.3111436](https://arxiv.org/doi.org/10.1109/TKDE.2021.3111436)
- Wang et al\. \[2024a\]Wang X, Yang H, Zhang M \(2024a\) Neural common neighbor with completion for link prediction\. In: The Twelfth International Conference on Learning Representations, pp 1–17
- Wang et al\. \[2023c\]Wang Y, Hu M, Huang Z, et al \(2023c\) A canonicalization\-enhanced known fact\-aware framework for open knowledge graph link prediction\. In: Proceedings of the Thirty\-Second International Joint Conference on Artificial Intelligence\. International Joint Conferences on Artificial Intelligence Organization, Macau, SAR China, pp 2332–2342,[10\.24963/ijcai\.2023/259](https://arxiv.org/doi.org/10.24963/ijcai.2023/259)
- Wang et al\. \[2024b\]Wang Y, Wang D, Liu H, et al \(2024b\) Optimizing long\-tailed link prediction in graph neural networks through structure representation enhancement\. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Barcelona Spain, pp 3222–3232,[10\.1145/3637528\.3671864](https://arxiv.org/doi.org/10.1145/3637528.3671864)
- Wang et al\. \[2024c\]Wang Y, Zhao T, Zhao Y, et al \(2024c\) A topological perspective on demystifying gnn\-based link prediction performance\. In: The Twelfth International Conference on Learning Representations, pp 1–39
- Wang et al\. \[2020\]Wang Z, Wei W, Cong G, et al \(2020\) Global context enhanced graph neural networks for session\-based recommendation\. In: Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pp 169–178,[10\.1145/3397271\.3401142](https://arxiv.org/doi.org/10.1145/3397271.3401142)
- Wang et al\. \[2024d\]Wang Z, Wei W, Feng S, et al \(2024d\) Exploiting group\-level behavior pattern for session\-based recommendation\. IEEE Transactions on Knowledge and Data Engineering 36\(1\):152–166\.[10\.1109/TKDE\.2023\.3280310](https://arxiv.org/doi.org/10.1109/TKDE.2023.3280310)
- Wu et al\. \[2019\]Wu S, Tang Y, Zhu Y, et al \(2019\) Session\-based recommendation with graph neural networks\. In: Proceedings of the AAAI conference on artificial intelligence, pp 346–353,[10\.1609/aaai\.v33i01\.3301346](https://arxiv.org/doi.org/10.1609/aaai.v33i01.3301346)
- Wu and Cheng \[2022\]Wu X, Cheng Q \(2022\) Stabilizing and enhancing link prediction through deepened graph auto\-encoders\. In: Proceedings of the Thirty\-First International Joint Conference on Artificial Intelligence\. International Joint Conferences on Artificial Intelligence Organization, Vienna, Austria, pp 3587–3593,[10\.24963/ijcai\.2022/498](https://arxiv.org/doi.org/10.24963/ijcai.2022/498)
- Xia et al\. \[2023\]Xia X, Yu J, Wang Q, et al \(2023\) Efficient on\-device session\-based recommendation\. ACM Trans Inf Syst p 3580364\.[10\.1145/3580364](https://arxiv.org/doi.org/10.1145/3580364)
- Yang et al\. \[2025\]Yang J, Yang L, Guo Z, et al \(2025\) Benchmarking graph foundation models\. In: Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\.2\. Association for Computing Machinery, New York, NY, USA, KDD ’25, p 5866–5875,[10\.1145/3711896\.3737410](https://arxiv.org/doi.org/10.1145/3711896.3737410)
- Yang and Dong \[2020\]Yang Z, Dong S \(2020\) Hagerec: Hierarchical attention graph convolutional network incorporating knowledge graph for explainable recommendation\. Knowledge\-Based Systems 204:106194\.[10\.1016/j\.knosys\.2020\.106194](https://arxiv.org/doi.org/10.1016/j.knosys.2020.106194)
- Yin et al\. \[2024\]Yin Z, Han K, Wang P, et al \(2024\) H3gnn: Hybrid hierarchical hypergraph neural network for personalized session\-based recommendation\. ACM Trans Inf Syst 42\(3\):1–30\.[10\.1145/3630002](https://arxiv.org/doi.org/10.1145/3630002)
- Ying et al\. \[2021\]Ying C, Cai T, Luo S, et al \(2021\) Do transformers really perform badly for graph representation ? In: Advances in Neural Information Processing Systems, vol 34\. Curran Associates, Inc\., pp 28877–28888
- Yu et al\. \[2024\]Yu W, Yang J, Yang D \(2024\) Robust link prediction over noisy hyper\-relational knowledge graphs via active learning\. In: Proceedings of the ACM Web Conference 2024\. Association for Computing Machinery, New York, NY, USA, WWW ’24, pp 2282–2293,[10\.1145/3589334\.3645686](https://arxiv.org/doi.org/10.1145/3589334.3645686)
- Zangari et al\. \[2024\]Zangari L, Mandaglio D, Tagarelli A \(2024\) Link prediction on multilayer networks through learning of within\-layer and across\-layer node\-pair structural features and node embedding similarity\. In: Proceedings of the ACM Web Conference 2024\. ACM, Singapore Singapore, pp 924–935,[10\.1145/3589334\.3645646](https://arxiv.org/doi.org/10.1145/3589334.3645646)
- Zareian et al\. \[2020\]Zareian A, Karaman S, Chang SF \(2020\) Bridging knowledge graphs to generate scene graphs\. In: Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XXIII 16, Springer, pp 606–623,[10\.1007/978\-3\-030\-58592\-1\_36](https://arxiv.org/doi.org/10.1007/978-3-030-58592-1_36)
- Zhang et al\. \[2021\]Zhang M, Li P, Xia Y, et al \(2021\) Labeling trick: A theory of using graph neural networks for multi\-node representation learning\. Advances in Neural Information Processing Systems 34:9061–9073\.[10\.5555/3540261\.3540954](https://arxiv.org/doi.org/10.5555/3540261.3540954)
- Zhang et al\. \[2024a\]Zhang T, Yin H, Wei R, et al \(2024a\) Learning scalable structural representations for link prediction with bloom signatures\. In: Proceedings of the ACM Web Conference 2024\. ACM, Singapore Singapore, pp 980–991,[10\.1145/3589334\.3645672](https://arxiv.org/doi.org/10.1145/3589334.3645672)
- Zhang et al\. \[2024b\]Zhang X, Wang Y, Wang X, et al \(2024b\) Efficient neural common neighbor for temporal graph link prediction\. arXiv preprint arXiv:240607926
- Zhang et al\. \[2024c\]Zhang X, Xu B, Ma F, et al \(2024c\) Bi\-preference learning heterogeneous hypergraph networks for session\-based recommendation\. ACM Trans Inf Syst 42\(3\):1–28\.[10\.1145/3631940](https://arxiv.org/doi.org/10.1145/3631940)
- Zhang et al\. \[2024d\]Zhang X, Xu B, Ma F, et al \(2024d\) Beyond co\-occurrence: Multi\-modal session\-based recommendation\. IEEE Trans Knowl Data Eng 36\(4\):1450–1462\.[10\.1109/TKDE\.2023\.3309995](https://arxiv.org/doi.org/10.1109/TKDE.2023.3309995)
- Zhang et al\. \[2023a\]Zhang Y, Wang W, Yin H, et al \(2023a\) Disconnected emerging knowledge graph oriented inductive link prediction\. In: 2023 IEEE 39th International Conference on Data Engineering \(ICDE\)\. IEEE, Anaheim, CA, USA, pp 381–393,[10\.1109/ICDE55515\.2023\.00036](https://arxiv.org/doi.org/10.1109/ICDE55515.2023.00036)
- Zhang et al\. \[2024e\]Zhang Y, Chen W, Chen X, et al \(2024e\) Inductive link prediction for sequential\-emerging knowledge graph\. In: 2024 IEEE 40th International Conference on Data Engineering \(ICDE\), pp 5753–5766,[10\.1109/ICDE60146\.2024\.10637914](https://arxiv.org/doi.org/10.1109/ICDE60146.2024.10637914)
- Zhang et al\. \[2023b\]Zhang Z, Sun S, Ma G, et al \(2023b\) Line graph contrastive learning for link prediction\. Pattern Recognition 140:109537\.[10\.1016/j\.patcog\.2023\.109537](https://arxiv.org/doi.org/10.1016/j.patcog.2023.109537)
- Zhao et al\. \[2024\]Zhao T, Kang J, Cheng L \(2024\) Conformalized link prediction on graph neural networks\. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining\. ACM, Barcelona Spain, pp 4490–4499,[10\.1145/3637528\.3672061](https://arxiv.org/doi.org/10.1145/3637528.3672061)
- Zhao et al\. \[2023\]Zhao Y, Sun Y, Huang Y, et al \(2023\) Link prediction in heterogeneous networks based on metapath projection and aggregation\. Expert Systems with Applications 227:120325\.[10\.1016/j\.eswa\.2023\.120325](https://arxiv.org/doi.org/10.1016/j.eswa.2023.120325)
- Zhou et al\. \[2022\]Zhou S, Guo Z, Aggarwal C, et al \(2022\) Link prediction on heterophilic graphs via disentangled representation learning\. arXiv preprint arXiv:220801820
- Zhou et al\. \[2010\]Zhou T, Kuscsik Z, Liu JG, et al \(2010\) Solving the apparent diversity\-accuracy dilemma of recommender systems\. Proceedings of the National Academy of Sciences 107\(10\):4511–4515\.[10\.1073/pnas\.1000488107](https://arxiv.org/doi.org/10.1073/pnas.1000488107)
- Zhou et al\. \[2023\]Zhou Z, Yao J, Liu J, et al \(2023\) Combating bilateral edge noise for robust link prediction\. Advances in Neural Information Processing Systems 36:21368–21414Similar Articles
Knowledge Graphs Meet Graph Neural Networks: A Comprehensive Survey
This comprehensive survey systematically reviews graph neural network-based methods across the entire knowledge graph pipeline, proposing a novel two-level taxonomy and discussing challenges and future research directions.
Instance Discrimination for Link Prediction
This paper adapts instance discrimination self-supervised learning to link prediction in graphs, proposing new models L-GRACE and L-BGRL that operate on link representations and improve performance especially on unattributed graphs.
Beyond the Golden Teacher: Enhancing Graph Learning through LLM-GNN Co-teaching
This paper proposes LLM-GNN Co-Teaching, a bidirectional framework for few-shot graph learning on text-attributed graphs. The LLM and GNN exchange confident pseudo-labels and use round-based preference optimization (RPL-PO) to mutually improve, outperforming prior methods on benchmarks.
Neural Architecture Search for Generative Adversarial Networks: A Comprehensive Review and Critical Analysis
This paper provides a comprehensive review of Neural Architecture Search (NAS) methods applied to Generative Adversarial Networks (GANs), categorizing approaches and highlighting benefits and limitations.
Dynamic Link Prediction with Temporally Enhanced Signed Graph Neural Networks
This paper proposes a modular temporal enhancement framework for signed graph neural networks that integrates historical context via a Historical Context Integration Module (HCIM) with LSTM and multi-head temporal attention, achieving consistent improvements on real-world temporal signed networks for dynamic link prediction.