Skip to main content
QUICK REVIEW

[Paper Review] Toward Diverse Text Generation with Inverse Reinforcement Learning

Zhan Shi, Xinchi Chen|arXiv (Cornell University)|Apr 30, 2018
Topic ModelingComputer Science17 references27 citations
TL;DR

This paper proposes an inverse reinforcement learning (IRL) framework for text generation to address reward sparsity and mode collapse in adversarial text generation models. By learning a dense, state-wise reward function and optimizing a policy with entropy regularization, the method generates more diverse and higher-quality text than prior approaches, achieving state-of-the-art performance on COCO and IMDB datasets.

ABSTRACT

Text generation is a crucial task in NLP. Recently, several adversarial generative models have been proposed to improve the exposure bias problem in text generation. Though these models gain great success, they still suffer from the problems of reward sparsity and mode collapse. In order to address these two problems, in this paper, we employ inverse reinforcement learning (IRL) for text generation. Specifically, the IRL framework learns a reward function on training data, and then an optimal policy to maximum the expected total reward. Similar to the adversarial models, the reward and policy function in IRL are optimized alternately. Our method has two advantages: (1) the reward function can produce more dense reward signals. (2) the generation policy, trained by "entropy regularized" policy gradient, encourages to generate more diversified texts. Experiment results demonstrate that our proposed method can generate higher quality texts than the previous methods.

Motivation & Objective

  • To address reward sparsity and mode collapse in adversarial text generation models.
  • To improve text generation quality by learning a dense reward function from expert demonstrations.
  • To promote diversity in generated text through entropy-regularized policy optimization.
  • To develop new evaluation metrics based on BLEU for better assessment of generated text quality.
  • To provide a new IRL-based perspective on text generation, distinct from standard GAN-based approaches.

Proposed method

  • Formulates text generation as an inverse reinforcement learning (IRL) problem, where the expert demonstrations are training sequences.
  • Learns a reward function that assigns higher rewards to real training sequences and lower rewards to generated sequences, using a reward approximator.
  • Uses a policy gradient method with entropy regularization to optimize the generator, promoting exploration and diversity.
  • Alternately trains the reward function and the generator, similar to GANs but with dense per-step rewards.
  • Employs a maximum entropy IRL framework to ensure stable learning and improved generalization.
  • Introduces three new evaluation metrics—BLEUF, BLEUB, BLEUHA—based on BLEU to assess fluency, relevance, and coverage.

Experimental results

Research questions

  • RQ1Can inverse reinforcement learning effectively alleviate reward sparsity in text generation?
  • RQ2Can IRL-based text generation reduce mode collapse and improve diversity compared to adversarial models?
  • RQ3How does the proposed method perform on long-form text generation tasks like movie reviews?
  • RQ4Can the new BLEU-based metrics better capture the quality of generated text than standard metrics?
  • RQ5Does the IRL framework outperform existing GAN-based methods in human evaluation?

Key findings

  • On the COCO image captioning dataset, the IRL model achieved a BLEU score of 0.550, outperforming MLE (0.205), SeqGAN (0.450), and LeakGAN (0.543).
  • On the IMDB movie review dataset, the IRL model achieved a BLEU score of 0.463, significantly outperforming MLE (0.138), SeqGAN (0.205), and LeakGAN (0.385).
  • In a human Turing test, the IRL-generated texts were rated as more realistic than those from MLE, SeqGAN, and LeakGAN, especially for longer sequences.
  • Case studies show that IRL generates more fluent, coherent, and diverse sentences with better semantic consistency and richer content.
  • The proposed metrics BLEUF, BLEUB, and BLEUHA demonstrated strong correlation with human judgment, offering a more nuanced evaluation of text quality.
  • The method effectively reduces mode collapse and provides denser reward signals by learning per-step rewards, leading to more stable and effective training.

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.