[Paper Review] A Hierarchical Latent Structure for Variational Conversation Modeling
This paper proposes Variational Hierarchical Conversation RNNs (VHCR), a novel VAE-based model for dialogue generation that uses a hierarchical latent structure with global and local latent variables and utterance drop regularization to overcome the degeneration problem in conditional VAEs. VHCR outperforms state-of-the-art models on Cornell Movie Dialog and Ubuntu Dialog Corpus, achieving better generation quality and enabling global conversation control via disentangled latent spaces.
Variational autoencoders (VAE) combined with hierarchical RNNs have emerged as a powerful framework for conversation modeling. However, they suffer from the notorious degeneration problem, where the decoders learn to ignore latent variables and reduce to vanilla RNNs. We empirically show that this degeneracy occurs mostly due to two reasons. First, the expressive power of hierarchical RNN decoders is often high enough to model the data using only its decoding distributions without relying on the latent variables. Second, the conditional VAE structure whose generation process is conditioned on a context, makes the range of training targets very sparse; that is, the RNN decoders can easily overfit to the training data ignoring the latent variables. To solve the degeneration problem, we propose a novel model named Variational Hierarchical Conversation RNNs (VHCR), involving two key ideas of (1) using a hierarchical structure of latent variables, and (2) exploiting an utterance drop regularization. With evaluations on two datasets of Cornell Movie Dialog and Ubuntu Dialog Corpus, we show that our VHCR successfully utilizes latent variables and outperforms state-of-the-art models for conversation generation. Moreover, it can perform several new utterance control tasks, thanks to its hierarchical latent structure.
Motivation & Objective
- To address the persistent degeneration problem in conditional variational autoencoders (VAEs) for dialogue modeling, where decoders ignore latent variables and behave like vanilla RNNs.
- To investigate the root causes of degeneration in hierarchical VAEs for conversation modeling, particularly data sparsity in context-conditioned generation and overpowered decoders.
- To design a new model architecture that effectively utilizes both global and local latent variables to model long-term conversation structure and improve generation quality.
- To enable controllable dialogue generation through disentangled latent space manipulation, particularly by controlling the global conversation context.
Proposed method
- Introduces a hierarchical latent structure with a global conversational latent variable (z^conv) and local utterance-level latent variables (z^utt) to better model long-term dependencies and global context.
- Proposes utterance drop regularization, a novel training technique that randomly masks utterances during training to prevent overfitting to context-utterance pairs and force reliance on latent variables.
- Employs a conditional VAE framework where the decoder generates responses autoregressively conditioned on both the context RNN hidden state and the latent variables.
- Uses a hierarchical RNN architecture with an utterance-level RNN encoder and decoder, and a context-level RNN that processes utterance representations over time.
- Applies KL annealing and reparameterization trick for end-to-end training of the VAE objective, ensuring stable optimization of the variational lower bound.
- Employs greedy decoding during inference and evaluates generation quality using automatic metrics (BLEU, ROUGE, BERTScore) and human evaluation.
Experimental results
Research questions
- RQ1Why do existing conditional VAE models with hierarchical RNNs still suffer from degeneration despite using regularization techniques like word drop?
- RQ2How does data sparsity in context-conditioned generation contribute to the degeneration problem in dialogue VAEs?
- RQ3Can a hierarchical latent structure with both global and local latent variables improve the utilization of latent variables and generation quality in dialogue modeling?
- RQ4To what extent can the global latent variable enable controllable dialogue generation, such as interpolation between conversation tones?
Key findings
- VHCR achieves the highest performance across multiple automatic metrics (BLEU, ROUGE, BERTScore) on both Cornell Movie Dialog and Ubuntu Dialog Corpus, outperforming HRED, VHRED, and VHRED with auxiliary losses.
- The model achieves higher and more stable KL divergence values than baseline VHRED variants, indicating better utilization of latent variables without auxiliary objectives.
- Human evaluation on Amazon Mechanical Turk shows VHCR generates more consistent and contextually appropriate responses, especially in the Ubuntu Dialog Corpus where performance gains are more pronounced.
- Interpolation along the global latent variable z^conv successfully modulates the tone and content of generated conversations, demonstrating effective global control.
- Fixing z^conv while sampling local z^utt produces diverse yet contextually coherent responses, confirming the disentanglement of global context and utterance-level variation.
- The utterance drop regularization effectively prevents overfitting to context-utterance pairs and reduces reliance on decoder memorization, as evidenced by improved generalization and latent variable usage.
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.