arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.08500cs.IRcs.AIcs.DCcs.LGcs.PF
收藏

InTune:面向深度推荐模型的基于强化学习的数据流水线优化

InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models

Netflix, Inc.(奈飞公司)

Kabir Nagrecha, Lingyi Liu, Pablo Delgado, Prasanna Padmanabhan

AI总结:

针对深度推荐模型训练受在线数据摄取瓶颈制约的问题,本文提出基于强化学习的 InTune,自动分配 CPU 并优化数据流水线,最高实现 2.29 倍吞吐提升。

摘要:

基于深度学习的推荐模型(DLRM)已成为许多现代推荐系统的重要组成部分。多家公司正在构建专门用于 DLRM 训练的大型计算集群,这推动了对节省成本和时间的优化方法的新兴趣。这一场景下面临的系统挑战十分独特:典型深度学习训练任务主要由模型执行主导,而 DLRM 训练性能中最重要的因素往往是在线数据摄取。本文探讨了该数据摄取问题的独特特征,并对 DLRM 训练流水线的瓶颈与挑战提出见解。我们研究了取自 Netflix 计算集群的真实 DLRM 数据处理流水线,以观察在线摄取对性能的影响,并指出现有流水线优化器的不足。我们发现,当前工具要么产生次优性能、频繁崩溃,要么需要不切实际的集群重组才能采用。这些研究促使我们设计并构建了一种新的数据流水线优化解决方案 InTune。InTune 使用强化学习(RL)智能体学习如何在 DLRM 数据流水线之间分配训练机的 CPU 资源,从而更有效地并行化数据加载并提高吞吐量。实验表明,InTune 仅需几分钟即可构建优化的数据流水线配置,并且能够轻松集成到现有训练工作流中。通过利用 RL 的响应能力和适应性,InTune 比现有优化器实现了更高的在线数据摄取率,从而减少模型执行的空闲时间并提高效率。我们将 InTune 应用于真实集群,发现与最先进的数据流水线优化器相比,其数据摄取吞吐量最高提升至 2.29 倍,同时改善了 CPU 和 GPU 利用率。

英文摘要:

Deep learning-based recommender models (DLRMs) have become an essential component of many modern recommender systems. Several companies are now building large compute clusters reserved only for DLRM training, driving new interest in cost- and time- saving optimizations. The systems challenges faced in this setting are unique; while typical deep learning training jobs are dominated by model execution, the most important factor in DLRM training performance is often online data ingestion. In this paper, we explore the unique characteristics of this data ingestion problem and provide insights into DLRM training pipeline bottlenecks and challenges. We study real-world DLRM data processing pipelines taken from our compute cluster at Netflix to observe the performance impacts of online ingestion and to identify shortfalls in existing pipeline optimizers. We find that current tooling either yields sub-optimal performance, frequent crashes, or else requires impractical cluster re-organization to adopt. Our studies lead us to design and build a new solution for data pipeline optimization, InTune. InTune employs a reinforcement learning (RL) agent to learn how to distribute the CPU resources of a trainer machine across a DLRM data pipeline to more effectively parallelize data loading and improve throughput. Our experiments show that InTune can build an optimized data pipeline configuration within only a few minutes, and can easily be integrated into existing training workflows. By exploiting the responsiveness and adaptability of RL, InTune achieves higher online data ingestion rates than existing optimizers, thus reducing idle times in model execution and increasing efficiency. We apply InTune to our real-world cluster, and find that it increases data ingestion throughput by as much as 2.29X versus state-of-the-art data pipeline optimizers while also improving both CPU & GPU utilization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑