Skip to main content
QUICK REVIEW

[Paper Review] Proximal Policy Optimization and its Dynamic Version for Sequence Generation

Yi-Lin Tuan, Jinzhi Zhang|arXiv (Cornell University)|Aug 24, 2018
Reinforcement Learning in RoboticsComputer Science2 references7 citations
TL;DR

This paper replaces policy gradient with Proximal Policy Optimization (PPO) and introduces a dynamic version (PPO-dynamic) for sequence generation tasks, demonstrating improved training stability, faster convergence, and better performance on both synthetic counting tasks and chit-chat chatbot benchmarks using BLEU-2 scores. PPO-dynamic achieves higher precision and BLEU scores than policy gradient while promoting more diverse and accurate outputs.

ABSTRACT

In sequence generation task, many works use policy gradient for model optimization to tackle the intractable backpropagation issue when maximizing the non-differentiable evaluation metrics or fooling the discriminator in adversarial learning. In this paper, we replace policy gradient with proximal policy optimization (PPO), which is a proved more efficient reinforcement learning algorithm, and propose a dynamic approach for PPO (PPO-dynamic). We demonstrate the efficacy of PPO and PPO-dynamic on conditional sequence generation tasks including synthetic experiment and chit-chat chatbot. The results show that PPO and PPO-dynamic can beat policy gradient by stability and performance.

Motivation & Objective

  • To address the instability and high variance issues of policy gradient in sequence generation, especially when optimizing non-differentiable metrics like BLEU or adversarial rewards.
  • To evaluate whether PPO, a more stable reinforcement learning algorithm, can outperform policy gradient in conditional sequence generation.
  • To propose and validate a dynamic constraint mechanism for PPO that enhances training flexibility and convergence speed.
  • To demonstrate that PPO-based methods improve diversity and quality of generated sequences compared to policy gradient.

Proposed method

  • Replaces policy gradient with Proximal Policy Optimization (PPO), which regularizes policy updates via a clipped probability ratio to prevent destructive updates.
  • Introduces PPO-dynamic, a modified PPO variant that dynamically adjusts the clipping range based on training progress, improving adaptability and convergence.
  • Applies the method to sequence-to-sequence models using GRUs, framing text generation as a Markov Decision Process with reward functions based on BLEU scores or discriminator outputs.
  • Uses advantage estimation with baseline subtraction to reduce training variance, and applies Monte Carlo rollouts for credit assignment in sequence generation.
  • Employs a curriculum-like training strategy in the synthetic task, where the model learns to generate sequences based on input length and position constraints.
  • Trains models using both task-specific rewards (e.g., BLEU-2) and adversarial rewards (e.g., from a discriminator in SeqGAN), with policy optimization via PPO and PPO-dynamic.

Experimental results

Research questions

  • RQ1Can PPO outperform policy gradient in terms of training stability and convergence speed for sequence generation tasks?
  • RQ2Does the proposed PPO-dynamic method further improve training efficiency and final performance compared to standard PPO?
  • RQ3To what extent does PPO-based optimization enhance the diversity and correctness of generated sequences in both synthetic and real-world chatbot tasks?
  • RQ4How does PPO compare to policy gradient in optimizing non-differentiable metrics like BLEU in text generation?

Key findings

  • On the synthetic counting task, PPO-dynamic achieved a precision of 98.62%, significantly outperforming the original policy gradient (87.37%) and matching the best-performing REINFORCE method.
  • PPO-dynamic showed faster convergence than both PPO and policy gradient, with training curves indicating more stable and efficient learning progress.
  • In the chit-chat chatbot evaluation on OpenSubtitles, PPO-dynamic achieved a BLEU-2 score of 14.73, slightly higher than REINFORCE (14.29) and PPO (14.12).
  • The distribution of generated outputs (e.g., y₁ in the counting task) under PPO and PPO-dynamic was much closer to the ground truth than under REINFORCE, which concentrated on a single output.
  • PPO and PPO-dynamic reduced the high-variance problem of policy gradient, leading to more stable training and better generalization in both synthetic and real-world settings.

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.