arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.10546cs.DCcs.AIcs.LG
收藏

面向在线广告推荐与拍卖评分建模的可扩展机器学习训练基础设施(Google)

Scalable Machine Learning Training Infrastructure for Online Ads Recommendation and Auction Scoring Modeling at Google

Google LLC(谷歌有限责任公司)

George Kurian, Somayeh Sardashti, Ryan Sims, Felix Berger, Gary Holt, Yang Li, Jeremiah Willcock, Kaiyuan Wang, Herve Quiroz, Abdulrahman Salem, Julian Grady

AI总结:

本文针对Google广告推荐与拍卖评分模型训练中的输入生成、嵌入表及中断处理三大挑战,提出共享输入生成、分区流水线及抢占通知等机制,实现116%性能提升和18%成本降低。

摘要:

在Google规模下,大规模广告推荐和拍卖评分模型需要巨大的计算资源。虽然TPU等专用硬件改善了线性代数计算,但在大规模系统中瓶颈依然存在。本文针对广泛使用的生产基础设施中实现高效端到端执行必须解决的三个关键挑战提出了解决方案:(1)输入生成与摄取流水线:高效地将原始特征(如“搜索查询”)转换为数值输入并流式传输到TPU;(2)大型嵌入表:优化将稀疏特征转换为稠密浮点向量以供神经网络使用;(3)中断与错误处理:在大规模共享数据中心中最小化资源浪费。为应对这些挑战,我们提出了一种共享输入生成技术,通过在许多模型之间分摊成本来减少输入生成的计算负载。此外,我们提出了分区、流水线化和RPC(远程过程调用)合并软件技术来优化嵌入操作。为了保持规模效率,我们描述了新颖的抢占通知和训练暂停机制,以最小化资源浪费并确保及时的错误解决。这些技术在Google生产中展示了显著改进,在代表性模型上实现了116%的性能提升和18%的训练成本降低。

英文摘要:

Large-scale Ads recommendation and auction scoring models at Google scale demand immense computational resources. While specialized hardware like TPUs have improved linear algebra computations, bottlenecks persist in large-scale systems. This paper proposes solutions for three critical challenges that must be addressed for efficient end-to-end execution in a widely used production infrastructure: (1) Input Generation and Ingestion Pipeline: Efficiently transforming raw features (e.g., "search query") into numerical inputs and streaming them to TPUs; (2) Large Embedding Tables: Optimizing conversion of sparse features into dense floating-point vectors for neural network consumption; (3) Interruptions and Error Handling: Minimizing resource wastage in large-scale shared datacenters. To tackle these challenges, we propose a shared input generation technique to reduce computational load of input generation by amortizing costs across many models. Furthermore, we propose partitioning, pipelining, and RPC (Remote Procedure Call) coalescing software techniques to optimize embedding operations. To maintain efficiency at scale, we describe novel preemption notice and training hold mechanisms that minimize resource wastage, and ensure prompt error resolution. These techniques have demonstrated significant improvement in Google production, achieving a 116% performance boost and an 18% reduction in training costs across representative models.

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

↑