Learning to Identify High Betweenness Centrality Nodes from Scratch: A Novel Graph Neural Network Approach

Changjun Fan, Li Zeng, Yuhui Ding, Muhao Chen, Yizhou Sun, Zhong Liu

Introduction

Betweenness Centrality (BC) is a fundamental metric in network science, quantifying a node's importance based on its role as a bridge along shortest paths. Identifying high-BC nodes is critical for applications ranging from social network analysis to infrastructure resilience. However, exact BC computation using Brandes’ algorithm requires $O(|V||E|)$ time, which is prohibitive for modern graphs with millions of nodes. While approximation methods exist, they often struggle with the trade-off between speed and accuracy, particularly in dynamic topologies.

This paper introduces DrBC (Deep Ranker for Betweenness Centrality), a Graph Neural Network (GNN) framework that treats the identification of high-centrality nodes as a scalable learning-to-rank problem. By training on small synthetic graphs, DrBC learns an inductive "centrality operator" capable of identifying top-ranked nodes in massive networks significantly faster than traditional methods.

The DrBC Framework

DrBC utilizes an encoder-decoder architecture designed to capture structural roles through neighborhood aggregation.

Encoder Design

The encoder captures the "bridge" characteristics of nodes through a multi-hop aggregation scheme:

  1. Aggregation: Node embeddings are updated using a weighted sum of neighbor features. Weights are determined by node degrees, serving as a computationally efficient proxy for local importance.
  2. Gated Updates: Instead of standard linear transformations, DrBC employs a Gated Recurrent Unit (GRU) to combine a node's previous state with aggregated neighborhood information. This mechanism facilitates stable information flow across multiple hops.
  3. Layer Aggregation: To account for varying structural positions, the model performs max-pooling across all layers (typically $L=5$). This ensures the final representation captures the most salient structural features from different neighborhood scales.

Decoder and Ranking Loss

The decoder is a two-layer Multi-Layer Perceptron (MLP) that maps node embeddings to a scalar ranking score. Rather than regressing to exact BC values—which can be noisy and scale-dependent—DrBC is trained using a pairwise ranking loss. This objective encourages the model to correctly order pairs of nodes, a task better suited for identifying the top-N% "VIP" nodes.

Experimental Setup

A key innovation of DrBC is its inductive capability. The model is trained on small synthetic graphs (4,000–5,000 nodes) generated via the Powerlaw-cluster model to mimic real-world degree distributions. Once trained, it is applied "zero-shot" to massive real-world datasets, including social networks (com-Youtube, com-lj), co-purchasing networks (Amazon), and citation networks (cit-Patents) with up to 4 million nodes.

Key Results

DrBC demonstrates exceptional efficiency and generalization. On a 100,000-node graph, it outperformed the state-of-the-art ABRA approximation algorithm by a factor of 46.

Performance metrics: (A) Validation accuracy for top-1% nodes across different graph sizes; (B) Convergence time scaling linearly with training graph size.

As shown in the performance analysis, the model achieves over 90% accuracy in identifying the top-1% of nodes on synthetic graphs. Crucially, the training convergence time scales linearly with the number of nodes, making the "learning from scratch" approach highly feasible. In real-world tests on Amazon and Dblp datasets, DrBC significantly outperformed general node embedding methods like Node2Vec and specialized top-k approximation algorithms like KADABRA.

Discussion and Limitations

The success of DrBC suggests that a 5-hop local neighborhood often contains sufficient structural information to rank nodes by a global metric like BC. However, the model has limitations:

  • Theoretical Guarantees: Unlike sampling-based algorithms, DrBC lacks formal $(\epsilon, \delta)$-approximation guarantees.
  • Fixed Context: The 5-layer depth may be insufficient for extremely sparse or "long" networks where shortest paths span many more hops.

Future work includes integrating attention mechanisms to learn neighbor weights dynamically and extending the framework to other centrality measures such as Closeness or Eigenvector Centrality.

Summary updated

BibTeX
@inproceedings{fan2019learning,
  author = {Changjun Fan and Li Zeng and Yuhui Ding and Muhao Chen and Yizhou Sun and Zhong Liu},
  title = {{Learning to Identify High Betweenness Centrality Nodes from Scratch: A Novel Graph Neural Network Approach}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2019},
  url = {https://openreview.net/forum?id=tx0miDBB1rmr},
}
Figure