One of the major bottlenecks for efficient deployment of neural network based recommendation systems is the memory footprint of their embedding tables. Although many neural network based recommendation systems could benefit from the faster on-chip memory access and increased computational power of hardware accelerators, the large embedding tables in these models often cannot fit on the constrained memory of accelerators. Despite the pervasiveness of these models, prior methods in memory optimization and parallelism fail to address the memory and communication costs of large embedding tables on accelerators. As a result, the majority of models are trained on CPUs, while current implementations of accelerators are hindered by issues such as bottlenecks in inter-device communication and main memory lookups. In this paper, we propose a theoretical framework that analyses the communication costs of arbitrary distributed systems that use lookup tables. We use this framework to propose algorithms that maximize throughput subject to memory, computation, and communication constraints. Furthermore, we demonstrate that our method achieves strong theoretical performance across dataset distributions and memory constraints, applicable to a wide range of use cases from mobile federated learning to warehouse-scale computation. We implement our framework and algorithms in PyTorch and achieve up to 6x increases in training throughput on GPU systems over baselines, on the Criteo Terabytes dataset.
Joint SDU-NTU Centre for Artificial Intelligence Research (C-FAIR)(山东大学-南洋理工大学人工智能国际联合研究院(C-FAIR));Software School, Shandong University(山东大学软件学院);Shandong University(山东大学);Sino-Singapore International Joint Research Institute(中新国际联合研究院);Alibaba-NTU Singapore Joint Research Institute(阿里巴巴-新加坡南洋理工大学联合研究学院);Nanyang Technological University(南洋理工大学);Microsoft Research Asia(微软亚洲研究院)
Empathic Responding for Digital Interpersonal Emotion Regulation via Content Recommendation
Deakin University(迪肯大学);School of Engineering, Deakin University(迪肯大学工程学院);School of Information Technology, Deakin University(迪肯大学信息技术学院);School of Psychology, Deakin University(迪肯大学心理学院)
Research on Model Parallelism and Data Parallelism Optimization Methods in Large Language Model-Based Recommendation Systems
University of Houston(休斯顿大学);Northeastern University(东北大学);University of Nebraska - Lincoln(内布拉斯加大学林肯分校);Fuzhou University(福州大学);Columbia University(哥伦比亚大学)
在大规模分布式学习框架(如联邦学习)中,非凸优化的鞍点避免问题具有相当大的挑战性,特别是在拜占庭工人存在的情况下。\cite{nest}中著名的正则化牛顿法是在标准集中式(非分布式)设置中避免鞍点的最优雅的方法之一。在本文中,我们扩展的正则化牛顿方法的分布式框架,同时解决一些实际的挑战,如通信瓶颈和拜占庭攻击。注意,在拜占庭机器存在的情况下,鞍点避免的问题变得更加关键,因为流氓机器可能在损失函数的鞍点附近创建\emph{fake local minima},也称为鞍点攻击。作为一个二阶算法,我们的迭代复杂度比一阶算法低得多。此外,我们使用压缩(或稀疏化)技术,如$δ$ -近似压缩通信效率。我们获得了理论保证,我们提出的计划下的几个设置,包括近似(二次采样)梯度和海森。此外,我们使用标准数据集和几种类型的拜占庭攻击的实验验证了我们的理论研究结果,并获得了改进的$25\%$相对于一阶方法的迭代复杂度。