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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Xinyuan, Wu, Liang, Hong, Liangjie, Liu, Hao, Fu, Yanjie
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912486427459584
author Wang, Xinyuan
Wu, Liang
Hong, Liangjie
Liu, Hao
Fu, Yanjie
author_facet Wang, Xinyuan
Wu, Liang
Hong, Liangjie
Liu, Hao
Fu, Yanjie
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09617
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLM-Enhanced User-Item Interactions: Leveraging Edge Information for Optimized Recommendations
Wang, Xinyuan
Wu, Liang
Hong, Liangjie
Liu, Hao
Fu, Yanjie
Artificial Intelligence
Information Retrieval
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.
title LLM-Enhanced User-Item Interactions: Leveraging Edge Information for Optimized Recommendations
topic Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2402.09617