Skip to main content
QUICK REVIEW

[Paper Review] Text Generation by Learning from Off-Policy Demonstrations.

Richard Yuanzhe Pang, He He|arXiv (Cornell University)|Sep 16, 2020
Topic ModelingComputer Science36 references7 citations
TL;DR

This paper proposes GOLD, a reinforcement learning framework for text generation that leverages off-policy demonstrations to mitigate exposure bias and improve generation quality. By using importance weighting to learn from non-interleaved expert trajectories, GOLD achieves state-of-the-art results in summarization, question generation, and machine translation, with improved robustness to decoding strategies and longer sequences.

ABSTRACT

Current approaches to text generation largely rely on autoregressive models and maximum likelihood estimation. This paradigm leads to (i) diverse but low-quality samples due to mismatched learning objective and evaluation metric (likelihood vs. quality) and (ii) exposure bias due to mismatched history distributions (gold vs. model-generated). To alleviate these problems, we frame text generation as a reinforcement learning (RL) problem with expert demonstrations (i.e., the training data), where the goal is to maximize quality given model-generated histories. Prior RL approaches to generation often face optimization issues due to the large action space and sparse reward. We propose GOLD (generation by off-policy learning from demonstrations): an algorithm that learns from the off-policy demonstrations by importance weighting and does not suffer from degenerative solutions. We find that GOLD outperforms the baselines according to automatic and human evaluation on summarization, question generation, and machine translation, including attaining state-of-the-art results for CNN/DailyMail summarization. Further, we show that models trained by GOLD are less sensitive to decoding algorithms and the generation quality does not degrade much as the length increases.

Motivation & Objective

  • To address the mismatch between training objectives (maximum likelihood) and evaluation metrics (quality) in autoregressive text generation.
  • To reduce exposure bias caused by distributional shift between gold and model-generated histories during training.
  • To develop a reinforcement learning method that effectively learns from off-policy expert demonstrations without degenerative solutions.
  • To improve generation quality and robustness across diverse text generation tasks, including summarization and machine translation.

Proposed method

  • Formulates text generation as a reinforcement learning problem using expert demonstrations as trajectories.
  • Applies importance weighting to correct for distributional shift when learning from off-policy demonstrations.
  • Uses a critic network to estimate state-value functions and guide policy optimization.
  • Trains the policy network via policy gradient methods with importance-weighted returns to stabilize learning.
  • Employs a reward model that aligns with human evaluation of text quality rather than likelihood.
  • Ensures training stability by avoiding degenerative behaviors common in standard RL approaches.

Experimental results

Research questions

  • RQ1Can off-policy demonstrations be effectively leveraged to improve text generation quality beyond maximum likelihood pretraining?
  • RQ2How does importance weighting improve policy learning when expert data is not interleaved with model-generated sequences?
  • RQ3Does the proposed method reduce sensitivity to decoding strategies and maintain quality across longer sequences?
  • RQ4Can the framework achieve state-of-the-art performance on standard text generation benchmarks like CNN/DailyMail summarization?
  • RQ5How does the method compare to autoregressive baselines in both automatic and human evaluations?

Key findings

  • GOLD achieves state-of-the-art results on the CNN/DailyMail summarization benchmark, outperforming prior methods in both automatic and human evaluations.
  • The model maintains high generation quality even as sequence length increases, showing reduced degradation compared to baselines.
  • GOLD-trained models are less sensitive to decoding hyperparameters, indicating more stable and reliable generation.
  • Human evaluations confirm that generated text from GOLD is preferred over baselines in terms of fluency, coherence, and relevance.
  • The method effectively mitigates exposure bias and improves alignment between training objectives and downstream quality metrics.
  • Importance weighting enables stable learning from off-policy demonstrations, avoiding degenerative behaviors seen in standard RL.

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.