RECAP: Retrieval-Enhanced Context-Aware Prefix Encoder for Personalized Dialogue Response Generation

Shuai Liu, Hyundong J. Cho, Marjorie Freedman, Xuezhe Ma, Jonathan May
6/12/2023
45 citations
cs.CLcs.AI

Official code: isi-nlp/RECAP (19 stars, Python, MIT, last commit 2023-08-26).

Abstract

Endowing chatbots with a consistent persona is essential to an engaging conversation, yet it remains an unresolved challenge. In this work, we propose a new retrieval-enhanced approach for personalized response generation.

Show full abstract

Specifically, we design a hierarchical transformer retriever trained on dialogue domain data to perform personalized retrieval and a context-aware prefix encoder that fuses the retrieved information to the decoder more effectively. Extensive experiments on a real-world dataset demonstrate the effectiveness of our model at generating more fluent and personalized responses. We quantitatively evaluate our model's performance under a suite of human and automatic metrics and find it to be superior compared to state-of-the-art baselines on English Reddit conversations.

View on arXivView PDF

Code Implementations(1)

isi-nlp/RECAPOfficial100%
MIT

Retrieval-Enhanced Context-Aware Prefix Encoder for Personalized Dialogue Response Generation

191PythonMay 4, 20233 years agoMIT

Similar Papers

Cite this paper

@article{liu2023recap,
  title  = {RECAP: Retrieval-Enhanced Context-Aware Prefix Encoder for Personalized Dialogue Response Generation},
  author = {Shuai Liu and Hyundong J. Cho and Marjorie Freedman and Xuezhe Ma and Jonathan May},
  year   = {2023},
  eprint = {2306.07206},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07206v1}
}

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/2306.07206.svg)](https://codeofpaper.com/paper/2306.07206)

Discussion