arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.06569cs.IRcs.AIcs.CLcs.LG
收藏

如何为推荐基础模型索引物品 ID

How to Index Item IDs for Recommendation Foundation Models

Rutgers University(罗格斯大学)

Wenyue Hua, Shuyuan Xu, Yingqiang Ge, Yongfeng Zhang

AI总结:

本文针对推荐基础模型的物品标识问题,以 P5 为骨干分析简单索引缺陷,并提出顺序、协同、语义与混合四类索引方法,验证其可提升 LLM 推荐效果。

摘要:

推荐基础模型利用大型语言模型(LLM)进行推荐,将推荐任务转化为自然语言任务。它实现了生成式推荐,即直接生成待推荐的一个或多个物品,而非像传统推荐模型那样为每一个候选物品计算排序分数,从而将推荐流程从多阶段过滤简化为单阶段过滤。为了避免在决定推荐哪些物品时生成过长文本以及出现幻觉推荐,为每个物品创建与 LLM 兼容且能够唯一标识该物品的物品 ID,对推荐基础模型至关重要。在本研究中,我们以 P5 作为骨干 LLM 的示例,系统考察了推荐基础模型的物品 ID 创建与索引问题。为强调物品索引的重要性,我们首先讨论了若干简单物品索引方法的问题,例如随机索引、标题索引和独立索引。随后,我们提出了四种简单而有效的解决方案,包括顺序索引、协同索引、语义(基于内容的)索引和混合索引。我们的研究凸显了物品索引方法对基于 LLM 的推荐性能的显著影响,并且我们在真实世界数据集上的结果验证了所提解决方案的有效性。该研究还展示了语言建模的最新进展与索引等传统 IR 原则如何相互促进,以实现更好的学习与推理。源代码和数据可在 https://github.com/Wenyueh/LLM-RecSys-ID 获取。

英文摘要:

Recommendation foundation model utilizes large language models (LLM) for recommendation by converting recommendation tasks into natural language tasks. It enables generative recommendation which directly generates the item(s) to recommend rather than calculating a ranking score for each and every candidate item as in traditional recommendation models, simplifying the recommendation pipeline from multi-stage filtering to single-stage filtering. To avoid generating excessively long text and hallucinated recommendations when deciding which item(s) to recommend, creating LLM-compatible item IDs to uniquely identify each item is essential for recommendation foundation models. In this study, we systematically examine the item ID creation and indexing problem for recommendation foundation models, using P5 as an example of the backbone LLM. To emphasize the importance of item indexing, we first discuss the issues of several trivial item indexing methods, such as random indexing, title indexing, and independent indexing. We then propose four simple yet effective solutions, including sequential indexing, collaborative indexing, semantic (content-based) indexing, and hybrid indexing. Our study highlights the significant influence of item indexing methods on the performance of LLM-based recommendation, and our results on real-world datasets validate the effectiveness of our proposed solutions. The research also demonstrates how recent advances on language modeling and traditional IR principles such as indexing can help each other for better learning and inference. Source code and data are available at https://github.com/Wenyueh/LLM-RecSys-ID.

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

↑