PinFM:十亿级视觉发现平台上用户活动序列的基础模型
PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platform
AI总结:
本文提出十亿级视觉发现平台用户活动序列基础模型 PinFM,通过 200 亿参数 Transformer 预训练与微调,并利用 DCAT 等优化将吞吐量提升 600%,使新物品参与度提高 20%,已服务于超 5 亿用户。
摘要:
用户活动序列已成为推荐系统中最重要的信号之一。我们提出了一个基础模型 PinFM,用于在一个十亿级规模的视觉发现平台上理解跨多个应用的用户活动序列。我们使用大规模用户活动数据预训练了一个具有 200 亿以上参数的 Transformer 模型,然后针对特定应用对其进行微调,并高效地将其与现有模型耦合。虽然这种预训练-微调方法在视觉和自然语言处理等其他领域已经很流行,但将其应用于工业推荐系统面临诸多挑战。基础模型必须具备足够的可扩展性,能够每秒对数百万个物品进行评分,同时满足这些系统所施加的严格成本和延迟约束。此外,它还应捕捉用户活动与其他特征之间的交互,并处理在预训练阶段未出现的新物品。我们开发了创新技术来应对这些挑战。我们的基础设施和算法优化,例如去重交叉注意力 Transformer(DCAT),在 Pinterest 内部数据上将吞吐量提高了 600%。我们证明,通过改变输入序列,PinFM 可以学习用户序列与候选物品之间的交互,从而使新物品的参与度提高了 20%。PinFM 现已部署,用于帮助改善超过 5 亿用户在各种应用中的体验。
英文摘要:
User activity sequences have emerged as one of the most important signals in recommender systems. We present a foundational model, PinFM, for understanding user activity sequences across multiple applications at a billion-scale visual discovery platform. We pretrain a transformer model with 20B+ parameters using extensive user activity data, then fine-tune it for specific applications, efficiently coupling it with existing models. While this pretraining-and-fine-tuning approach has been popular in other domains, such as Vision and NLP, its application in industrial recommender systems presents numerous challenges. The foundational model must be scalable enough to score millions of items every second while meeting tight cost and latency constraints imposed by these systems. Additionally, it should capture the interactions between user activities and other features and handle new items that were not present during the pretraining stage. We developed innovative techniques to address these challenges. Our infrastructure and algorithmic optimizations, such as the Deduplicated Cross-Attention Transformer (DCAT), improved our throughput by 600% on Pinterest internal data. We demonstrate that PinFM can learn interactions between user sequences and candidate items by altering input sequences, leading to a 20% increase in engagement with new items. PinFM is now deployed to help improve the experience of more than half a billion users across various applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。