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

ERCache:Meta广告系统中面向大规模用户表征的高效可靠缓存框架

ERCache: An Efficient and Reliable Caching Framework for Large-Scale User Representations in Meta's Ads System

Meta Platforms, Inc.(元平台公司)
Fang Zhou, Yaning Huang, Dong Liang, Dai Li, Zhongke Zhang, Kai Wang, Xiao Xin, Abdallah Aboelela, Zheliang Jiang, Yang Wang, Jeff Song, Wei Zhang, Chen Liang, … 展开作者

Fang Zhou, Yaning Huang, Dong Liang, Dai Li, Zhongke Zhang, Kai Wang, Xiao Xin, Abdallah Aboelela, Zheliang Jiang, Yang Wang, Jeff Song, Wei Zhang, Chen Liang, Huayu Li, ChongLin Sun, Hang Yang, Lei Qu, Zhan Shu, Mindi Yuan, Emanuele Maccherani, Taha Hayat, John Guo, Varna Puvvada, Uladzimir Pashkevich

AI总结:

针对大规模广告推荐中用户表征推理算力消耗大、SLA要求高的问题,提出分类缓存框架ERCache,通过定制化缓存策略平衡三者关系,已在Meta落地并显著节省算力。

摘要:

用于计算用户表征的深度学习模型复杂度不断提升,在计算资源有限且服务等级协议(SLA)要求严格的背景下带来了严峻挑战。过往研究多聚焦于优化模型推理,却忽略了一个关键问题:在大规模社交网络中,是否每一次广告请求都需要执行用户模型推理?为解答这一问题并应对上述挑战,我们首先分析了Meta的用户访问模式,发现大多数用户模型推理都发生在较短的时间窗口内。这一观测结果揭示了模型复杂度、嵌入新鲜度与服务SLA三者之间的三角关系。基于该洞见,我们设计、实现并评估了ERCache——一种面向社交网络广告推荐系统中大规模用户表征的高效鲁棒缓存框架。ERCache将缓存分为直接缓存与故障转移缓存两类,并针对每个模型采用定制化配置与淘汰策略,即便考虑缓存引入的陈旧性问题,也能有效平衡模型复杂度、嵌入新鲜度与服务SLA。ERCache已在Meta部署超过6个月,支撑30余个排序模型运行,同时高效节省了计算资源,且符合服务SLA要求。

英文摘要:

The increasing complexity of deep learning models used for calculating user representations presents significant challenges, particularly with limited computational resources and strict service-level agreements (SLAs). Previous research efforts have focused on optimizing model inference but have overlooked a critical question: is it necessary to perform user model inference for every ad request in large-scale social networks? To address this question and these challenges, we first analyze user access patterns at Meta and find that most user model inferences occur within a short timeframe. T his observation reveals a triangular relationship among model complexity, embedding freshness, and service SLAs. Building on this insight, we designed, implemented, and evaluated ERCache, an efficient and robust caching framework for large-scale user representations in ads recommendation systems on social networks. ERCache categorizes cache into direct and failover types and applies customized settings and eviction policies for each model, effectively balancing model complexity, embedding freshness, and service SLAs, even considering the staleness introduced by caching. ERCache has been deployed at Meta for over six months, supporting more than 30 ranking models while efficiently conserving computational resources and complying with service SLA requirements.

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

↑