DCAILGPFApr 12, 2021

Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Models

arXiv:2104.05158v7197 citations
Originality Incremental advance
AI Analysis

This work addresses the infrastructure demands for large-scale AI applications in data centers, such as those at Facebook, by enabling faster and more scalable training of DLRMs, though it is incremental in optimizing existing methods.

The paper tackles the challenge of training extremely large deep learning recommendation models (DLRMs) with up to 12 trillion parameters, achieving a 40x speedup in time to solution over previous systems through a software-hardware co-design approach.

Deep learning recommendation models (DLRMs) are used across many business-critical services at Facebook and are the single largest AI application in terms of infrastructure demand in its data-centers. In this paper we discuss the SW/HW co-designed solution for high-performance distributed training of large-scale DLRMs. We introduce a high-performance scalable software stack based on PyTorch and pair it with the new evolution of Zion platform, namely ZionEX. We demonstrate the capability to train very large DLRMs with up to 12 Trillion parameters and show that we can attain 40X speedup in terms of time to solution over previous systems. We achieve this by (i) designing the ZionEX platform with dedicated scale-out network, provisioned with high bandwidth, optimal topology and efficient transport (ii) implementing an optimized PyTorch-based training stack supporting both model and data parallelism (iii) developing sharding algorithms capable of hierarchical partitioning of the embedding tables along row, column dimensions and load balancing them across multiple workers; (iv) adding high-performance core operators while retaining flexibility to support optimizers with fully deterministic updates (v) leveraging reduced precision communications, multi-level memory hierarchy (HBM+DDR+SSD) and pipelining. Furthermore, we develop and briefly comment on distributed data ingestion and other supporting services that are required for the robust and efficient end-to-end training in production environments.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes