Skip to main content
QUICK REVIEW

[Paper Review] A Distributed Multi-GPU System for Large-Scale Node Embedding at Tencent

Wanjing Wei, Yangzihao Wang|arXiv (Cornell University)|May 28, 2020
Caching and Content DeliveryComputer Science27 references10 citations
TL;DR

This paper presents a high-performance, distributed multi-GPU system for large-scale node embedding that combines model parallelism and data parallelism to scale efficiently across commodity GPU clusters. By employing hierarchical data partitioning, pipelined training, and decoupled random walk and embedding training stages, the system achieves 5.9x–14.4x speedup over state-of-the-art methods while maintaining competitive accuracy, completing one training epoch on a 300-billion-edge network in just 3 minutes using 40 V100 GPUs.

ABSTRACT

Real-world node embedding applications often contain hundreds of billions of edges with high-dimension node features. Scaling node embedding systems to efficiently support these applications remains a challenging problem. In this paper we present a high-performance multi-GPU node embedding system. It uses model parallelism to split node embeddings onto each GPU's local parameter server, and data parallelism to train these embeddings on different edge samples in parallel. We propose a hierarchical data partitioning strategy and an embedding training pipeline to optimize both communication and memory usage on a GPU cluster. With the decoupled design of CPU tasks (random walk) and GPU tasks (embedding training), our system is highly flexible and can fully utilize all computing resources on a GPU cluster. Comparing with the current state-of-the-art multi-GPU single-node embedding system, our system achieves 5.9x-14.4x speedup on average with competitive or better accuracy on open datasets. Using 40 NVIDIA V100 GPUs on a network with almost three hundred billion edges and more than one billion nodes, our implementation requires only 3 minutes to finish one training epoch.

Motivation & Objective

  • To address the challenge of scaling node embedding training to billion-node, trillion-edge networks using commodity GPU clusters.
  • To overcome the limitations of existing systems that either lack multi-GPU scalability or fail to efficiently utilize GPU memory and communication bandwidth.
  • To design a system that decouples random walk-based network augmentation from embedding training for independent optimization.
  • To achieve high throughput and efficient communication overlap in distributed multi-GPU training for large-scale node embedding.
  • To deliver both high performance and competitive accuracy on real-world and open benchmark datasets.

Proposed method

  • The system uses hybrid model and data parallelism: node embeddings are partitioned across GPUs via model parallelism, while training samples are distributed across GPUs using data parallelism.
  • A hierarchical data partitioning strategy is proposed to minimize communication overhead and improve data locality across GPU clusters.
  • A pipelined embedding training pipeline overlaps computation and communication to maximize GPU utilization and bandwidth.
  • The system decouples CPU-based random walk generation from GPU-based embedding training, enabling independent optimization of each stage.
  • The framework supports both local and remote parameter servers and uses efficient embedding lookup and update operations to reduce kernel launch overhead.
  • It employs negative sampling strategies to reduce network transmission and improve training efficiency.

Experimental results

Research questions

  • RQ1How can a distributed multi-GPU system efficiently scale to large-scale node embedding tasks with hundreds of billions of edges?
  • RQ2What design patterns enable high communication efficiency and memory utilization in multi-GPU node embedding systems?
  • RQ3How can random walk generation and embedding training be decoupled to allow independent optimization and better resource utilization?
  • RQ4To what extent can pipelined training and hierarchical data partitioning improve throughput and reduce training time on large-scale graphs?
  • RQ5Can a system built on commodity GPU clusters outperform existing state-of-the-art multi-GPU frameworks in both speed and accuracy?

Key findings

  • The system achieves 5.9x to 14.4x average speedup over the current state-of-the-art multi-GPU single-node embedding system on open datasets.
  • On a network with nearly 300 billion edges and over one billion nodes, the system completes one training epoch in just 3 minutes using 40 NVIDIA V100 GPUs.
  • The system maintains competitive or better accuracy compared to baseline models on standard open benchmark datasets.
  • The pipelined training strategy successfully overlaps computation and communication, significantly improving GPU utilization and system throughput.
  • Hierarchical data partitioning reduces communication overhead and improves data locality, enabling efficient scaling across GPU clusters.
  • The decoupled architecture allows independent optimization of random walk and embedding training, enhancing system flexibility and performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.