HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Neural Common Neighbor with Completion for Link Prediction

Xiyuan Wang Haotong Yang Muhan Zhang

Neural Common Neighbor with Completion for Link Prediction

Abstract

In this work, we propose a novel link prediction model and further boost it by studying graph incompleteness. First, we introduce MPNN-then-SF, an innovative architecture leveraging structural feature (SF) to guide MPNN's representation pooling, with its implementation, namely Neural Common Neighbor (NCN). NCN exhibits superior expressiveness and scalability compared with existing models, which can be classified into two categories: SF-then-MPNN, augmenting MPNN's input with SF, and SF-and-MPNN, decoupling SF and MPNN. Second, we investigate the impact of graph incompleteness -- the phenomenon that some links are unobserved in the input graph -- on SF, like the common neighbor. Through dataset visualization, we observe that incompleteness reduces common neighbors and induces distribution shifts, significantly affecting model performance. To address this issue, we propose to use a link prediction model to complete the common neighbor structure. Combining this method with NCN, we propose Neural Common Neighbor with Completion (NCNC). NCN and NCNC outperform recent strong baselines by large margins, and NCNC further surpasses state-of-the-art models in standard link prediction benchmarks. Our code is available at https://github.com/GraphPKU/NeuralCommonNeighbor.

Code Repositories

GraphPKU/NeuralCommonNeighbor
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
link-property-prediction-on-ogbl-ddiNeuralCommonNeighbor
Ext. data: No
Number of params: 1412098
Test Hits@20: 0.8232 ± 0.0610
Validation Hits@20: 0.7172 ± 0.0025
link-property-prediction-on-ogbl-ppa**Neural Common Neighbor **
Ext. data: No
Number of params: 33538
Test Hits@100: 0.6119 ± 0.0085
Validation Hits@100: 0.6021 ± 0.0037

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Neural Common Neighbor with Completion for Link Prediction | Papers | HyperAI