FlexShard: Flexible Sharding for Industry-Scale Sequence Recommendation Models
Not on the map. Why?
Abstract (arXiv)
Sequence-based deep learning recommendation models (DLRMs) are an emerging class of DLRMs showing great improvements over their prior sum-pooling based counterparts at capturing users' long term interests. These improvements come at immense system cost however, with sequence-based DLRMs requiring substantial amounts of data to be dynamically materialized and communicated by each accelerator during a single iteration. To address this rapidly growing bottleneck, we present FlexShard, a new tiered sequence embedding table sharding algorithm which operates at a per-row granularity by exploiting the insight that not every row is equal. Through precise replication of embedding rows based on their underlying probability distribution, along with the introduction of a new sharding strategy adapted to the heterogeneous, skewed performance of real-world cluster network topologies, FlexShard is able to significantly reduce communication demand while using no additional memory compared to the prior state-of-the-art. When evaluated on production-scale sequence DLRMs, FlexShard was able to reduce overall global all-to-all communication traffic by over 85%, resulting in end-to-end training communication latency improvements of almost 6x over the prior state-of-the-art approach.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 30 of its 49 references that are in the map. First posted on arXiv 8 Jan 2023.
Builds on
30 of 49 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018Self-Attentive Sequential Recommendationcited by 1,184
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
- 2016Wide & Deep Learning for Recommender Systemscited by 747
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2018Deep Interest Evolution Network for Click-Through Rate Predictioncited by 338
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
- 2019Behavior Sequence Transformer for E-commerce Recommendation in Alibabacited by 130
- 2019Practice on Long Sequential User Behavior Modeling for Click-Through Rate Predictioncited by 118
- 2019Multi-Interest Network with Dynamic Routing for Recommendation at Tmallcited by 114
18 more
- 2020Improving data-driven global weather prediction using deep convolutional neural networks on a cubed spherecited by 96
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2021One Model to Serve All: Star Topology Adaptive Recommender for Multi-Domain CTR Predictioncited by 78
- 2020Distributed Hierarchical GPU Parameter Server for Massive Scale Deep Learning Ads Systemscited by 60
- 2021TT-Rec: Tensor Train Compression for Deep Learning Recommendation Modelscited by 58
- 2020DeepRecSys: A System for Optimizing End-To-End At-scale Neural Recommendation Inferencecited by 54
- 2019RecNMP: Accelerating Personalized Recommendation with Near-Memory Processingcited by 49
- 2020Understanding Training Efficiency of Deep Learning Recommendation Models at Scalecited by 43
- 2019Mixed Dimension Embeddings with Application to Memory-Efficient Recommendation Systemscited by 41
- 2020Deep Learning Training in Facebook Data Centers: Design of Scale-up and Scale-out Systemscited by 38
- 2020Learning to Embed Categorical Features without Embedding Tables for Recommendationcited by 38
- 2021RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inferencecited by 35
- 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
- 2020Understanding Capacity-Driven Scale-Out Neural Recommendation Inferencecited by 29
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2022RecShard: Statistical Feature-Based Memory Optimization for Industry-Scale Neural Recommendationcited by 28
- 2022AutoShard: Automated Embedding Table Sharding for Recommender Systemscited by 17
- 2022Training Personalized Recommendation Systems from (GPU) Scratch: Look Forward not Backwardscited by 11
Built on by
Citing papers per year: 2023: 3; 2024: 1.
4 papers.
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendationcited by 9
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Modelscited by 5
- 2024Disaggregating Embedding Recommendation Systems with FlexEMRcited by 1
- 2024Disaggregating Embedding Recommendation Systems with FlexEMR28 Sep 2024
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Models3 May 2023
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings4 Apr 2023
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation21 Feb 2023