Hong Kong University of Science and Technology
Towards communication-efficient distributed training systems
Abstract
dc:description<p>As the scaling law persists consistently, distributed training has become the standard methodology to manage the exponential increase in model size and training data. Following this trend, distributed training systems are developed to handle the complexities and scale of distributed training and to embrace the computation powers of multiple devices. However, the communication remains one of the major challenges in these systems. The communication issues manifest in two key domains: the varied communication patterns across training paradigms during the model training stage, and the limited communication performance imposed by CPU-based processing during the data and model management stages.</p> <p>This dissertation delineates my research efforts on building communication-efficient distributed training systems through paradigm-specific optimizations for the model training stage and hardware-accelerated optimizations for the data and model management stages. The resulting optimized systems are full-stack solutions tailored for hardware-accelerated Graph Neural Network (GNN) and Large Language Model (LLM) training.</p> <p>For the sampling-based GNN training paradigm, we propose DGS, a communication-efficient graph sampling framework. Its key idea is to reduce network communication cost by sampling neighborhood information based on the locality of the neighbor nodes in the cluster, and sampling data at both node and feature levels. As a result, DGS strikes a balance between communication efficiency and model accuracy, and integrates seamlessly with distributed GNN training systems.</p> <p>For the full-graph GNN training paradigm, we design G3, a scalable and efficient full-graph training system. G3 incorporates GNN hybrid parallelism to scale out full-graph training with meticulous peer-to-peer intermediate data sharing, and accelerates the training process by balancing workloads among workers through locality-aware iterative partitioning, and overlapping communication with computation through a multi-level pipeline scheduling algorithm. Although initially tailored for GNN training, we believe the fundamental principle of peer-to-peer sharing data in hybrid parallelism can be generalized to other training tasks.</p> <p>For the LLM training paradigm, we introduce Hermod, a near-optimal coflow scheduler that orchestrates all coflow types at the cluster level during LLM training. Hermod employs the insight that coflows are characterized by three model factors, and designs 1) model factor-driven inter-coflow scheduling to align with the LLM training DAG, and 2) matching-based intra-coflow scheduling to maximize transmission rates for high-priority coflows. We believe our revisit of coflow scheduling in LLM training will inspire further LLM training optimizations.</p> <p>To enhance communication performance in distributed services, we present LEO, a hardware-accelerated communication framework for distributed services. LEO offers 1) a communication path abstraction to describe various distributed services with predictable communication performance across edge accelerators, 2) unified APIs and wrappers to simplify programming experience with automatic communication configuration, and 3) a built-in multi-path communication optimization strategy to enhance communication efficiency. We believe LEO will serve as a stepping stone for the development of hardware-accelerated distributed services in distributed training systems.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wan, Xinchen
- Contributors dc:contributor
-
- Chen, Kai
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-146393