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

利用词表外 Token 改进用于推荐的大语言模型

Improving LLMs for Recommendation with Out-Of-Vocabulary Tokens

Ting-Ji Huang, Jia-Qi Yang, Chunxu Shen, Kai-Qi Liu, De-Chuan Zhan, Han-Jia Ye

AI总结:

针对 LLM 推荐中词表内 token 难以区分用户与物品的问题,提出基于交互表示聚类共享并集成 OOV token 的框架,提升关系建模与下游推荐性能。

摘要:

通过向量表示刻画用户和物品,对于推荐系统中的各类任务都至关重要。近期方法尝试以问答形式将大语言模型(LLM)应用于推荐,其中真实用户和物品(例如 Item No.2024)由词表内 token(例如“item”“20”“24”)表示。然而,由于 LLM 通常在自然语言任务上进行预训练,这些词表内 token 缺乏表示独特用户和物品所需的表达能力,因此即使在推荐任务上进行微调,也会削弱推荐能力。本文研究如何在基于 LLM 的推荐系统中有效地对用户和物品进行 token 化。除词表内 token 外,我们强调词表外(OOV)token 的作用,并主张记忆能够捕捉用户/物品相关性的 OOV token,同时保持 OOV token 的多样性。通过对从历史用户-物品交互中学习到的表示进行聚类,若用户/物品组合具有相似属性,我们让其表示共享相同的 OOV token。此外,将这些 OOV token 集成到 LLM 的词表中,可以更好地区分用户和物品,并在下游任务微调期间增强对用户-物品关系的捕捉。我们提出的框架在多个下游推荐任务上优于现有最先进方法。

英文摘要:

Characterizing users and items through vector representations is crucial for various tasks in recommender systems. Recent approaches attempt to apply Large Language Models (LLMs) in recommendation through a question and answer format, where real users and items (e.g., Item No.2024) are represented with in-vocabulary tokens (e.g., "item", "20", "24"). However, since LLMs are typically pretrained on natural language tasks, these in-vocabulary tokens lack the expressive power for distinctive users and items, thereby weakening the recommendation ability even after fine-tuning on recommendation tasks. In this paper, we explore how to effectively tokenize users and items in LLM-based recommender systems. We emphasize the role of out-of-vocabulary (OOV) tokens in addition to the in-vocabulary ones and claim the memorization of OOV tokens that capture correlations of users/items as well as diversity of OOV tokens. By clustering the learned representations from historical user-item interactions, we make the representations of user/item combinations share the same OOV tokens if they have similar properties. Furthermore, integrating these OOV tokens into the LLM's vocabulary allows for better distinction between users and items and enhanced capture of user-item relationships during fine-tuning on downstream tasks. Our proposed framework outperforms existing state-of-the-art methods across various downstream recommendation tasks.

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

↑