Leveraging Large Language Models for Pre-trained Recommender Systems
Zhixuan Chu, Hongyan Hao, Xin Ouyang, Simeng Wang, Yan Wang, Yue Shen, Jinjie Gu, Qing Cui, Longfei Li, Siqiao Xue, James Y Zhang, Sheng Li
TL;DR
This work presents RecSysLLM, a pre-trained recommender model built on large language models that preserves LLM reasoning while injecting recommendation-domain knowledge through a three-phase design (data, training, inference). It introduces entity-aware masking, span order, and dynamic positional encoding to fuse semantic text understanding with user-item interactions, demonstrated across rating, sequential, explanation, review, and direct tasks on Amazon datasets and a real-world Alipay dataset. The results show strong zero-shot generalization and competitive performance with strong baselines, highlighting the potential for unified, scalable recommendation systems that leverage pre-trained language models. The approach offers practical advantages in cross-task adaptability and efficient fine-tuning via LoRA, with implications for broader multimodal and knowledge-infused recommender applications.
Abstract
Recent advancements in recommendation systems have shifted towards more comprehensive and personalized recommendations by utilizing large language models (LLM). However, effectively integrating LLM's commonsense knowledge and reasoning abilities into recommendation systems remains a challenging problem. In this paper, we propose RecSysLLM, a novel pre-trained recommendation model based on LLMs. RecSysLLM retains LLM reasoning and knowledge while integrating recommendation domain knowledge through unique designs of data, training, and inference. This allows RecSysLLM to leverage LLMs' capabilities for recommendation tasks in an efficient, unified framework. We demonstrate the effectiveness of RecSysLLM on benchmarks and real-world scenarios. RecSysLLM provides a promising approach to developing unified recommendation systems by fully exploiting the power of pre-trained language models.
