Abstract
Graph Neural Networks (GNNs) have revolutionized node classification but often underperform in link prediction compared to traditional structural heuristics. This performance gap stems from "feature smoothing," where GNNs prioritize semantic context over raw graph geometry. We present Neo-GNNs (Neighborhood Overlap-aware GNNs), a framework that bridges this gap by explicitly learning neighborhood overlaps from the adjacency matrix. By combining a structural feature generator with an adaptive integration mechanism, Neo-GNNs achieve state-of-the-art results on major benchmarks like the Open Graph Benchmark (OGB) while remaining computationally efficient.
Introduction
Link prediction—the task of predicting missing edges in a graph—is fundamental to applications ranging from recommender systems to drug discovery. While modern GNNs excel at capturing node attributes, they often fail to leverage the structural "geometry" of the graph, such as common neighbors or node degrees. Historically, simple heuristics like Adamic-Adar have proven surprisingly robust. Recent attempts to incorporate structure, such as subgraph-based methods (e.g., SEAL), are powerful but suffer from high computational costs. Neo-GNNs aim to capture these vital structural patterns efficiently within a learnable framework.
Methodology: The Neo-GNN Architecture
Neo-GNNs utilize two parallel tracks to generate a final link prediction score $\hat{y}_{ij}$:
1. Structural Feature Generator
This component learns to generate structural features $x^{struct}$ directly from the adjacency matrix $A$. Unlike standard GNNs that rely on external node attributes, this track uses Multi-Layer Perceptrons (MLPs) to learn node importance weights. This allows the model to act as a learnable generalization of traditional heuristics.
2. Neighborhood Overlap-aware Aggregation
The core innovation lies in using unnormalized adjacency matrices to count overlaps between node neighborhoods. By extending this to multi-hop relationships (neighbors of neighbors), the model captures structural patterns beyond immediate connections. The multi-hop overlap is controlled by a decaying factor $\beta$.
3. Adaptive Integration
The final prediction is a weighted combination of the structural score and a standard feature-based GNN score (e.g., from a GCN). A learnable parameter $\alpha$ adaptively balances these components based on the dataset's characteristics.
Experimental Evaluation
The model was evaluated on the Open Graph Benchmark (OGB), including protein-protein (ogbl-ppa), collaboration (ogbl-collab), drug-drug (ogbl-ddi), and citation (ogbl-citation2) networks.
Key Results
- Performance: Neo-GNNs consistently outperformed baselines. Notably, on
ogbl-ddi, Neo-GNNs achieved a 9.6% improvement over the previous state-of-the-art. - Efficiency: By utilizing sparse matrix multiplications instead of per-pair subgraph extraction, Neo-GNNs are significantly more scalable than methods like SEAL.
- Heuristic Generalization: The authors proved that Neo-GNNs can exactly replicate heuristics like Adamic-Adar given specific weights, ensuring a high performance floor.
Discussion and Insights
Ablation studies reveal that the importance of structure versus features varies significantly by domain. In protein-interaction graphs (ogbl-ppa), structural information is dominant ($\alpha \approx 0.98$), whereas citation networks require a more balanced approach. The use of unnormalized matrices is critical; standard normalization destroys the raw neighbor counts essential for overlap-based heuristics.
Conclusion
Neo-GNNs represent a significant step forward in link prediction by unifying classical structural heuristics with the flexibility of deep learning. Their ability to adaptively weight structural and semantic information makes them versatile across diverse graph types, while their efficiency ensures applicability to large-scale real-world networks.
Summary updated