arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15452cs.LGcs.DCcs.SI
收藏

GraphScale:一个支持十亿节点图机器学习的框架

GraphScale: A Framework to Enable Machine Learning over Billion-node Graphs

Bytedance(字节跳动);Dartmouth College(达特茅斯学院)

Vipul Gupta, Xin Chen, Ruoyun Huang, Fanlong Meng, Jianjun Chen, Yujun Yan

AI总结:

GraphScale提出统一框架,通过分离存储与计算工作节点解耦图训练,异步流水线提升十亿节点图监督与无监督学习效率,端到端训练时间至少减少40%,已部署于TikTok生产环境。

摘要:

图神经网络(GNNs)已成为对图结构数据进行监督式机器学习的有力工具,而基于采样的节点表示学习则被广泛应用于无监督学习。然而,对于大型图(例如超过10亿节点的图),可扩展性在监督和无监督学习中仍然是一个主要挑战。可扩展性瓶颈主要源于GNN中的小批量采样阶段和无监督方法中的随机游走采样阶段。这些过程通常需要将特征或嵌入存储在内存中。在分布式训练的背景下,它们需要对存储在不同工作节点上的数据进行频繁且低效的随机访问。每个小批量的这种重复的工作节点间通信导致了高通信开销和计算效率低下。我们提出了GraphScale,一个统一的框架,用于监督和无监督学习,以分布式方式存储和处理大型图数据。我们设计中的关键见解是将存储数据的工作节点与执行训练的工作节点分离。这种分离使我们能够在图训练中解耦计算和存储,从而有效地构建一个数据获取和数据计算可以异步重叠的流水线。我们的实验表明,GraphScale在GNN和节点嵌入的分布式训练中均优于最先进的方法。我们在公共和专有图数据集上评估了GraphScale,并观察到与流行的分布式框架相比,端到端训练时间至少减少了40%,且性能没有任何损失。虽然大多数现有方法不支持十亿节点图的节点嵌入训练,但GraphScale目前已在TikTok生产环境中部署,能够在此类大型图上进行高效学习。

英文摘要:

Graph Neural Networks (GNNs) have emerged as powerful tools for supervised machine learning over graph-structured data, while sampling-based node representation learning is widely utilized in unsupervised learning. However, scalability remains a major challenge in both supervised and unsupervised learning for large graphs (e.g., those with over 1 billion nodes). The scalability bottleneck largely stems from the mini-batch sampling phase in GNNs and the random walk sampling phase in unsupervised methods. These processes often require storing features or embeddings in memory. In the context of distributed training, they require frequent, inefficient random access to data stored across different workers. Such repeated inter-worker communication for each mini-batch leads to high communication overhead and computational inefficiency. We propose GraphScale, a unified framework for both supervised and unsupervised learning to store and process large graph data distributedly. The key insight in our design is the separation of workers who store data and those who perform the training. This separation allows us to decouple computing and storage in graph training, thus effectively building a pipeline where data fetching and data computation can overlap asynchronously. Our experiments show that GraphScale outperforms state-of-the-art methods for distributed training of both GNNs and node embeddings. We evaluate GraphScale both on public and proprietary graph datasets and observe a reduction of at least 40% in end-to-end training times compared to popular distributed frameworks, without any loss in performance. While most existing methods don't support billion-node graphs for training node embeddings, GraphScale is currently deployed in production at TikTok enabling efficient learning over such large graphs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑