A Brief Study on the Effects of Training Generative Dialogue Models with a Semantic loss

Prasanna Parthasarathi, Mohamed Abdelsalam, Joelle Pineau, Sarath Chandar
6/20/2021
cs.CL

Official code: ppartha03/Semantic-Loss-Dialogue-Generation (0 stars, Python, last commit 2023-10-03).

Abstract

Neural models trained for next utterance generation in dialogue task learn to mimic the n-gram sequences in the training set with training objectives like negative log-likelihood (NLL) or cross-entropy. Such commonly used training objectives do not foster generating alternate responses to a context.

Show full abstract

But, the effects of minimizing an alternate training objective that fosters a model to generate alternate response and score it on semantic similarity has not been well studied. We hypothesize that a language generation model can improve on its diversity by learning to generate alternate text during training and minimizing a semantic loss as an auxiliary objective. We explore this idea on two different sized data sets on the task of next utterance generation in goal oriented dialogues. We make two observations (1) minimizing a semantic objective improved diversity in responses in the smaller data set (Frames) but only as-good-as minimizing the NLL in the larger data set (MultiWoZ) (2) large language model embeddings can be more useful as a semantic loss objective than as initialization for token embeddings.

View on arXivView PDF

Code Implementations(1)

Splitting a single dialogue task into multiple tasks with dropping different output tokens to learn better encoder representation.

00PythonOct 7, 20193 years ago

Similar Papers

Cite this paper

@article{parthasarathi2021brief,
  title  = {A Brief Study on the Effects of Training Generative Dialogue Models with a Semantic loss},
  author = {Prasanna Parthasarathi and Mohamed Abdelsalam and Joelle Pineau and Sarath Chandar},
  year   = {2021},
  eprint = {2106.10619},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.10619}
}

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

Discussion