Persia:一个开放的混合系统,扩展基于深度学习的推荐器,最多可达100个Triangle参数
Persia: An Open, Hybrid System Scaling Deep Learning-based Recommenders up to 100 Trillion Parameters
摘要:
基于深度学习的模型已经主导了生产推荐系统的当前景观。此外,近年来,模型规模呈指数级增长-从谷歌2016年的10亿参数模型到最新的Facebook模型,拥有12万亿参数。模型容量的每一次跳跃都带来了显著的质量提升,这让我们相信100万亿参数的时代即将到来。然而,即使在工业规模的数据中心内,这种模型的训练也具有挑战性。这种困难来自于训练计算的惊人异质性-模型的嵌入层可能包括总模型大小的99.99%以上,这是非常内存密集型的;而其余的神经网络则越来越计算密集型。为了支持如此庞大的模型的训练,迫切需要一个高效的分布式训练系统。在本文中,我们解决了这一挑战,仔细共同设计的优化算法和分布式系统架构。具体而言,为了保证训练效率和训练精度,设计了一种新的混合训练算法,其中嵌入层和密集神经网络采用不同的同步机制;然后构建了一个支持该混合训练算法的并行推荐训练系统Persia(parallel recommendation training system with hybrid acceleration)。理论论证和实证研究多达100万亿的参数进行了论证的制度设计和实施的波斯。我们公开了Persia(在https://github.com/PersiaML/Persia),这样任何人都可以轻松地训练一个100万亿参数规模的推荐模型。
英文摘要:
Deep learning based models have dominated the current landscape of production recommender systems. Furthermore, recent years have witnessed an exponential growth of the model scale--from Google's 2016 model with 1 billion parameters to the latest Facebook's model with 12 trillion parameters. Significant quality boost has come with each jump of the model capacity, which makes us believe the era of 100 trillion parameters is around the corner. However, the training of such models is challenging even within industrial scale data centers. This difficulty is inherited from the staggering heterogeneity of the training computation--the model's embedding layer could include more than 99.99% of the total model size, which is extremely memory-intensive; while the rest neural network is increasingly computation-intensive. To support the training of such huge models, an efficient distributed training system is in urgent need. In this paper, we resolve this challenge by careful co-design of both the optimization algorithm and the distributed system architecture. Specifically, in order to ensure both the training efficiency and the training accuracy, we design a novel hybrid training algorithm, where the embedding layer and the dense neural network are handled by different synchronization mechanisms; then we build a system called Persia (short for parallel recommendation training system with hybrid acceleration) to support this hybrid training algorithm. Both theoretical demonstration and empirical study up to 100 trillion parameters have conducted to justified the system design and implementation of Persia. We make Persia publicly available (at https://github.com/PersiaML/Persia) so that anyone would be able to easily train a recommender model at the scale of 100 trillion parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。