OptAGAN: Entropy-based finetuning on text VAE-GAN

Paolo Tirotta, Stefano Lodi
9/1/2021
cs.CL
rl

Official code: Egojr/optagan (6 stars, Python, MIT, last commit 2021-09-03).

Abstract

Transfer learning through large pre-trained models has changed the landscape of current applications in natural language processing (NLP). Recently Optimus, a variational autoencoder (VAE) which combines two pre-trained models, BERT and GPT-2, has been released, and its combination with generative adversial networks (GANs) has been shown to produce novel, yet very human-looking text.

Show full abstract

The Optimus and GANs combination avoids the troublesome application of GANs to the discrete domain of text, and prevents the exposure bias of standard maximum likelihood methods. We combine the training of GANs in the latent space, with the finetuning of the decoder of Optimus for single word generation. This approach lets us model both the high-level features of the sentences, and the low-level word-by-word generation. We finetune using reinforcement learning (RL) by exploiting the structure of GPT-2 and by adding entropy-based intrinsically motivated rewards to balance between quality and diversity. We benchmark the results of the VAE-GAN model, and show the improvements brought by our RL finetuning on three widely used datasets for text generation, with results that greatly surpass the current state-of-the-art for the quality of the generated texts.

View on arXivView PDF

Code Implementations(1)

Egojr/optaganOfficial100%
MIT

Entropy regularized RL finetuning for VAEGAN structure

61PythonApr 26, 20215 years agoMIT

Similar Papers

Cite this paper

@article{tirotta2021optagan,
  title  = {OptAGAN: Entropy-based finetuning on text VAE-GAN},
  author = {Paolo Tirotta and Stefano Lodi},
  year   = {2021},
  eprint = {2109.00239},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.00239}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.00239.svg)](https://codeofpaper.com/paper/2109.00239)

Discussion