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

桥接物品与语言:一种基于大语言模型推荐的转换范式

Bridging Items and Language: A Transition Paradigm for Large Language Model-Based Recommendation

Xinyu Lin, Wenjie Wang, Yongqi Li, Fuli Feng, See-Kiong Ng, Tat-Seng Chua

AI总结:

提出TransRec转换范式,通过多面标识符(ID、标题、属性)和专用数据结构解决LLM推荐中物品索引与生成接地的局限,实现高效排序。

摘要:

利用大语言模型(LLMs)进行推荐正迅速兴起,这依赖于两个基本步骤来桥接推荐物品空间和语言空间:1)物品索引利用标识符在语言空间中表示物品,2)生成接地将LLMs生成的token序列关联到语料库内物品。然而,先前的方法在这两个步骤中表现出固有的局限性。现有的基于ID的标识符(如数字ID)和基于描述的标识符(如标题)要么丢失语义,要么缺乏足够的区分度。此外,先前的生成接地方法可能会生成无效标识符,从而与语料库内物品不匹配。为了解决这些问题,我们提出了一种新颖的基于LLM的推荐器转换范式(名为TransRec)来桥接物品和语言。具体而言,TransRec提出了多面标识符,同时将ID、标题和属性结合起来进行物品索引,以追求区分度和语义。此外,我们为TransRec引入了专门的数据结构,以确保仅生成有效标识符,并利用子字符串索引鼓励LLMs从标识符的任意位置生成。最后,TransRec提出了一个聚合接地模块,利用生成的多面标识符高效地对语料库内物品进行排序。我们在两个骨干模型BART-large和LLaMA-7B上实例化了TransRec。在三个真实世界数据集上的广泛结果验证了TransRec在多种设置下的优越性。

英文摘要:

Harnessing Large Language Models (LLMs) for recommendation is rapidly emerging, which relies on two fundamental steps to bridge the recommendation item space and the language space: 1) item indexing utilizes identifiers to represent items in the language space, and 2) generation grounding associates LLMs' generated token sequences to in-corpus items. However, previous methods exhibit inherent limitations in the two steps. Existing ID-based identifiers (e.g., numeric IDs) and description-based identifiers (e.g., titles) either lose semantics or lack adequate distinctiveness. Moreover, prior generation grounding methods might generate invalid identifiers, thus misaligning with in-corpus items. To address these issues, we propose a novel Transition paradigm for LLM-based Recommender (named TransRec) to bridge items and language. Specifically, TransRec presents multi-facet identifiers, which simultaneously incorporate ID, title, and attribute for item indexing to pursue both distinctiveness and semantics. Additionally, we introduce a specialized data structure for TransRec to ensure generating valid identifiers only and utilize substring indexing to encourage LLMs to generate from any position of identifiers. Lastly, TransRec presents an aggregated grounding module to leverage generated multi-facet identifiers to rank in-corpus items efficiently. We instantiate TransRec on two backbone models, BART-large and LLaMA-7B. Extensive results on three real-world datasets under diverse settings validate the superiority of TransRec.

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

↑