Towards Unified Conversational Recommender Systems via Knowledge-Enhanced Prompt Learning

Xiaolei Wang, Kun Zhou, Ji-Rong Wen, Wayne Xin Zhao
6/19/2022
cs.CLcs.AIcs.IR

Official code: RUCAIBox/UniCRS (97 stars, Python, MIT, last commit 2025-01-10).

Abstract

Conversational recommender systems (CRS) aim to proactively elicit user preference and recommend high-quality items through natural language conversations. Typically, a CRS consists of a recommendation module to predict preferred items for users and a conversation module to generate appropriate responses.

Show full abstract

To develop an effective CRS, it is essential to seamlessly integrate the two modules. Existing works either design semantic alignment strategies, or share knowledge resources and representations between the two modules. However, these approaches still rely on different architectures or techniques to develop the two modules, making it difficult for effective module integration. To address this problem, we propose a unified CRS model named UniCRS based on knowledge-enhanced prompt learning. Our approach unifies the recommendation and conversation subtasks into the prompt learning paradigm, and utilizes knowledge-enhanced prompts based on a fixed pre-trained language model (PLM) to fulfill both subtasks in a unified approach. In the prompt design, we include fused knowledge representations, task-specific soft tokens, and the dialogue context, which can provide sufficient contextual information to adapt the PLM for the CRS task. Besides, for the recommendation subtask, we also incorporate the generated response template as an important part of the prompt, to enhance the information interaction between the two subtasks. Extensive experiments on two public CRS datasets have demonstrated the effectiveness of our approach.

View on arXivView PDF

Code Implementations(1)

RUCAIBox/UniCRSOfficial100%
MIT

[KDD22] Official PyTorch implementation for "Towards Unified Conversational Recommender Systems via Knowledge-Enhanced Prompt Learning".

9716Python, ShellJun 8, 20221 years agoMIT
conversationconversational-aiconversational-botsdialogdialogue+9 more

Similar Papers

Cite this paper

@article{wang2022towards,
  title  = {Towards Unified Conversational Recommender Systems via Knowledge-Enhanced Prompt Learning},
  author = {Xiaolei Wang and Kun Zhou and Ji-Rong Wen and Wayne Xin Zhao},
  year   = {2022},
  eprint = {2206.09363},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09363}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.09363.svg)](https://codeofpaper.com/paper/2206.09363)

Discussion