Dior-CVAE: Pre-trained Language Models and Diffusion Priors for Variational Dialog Generation

Tianyu Yang, Thy Thy Tran, Iryna Gurevych
5/24/2023
cs.CL

Official code: UKPLab/dior-cvae (3 stars, Apache-2.0, last commit 2023-10-17).

Abstract

Current variational dialog models have employed pre-trained language models (PLMs) to parameterize the likelihood and posterior distributions. However, the Gaussian assumption made on the prior distribution is incompatible with these distributions, thus restricting the diversity of generated responses. These models also suffer from posterior collapse, i.e., the decoder tends to ignore latent variables and directly access information captured in the encoder through the cross-attention mechanism. In this work, we propose Dior-CVAE, a hierarchical conditional variational autoencoder (CVAE) with diffusion priors to address these challenges. We employ a diffusion model to increase the complexity of the prior distribution and its compatibility with the distributions produced by a PLM. Also, we propose memory dropout to the cross-attention mechanism, which actively encourages the use of latent variables for response generation. Overall, experiments across two commonly used open-domain dialog datasets show that our method can generate more diverse responses without large-scale dialog pre-training. Code is available at https://github.com/UKPLab/dior-cvae.

View on arXivView PDF

Code Implementations(1)

UKPLab/dior-cvaeOfficial100%
Apache-2.0

This is the official code for the paper Dior-CVAE: Pre-trained Language Models and Diffusion Priors for Variational Dialog Generation, https://arxiv.org/abs/2305.15025.pdf

31Shell, PythonOct 16, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2023diorcvae,
  title  = {Dior-CVAE: Pre-trained Language Models and Diffusion Priors for Variational Dialog Generation},
  author = {Tianyu Yang and Thy Thy Tran and Iryna Gurevych},
  year   = {2023},
  eprint = {2305.15025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15025v2}
}

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

Discussion