Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient

About

As a new way of training generative models, Generative Adversarial Nets (GAN) that uses a discriminative model to guide the training of the generative model has enjoyed considerable success in generating real-valued data. However, it has limitations when the goal is for generating sequences of discrete tokens. A major reason lies in that the discrete outputs from the generative model make it difficult to pass the gradient update from the discriminative model to the generative model. Also, the discriminative model can only assess a complete sequence, while for a partially generated sequence, it is non-trivial to balance its current score and the future one once the entire sequence has been generated. In this paper, we propose a sequence generation framework, called SeqGAN, to solve the problems. Modeling the data generator as a stochastic policy in reinforcement learning (RL), SeqGAN bypasses the generator differentiation problem by directly performing gradient policy update. The RL reward signal comes from the GAN discriminator judged on a complete sequence, and is passed back to the intermediate state-action steps using Monte Carlo search. Extensive experiments on synthetic data and real-world tasks demonstrate significant improvements over strong baselines.

Lantao Yu, Weinan Zhang, Jun Wang, Yong Yu• 2016

Related benchmarks

TaskDatasetResultRank
Text GenerationPTB (test)
Grammaticality0.387
10
Language ModelingOpSub (test)
Test Perplexity56.5
8
Language ModelingAll-CS (test)
Test Perplexity317.8
8
Chinese poem generationChinese quatrains corpus (test)
Human Score53.56
6
Text GenerationSynthetic Data Length 20
Oracle NLL8.736
6
Text GenerationSynthetic Data Length 40
Oracle NLL10.31
6
Sequence GenerationSynthetic Data Oracle LSTM (test)
NLL8.736
5
Unconditional GenerationCOCO
BLEU-199.76
5
Language GenerationSynthetic data v1 (test)
NLL8.736
4
Language GenerationCOCO (val)
BLEU-281.5
3
Showing 10 of 13 rows

Other info

Code

Follow for update