arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.14223cs.IRcs.AI
收藏

利用因果语言模型进行LinkedIn信息流的大规模检索

Large Scale Retrieval for the LinkedIn Feed using Causal Language Models

Sudarshan Srinivasa Ramanujam, Antonio Alonso, Saurabh Kataria, Siddharth Dangi, Akhilesh Gupta, Birjodh Singh Tiwana, Manas Somaiya, Luke Simon, David Byrne, S… 展开作者

Sudarshan Srinivasa Ramanujam, Antonio Alonso, Saurabh Kataria, Siddharth Dangi, Akhilesh Gupta, Birjodh Singh Tiwana, Manas Somaiya, Luke Simon, David Byrne, Sojeong Ha, Sen Zhou, Andrei Akterskii, Zhanglong Liu, Samira Sriram, Crescent Xiong, Zhoutao Pei, Angela Shao, Alex Li, Annie Xiao, Caitlin Kolb, Thomas Kistler, Zach Moore, Hamed Firooz

AI总结:

本文提出利用因果语言模型LLaMA 3作为双编码器,为LinkedIn信息流实现大规模检索,通过量化数值特征提升嵌入质量,显著提高会员参与度,尤其惠及新会员。

摘要:

在像LinkedIn信息流这样的大规模推荐系统中,检索阶段对于将数亿个潜在候选对象缩小到可管理的子集以供排序至关重要,这一环节非常关键。LinkedIn信息流提供来自会员网络之外的建议内容(基于会员的主题兴趣),其中从数亿候选池中检索出2000个候选对象,延迟预算为几毫秒,入站QPS达到每秒数千次。本文提出了一种新颖的检索方法,将大型因果语言模型(Meta的LLaMA 3)微调为双编码器,仅使用文本输入即可为用户(会员)和内容(物品)生成高质量嵌入。我们描述了端到端流程,包括用于嵌入生成的提示设计、在LinkedIn规模下进行微调的技术,以及用于低延迟、成本效益高的在线服务的基础设施。我们分享了关于提示中量化数值特征如何使信息被正确编码到嵌入中,从而促进检索层和排序层之间更好对齐的发现。该系统通过离线指标和在线A/B测试进行了评估,结果显示会员参与度显著提升。我们观察到新会员(通常缺乏强大的网络连接)中获得了显著收益,这表明高质量的建议内容有助于提高留存率。这项工作展示了生成式语言模型如何被有效地适应于工业应用中实时、高吞吐量的检索任务。

英文摘要:

In large scale recommendation systems like the LinkedIn Feed, the retrieval stage is critical for narrowing hundreds of millions of potential candidates to a manageable subset for ranking. LinkedIn's Feed serves suggested content from outside of the member's network (based on the member's topical interests), where 2000 candidates are retrieved from a pool of hundreds of millions candidate with a latency budget of a few milliseconds and inbound QPS of several thousand per second. This paper presents a novel retrieval approach that fine-tunes a large causal language model (Meta's LLaMA 3) as a dual encoder to generate high quality embeddings for both users (members) and content (items), using only textual input. We describe the end to end pipeline, including prompt design for embedding generation, techniques for fine-tuning at LinkedIn's scale, and infrastructure for low latency, cost effective online serving. We share our findings on how quantizing numerical features in the prompt enables the information to get properly encoded in the embedding, facilitating greater alignment between the retrieval and ranking layer. The system was evaluated using offline metrics and an online A/B test, which showed substantial improvements in member engagement. We observed significant gains among newer members, who often lack strong network connections, indicating that high-quality suggested content aids retention. This work demonstrates how generative language models can be effectively adapted for real time, high throughput retrieval in industrial applications.

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

↑