Graph Neural Network for Crawling Target Nodes in Social Networks

Kirill Lukyanov, Mikhail Drobyshevskiy, Danil Shaikhelislamov, Denis TurdakovarXiv 2024 · DOI

Abstract

Finding specific target nodes in massive social networks is challenging due to incomplete graph knowledge and strict API budget constraints. This paper proposes a Graph Neural Network (GNN) based crawler that leverages local neighborhood structures to predict target nodes. By introducing a "sample boosting" technique to overcome data scarcity in early crawling stages, the proposed method significantly outperforms traditional machine learning baselines, particularly in scenarios where target nodes are scattered across the network.

Introduction

Navigating a social network to find specific types of users—"target nodes" like influencers or experts—is often compared to finding a needle in a haystack while blindfolded. Researchers and companies face two major hurdles: information scarcity, where only the already crawled portion of the graph is visible, and budget constraints, where platforms impose strict API rate limits. This challenge requires a "selective harvester"—an agent that can look at its current local neighborhood and accurately predict which unknown neighbor is most likely to be a target node, thereby maximizing the "harvest" within a fixed budget of steps.

Methodology

The authors treat the crawling process as a sequential decision problem. At each step, a predictor scores all observed but uncrawled neighbors, and the crawler visits the highest-scoring one.

The crawling agent explores the local neighborhood to identify target nodes (marked 'T') within a limited budget.

Key Innovations

  • GNN-Based Prediction: Unlike previous methods using "flat" classifiers on hand-crafted features, this work employs Graph Neural Networks (GCN, GraphSAGE, and GAT). These models are inherently designed to capture structural relationships between a node and its neighborhood.
  • Sample Boosting: To solve the "cold start" problem of limited early-stage training data, the authors propose "sample boosting." This involves simulating alternative crawling sequences from the already-observed graph, effectively augmenting the training data and helping the model learn the graph's topology faster.

Experimental Setup

The study evaluates models across three distinct graph topologies, as detailed in the dataset analysis:

  1. Single Dense Subgraph: Target nodes are clustered in one large community (e.g., LiveJournal).
  2. Multiple Dense Subgraphs: Targets belong to several different communities (e.g., VK-comms).
  3. Scattered Nodes: Targets are uniformly distributed based on attributes like gender or occupation (e.g., VK-scatter, Twitter).

Key Results and Insights

Experimental results demonstrate the clear dominance of GNN-based approaches, particularly in complex topologies.

Comparison of targets crawled across different datasets shows GNNs (SAGE, GAT) consistently performing well with lower variance.
  • Structure and Stability: GNNs (particularly GraphSAGE and GAT) proved superior because they "see" the connectivity of the neighborhood. Notably, GNNs exhibited much lower variance in their results compared to classical models like XGBoost. In real-world applications, a stable, predictable model is often more valuable than one that is only occasionally brilliant.
  • Performance in Scattered Scenarios: On the most difficult "scattered" datasets, GNNs significantly outperformed classical predictors, which often devolved into performance no better than a random crawler.
  • Impact of Boosting: The sample boosting technique was shown to be vital, providing a significantly higher total score across various classifiers compared to historical baselines.

Conclusion

This research demonstrates that GNNs, combined with sample boosting, provide a robust solution for targeted crawling in social networks. While retraining GNNs frequently can be computationally expensive, their ability to handle scattered target distributions and provide stable results offers a significant advantage over traditional machine learning methods. Future work may involve "meta-learning" approaches to intelligently switch between predictors as the crawl progresses and more data becomes available.

Summary updated

BibTeX
@misc{lukyanov2024graph,
  author = {Kirill Lukyanov and Mikhail Drobyshevskiy and Danil Shaikhelislamov and Denis Turdakov},
  title = {{Graph Neural Network for Crawling Target Nodes in Social Networks}},
  year = {2024},
  eprint = {2403.13865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13865},
}
Figure