HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient

Lantao Yu; Weinan Zhang; Jun Wang; Yong Yu

SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient

Abstract

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.

Code Repositories

GuyTevet/SeqGAN-eval
tf
Mentioned in GitHub
willspag/SeqGan
tf
Mentioned in GitHub
suhoy901/SeqGAN
pytorch
Mentioned in GitHub
TobeyYang/S2S_Temp
pytorch
Mentioned in GitHub
LiangqunLu/DLForChatbot
Mentioned in GitHub
Anjaney1999/image-captioning-seqgan
pytorch
Mentioned in GitHub
bgenchel/MusicalSeqGAN
pytorch
Mentioned in GitHub
rupes438/CodeGen
Mentioned in GitHub
AWLyrics/SeqGAN_Poem
tf
Mentioned in GitHub
lina2360/HiSeqGan
tf
Mentioned in GitHub
chaneeh/SeqGAN_experiment
tf
Mentioned in GitHub
Bayesian-Razor/papernotes
Mentioned in GitHub
LantaoYu/SeqGAN
Official
tf
Mentioned in GitHub
desire2020/RankGAN
tf
Mentioned in GitHub
vedantc6/SeqGAN
tf
Mentioned in GitHub
TalkToTheGAN/REGAN
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-generation-on-chinese-poemsSeqGAN
BLEU-2: 0.738
text-generation-on-coco-captionsSeqGAN
BLEU-2: 0.831
BLEU-3: 0.642
BLEU-4: 0.521
BLEU-5: 0.427
text-generation-on-emnlp2017-wmtSeqGAN
BLEU-2: 0.859
BLEU-3: 0.6015
BLEU-4: 0.4541
BLEU-5: 0.4498

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp