Monolith:基于无冲突嵌入表的实时的推荐系统
Monolith: Real Time Recommendation System With Collisionless Embedding Table
摘要:
建立一个可扩展的实时推荐系统对于许多由时间敏感的客户反馈驱动的企业至关重要,例如短视频排名或在线广告。尽管TensorFlow或PyTorch等生产规模的深度学习框架被广泛采用,但由于各种原因,这些通用框架在推荐场景中无法满足业务需求:一方面,基于静态参数和密集计算的系统调整具有动态和稀疏特征的推荐不利于模型质量;另一方面,这种框架被设计成批量训练阶段和服务阶段完全分离,从而阻止模型与客户反馈实时交互。这些问题促使我们重新审视传统的方法,并探索完全不同的设计选择。在本文中,我们提出了Monolith,为在线培训量身定制的系统。我们的设计是由我们的应用程序工作负载和生产环境的观察驱动的,这反映了与其他推荐系统的显著差异。我们的贡献是多方面的:首先,我们精心制作了一个无冲突的嵌入表,并进行了优化,如可编程嵌入和频率过滤,以减少其内存占用;其次,我们提供了一个具有高容错性的生产就绪在线训练架构;最后,我们证明了系统可靠性可以为实时学习做出权衡。Monolith已成功登陆字节加推荐产品。
英文摘要:
Building a scalable and real-time recommendation system is vital for many businesses driven by time-sensitive customer feedback, such as short-videos ranking or online ads. Despite the ubiquitous adoption of production-scale deep learning frameworks like TensorFlow or PyTorch, these general-purpose frameworks fall short of business demands in recommendation scenarios for various reasons: on one hand, tweaking systems based on static parameters and dense computations for recommendation with dynamic and sparse features is detrimental to model quality; on the other hand, such frameworks are designed with batch-training stage and serving stage completely separated, preventing the model from interacting with customer feedback in real-time. These issues led us to reexamine traditional approaches and explore radically different design choices. In this paper, we present Monolith, a system tailored for online training. Our design has been driven by observations of our application workloads and production environment that reflects a marked departure from other recommendations systems. Our contributions are manifold: first, we crafted a collisionless embedding table with optimizations such as expirable embeddings and frequency filtering to reduce its memory footprint; second, we provide an production-ready online training architecture with high fault-tolerance; finally, we proved that system reliability could be traded-off for real-time learning. Monolith has successfully landed in the BytePlus Recommend product.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。