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

用于 LLM 增强推荐系统的直接偏好优化

Direct Preference Optimization for LLM-Enhanced Recommendation Systems

Chao Sun, Yaobo Liang, Yaming Yang, Shilin Xu, Tianmeng Yang, Yunhai Tong

AI总结:

针对LLM预训练目标与推荐任务不匹配导致性能受限的问题,提出DPO4Rec框架,通过将直接偏好优化(DPO)集成至LLM增强的推荐系统,利用奖励模型筛选响应构建微调数据并实现结构对齐,显著提升了重排序性能及指令遵循能力。

摘要:

大型语言模型(LLMs)在广泛的领域中展现了卓越的性能,这激发了对它们在推荐系统中潜力的研究。早期的努力通过上下文学习利用了 LLM 丰富的知识和强大的泛化能力,其中推荐任务被构建为提示。然而,由于 LLM 的预训练目标与推荐任务之间的不匹配,以及预训练期间缺乏特定于推荐的数据,LLM 在推荐场景中的性能仍然受限。为了应对这些挑战,我们提出了 DPO4Rec,这是一个将直接偏好优化(DPO)集成到 LLM 增强推荐系统中的新框架。首先,我们提示 LLM 从历史交互中推断用户偏好,然后将其用于增强传统的基于 ID 的序列推荐模型。接下来,我们基于知识增强的推荐架构训练一个奖励模型,以评估 LLM 生成的推理质量。利用这一点,我们从 N 个样本中选择排名最高和最低的响应,以构建用于 LLM 微调的数据集。最后,我们通过 DPO 应用结构对齐策略,将 LLM 的输出与期望的推荐行为对齐。大量实验表明,DPO4Rec 显著提升了强基线上的重排序性能,展示了 LLM 在推荐任务中增强的指令遵循能力。

英文摘要:

Large Language Models (LLMs) have exhibited remarkable performance across a wide range of domains, motivating research into their potential for recommendation systems. Early efforts have leveraged LLMs' rich knowledge and strong generalization capabilities via in-context learning, where recommendation tasks are framed as prompts. However, LLM performance in recommendation scenarios remains limited due to the mismatch between their pretraining objectives and recommendation tasks, as well as the lack of recommendation-specific data during pretraining. To address these challenges, we propose DPO4Rec, a novel framework that integrates Direct Preference Optimization (DPO) into LLM-enhanced recommendation systems. First, we prompt the LLM to infer user preferences from historical interactions, which are then used to augment traditional ID-based sequential recommendation models. Next, we train a reward model based on knowledge-augmented recommendation architectures to assess the quality of LLM-generated reasoning. Using this, we select the highest- and lowest-ranked responses from N samples to construct a dataset for LLM fine-tuning. Finally, we apply a structure alignment strategy via DPO to align the LLM's outputs with desirable recommendation behavior. Extensive experiments show that DPO4Rec significantly improves re-ranking performance over strong baselines, demonstrating enhanced instruction-following capabilities of LLMs in recommendation tasks.

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

↑