HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity

Van Thuy Hoang; O-Joun Lee

Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity

Abstract

Graph representation learning (GRL) methods, such as graph neural networks and graph transformer models, have been successfully used to analyze graph-structured data, mainly focusing on node classification and link prediction tasks. However, the existing studies mostly only consider local connectivity while ignoring long-range connectivity and the roles of nodes. In this paper, we propose Unified Graph Transformer Networks (UGT) that effectively integrate local and global structural information into fixed-length vector representations. First, UGT learns local structure by identifying the local substructures and aggregating features of the $k$-hop neighborhoods of each node. Second, we construct virtual edges, bridging distant nodes with structural similarity to capture the long-range dependencies. Third, UGT learns unified representations through self-attention, encoding structural distance and $p$-step transition probability between node pairs. Furthermore, we propose a self-supervised learning task that effectively learns transition probability to fuse local and global structural features, which could then be transferred to other downstream tasks. Experimental results on real-world benchmark datasets over various downstream tasks showed that UGT significantly outperformed baselines that consist of state-of-the-art models. In addition, UGT reaches the expressive power of the third-order Weisfeiler-Lehman isomorphism test (3d-WL) in distinguishing non-isomorphic graph pairs. The source code is available at https://github.com/NSLab-CUK/Unified-Graph-Transformer.

Code Repositories

nslab-cuk/literalkg
pytorch
Mentioned in GitHub
nslab-cuk/unified-graph-transformer
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
graph-classification-on-enzymesUGT
Accuracy: 67.22±3.92
graph-classification-on-nci1UGT
Accuracy: 77.55 ±0.16%
graph-classification-on-nci109UGT
Accuracy: 75.45±1.26
graph-classification-on-proteinsUGT
Accuracy: 80.12 ±0.32
node-classification-on-brazil-air-trafficUGT
Accuracy: 0.8 ± 0.05
node-classification-on-chameleonUGT
Accuracy: 69.78 ±3.21
node-classification-on-citeseerUGT
Accuracy: 76.08±2.5
node-classification-on-coraUGT
Accuracy: 88.74±0.6%
node-classification-on-cornellUGT
Accuracy: 70.0 ±4.44
node-classification-on-europe-air-trafficUGT
Accuracy: 56.92 ±6.36
node-classification-on-film-60-20-20-randomUGT
1:1 Accuracy: 36.84±0.62
node-classification-on-squirrelUGT
Accuracy: 66.96 ±2.49
node-classification-on-texasUGT
Accuracy: 86.67 ±8.31
node-classification-on-usa-air-trafficUGT
Accuracy: 66.22±4.55
node-classification-on-wisconsinUGT
Accuracy: 81.6 ±8.24

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