An Equal-Size Hard EM Algorithm for Diverse Dialogue Generation

Yuqiao Wen, Yongchang Hao, Yanshuai Cao, Lili Mou
9/29/2022
16 citations
cs.CLcs.AIcs.LG

Official code: MANGA-UOFA/EqHard-EM (10 stars, Python, MIT, last commit 2023-01-28).

Abstract

Open-domain dialogue systems aim to interact with humans through natural language texts in an open-ended fashion. Despite the recent success of super large dialogue systems such as ChatGPT, using medium-to-small-sized dialogue systems remains the common practice as they are more lightweight and accessible; however, generating diverse dialogue responses is challenging, especially with smaller models.

Show full abstract

In this work, we propose an Equal-size Hard Expectation--Maximization (EqHard-EM) algorithm to train a multi-decoder model for diverse dialogue generation. Our algorithm assigns a sample to a decoder in a hard manner and additionally imposes an equal-assignment constraint to ensure that all decoders are well-trained. We provide detailed theoretical analysis to justify our approach. Further, experiments on two large-scale open-domain dialogue datasets verify that our EqHard-EM algorithm generates high-quality diverse responses.

View on arXivView PDF

Code Implementations(1)

MIT
101PythonSep 26, 20223 years agoMIT

Similar Papers

Cite this paper

@article{wen2022equalsize,
  title  = {An Equal-Size Hard EM Algorithm for Diverse Dialogue Generation},
  author = {Yuqiao Wen and Yongchang Hao and Yanshuai Cao and Lili Mou},
  year   = {2022},
  eprint = {2209.14627},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.14627}
}

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

Discussion