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

LLM增强的用户-物品交互:利用边信息优化推荐

LLM-Enhanced User-Item Interactions: Leveraging Edge Information for Optimized Recommendations

Arizona State University(亚利桑那州立大学)

Xinyuan Wang, Liang Wu, Liangjie Hong, Hao Liu, Yanjie Fu

AI总结:

本文提出将图边信息通过提示设计和注意力机制融入LLM,以整合图结构与文本生成视角,提升个性化推荐的相关性和质量。

摘要:

图推荐方法代表一种连接交互视角,将用户-物品交互重新表述为图,以利用图结构和拓扑进行推荐,并已在规模上证明了实际有效性。大型语言模型代表一种文本生成视角,擅长建模用户语言、理解行为上下文、捕捉用户-物品语义关系、分析文本情感,并生成连贯且与上下文相关的文本作为推荐。然而,由于任务表述不同,连接图视角与文本生成视角之间存在差距。由此产生一个研究问题:如何有效整合这两种视角以实现更个性化的推荐系统?为填补这一差距,我们提出通过提示和注意力创新将图边信息纳入LLM。我们使用提示将推荐重新表述为概率生成问题。我们开发了一个框架,从提示和注意力机制中纳入图边信息,用于图结构化的LLM推荐。我们开发了一种新的提示设计,引入一阶和二阶图关系;我们设计了一种改进的LLM注意力机制,以直接嵌入边的空间和连接信息。我们对真实世界数据集的评估表明,该框架能够理解图数据中的连接信息,并提高推荐结果的相关性和质量。

英文摘要:

Graph recommendation methods, representing a connected interaction perspective, reformulate user-item interactions as graphs to leverage graph structure and topology to recommend and have proved practical effectiveness at scale. Large language models, representing a textual generative perspective, excel at modeling user languages, understanding behavioral contexts, capturing user-item semantic relationships, analyzing textual sentiments, and generating coherent and contextually relevant texts as recommendations. However, there is a gap between the connected graph perspective and the text generation perspective as the task formulations are different. A research question arises: how can we effectively integrate the two perspectives for more personalized recsys? To fill this gap, we propose to incorporate graph-edge information into LLMs via prompt and attention innovations. We reformulate recommendations as a probabilistic generative problem using prompts. We develop a framework to incorporate graph edge information from the prompt and attention mechanisms for graph-structured LLM recommendations. We develop a new prompt design that brings in both first-order and second-order graph relationships; we devise an improved LLM attention mechanism to embed direct the spatial and connectivity information of edges. Our evaluation of real-world datasets demonstrates the framework's ability to understand connectivity information in graph data and to improve the relevance and quality of recommendation results.

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

↑