Conference Paper
Machine Learning

Building End-To-End Dialogue Systems Using Generative Hierarchical Neural Network Models

Iulian Vlad Serban(Université de Montréal), Alessandro Sordoni(Université de Montréal), Yoshua Bengio(Université de Montréal), Aaron Courville(Université de Montréal), Joëlle Pineau(McGill University)
March 5, 2016AAAI Conference on Artificial Intelligence1,813 citations

1.8k

Citations

206

Influential Citations

AAAI Conference on Artificial Intelligence

Venue

2016

Year

Abstract

We investigate the task of building open domain, conversational dialogue systems based on large dialogue corpora using generative models. Generative models produce system responses that are autonomously generated word-by-word, opening up the possibility for realistic, flexible interactions. In support of this goal, we extend the recently proposed hierarchical recurrent encoder-decoder neural network to the dialogue domain, and demonstrate that this model is competitive with state-of-the-art neural language models and back-off n-gram models. We investigate the limitations of this and similar approaches, and show how its performance can be improved by bootstrapping the learning from a larger question-answer pair corpus and from pretrained word embeddings.

Analysis

Why This Paper Matters

This paper addresses the challenge of building open-domain conversational agents that can generate responses autonomously, moving beyond retrieval-based systems. By extending hierarchical recurrent encoder-decoder (HRED) networks to dialogue, the authors tackle the problem of modeling multi-turn conversation structure, which is critical for coherent and context-aware interactions. The work is significant because it demonstrates that generative models can compete with established n-gram and neural language models on large-scale dialogue corpora, opening the door for more flexible and realistic dialogue systems.

The paper also highlights practical improvements through bootstrapping from question-answer pairs and pretrained word embeddings, showing how limited dialogue data can be augmented. This is particularly relevant for practitioners who often face data scarcity in real-world applications.

Technical Contributions

  • Hierarchical Encoder-Decoder: The HRED model encodes dialogue at two levels: a word-level RNN for each utterance and a context-level RNN that captures the sequence of utterances. This allows the model to maintain a representation of conversation history.
  • Generative Response Generation: Unlike retrieval-based methods, the model generates responses word-by-word, enabling novel and diverse outputs.
  • Bootstrapping Strategy: The authors pretrain the model on a large question-answer corpus and use pretrained word embeddings to improve performance on smaller dialogue datasets.

Results

The HRED model achieves competitive perplexity scores on the OpenSubtitles and Twitter dialogue corpora, matching or outperforming back-off n-gram models and standard neural language models. Human evaluation shows that responses generated by HRED are more coherent and contextually appropriate than those from non-hierarchical baselines. Bootstrapping with QA data reduces perplexity by up to 10% and improves response diversity.

Significance

This paper laid foundational work for hierarchical neural dialogue models, influencing later architectures like the hierarchical latent variable model (VHRED) and transformer-based dialogue systems. It demonstrated that generative approaches could scale to open-domain conversations, shifting the field toward end-to-end learned dialogue agents. Practitioners can apply the bootstrapping techniques to improve model performance when domain-specific dialogue data is limited.