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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gupta, Vipul, Chen, Xin, Huang, Ruoyun, Meng, Fanlong, Chen, Jianjun, Yan, Yujun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911963924135936
author Gupta, Vipul
Chen, Xin
Huang, Ruoyun
Meng, Fanlong
Chen, Jianjun
Yan, Yujun
author_facet Gupta, Vipul
Chen, Xin
Huang, Ruoyun
Meng, Fanlong
Chen, Jianjun
Yan, Yujun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_15452
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GraphScale: A Framework to Enable Machine Learning over Billion-node Graphs
Gupta, Vipul
Chen, Xin
Huang, Ruoyun
Meng, Fanlong
Chen, Jianjun
Yan, Yujun
Machine Learning
Distributed, Parallel, and Cluster Computing
Social and Information Networks
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.
title GraphScale: A Framework to Enable Machine Learning over Billion-node Graphs
topic Machine Learning
Distributed, Parallel, and Cluster Computing
Social and Information Networks
url https://arxiv.org/abs/2407.15452