Graph Representation Learning Network via Adaptive Sampling

Anderson de Andrade, Chen LiuarXiv 2020

Abstract

Graph Attention Network (GAT) and GraphSAGE are neural network architectures that operate on graph-structured data and have been widely studied for link prediction and node classification. One challenge raised by GraphSAGE is how to smartly combine neighbour features based on graph structure. GAT handles this problem through attention, however the challenge with GAT is its scalability over large and dense graphs. In this work, we proposed a new architecture to address these issues that is more efficient and is capable of incorporating different edge type information. It generates node representations by attending to neighbours sampled from weighted multi-step transition probabilities. We conduct experiments on both transductive and inductive settings. Experiments achieved comparable or better results on several graph benchmarks, including the Cora, Citeseer, Pubmed, PPI, Twitter, and YouTube datasets.

Introduction

In the landscape of Graph Neural Networks (GNNs), GraphSAGE and Graph Attention Networks (GAT) are foundational. GraphSAGE introduced neighborhood sampling to manage computation, but often relies on uniform sampling. Conversely, GAT uses attention to weigh neighbors but suffers from poor scalability in large, dense graphs due to its need to process every neighbor—the "neighborhood explosion" problem.

GATAS (Graph Representation Learning Network via Adaptive Sampling) addresses these limitations by combining the expressive power of attention with a scalable, multi-step adaptive sampling strategy. It is designed to navigate complex, multi-step relationships and heterogeneous edge types efficiently.

Methodology

The GATAS architecture is built upon three core components designed to optimize both performance and scalability:

  1. Multi-Step Adaptive Sampling: Instead of restricting views to immediate neighbors, GATAS explores paths up to $C$ steps away. It utilizes a transition tensor to calculate the probability of reaching specific neighbors, allowing the model to focus on the most relevant parts of a node's extended neighborhood.
  2. Learnable Depth Coefficients: The model adaptively weights different "hops." Through trainable parameters, it can learn whether 1-hop or multi-hop neighbors are more critical for a given task.
  3. Path-Aware Attention: After sampling a fixed-size neighborhood, GATAS applies a self-attention mechanism. This mechanism incorporates node features, edge types, and path positions (using sinusoidal encodings) to generate final representations.
Overview of the GATAS architecture, illustrating multi-step sampling, path-aware feature calculation, and attention-based aggregation.

By using a fixed-size neighborhood sample ($S$), GATAS decouples its computational complexity from the total number of edges, making it significantly more efficient than standard GAT for large-scale networks.

Experimental Results

The researchers evaluated GATAS across transductive node classification (Cora, Citeseer, Pubmed), inductive node classification (PPI), and link prediction (Twitter, YouTube).

Node Classification

GATAS demonstrated superior performance in inductive settings. On the Protein-Protein Interaction (PPI) dataset, GATAS achieved a Micro-F1 score of 0.985, outperforming both GAT (0.973) and GraphSAGE (0.768). In transductive tasks, it remained highly competitive with existing state-of-the-art models.

Performance comparison of GATAS against baseline models on transductive and inductive node classification benchmarks.

In large-scale heterogeneous environments, GATAS showed significant dominance. On the YouTube dataset, which features five types of user interactions, GATAS achieved a 96.63 ROC-AUC, a substantial improvement over specialized models like GATNE (84.61).

Discussion and Conclusion

Key insights from this work highlight that sampling is a critical bottleneck solver for GNN scalability. Furthermore, the inclusion of path-aware sinusoidal encodings allows the model to differentiate the semantic weight of neighbors based on their specific connection paths. Ablation studies confirmed that learnable transition probabilities—the ability to "decide" how far to look—provided the most significant performance gains.

While GATAS excels in complex heterogeneous graphs, its benefits are less pronounced in simple transductive graphs (like Cora) that lack edge variety. Future work will explore its application in massive knowledge graphs where heterogeneous information is even more dense.

Summary updated

BibTeX
@misc{andrade2020graph,
  author = {Anderson de Andrade and Chen Liu},
  title = {{Graph Representation Learning Network via Adaptive Sampling}},
  year = {2020},
  eprint = {2006.04637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04637},
}
Figure