Adversarial Bootstrapping for Dialogue Model Training

Oluwatobi Olabiyi, Erik T. Mueller, Christopher Larson, Tarek LahlouarXiv 2019

Abstract

Open domain neural dialogue models, despite their successes, are known to produce responses that lack relevance, diversity, and in many cases coherence. These shortcomings stem from the limited ability of common training objectives to directly express these properties as well as their interplay with training datasets and model architectures. Toward addressing these problems, this paper proposes bootstrapping a dialogue response generator with an adversarially trained discriminator. The method involves training a neural generator in both autoregressive and traditional teacher-forcing modes, with the maximum likelihood loss of the auto-regressive outputs weighted by the score from a metric-based discriminator model. The discriminator input is a mixture of ground truth labels, the teacher-forcing outputs of the generator, and distractors sampled from the dataset, thereby allowing for richer feedback on the autoregressive outputs of the generator. To improve the calibration of the discriminator output, we also bootstrap the discriminator with the matching of the intermediate features of the ground truth and the generator's autoregressive output. We explore different sampling and adversarial policy optimization strategies during training in order to understand how to encourage response diversity without sacrificing relevance. Our experiments shows that adversarial bootstrapping is effective at addressing exposure bias, leading to improvement in response relevance and coherence. The improvement is demonstrated with the state-of-the-art results on the Movie and Ubuntu dialogue datasets with respect to human evaluations and BLUE, ROGUE, and distinct n-gram scores.

Introduction

Building a chatbot that can hold a meaningful conversation is surprisingly hard. Most current open-domain dialogue models suffer from three main issues:

  1. Exposure Bias: Models are trained using "teacher forcing" (always seeing the correct next word), but during actual use, they must rely on their own previously generated words. Errors compound quickly.
  2. Data Imbalance: Human conversation is full of "filler" (e.g., "Yeah," "I'm not sure"). Models learn that these generic responses are "safe" bets for almost any context, leading to dull behavior.
  3. Objective Mismatch: Standard training (Maximum Likelihood Estimation) tries to predict the average response, which is almost always the most generic one.

This paper introduces Adversarial Bootstrapping, a training framework that combines traditional maximum likelihood estimation with an adversarial discriminator to force models to generate more diverse, relevant, and coherent responses.

Methodology

The core innovation is a "doubly bootstrapped" adversarial framework that bridges the gap between "safe" but useless models and human-level discourse.

Architecture of the Adversarial Bootstrapping framework showing the interaction between the generator and discriminator.
  • Generator Bootstrapping: The response generator is trained in two modes simultaneously. It uses standard teacher-forcing (MLE) but also generates responses autoregressively. The loss for these autoregressive outputs is weighted by a score from a Discriminator. If the discriminator thinks a generated response looks "human," the model is rewarded.
  • Discriminator Bootstrapping: To prevent the discriminator from becoming too poorly calibrated, the authors bootstrap it by matching intermediate features. It compares the internal mathematical representations of the ground truth and the generated output rather than just the final text.
  • Architecture: Both the generator and discriminator use a Hierarchical Recurrent Encoder-Decoder (HRED). They share a common encoder to understand the conversation history, which makes the system more efficient.
  • Sampling Strategies: The authors experimented with how the model "picks" words during training, finding that top-k categorical sampling provided the best balance between exploring new ideas and staying relevant to the topic.

Experimental Setup

The models were evaluated on two distinct benchmarks:

  1. Movie Triples: A dataset of movie dialogues covering a wide range of topics, ideal for testing general relevance and diversity.
  2. Ubuntu Dialogue: A massive collection of technical support logs from the Ubuntu IRC channel, used to test the model's ability to provide specific, expert-level knowledge.

Key Insights and Ideas

  • The "I don't know" Trap: The paper highlights that the "entropy" (uncertainty) of human dialogue is highest in the middle of a sentence. Models often fail because they overfit to the low-entropy starts and ends of sentences, leading to short, clipped responses.
  • Hard vs. Soft Feedback: Unlike previous GAN-based dialogue models that often produce gibberish, this "bootstrapping" approach keeps the model grounded with MLE while using the discriminator to "nudge" it toward more interesting trajectories.
  • Word-Level vs. Utterance-Level: The authors found that evaluating the "human-ness" of a response word-by-word (word-level discrimination) works better than just looking at the whole sentence at once, providing a denser reward signal.

Key Results

The proposed model, aBoots_w_cat (Adversarial Bootstrapping with word-level discrimination and categorical sampling), outperformed several strong baselines, including VHRED and hredGAN.

Quantitative performance comparison on Movie and Ubuntu datasets across relevance and diversity metrics.

As shown in the results table, the model achieved the highest scores in BLEU and ROUGE (relevance metrics) and DIST-1/2 (diversity metrics) across both datasets. In human evaluations, judges preferred the Adversarial Bootstrapping responses significantly more often than those from DAIM or standard HRED models. For example, on the Ubuntu dataset, the aBoots model was preferred over HRED 77% of the time.

Limitations and Future Work

While the models are more diverse, the authors noted that models using Gaussian noise (like aBoots_gau) sometimes struggle to encode the proper response length information. Additionally, like many reinforcement learning-style approaches, policy optimization can be unstable. Future work may explore how latent distributions can be better used to control specific attributes of the response, such as length or tone.

Summary updated

BibTeX
@misc{olabiyi2019adversarial,
  author = {Oluwatobi Olabiyi and Erik T. Mueller and Christopher Larson and Tarek Lahlou},
  title = {{Adversarial Bootstrapping for Dialogue Model Training}},
  year = {2019},
  eprint = {1909.00925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.00925},
}
Figure