Lune

NeurIPS2022顶会

The trade-offs of model size in large recommendation models : 100GB to 10MB Criteo-tb DLRM model

Aditya Desai, Anshumali Shrivastava

摘要

Embedding tables dominate industrial-scale recommendation model sizes, using up to terabytes of memory. A popular and the largest publicly available machine learning MLPerf benchmark on recommendation data is a Deep Learning Recommendation Model (DLRM) trained on a terabyte of click-through data. It contains 100GB of embedding memory (25+Billion parameters). DLRMs, due to their sheer size and the associated volume of data, face difficulty in training, deploying for inference, and memory bottlenecks due to large embedding tables. This paper analyzes and extensively evaluates a generic parameter-sharing setup (PSS) for compressing DLRM models. We show theoretical upper bounds on the learnable memory requirements for achieving approximations to the embedding table. Our bounds indicate exponentially fewer parameters suffice for a good approximation. To this end, we demonstrate a PSS DLRM reaching 10000 × compression on criteo-tb without losing quality. Such a compression, however, comes with a caveat. It requires 4.5 × more iterations to achieve the same saturation quality. The paper argues that this tradeoff needs more investigation as it might be significantly favorable. Leveraging the small size of the compressed model, we show a 4.3 × improvement in training latency leading to similar overall training times. Thus, in the tradeoff between the system advantage of a small DLRM model vs. slower convergence, we show that scales are tipped towards having a smaller DLRM model, leading to the same quality, faster inference, easier deployment, and similar training times.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learnable Embedding sizes for Recommender Systems 引用了 Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systems
  • PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System Inferences 引用了 Optimizing deep learning recommender systems training on CPU cluster architectures
  • PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System Inferences 引用了 Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systems
  • Unified Embedding: Battle-Tested Feature Representations for Web-Scale ML Systems 引用了 Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systems
  • SS1: Accelerating Inference with Fast and Expressive Sketch Structured Transform 引用了 In defense of parameter sharing for model-compression
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Unified Embedding: Battle-Tested Feature Representations for Web-Scale ML SystemsBenjamin Coleman, Wang-Cheng Kang, Matthew Fahrbach, Ruoxi Wang 等NeurIPS 2023 · 30 次引用
  2. In defense of parameter sharing for model-compressionAditya Desai, Anshumali ShrivastavaICLR 2024 · 8 次引用
  3. PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System InferencesPingyi Huo, Anusha Devulapally, Hasan Al Maruf, Minseo Park 等MICRO 2024 · 6 次引用
  4. SS1: Accelerating Inference with Fast and Expressive Sketch Structured TransformAditya Desai, Kimia Saedi, Apoorv Walia, Jihyeong Lee 等NeurIPS 2024 · 1 次引用
  5. Reducing the GPU Memory Bottleneck with Lossless Compression for MLAditya K. Kamath, Arvind Krishnamurthy, Marco Canini, Simon PeterEuroSys 2026

它引用的 Paper3

  1. Learnable Embedding sizes for Recommender SystemsSiyi Liu, Chen Gao, Yihong Chen, Depeng Jin 等ICLR 2021 · 97 次引用
  2. Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation SystemsHao-Jun Michael Shi, Dheevatsa Mudigere, Maxim Naumov, Jiyan YangKDD 2020 · 88 次引用
  3. Optimizing deep learning recommender systems training on CPU cluster architecturesDhiraj D. Kalamkar, Evangelos Georganas, Sudarshan Srinivasan, Jianping Chen 等SC 2020 · 41 次引用

相关 Paper

  1. EL-Rec: Efficient Large-Scale Recommendation Model Training via Tensor-Train Embedding TableZheng Wang, Yuke Wang, Boyuan Feng, Dheevatsa Mudigere 等SC 2022 · 15 次引用
  2. AdaEmbed: Adaptive Embedding for Large-Scale Recommendation ModelsFan Lai, Wei Zhang, Rui Liu, William Tsai 等OSDI 2023 · 23 次引用
  3. CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation ModelsHailin Zhang, Zirui Liu, Boxuan Chen, Yikai Zhao 等SIGMOD 2024 · 15 次引用
  4. Efficient Fault Tolerance for Recommendation Model Training via Erasure CodingTianyu Zhang, Kaige Liu, Jack Kosaian, Juncheng Yang 等VLDB 2023 · 10 次引用
  5. Accelerating Distributed DLRM Training with Optimized TT Decomposition and Micro-BatchingWeihu Wang, Yaqi Xia, Donglin Yang, Xiaobo Zhou 等SC 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖