[Paper Review] Improving Variational Encoder-Decoders in Dialogue Generation
This paper proposes a two-phase training framework for variational autoencoder-decoder (VED) models in dialogue generation, decoupling latent representation learning from sequence generation to alleviate the KL vanishing problem. By using an autoencoder to learn flexible continuous representations before conditioning a VED with a more expressive latent prior, the model achieves significant gains in fluency, coherence, and diversity, outperforming strong baselines in both automatic and human evaluations.
Variational encoder-decoders (VEDs) have shown promising results in dialogue generation. However, the latent variable distributions are usually approximated by a much simpler model than the powerful RNN structure used for encoding and decoding, yielding the KL-vanishing problem and inconsistent training objective. In this paper, we separate the training step into two phases: The first phase learns to autoencode discrete texts into continuous embeddings, from which the second phase learns to generalize latent representations by reconstructing the encoded embedding. In this case, latent variables are sampled by transforming Gaussian noise through multi-layer perceptrons and are trained with a separate VED model, which has the potential of realizing a much more flexible distribution. We compare our model with current popular models and the experiment demonstrates substantial improvement in both metric-based and human evaluations.
Motivation & Objective
- To address the KL vanishing problem in variational autoencoder-decoder (VED) models for dialogue generation, where RNNs dominate learning at the expense of latent variables.
- To improve the expressiveness of latent variable distributions in VEDs without sacrificing the RNN's ability to generate coherent sequences.
- To develop a training framework that separates representation learning from generation, enabling more flexible and effective posterior and prior distributions.
- To demonstrate that a two-stage training process—first learning continuous representations via autoencoding, then training a VED on these representations—leads to superior dialogue generation performance.
Proposed method
- The model splits training into two phases: first, an autoencoder (AE) learns to reconstruct dialogue utterances from discrete text into continuous embeddings.
- Second, a conditional VAE (CVAE) learns to generate latent variables from these embeddings, using multi-layer perceptrons to transform Gaussian noise into flexible latent codes.
- The AE module uses RNN encoders and decoders as universal approximators to extract high-quality continuous representations, which are then used as input to the CVAE for latent variable modeling.
- Scheduled sampling is applied during training to improve generalization and reduce exposure bias in the generation phase.
- The CVAE is trained with a variational lower bound objective that balances reconstruction and KL divergence, while the AE ensures robustness in representation learning.
- The framework avoids adversarial training by replacing GAN-style refinement with a VAE-based alternative, ensuring stable and scalable training in sequence-to-sequence tasks.
Experimental results
Research questions
- RQ1Can decoupling latent representation learning from sequence generation improve the expressiveness of latent variable distributions in dialogue VEDs?
- RQ2How does separating the training into two phases affect the mitigation of the KL vanishing problem in dialogue generation models?
- RQ3To what extent can a two-stage training process—autoencoding followed by VED training—improve fluency, coherence, and diversity in generated responses?
- RQ4Does using RNN-based universal approximators in the autoencoder stage enhance the quality of learned representations compared to fixed prior distributions?
Key findings
- The proposed model achieves the highest human evaluation score for fluency (89%) on the Dailydialog corpus, significantly outperforming KLA+BOW (70%) and FB-all (74%).
- In coherence evaluation, the model achieved 44% agreement on relevance to context, surpassing KLA+BOW (36%) and FB-all (29%), indicating better contextual alignment.
- The model achieved 51% diversity score in human evaluation, suggesting it generates more varied and non-redundant responses compared to baselines.
- Metric-based results show consistent improvements in BLEU, ROUGE, and BERTScore across both Dailydialog and Cornell Movie Corpus benchmarks.
- The model generates more topic-relevant and informative responses, such as introducing new content like "I want to buy a new car" in response to a taxi fare discussion.
- Human evaluation confirms that the model produces fluent, coherent, and diverse responses, with high agreement among annotators, validating the effectiveness of the two-phase training approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.