Bidirectionally Guided Large Language Models for Consumer-Centric Personalized Recommendation
Linfang Yu, Peng Xiao, Li-Qun Xu, Saru Kumari, Mohammed J. F. Alenazi · IEEE Transactions on Consumer Electronics · 2025
With the increasing abundance of consumer electronics, consumers are facing the challenge of information overload, making personalized recommendation systems (RSs) crucial for enhancing consumer experience and promoting sales. Recently, LLM-driven RSs have attracted widespread attention. Nevertheless, the application of LLMs in recommendation still encounters challenges: how to effectively integrate user/item content (CT) and collaborative filtering (CF) information; how to effectively process heterogeneous token sequences; and how to efficiently generate recommendations. Therefore, we propose BGLLM4Rec, a bidirectionally guided LLM for recommendation. Specifically, a bidirectionally guided pre-training strategy is proposed to extend user/item ID tokens into the vocabulary of the pre-trained LLM, and leverage both CF LLM and CT LLM to learn their embedding representations. Meanwhile, a heterogeneous-homogeneous (Het-Hom) prompting strategy is proposed to decompose the input sequence into heterogeneous prompt and homogeneous main text parts, performing language modeling solely on the latter to enhance modeling effectiveness and stability. Finally, a recommendation-specific masked prompting fine-tuning strategy is employed to further refine the pre-trained CF LLM, enabling the efficient generation of multiple recommended items without hallucinations. Extensive experiments conducted on three public datasets have demonstrated that BGLLM4Rec exhibits exceptional performance in recommendation tasks.