arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.19092cs.AI
收藏

基于强化学习的潜在推理用于基于大语言模型的推荐

Reinforced Latent Reasoning for LLM-based Recommendation

National University of Singapore(新加坡国立大学);University of Science and Technology of China(中国科学技术大学);The Chinese University of Hong Kong(香港中文大学)

Yang Zhang, Wenxin Xu, Xiaoyan Zhao, Wenjie Wang, Fuli Feng, Xiangnan He, Tat-Seng Chua

AI总结:

本文提出LatentR$^3$框架,利用强化学习优化潜在推理,无需显式思维链数据,提高推荐系统推理效率与性能。

摘要:

大语言模型(LLMs)在复杂问题解决任务中展现了令人印象深刻的推理能力,激发了人们对其在推荐系统偏好推理中应用的日益增长的兴趣。现有方法通常依赖于使用显式思维链(CoT)数据进行微调。然而,这些方法面临显著的实际限制,原因在于(1)在推荐中获取高质量CoT数据的困难,以及(2)生成CoT推理导致的高推理延迟。在这项工作中,我们探索了一种替代方法,从显式CoT推理转向紧凑、信息密集的潜在推理。这种方法消除了显式CoT生成的需求,并提高了推理效率,因为少量潜在token可以有效捕获整个推理过程。基于这一想法,我们提出了用于推荐的强化潜在推理(LatentR$^3$),一种新颖的端到端训练框架,利用强化学习(RL)优化潜在推理,而不依赖任何CoT数据。LatentR$^3$采用两阶段训练策略:首先,监督微调以初始化潜在推理模块,随后进行纯RL训练,通过基于规则的奖励设计鼓励探索。我们的RL实现基于修改后的GRPO算法,该算法减少了训练期间的计算开销,并引入连续奖励信号以实现更高效的学习。大量实验表明,LatentR$^3$能够在没有推理过程直接监督的情况下实现有效的潜在推理,在与不同基于LLM的推荐方法集成时显著提高了性能。我们的代码可在https://github.com/xuwenxinedu/R3获取。

英文摘要:

Large Language Models (LLMs) have demonstrated impressive reasoning capabilities in complex problem-solving tasks, sparking growing interest in their application to preference reasoning in recommendation systems. Existing methods typically rely on fine-tuning with explicit chain-of-thought (CoT) data. However, these methods face significant practical limitations due to (1) the difficulty of obtaining high-quality CoT data in recommendation and (2) the high inference latency caused by generating CoT reasoning. In this work, we explore an alternative approach that shifts from explicit CoT reasoning to compact, information-dense latent reasoning. This approach eliminates the need for explicit CoT generation and improves inference efficiency, as few latent tokens can effectively capture the entire reasoning process. Building on this idea, we propose \textit{\underline{R}einforced \underline{Latent} \underline{R}easoning for \underline{R}ecommendation} (LatentR$^3$), a novel end-to-end training framework that leverages reinforcement learning (RL) to optimize latent reasoning without relying on any CoT data. LatentR$^3$ adopts a two-stage training strategy: first, supervised fine-tuning to initialize the latent reasoning module, followed by pure RL training to encourage exploration through a rule-based reward design. Our RL implementation is based on a modified GRPO algorithm, which reduces computational overhead during training and introduces continuous reward signals for more efficient learning. Extensive experiments demonstrate that LatentR$^3$ enables effective latent reasoning without any direct supervision of the reasoning process, significantly improving performance when integrated with different LLM-based recommendation methods. Our codes are available at https://github.com/xuwenxinedu/R3.

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

↑