Controlling Dialogue Generation with Semantic Exemplars

Prakhar Gupta, Jeffrey P. Bigham, Yulia Tsvetkov, Amy Pavel
8/20/2020
cs.CLcs.AI

Official code: prakharguptaz/EDGE-exemplars (18 stars, Python, last commit 2021-03-26).

Abstract

Dialogue systems pretrained with large language models generate locally coherent responses, but lack the fine-grained control over responses necessary to achieve specific goals. A promising method to control response generation is exemplar-based generation, in which models edit exemplar responses that are retrieved from training data, or hand-written to strategically address discourse-level goals, to fit new dialogue contexts.

Show full abstract

But, current exemplar-based approaches often excessively copy words from the exemplar responses, leading to incoherent replies. We present an Exemplar-based Dialogue Generation model, EDGE, that uses the semantic frames present in exemplar responses to guide generation. We show that controlling dialogue generation based on the semantic frames of exemplars, rather than words in the exemplar itself, improves the coherence of generated responses, while preserving semantic meaning and conversation goals present in exemplar responses.

View on arXivView PDF

Code Implementations(1)

Code for the paper - Controlling Dialogue Generation with Semantic Exemplars (Naacl 2021) A semantic exemplar based retrieve-refine approach for dialogue response generation

181PythonMar 15, 20215 years ago

Similar Papers

Cite this paper

@article{gupta2020controlling,
  title  = {Controlling Dialogue Generation with Semantic Exemplars},
  author = {Prakhar Gupta and Jeffrey P. Bigham and Yulia Tsvetkov and Amy Pavel},
  year   = {2020},
  eprint = {2008.09075},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.09075}
}

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

Discussion