Hierarchical Reinforcement Learning for Open-Domain Dialog

Abdelrhman Saleh, Natasha Jaques, Asma Ghandeharioun, Judy Hanwen Shen, Rosalind Picard
9/17/2019
cs.LGcs.AIstat.ML
rl

Official code: natashamjaques/neural_chat (181 stars, Python, MIT, last commit 2022-11-21).

Abstract

Open-domain dialog generation is a challenging problem; maximum likelihood training can lead to repetitive outputs, models have difficulty tracking long-term conversational goals, and training on standard movie or online datasets may lead to the generation of inappropriate, biased, or offensive text. Reinforcement Learning (RL) is a powerful framework that could potentially address these issues, for example by allowing a dialog model to optimize for reducing toxicity and repetitiveness.

Show full abstract

However, previous approaches which apply RL to open-domain dialog generation do so at the word level, making it difficult for the model to learn proper credit assignment for long-term conversational rewards. In this paper, we propose a novel approach to hierarchical reinforcement learning, VHRL, which uses policy gradients to tune the utterance-level embedding of a variational sequence model. This hierarchical approach provides greater flexibility for learning long-term, conversational rewards. We use self-play and RL to optimize for a set of human-centered conversation metrics, and show that our approach provides significant improvements -- in terms of both human evaluation and automatic metrics -- over state-of-the-art dialog models, including Transformers.

View on arXivView PDF

Code Implementations(1)

MIT

Code to support training, evaluating and interacting neural network dialog models, and training them with reinforcement learning. Code to deploy a web server which hosts the models live online is available at: https://github.com/asmadotgh/neural_chat_web

18132Python, Jupyter NotebookJun 11, 20194 years agoMIT

Similar Papers

Cite this paper

@article{saleh2019hierarchical,
  title  = {Hierarchical Reinforcement Learning for Open-Domain Dialog},
  author = {Abdelrhman Saleh and Natasha Jaques and Asma Ghandeharioun and Judy Hanwen Shen and Rosalind Picard},
  year   = {2019},
  eprint = {1909.07547},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.07547}
}

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

Discussion