English

WebRec: Enhancing LLM-based Recommendations with Attention-guided RAG from Web

Information Retrieval 2025-11-19 v1

Abstract

Recommender systems play a vital role in alleviating information overload and enriching users' online experience. In the era of large language models (LLMs), LLM-based recommender systems have emerged as a prevalent paradigm for advancing personalized recommendations. Recently, retrieval-augmented generation (RAG) has drawn growing interest to facilitate the recommendation capability of LLMs, incorporating useful information retrieved from external knowledge bases. However, as a rich source of up-to-date information, the web remains under-explored by existing RAG-based recommendations. In particular, unique challenges are posed from two perspectives: one is to generate effective queries for web retrieval, considering the inherent knowledge gap between web search and recommendations; another challenge lies in harnessing online websites that contain substantial noisy content. To tackle these limitations, we propose WebRec, a novel web-based RAG framework, which takes advantage of the reasoning capability of LLMs to interpret recommendation tasks into queries of user preferences that cater to web retrieval. Moreover, given noisy web-retrieved information, where relevant pieces of evidence are scattered far apart, an insightful MP-Head is designed to enhance LLM attentions between distant tokens of relevant information via message passing. Extensive experiments have been conducted to demonstrate the effectiveness of our proposed web-based RAG methods in recommendation scenarios.

Keywords

Cite

@article{arxiv.2511.14182,
  title  = {WebRec: Enhancing LLM-based Recommendations with Attention-guided RAG from Web},
  author = {Zihuai Zhao and Yujuan Ding and Wenqi Fan and Qing Li},
  journal= {arXiv preprint arXiv:2511.14182},
  year   = {2025}
}
R2 v1 2026-07-01T07:42:42.037Z