Skip to main content
QUICK REVIEW

[Paper Review] Systems for Parallel and Distributed Large-Model Deep Learning Training

Kabir Nagrecha|arXiv (Cornell University)|Jan 6, 2023
Advanced Neural Network ApplicationsComputer Science3 citations
TL;DR

This survey provides a comprehensive analysis of systems for training large-scale deep learning models, focusing on parallel and distributed techniques to address memory bottlenecks, performance degradation, and high training costs. It evaluates strategies like model parallelism, data parallelism, hybrid parallelism, CPU offloading, and spilling, highlighting their trade-offs and real-world effectiveness in scaling models to trillions of parameters.

ABSTRACT

Deep learning (DL) has transformed applications in a variety of domains, including computer vision, natural language processing, and tabular data analysis. The search for improved DL model accuracy has led practitioners to explore increasingly large neural architectures, with some recent Transformer models spanning hundreds of billions of learnable parameters. These designs have introduced new scale-driven systems challenges for the DL space, such as memory bottlenecks, poor runtime efficiency, and high costs of model development. Efforts to address these issues have explored techniques such as parallelization of neural architectures, spilling data across the memory hierarchy, and memory-efficient data representations. This survey will explore the large-model training systems landscape, highlighting key challenges and the various techniques that have been used to address them.

Motivation & Objective

  • Address the growing challenge of training extremely large deep learning models with hundreds of billions or trillions of parameters.
  • Identify and analyze key systems-level challenges in large-model training: memory scalability, runtime performance, and high computational costs.
  • Survey and categorize existing systems and techniques—such as model/data/pipeline parallelism, CPU offloading, and hybrid strategies—for enabling efficient and scalable training.
  • Highlight gaps in current research, including limited support for complex hybrid parallelism and lack of optimization for emerging execution models like serverless and budgeted training.
  • Provide a foundation for future research by identifying promising directions such as multi-dimensional parallelism, dynamic hybrid executors, and hardware-aware system design.

Proposed method

  • Categorize and analyze large-model training systems based on their parallelization strategies: data parallelism, model parallelism (tensor, pipeline, expert), and hybrid approaches.
  • Examine memory optimization techniques including gradient checkpointing, CPU offloading (e.g., ZeRO-Offload), and memory spilling across CPU and GPU memory hierarchies.
  • Evaluate the performance and efficiency trade-offs of different execution models, including heterogeneous CPU-GPU execution and dynamic task scheduling.
  • Survey state-of-the-art systems like Megatron-LM, DeepSpeed, FSDP, and hybrid frameworks such as FlexFlow and ALPA, analyzing their design principles and scalability.
  • Analyze real-world deployments, including BLOOM (366B tokens, 416 A100 GPUs) and DLRM (Meta’s recommender model), to illustrate system requirements and cost implications.
  • Propose future system design directions, including support for task parallelism, elastic scaling, and integration with serverless and budget-constrained execution environments.

Experimental results

Research questions

  • RQ1What are the primary systems-level challenges in training large deep learning models with hundreds of billions or trillions of parameters?
  • RQ2How do different parallelization strategies—data, model, pipeline, and hybrid—compare in terms of memory efficiency, communication overhead, and training speed?
  • RQ3To what extent can techniques like CPU offloading, gradient checkpointing, and memory spilling reduce GPU memory pressure without sacrificing training performance?
  • RQ4What are the limitations of current hybrid parallelism frameworks in supporting complex model architectures with mixed computational and memory demands?
  • RQ5How can future training systems be designed to support emerging execution models such as serverless, budget-constrained, and elastic scaling workloads?

Key findings

  • Training large models like BLOOM and GPT-3 requires massive hardware—BLOOM used 416 A100 GPUs and would cost $5.5 million on AWS, highlighting extreme cost barriers.
  • Hybrid parallelism combining data and model parallelism (e.g., in DLRMs) enables efficient training by partitioning embedding tables (model parallelism) and replicating the DNN (data parallelism), reducing per-GPU memory pressure.
  • Techniques like ZeRO-Offload and CPU offloading can reduce GPU memory usage by shifting optimizer states and gradients to CPU, enabling training of models larger than GPU memory capacity.
  • Communication overhead remains a major bottleneck in hybrid and pipeline-parallel training, especially in multi-GPU setups, though optimizations like all-gather and sharding help mitigate it.
  • Emerging hardware such as Hopper TPUs and NVLink-enabled CPU-GPU interconnects can accelerate spilling by up to 60× compared to PCIe 3.0, significantly improving offloading performance.
  • Current systems lack native support for advanced execution models like serverless or budget-aware training, creating a gap for future systems that can automatically scale and optimize within cost constraints.

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.