Maximum-Likelihood Augmented Discrete Generative Adversarial Networks

Tong Che, Yanran Li, Ruixiang Zhang, R. Devon Hjelm, Wenjie Li, Yangqiu Song, Yoshua BengioarXiv 2017

Introduction

Generative Adversarial Networks (GANs) have achieved remarkable success in continuous domains like image generation. However, applying them to discrete sequences, such as text, presents two significant challenges: the Gradient Gap and Training Instability. Because discrete tokens are non-differentiable, standard backpropagation cannot be used to update the generator. While Reinforcement Learning (RL) techniques like REINFORCE have been employed as a workaround, they often suffer from high variance and sparse rewards, leading to unstable training. Furthermore, traditional language models suffer from exposure bias, where the model is trained on ground-truth data but must generate sequences based on its own potentially erroneous predictions during inference.

The MaliGAN Framework

To address these issues, the authors propose MaliGAN (Maximum-Likelihood Augmented Discrete GAN). This approach shifts the training objective from pure RL to an augmented Maximum Likelihood Estimation (MLE) framework.

Key Methodological Innovations

  • Augmented Target Distribution: Instead of using the discriminator's output $D(x)$ as a direct reward, MaliGAN uses it to define a new target distribution $q(x)$. This reweights the generator's distribution to more closely resemble the real data distribution.
  • Importance Sampling with Normalization: The model utilizes importance sampling to derive a gradient estimator. By normalizing these weights within a mini-batch, MaliGAN ensures that even poor samples provide a relative training signal, effectively mitigating the vanishing gradient problem.
  • Variance Reduction: To handle the complexity of long sequences, the framework incorporates Monte Carlo Tree Search (MCTS) for intermediate reward assignment and a mixed MLE-Mali training schedule that gradually transitions from "teacher forcing" to free-running generation.

Key Results

MaliGAN demonstrates superior stability and performance across several benchmarks compared to traditional RL-based GANs and standard MLE models.

Training loss curves for the Generator and Discriminator showing the stability of the MaliGAN framework.

Performance Benchmarks

  1. Discrete MNIST: When treated as a sequence generation task, MaliGAN exhibited significantly more stable loss curves than previous RL-based approaches.
  2. Poetry Generation: On the Chinese Poem dataset (Poem-5), MaliGAN achieved a BLEU-2 score of 0.7628, outperforming both standard MLE (0.6891) and SeqGAN (0.7389).
  3. Language Modeling: On the Penn Treebank (PTB) dataset, the model reduced test perplexity to 123.8, compared to the MLE baseline of 138.2, indicating more coherent and linguistically accurate generation.
Generated digit samples from the Discrete MNIST task, illustrating the model's ability to produce clear discrete outputs.

Discussion and Insights

MaliGAN effectively bridges the gap between the adversarial spirit of GANs and the mathematical stability of MLE. By focusing on the relative quality of samples within a batch, it becomes robust to the noise that typically plagues RL-based generators. Crucially, because the generator is trained on its own sequences, it learns to recover from its own mistakes, directly addressing the exposure bias inherent in traditional models.

Limitations and Future Work

While effective, the reliance on MCTS for variance reduction introduces significant computational overhead, which may limit scalability to very large vocabularies or extremely long sequences. Future research directions include testing the framework on massive datasets like the Google One Billion Word benchmark and extending MaliGAN to conditional generation tasks such as machine translation and dialogue systems.

Summary updated

BibTeX
@misc{che2017maximum,
  author = {Tong Che and Yanran Li and Ruixiang Zhang and R. Devon Hjelm and Wenjie Li and Yangqiu Song and Yoshua Bengio},
  title = {{Maximum-Likelihood Augmented Discrete Generative Adversarial Networks}},
  year = {2017},
  eprint = {1702.07983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.07983},
}
Figure