Generating Persona Consistent Dialogues by Exploiting Natural Language Inference

Haoyu Song, Wei-Nan Zhang, Jingwen Hu, Ting Liu
11/14/2019
cs.AIcs.CL

Official code: songhaoyu/RCDG (17 stars, Python, MIT, last commit 2021-04-14).

Abstract

Consistency is one of the major challenges faced by dialogue agents. A human-like dialogue agent should not only respond naturally, but also maintain a consistent persona.

Show full abstract

In this paper, we exploit the advantages of natural language inference (NLI) technique to address the issue of generating persona consistent dialogues. Different from existing work that re-ranks the retrieved responses through an NLI model, we cast the task as a reinforcement learning problem and propose to exploit the NLI signals from response-persona pairs as rewards for the process of dialogue generation. Specifically, our generator employs an attention-based encoder-decoder to generate persona-based responses. Our evaluator consists of two components: an adversarially trained naturalness module and an NLI based consistency module. Moreover, we use another well-performed NLI model in the evaluation of persona-consistency. Experimental results on both human and automatic metrics, including the model-based consistency evaluation, demonstrate that the proposed approach outperforms strong generative baselines, especially in the persona-consistency of generated responses.

View on arXivView PDF

Code Implementations(1)

songhaoyu/RCDGOfficial100%
MIT

Source code for AAAI20 "Generating Persona Consistent Dialogues by Exploiting Natural Language Inference".

175PythonMar 17, 20215 years agoMIT
dialogue-modelreinforcement-training

Similar Papers

Cite this paper

@article{song2019generating,
  title  = {Generating Persona Consistent Dialogues by Exploiting Natural Language Inference},
  author = {Haoyu Song and Wei-Nan Zhang and Jingwen Hu and Ting Liu},
  year   = {2019},
  eprint = {1911.05889},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.05889}
}

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

Discussion