DreamShard: Generalizable Embedding Table Placement for Recommender Systems
Not on the map. Why?
Abstract (arXiv)
We study embedding table placement for distributed recommender systems, which aims to partition and place the tables on multiple hardware devices (e.g., GPUs) to balance the computation and communication costs. Although prior work has explored learning-based approaches for the device placement of computational graphs, embedding table placement remains to be a challenging problem because of 1) the operation fusion of embedding tables, and 2) the generalizability requirement on unseen placement tasks with different numbers of tables and/or devices. To this end, we present DreamShard, a reinforcement learning (RL) approach for embedding table placement. DreamShard achieves the reasoning of operation fusion and generalizability with 1) a cost network to directly predict the costs of the fused operation, and 2) a policy network that is efficiently trained on an estimated Markov decision process (MDP) without real GPU execution, where the states and the rewards are estimated with the cost network. Equipped with sum and max representation reductions, the two networks can directly generalize to any unseen tasks with different numbers of tables and/or devices without fine-tuning. Extensive experiments show that DreamShard substantially outperforms the existing human expert and RNN-based strategies with up to 19% speedup over the strongest baseline on large-scale synthetic tables and our production tables. The code is available at https://github.com/daochenzha/dreamshard
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 52 of its 77 references that are in the map. First posted on arXiv 5 Oct 2022.
Builds on
52 of 77 references.
References · 52
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2015Continuous control with deep reinforcement learningcited by 3,279
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2019Dream to Control: Learning Behaviors by Latent Imaginationcited by 1,598
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2018World Modelscited by 1,444
- 2017Neural Collaborative Filteringcited by 1,108
- 2017Hindsight Experience Replaycited by 1,096
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2016Wide & Deep Learning for Recommender Systemscited by 745
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
38 more
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 600
- 2018Deep Interest Evolution Network for Click-Through Rate Predictioncited by 336
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2018AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networkscited by 319
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Billion-scale Commodity Embedding for E-commerce Recommendation in Alibabacited by 105
- 2017Device Placement Optimization with Reinforcement Learningcited by 84
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
- 2019Exploratory Combinatorial Optimization with Reinforcement Learningcited by 82
- 2019Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systemscited by 68
- 2021DouZero: Mastering DouDizhu with Self-Play Deep Reinforcement Learningcited by 65
- 2020Distributed Hierarchical GPU Parameter Server for Massive Scale Deep Learning Ads Systemscited by 59
- 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
- 2020AutoEmb: Automated Embedding Dimensionality Search in Streaming Recommendationscited by 47
- 2020Understanding Training Efficiency of Deep Learning Recommendation Models at Scalecited by 43
- 2021Learnable Embedding Sizes for Recommender Systemscited by 42
- 2020TODS: An Automated Time Series Outlier Detection Systemcited by 41
- 2021FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inferencecited by 40
- 2019Neural Input Search for Large Scale Recommendation Modelscited by 39
- 2020Learning to Embed Categorical Features without Embedding Tables for Recommendationcited by 38
- 2020Deep Learning Training in Facebook Data Centers: Design of Scale-up and Scale-out Systemscited by 37
- 2020Meta-AAD: Active Anomaly Detection with Deep Reinforcement Learningcited by 34
- 2020Model Size Reduction Using Frequency Based Double Hashing for Recommender Systemscited by 33
- 2020Understanding Capacity-Driven Scale-Out Neural Recommendation Inferencecited by 29
- 2021Rank the Episodes: A Simple Approach for Exploration in Procedurally-Generated Environmentscited by 28
- 2022RecShard: Statistical Feature-Based Memory Optimization for Industry-Scale Neural Recommendationcited by 28
- 2019Placeto: Learning Generalizable Device Placement Algorithms for Distributed Machine Learningcited by 26
- 2017Related Pins at Pinterest: The Evolution of a Real-World Recommender Systemcited by 24
- 2020Learning Multi-granular Quantized Embeddings for Large-Vocab Categorical Features in Recommender Systemscited by 24
- 2020Efficient Algorithms for Device Placement of DNN Graph Operatorscited by 24
- 2021AlphaD3M: Machine Learning Pipeline Synthesiscited by 24
- 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23
- 2019Reinforced Genetic Algorithm Learning for Optimizing Computation Graphscited by 17
- 2022AutoShard: Automated Embedding Table Sharding for Recommender Systemscited by 17
- 2022Auto-PINN: Understanding and Optimizing Physics-Informed Neural Architecturecited by 13
- 2019GDP: Generalized Device Placement for Dataflow Graphscited by 10
- 2021Simplifying Deep Reinforcement Learning via Self-Supervisioncited by 9
- 2022Towards Automated Imbalanced Learning with Deep Hierarchical Reinforcement Learningcited by 9
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2022: 3; 2023: 6; 2024: 4; 2025: 1.
14 papers.
Sort:
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2022Bring Your Own View: Graph Neural Networks for Link Prediction with Personalized Subgraph Selectioncited by 26
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2023Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Tracescited by 13
- 2022RSC: Accelerating Graph Neural Networks Training via Randomized Sparse Computationscited by 12
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendationcited by 9
- 2023Collaborative Graph Neural Networks for Attributed Network Embeddingcited by 8
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Modelscited by 5
- 2024Robust and Minimally Invasive Watermarking for EaaScited by 4
- 2025Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Trainingcited by 2
- 2023Towards Personalized Preprocessing Pipeline Searchcited by 1
- 2024Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platformscited by 1
- 2025Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Training5 Aug 2025
- 2024Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs29 Oct 2024
- 2024Robust and Minimally Invasive Watermarking for EaaS23 Oct 2024
- 2024Disaggregating Embedding Recommendation Systems with FlexEMR28 Sep 2024
- 2024Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platforms19 Apr 2024
- 2023Collaborative Graph Neural Networks for Attributed Network Embedding22 Jul 2023
- 2023Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Traces23 May 2023
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Models3 May 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
- 2023Towards Personalized Preprocessing Pipeline Search28 Feb 2023
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation21 Feb 2023
- 2022Bring Your Own View: Graph Neural Networks for Link Prediction with Personalized Subgraph Selection23 Dec 2022
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2022Bring Your Own View: Graph Neural Networks for Link Prediction with Personalized Subgraph Selectioncited by 26
- 2022SurCo: Learning Linear Surrogates For Combinatorial Nonlinear Optimization Problemscited by 21
- 2023Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Tracescited by 13
- 2022RSC: Accelerating Graph Neural Networks Training via Randomized Sparse Computationscited by 12
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendationcited by 9
- 2023Collaborative Graph Neural Networks for Attributed Network Embeddingcited by 8
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Modelscited by 5
- 2024Robust and Minimally Invasive Watermarking for EaaScited by 4
- 2025Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Trainingcited by 2
- 2023Towards Personalized Preprocessing Pipeline Searchcited by 1
- 2024Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platformscited by 1
12 most cited of 14 All 14 (JSON)
- 2025Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Training5 Aug 2025
- 2024Pushing the Performance Envelope of DNN-based Recommendation Systems Inference on GPUs29 Oct 2024
- 2024Robust and Minimally Invasive Watermarking for EaaS23 Oct 2024
- 2024Disaggregating Embedding Recommendation Systems with FlexEMR28 Sep 2024
- 2024Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platforms19 Apr 2024
- 2023Collaborative Graph Neural Networks for Attributed Network Embedding22 Jul 2023
- 2023Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Traces23 May 2023
- 2023Pre-train and Search: Efficient Embedding Table Sharding with Pre-trained Neural Cost Models3 May 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
- 2023Towards Personalized Preprocessing Pipeline Search28 Feb 2023
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation21 Feb 2023
- 2022Bring Your Own View: Graph Neural Networks for Link Prediction with Personalized Subgraph Selection23 Dec 2022
12 newest of 14 All 14 (JSON)