[Paper Review] Understanding Training Efficiency of Deep Learning Recommendation Models at Scale
This paper investigates the training efficiency of large-scale deep learning recommendation models on GPU-accelerated systems, identifying that model architecture configurations—particularly embedding table size, MLP depth, and feature types—significantly impact GPU utilization and throughput. It presents insights from over 500 training runs across Facebook’s Big Basin and Zion GPU platforms, demonstrating that optimal performance depends on dynamic embedding table placement strategies and hardware-software co-design, with throughput improvements up to 3x on the new Zion system compared to CPU or legacy GPU setups.
The use of GPUs has proliferated for machine learning workflows and is now considered mainstream for many deep learning models. Meanwhile, when training state-of-the-art personal recommendation models, which consume the highest number of compute cycles at our large-scale datacenters, the use of GPUs came with various challenges due to having both compute-intensive and memory-intensive components. GPU performance and efficiency of these recommendation models are largely affected by model architecture configurations such as dense and sparse features, MLP dimensions. Furthermore, these models often contain large embedding tables that do not fit into limited GPU memory. The goal of this paper is to explain the intricacies of using GPUs for training recommendation models, factors affecting hardware efficiency at scale, and learnings from a new scale-up GPU server design, Zion.
Motivation & Objective
- To understand the performance bottlenecks in training large-scale deep learning recommendation models on GPU systems.
- To characterize the impact of model architecture parameters—such as embedding table size, MLP dimensions, and feature types—on GPU memory and compute utilization.
- To evaluate the effectiveness of different embedding table placement strategies (GPU memory, system memory, remote CPU) across multiple hardware platforms.
- To guide the design of next-generation training infrastructure by analyzing real-world training workloads at Facebook scale.
- To provide a performance characterization framework for optimizing training throughput and resource efficiency in heterogeneous datacenter environments.
Proposed method
- Conducted over 500 production-scale training runs across CPU, Big Basin (8-GPU), and Zion (next-gen GPU) systems to measure throughput and resource utilization.
- Implemented and evaluated multiple embedding table placement strategies: on GPU memory, system memory, and remote CPU memory, depending on model size and hardware constraints.
- Used throughput and resource utilization metrics (CPU, memory, bandwidth) to analyze system efficiency across different model configurations.
- Applied a systematic analysis of model hyperparameters, including batch size, number of dense/sparse features, embedding dimension, and MLP depth, to correlate with training performance.
- Leveraged real-world production models (M1_prod, M2_prod, M3_prod) to evaluate performance scaling across hardware platforms.
- Developed insights into irregular memory access patterns and their impact on training efficiency, especially in large embedding tables.
Experimental results
Research questions
- RQ1How do model architecture parameters such as embedding table size, MLP depth, and feature types affect GPU training throughput and resource utilization?
- RQ2What is the optimal embedding table placement strategy (GPU memory, system memory, remote CPU) for different model configurations across GPU platforms?
- RQ3Why do some recommendation models scale poorly on GPU systems despite high compute capacity, and what system-level bottlenecks cause this?
- RQ4How does the design of next-generation GPU systems like Zion improve training efficiency for large-scale recommendation models compared to legacy platforms?
- RQ5To what extent do irregular memory access patterns in embedding lookups limit training throughput, and how can this be mitigated through system design?
Key findings
- Training throughput varies significantly across models due to differences in embedding table size and memory access patterns, with M3_prod showing weaker scaling due to TB-scale embedding tables.
- On Big Basin GPUs, M1_prod and M2_prod achieve peak throughput when embedding tables are stored in GPU memory, while M3_prod performs best with tables on remote CPU memory due to GPU memory overflow.
- On the Zion platform, optimal performance is achieved by placing embedding tables in system memory, which offers higher capacity and bandwidth than GPU memory.
- The throughput improvement from moving from CPU to Big Basin GPU servers is up to 3x for some models, with further gains on the Zion platform due to enhanced memory bandwidth and capacity.
- Model architecture configurations—especially the number of sparse features and MLP dimensions—lead to highly variable utilization of CPUs, memory, and network bandwidth, exposing significant optimization opportunities.
- Irregular vector accesses in embedding lookups are a major bottleneck, especially for models with large, sparse feature sets, and require specialized system-level optimizations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.