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

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

TL;DR

This paper introduces DrBC, a novel Graph Neural Network (GNN) approach to efficiently identify nodes with high Betweenness Centrality (BC) in large networks. By framing BC identification as a learning-to-rank problem, DrBC significantly speeds up prediction compared to traditional methods, achieving competitive accuracy and even outperforming state-of-the-art approaches on some real-world datasets.

What Problem Does This Paper Address?

Betweenness Centrality (BC) is a crucial metric for understanding node importance in networks, with applications ranging from community detection to network dismantling. However, computing exact BC scores for large-scale networks (millions of nodes) is computationally prohibitive due to its high time complexity. Existing approximation algorithms, while faster, still struggle with massive graphs and can be sensitive to network perturbations. The core challenge is to efficiently and accurately identify the top-k nodes with the highest BC without computing all BC values, especially in dynamic or extremely large networks where exact computation is infeasible.

Methods

The authors propose DrBC (Deep ranker for BC), an encoder-decoder framework built upon Graph Neural Networks (GNNs).

  • Encoder: This component uses a neighborhood aggregation approach, similar to GNNs, to learn a low-dimensional embedding vector for each node. This embedding captures essential structural information relevant to BC. Key design choices include:
  • Neighborhood Definition: All immediate neighbors are considered to fully exploit local structure.
  • Neighborhood Aggregation: A weighted sum aggregator is used, where weights are determined by node degrees, as computing shortest path counts is expensive.
  • COMBINE Function: A Gated Recurrent Unit (GRU) is employed to combine the aggregated neighborhood information with the node's previous layer embedding, allowing for adaptive feature selection.
  • Layer Aggregation: Max-pooling is used to aggregate representations from different layers, providing an adaptive mechanism.
  • Decoder: A simple multi-layer perceptron (MLP) takes the node embeddings from the encoder and outputs a scalar score. This score represents the relative rank of the node in terms of its BC, not the exact BC value.
  • Training: The model is trained end-to-end using a pairwise ranking loss. This loss function encourages the model to learn the correct relative order of nodes' BC values, rather than their absolute scores. The model is trained on smaller synthetic graphs and then applied to larger, unseen networks.

Datasets

  • Synthetic Networks: Generated using the powerlaw-cluster model, which mimics properties of real-world networks (power-law degree distribution and small-world phenomenon). These were used for training and testing across various scales (5,000 to 100,000 nodes).
  • Real-World Networks: Five large real-world networks were used for evaluation: com-Youtube, Amazon, Dblp, cit-Patents, and com-lj. These datasets represent diverse domains like social networks, product networks, and citation networks.

Key Insights and Ideas

  • Learning to Rank for BC: The core insight is reframing the problem from "computing BC" to "learning to rank nodes by BC." This shift allows the model to focus on relative importance, which is often sufficient for downstream applications, and bypasses the need for exact BC computation.
  • Inductive Learning: Training on smaller graphs and testing on larger, unseen graphs is a key advantage. This inductive capability makes the model applicable to dynamic networks and avoids retraining for every new network.
  • GNNs as BC Feature Extractors: The paper demonstrates that GNNs, with their inherent neighborhood aggregation mechanisms, can effectively learn embeddings that capture structural information crucial for BC. The similarity between GNN aggregation and Brandes' algorithm for BC is highlighted as a reason for DrBC's success.
  • Importance of Network Models: The study emphasizes that training on synthetic graphs that accurately capture real-world network properties (like the powerlaw-cluster model) is vital for achieving good generalization.

Key Results

  • Accuracy: DrBC achieves competitive top-N% accuracy compared to approximation algorithms and outperforms traditional node embedding methods like Node2Vec. On several large real-world networks, DrBC even surpasses state-of-the-art methods in accuracy.
  • Efficiency: DrBC offers a significant speedup in prediction time, being orders of magnitude faster than methods like ABRA and RK. For example, on a 100,000-node graph, DrBC is over 46 times faster than ABRA while sacrificing only about 2% in top-1% accuracy.
  • Kendall Tau Distance: DrBC consistently achieves better Kendall tau distances, indicating superior overall ranking quality compared to other baselines.
  • Generalization: The model demonstrates good generalization capabilities, performing well on larger graphs than those used for training.

Limitations and Future Work

  • Theoretical Guarantees: The authors acknowledge that proving theoretical approximation bounds for GNNs in this context is challenging.
  • Future Directions:
    • Exploring theoretical guarantees for DrBC.
  • Applying the framework to BC-related downstream tasks like community detection and network attack.
  • Extending the framework to approximate other network structural measures.
  • Investigating attention mechanisms for neighbor weighting in the encoder.
  • Exploring training on larger scales to further improve generalization.

Summary updated

BibTeX
@inproceedings{fan2019learning,
  author = {Changjun Fan and Liang 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