2025-03-04 · 专家 · 机器学习

OneRec: Unifying Retrieve and Rank with Generative Recommender and Iterative Preference Alignment

OneRec提出了一种统一的生成推荐框架,通过端到端生成方式提高推荐系统的效率和效果。

更新于 2025-10-14。作者:Jiaxin Deng、Shiyao Wang、Kuo Cai、Lejian Ren、Qigen Hu、Weifeng Ding、Qiang Luo、Guorui Zhou。

中文摘要

最近,基于生成式检索的推荐系统作为一种有前景的范式而出现。然而,大多数现代推荐系统采用检索和排序策略,其中生成模型仅在检索阶段充当选择器。在本文中,我们提出了OneRec,它用统一的生成模型替换了级联学习框架。据我们所知,这是第一个在现实场景中显著超越当前复杂且设计精良的推荐系统的端到端生成模型。具体来说,OneRec包括以下内容:1)一个编码器-解码器结构,该结构将用户的历史行为序列进行编码,并逐步解码用户可能感兴趣的视频。我们采用稀疏混合专家(MoE)来扩展模型容量,而不会成比例地增加计算FLOPs。2)一种基于会话的生成方法。与传统物品预测相比,我们提出了基于会话的生成方法,这种方法比依赖于手工规则正确组合生成结果的点对点生成更为优雅和上下文连贯。3)一个结合直接偏好优化(DPO)的迭代偏好对齐模块,以提升生成结果的质量。与NLP中的DPO不同,推荐系统通常对每个用户的浏览请求只有一个展示结果的机会,这使得同时获取正负样本变得不可能。为了解决这一限制,我们设计了一个奖励模型来模拟用户生成并定制采样策略。大量实验表明,有限数量的DPO样本可以对齐用户兴趣偏好并显著提高生成结果的质量。我们在快手的主要场景中部署了OneRec,实现了观看时间的1.6%增长,这是一个显著的提升。

英文摘要

Recently, generative retrieval-based recommendation systems have emerged as a promising paradigm. However, most modern recommender systems adopt a retrieve-and-rank strategy, where the generative model functions only as a selector during the retrieval stage. In this paper, we propose OneRec, which replaces the cascaded learning framework with a unified generative model. To the best of our knowledge, this is the first end-to-end generative model that significantly surpasses current complex and well-designed recommender systems in real-world scenarios. Specifically, OneRec includes: 1) an encoder-decoder structure, which encodes the user's historical behavior sequences and gradually decodes the videos that the user may be interested in. We adopt sparse Mixture-of-Experts (MoE) to scale model capacity without proportionally increasing computational FLOPs. 2) a session-wise generation approach. In contrast to traditional next-item prediction, we propose a session-wise generation, which is more elegant and contextually coherent than point-by-point generation that relies on hand-crafted rules to properly combine the generated results. 3) an Iterative Preference Alignment module combined with Direct Preference Optimization (DPO) to enhance the quality of the generated results. Unlike DPO in NLP, a recommendation system typically has only one opportunity to display results for each user's browsing request, making it impossible to obtain positive and negative samples simultaneously. To address this limitation, We design a reward model to simulate user generation and customize the sampling strategy. Extensive experiments have demonstrated that a limited number of DPO samples can align user interest preferences and significantly improve the quality of generated results. We deployed OneRec in the main scene of Kuaishou, achieving a 1.6\% increase in watch-time, which is a substantial improvement.

解读

一句话总结

OneRec提出了一种统一的生成推荐框架,通过端到端生成方式提高推荐系统的效率和效果。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源