English

Learning Large Graph Property Prediction via Graph Segment Training

Machine Learning 2023-11-07 v3 Social and Information Networks

Abstract

Learning to predict properties of large graphs is challenging because each prediction requires the knowledge of an entire graph, while the amount of memory available during training is bounded. Here we propose Graph Segment Training (GST), a general framework that utilizes a divide-and-conquer approach to allow learning large graph property prediction with a constant memory footprint. GST first divides a large graph into segments and then backpropagates through only a few segments sampled per training iteration. We refine the GST paradigm by introducing a historical embedding table to efficiently obtain embeddings for segments not sampled for backpropagation. To mitigate the staleness of historical embeddings, we design two novel techniques. First, we finetune the prediction head to fix the input distribution shift. Second, we introduce Stale Embedding Dropout to drop some stale embeddings during training to reduce bias. We evaluate our complete method GST-EFD (with all the techniques together) on two large graph property prediction benchmarks: MalNet and TpuGraphs. Our experiments show that GST-EFD is both memory-efficient and fast, while offering a slight boost on test accuracy over a typical full graph training regime.

Keywords

Cite

@article{arxiv.2305.12322,
  title  = {Learning Large Graph Property Prediction via Graph Segment Training},
  author = {Kaidi Cao and Phitchaya Mangpo Phothilimthana and Sami Abu-El-Haija and Dustin Zelle and Yanqi Zhou and Charith Mendis and Jure Leskovec and Bryan Perozzi},
  journal= {arXiv preprint arXiv:2305.12322},
  year   = {2023}
}
R2 v1 2026-06-28T10:40:18.175Z