arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.19693cs.IR
收藏

超越标记:面向LLM推荐的项感知注意力

Beyong Tokens: Item-aware Attention for LLM-based Recommendation

City University of Hong Kong(香港城市大学)

Xiaokun Zhang, Bowei He, Jiamin Chen, Ziqiang Cui, Chen Ma

AI总结:

本文提出项感知注意力机制,通过区分项内和项间标记关系,提升LLM在推荐中的表现,实验证明其有效性。

摘要:

大型语言模型(LLM)近年来在推荐领域受到越来越多的关注。现有基于LLM的方法通常将项目表示为标记序列,并在这些标记上应用注意力层来生成推荐。然而,通过继承标准注意力机制,这些方法专注于建模标记级关系。这种以标记为中心的焦点忽略了项目作为推荐的基本单元,阻碍了现有方法有效捕捉项目级协同关系。本文重新审视LLM驱动推荐中标记的作用,并将它们的关系分为两种类型:(1)项内标记关系,呈现项目的语义,例如名称、颜色和尺寸;(2)项间标记关系,编码跨项目的协同关系。基于这些见解,我们提出一个新颖的框架,包含项感知注意力机制(IAM),以增强LLM在推荐中的表现。具体而言,IAM设计了两个互补的注意力层:(1)项内注意力层,限制注意力集中在相同项目的标记上,建模项目内容语义;(2)项间注意力层,仅关注跨项目的标记关系,捕捉项目协同关系。通过这种堆叠设计,IAM明确强调项目作为推荐的基本单元,使LLM能够有效利用项目级协同关系。在多个公开数据集上的广泛实验表明,IAM在增强LLM用于个性化推荐方面是有效的。

英文摘要:

Large Language Models (LLMs) have recently gained increasing attention in the field of recommendation. Existing LLM-based methods typically represent items as token sequences, and apply attention layers on these tokens to generate recommendations. However, by inheriting the standard attention mechanism, these methods focus on modeling token-level relations. This token-centric focus overlooks the item as the fundamental unit of recommendation, preventing existing methods from effectively capturing collaborative relations at the item level. In this work, we revisit the role of tokens in LLM-driven recommendation and categorize their relations into two types: (1) intra-item token relations, which present the content semantics of an item, e.g., name, color, and size; and (2) inter-item token relations, which encode collaborative relations across items. Building on these insights, we propose a novel framework with an item-aware attention mechanism (IAM) to enhance LLMs for recommendation. Specifically, IAM devises two complementary attention layers: (1) an intra-item attention layer, which restricts attention to tokens within the same item, modeling item content semantics; and (2) an inter-item attention layer, which attends exclusively to token relations across items, capturing item collaborative relations. Through this stacked design, IAM explicitly emphasizes items as the fundamental units in recommendation, enabling LLMs to effectively exploit item-level collaborative relations. Extensive experiments on several public datasets demonstrate the effectiveness of IAM in enhancing LLMs for personalized recommendation.

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

↑