GraphReach: Locality-Aware Graph Neural Networks using Reachability Estimations

Sunil Nishad, Shubhangi Agarwal, Arnab Bhattacharya, Sayan Ranu

Abstract

Standard Graph Neural Networks (GNNs) are often "position-blind," failing to distinguish nodes with identical local neighborhoods located in different parts of a graph. We present GraphReach, a position-aware inductive GNN that leverages reachability estimations from random walks to anchor nodes. This approach provides a holistic view of graph topology, enhancing robustness and performance in tasks like community detection and functional role prediction.

Introduction: The Position-Blindness Problem

Most popular GNN architectures, such as GCN or GraphSAGE, are primarily "structure-aware." They learn node representations by aggregating information from immediate local neighborhoods. However, if two nodes, $v_1$ and $v_2$, are on opposite ends of a large graph but possess isomorphic local branching structures, a standard GNN will assign them identical embeddings.

This lack of global context is a significant limitation for tasks where location is critical, such as identifying communities in social networks or predicting functional roles in biological maps. While previous attempts like P-GNN used shortest-path distances to "anchor" nodes, these methods are computationally expensive and sensitive to minor graph perturbations (adversarial attacks).

The GraphReach Framework

GraphReach introduces a position-aware inductive GNN based on three core pillars designed for robustness and efficiency.

1. Reachability Estimations

Instead of relying on brittle shortest paths, GraphReach uses fixed-length random walks to estimate the "similarity" between a node and a set of anchors. This captures a holistic view: a higher reachability score indicates multiple paths between nodes, making the model more resilient to single-edge changes.

2. Strategic Anchor Selection

Rather than random selection, GraphReach frames anchor selection as a combinatorial optimization problem to maximize total reachability coverage. The authors implement a greedy hill-climbing algorithm with a $(1-1/e)$ approximation guarantee, ensuring high-quality reference points.

3. Architecture and Message Passing

In each layer, a node computes messages from each anchor node. These messages combine the node's own attributes with the anchor's attributes, weighted by their mutual reachability.

The GraphReach architecture illustrating message aggregation from anchor nodes.

As shown in the architecture diagram, these messages are aggregated using either Mean Pooling or an Attention mechanism to produce the final position-aware embedding.

Experimental Evaluation

The authors evaluated GraphReach on eight diverse datasets, including synthetic grids, protein-protein interaction (PPI) maps, and citation networks (CoRA, CiteSeer). These tests covered both transductive and inductive settings.

Key Performance Results

  • Accuracy Boost: GraphReach consistently outperformed state-of-the-art GNNs. In Pairwise Node Classification (PNC), it achieved up to a 40% relative improvement in ROC AUC over baselines.
  • Efficiency: By selecting high-quality anchors once at the start, GraphReach avoids the re-sampling overhead of models like P-GNN, resulting in training speeds approximately 2.5x faster.
  • Robustness: In adversarial scenarios where nodes attempt to hide their identity, GraphReach's performance remained stable, whereas shortest-path-based models saw significant drops.
Sensitivity analysis of GraphReach performance across different walk parameters and anchor selection strategies.

The sensitivity analysis demonstrates that GraphReach achieves high accuracy even with a small number of anchors (around 2.5% of total nodes) and is relatively stable across various walk lengths and counts.

Discussion and Future Work

GraphReach demonstrates that treating anchors like "GPS satellites" via reachability is a highly effective way to encode global position. Its inductive nature allows it to handle new nodes without retraining, a key advantage for dynamic real-world graphs.

However, the authors note that position is not always the dominant factor; in graphs driven purely by homophily, standard GNNs may still be competitive. Future work will explore more complex similarity functions and the application of GraphReach to large-scale dynamic graphs where the global structure evolves over time.

Summary updated

BibTeX
@inproceedings{nishad2021graphreach,
  author = {Sunil Nishad and Shubhangi Agarwal and Arnab Bhattacharya and Sayan Ranu},
  title = {{GraphReach: Locality-Aware Graph Neural Networks using Reachability Estimations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/211},
}
Figure