Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Generation of Natural Language

Sai Rajeswar, Sandeep Subramanian|arXiv (Cornell University)|May 31, 2017
Multimodal Machine Learning ApplicationsComputer Science38 references100 citations
TL;DR

The paper presents a simple GAN-based approach for natural language generation that feeds the discriminator continuous output distributions, achieving strong results on CFG/PCFG tasks and Chinese poetry, with variants including WGAN/WGAN-GP and conditional generation.

ABSTRACT

Generative Adversarial Networks (GANs) have gathered a lot of attention from the computer vision community, yielding impressive results for image generation. Advances in the adversarial generation of natural language from noise however are not commensurate with the progress made in generating images, and still lag far behind likelihood based methods. In this paper, we take a step towards generating natural language with a GAN objective alone. We introduce a simple baseline that addresses the discrete output space problem without relying on gradient estimators and show that it is able to achieve state-of-the-art results on a Chinese poem generation dataset. We present quantitative results on generating sentences from context-free and probabilistic context-free grammars, and qualitative language modeling results. A conditional version is also described that can generate sequences conditioned on sentence characteristics.

Motivation & Objective

  • Motivate learning realistic language generation with GANs despite discrete output challenges.
  • Propose a baseline where the discriminator operates on continuous output distributions from the generator to avoid gradient estimators.
  • Evaluate the approach on grammar-constrained (CFG/PCFG) and real-language datasets across word- and character-level models.
  • Explore both recurrent and convolutional architectures and a curriculum learning strategy to generate longer sequences.
  • Demonstrate conditional text generation by conditioning on attributes like sentiment and questions.

Proposed method

  • Use a GAN framework with a generator producing sequences of probability distributions over the vocabulary.
  • Discriminator processes sequences of probabilities (from the generator) and real data as one-hot vectors to distinguish real vs. fake.
  • Adopt either recurrent (LSTM/peephole variants) or convolutional architectures for both generator and discriminator.
  • Apply Wasserstein GAN (WGAN) and WGAN-GP objectives to improve training stability and gradient quality.
  • Employ curriculum learning to gradually increase generated sequence lengths.
  • Demonstrate conditional generation by adding attribute conditioning (sentiment, questions) to both generator and discriminator.

Experimental results

Research questions

  • RQ1Can GANs generate natural language effectively when the discriminator sees continuous probability distributions rather than discrete samples?
  • RQ2How do different GAN objectives (GAN, LSGAN, WGAN, WGAN-GP) compare for language generation?
  • RQ3Are recurrent and convolutional architectures capable of generating plausible long sequences under a GAN objective?
  • RQ4Can we generate text conditioned on high-level attributes such as sentiment or interrogative form?

Key findings

  • WGAN and WGAN-GP objectives provide strong training signals and better gradient behavior for language generation.
  • The proposed continuous-discriminator setup yields realistic language across CFG/PCFG tasks and real-language datasets.
  • WGAN-WGAN-GP variants outperform purely likelihood-based (MLE) baselines on several evaluation settings.
  • The approach achieves competitive or superior results on Chinese poetry generation compared to prior GAN-based methods.
  • Conditional generation successfully produces sentences with targeted attributes like sentiment and question form.
  • Convolutional architectures with gradient-penalized GAN objective maintain context effectively over longer sequences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.