TAGNN: topology-aware graph neural network framework for link prediction

Link prediction is a fundamental task in graph machine learning. While Graph Neural Network (GNN)-based methods are mainstream, they exhibit limitations: restricted receptive fields hinder their ability to capture long-range structural information between target node pairs; the node-centric paradigm may lead to information loss as it mismatches the nature of link-centric tasks; and neighborhood node features may introduce task-irrelevant noise in link prediction scenarios, which has been less addressed by existing improvements built on the inherent GNN message-passing paradigm. We propose a Topology-Aware Graph Neural Network (TAGNN) framework for link prediction, achieving breakthroughs from two key perspectives. First, during the GNN neighborhood structure encoding stage, we innovatively propose to discard neighborhood node attributes that may introduce interference in the link-centric task, retaining only topological information encoded via Double-Radius Node Labeling (DRNL) for neighborhood structure encoding. DRNL transforms topological relationships into learnable structural features by computing distances between nodes within the subgraph and the target nodes, enabling the model to focus more precisely on fitting neighborhood topology and avoiding interference from irrelevant features. Second, we design a Reinforced Structural Transformer (RST) module, with its core being the Reinforced Structural Attention (RSA) mechanism. RSA first extracts structural correlation features of target node pairs using topological heuristics like shortest path distance, Adamic-Adar index, and Jaccard coefficient. These features are then fused with node features to form a structural encoding that directly models pairwise relationships, compensating for GNN’s deficiency in long-range structural perception. Crucially, RST confines attention computation strictly to the target node pair rather than all nodes, simultaneously avoiding noise from non-target nodes and reducing the computational complexity from quadratic (as in a standard Transformer) to linear, significantly boosting efficiency. Experiments on six datasets (three from OGB and three classic attributed graphs) demonstrate the outstanding performance of TAGNN, achieving top rankings on ogbl-ppa, ogbl-citation2, and Pubmed. The variant without neighborhood features performs even better. Ablation studies confirm the contribution of RST, and TAGNN shows a 10–16 × computational efficiency gain over a fully-connected Transformer baseline.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-04-14
DOI
https://doi.org/10.1038/s41598-026-48184-0
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TAGNN: topology-aware graph neural network framework for link prediction

Honggang Zhang, Minsi Liang
Scientific Reports
Advanced Graph Neural Networks
article

TAGNN: topology-aware graph neural network framework for link prediction

Honggang Zhang, Minsi Liang
article en

Abstract

Link prediction is a fundamental task in graph machine learning. While Graph Neural Network (GNN)-based methods are mainstream, they exhibit limitations: restricted receptive fields hinder their ability to capture long-range structural information between target node pairs; the node-centric paradigm may lead to information loss as it mismatches the nature of link-centric tasks; and neighborhood node features may introduce task-irrelevant noise in link prediction scenarios, which has been less addressed by existing improvements built on the inherent GNN message-passing paradigm. We propose a Topology-Aware Graph Neural Network (TAGNN) framework for link prediction, achieving breakthroughs from two key perspectives. First, during the GNN neighborhood structure encoding stage, we innovatively propose to discard neighborhood node attributes that may introduce interference in the link-centric task, retaining only topological information encoded via Double-Radius Node Labeling (DRNL) for neighborhood structure encoding. DRNL transforms topological relationships into learnable structural features by computing distances between nodes within the subgraph and the target nodes, enabling the model to focus more precisely on fitting neighborhood topology and avoiding interference from irrelevant features. Second, we design a Reinforced Structural Transformer (RST) module, with its core being the Reinforced Structural Attention (RSA) mechanism. RSA first extracts structural correlation features of target node pairs using topological heuristics like shortest path distance, Adamic-Adar index, and Jaccard coefficient. These features are then fused with node features to form a structural encoding that directly models pairwise relationships, compensating for GNN’s deficiency in long-range structural perception. Crucially, RST confines attention computation strictly to the target node pair rather than all nodes, simultaneously avoiding noise from non-target nodes and reducing the computational complexity from quadratic (as in a standard Transformer) to linear, significantly boosting efficiency. Experiments on six datasets (three from OGB and three classic attributed graphs) demonstrate the outstanding performance of TAGNN, achieving top rankings on ogbl-ppa, ogbl-citation2, and Pubmed. The variant without neighborhood features performs even better. Ablation studies confirm the contribution of RST, and TAGNN shows a 10–16 × computational efficiency gain over a fully-connected Transformer baseline.

Scientific Reports
Beijing University of Posts and Telecommunications (CN), Nanyang Technological University (SG)
Openalex Percentile: Top 6%
Advanced Graph Neural Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.