OpenEmbedding: A Distributed Parameter Server for Deep Learning Recommendation Models using Persistent Memory
Cheng Chen, Yilin Wang, Jun Jie Yang et al. · Proceedings - International Conference on Data Engineering · 2023
In this paper, we present OpenEmbedding, a distributed parameter server system for deep learning recommendation models (DLRM) workloads. In order to support rapid growth in the number of features and the model size (Terabytes are common) of DLRM workloads, OpenEmbedding takes advantage of emerging persistent memory (PMem) to address scalability and reliability issues in training DLRMs. Compared to DRAM, PMem can have much lower per-GB cost, higher density, and non-volatility, while with slightly low access performance to DRAM. OpenEmbedding uses DRAM as cache and PMem as storage for the sparse features and develops a simple but effective pipeline processing approach to optimize the access latency of the sparse features in PMem. For reliability, we develop a lightweight synchronous checkpointing scheme that is specially co-designed with the pipelined cache to reduce the run-time overhead of checkpointing. Our evaluations on a real-world industry workload consisting of billions of parameters demonstrate 1) the effectiveness of our PMem-aware optimizations, 2) checkpointing mechanism with near-zero run-time overhead to the training performance and 3) fast recovery with up to 3.97× speedup compared to the state-of-the-art. OpenEmbedding has been deployed in hundreds of scenarios in industry within 4Paradigm, and is open-sourced1.
Cited by 5 works. doi:10.1109/icde55515.2023.00228
Authors
- Yilin Wang
- Jun Jie Yang
- Yiming Liu
- Mian Lu
- Zheng Ming Zhao
- Bingsheng He
- Weng‐Fai Wong
- Yuping Zhao
- Andy Rudoff
References
- TensorFlow: A system for large-scale machine learning
- DeepFM: A Factorization-Machine based Neural Network for CTR Prediction
- Scaling Distributed Machine Learning with the Parameter Server
- More Effective Distributed ML via a Stale Synchronous Parallel Parameter Server
- Deep Learning Recommendation Model for Personalization and Recommendation Systems
- FPTree
- NV-Tree: reducing consistency cost for NVM-based single level systems
- FASTER
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Dash