Skip to main content
QUICK REVIEW

[Paper Review] A Stable and Effective Learning Strategy for Trainable Greedy Decoding

Yun Chen, Victor O. K. Li|arXiv (Cornell University)|Apr 21, 2018
Natural Language Processing TechniquesComputer Science37 references5 citations
TL;DR

This paper proposes a stable, efficient method to enhance greedy decoding in neural sequence models by training a small actor network to improve decoding quality using a pseudo-parallel corpus derived from beam search outputs. The actor is trained via standard backpropagation on high-scoring sequences (ranked by metrics like BLEU), enabling significant gains in translation quality—matching or exceeding beam search performance—while maintaining the speed of greedy decoding and requiring minimal additional computation or training time.

ABSTRACT

Beam search is a widely used approximate search strategy for neural network decoders, and it generally outperforms simple greedy decoding on tasks like machine translation. However, this improvement comes at substantial computational cost. In this paper, we propose a flexible new method that allows us to reap nearly the full benefits of beam search with nearly no additional computational cost. The method revolves around a small neural network actor that is trained to observe and manipulate the hidden state of a previously-trained decoder. To train this actor network, we introduce the use of a pseudo-parallel corpus built using the output of beam search on a base model, ranked by a target quality metric like BLEU. Our method is inspired by earlier work on this problem, but requires no reinforcement learning, and can be trained reliably on a range of models. Experiments on three parallel corpora and three architectures show that the method yields substantial improvements in translation quality and speed over each base system.

Motivation & Objective

  • To develop a stable and effective learning strategy for trainable greedy decoding that avoids the instability of reinforcement learning.
  • To improve the quality of greedy decoding to match or exceed beam search performance without increasing inference cost.
  • To enable the method to be applied across diverse architectures and metrics without retraining the base model.
  • To generate a reliable, high-quality pseudo-parallel corpus from beam search outputs for training the actor network.
  • To demonstrate that the method achieves substantial gains in translation metrics (BLEU, METEOR, TER) with only a few additional parameters.

Proposed method

  • Train a small actor network to observe and modify the hidden state of a pre-trained decoder during inference.
  • Construct a pseudo-parallel corpus by running beam search (large beam size) on the base model and selecting top-k outputs ranked by a target metric (e.g., BLEU).
  • Use the selected high-quality outputs as supervised training data to train the actor network via standard backpropagation.
  • Integrate the trained actor into the inference pipeline to guide greedy decoding using the modified hidden states.
  • Ensure the method is architecture-agnostic by applying it to RNN, ConvS2S, and Transformer models.
  • Train the actor network using ordinary backpropagation on a model-specific artificial dataset, avoiding reinforcement learning.

Experimental results

Research questions

  • RQ1Can a trainable actor network significantly improve greedy decoding performance without increasing inference cost?
  • RQ2Is it possible to train such an actor network stably and effectively without using reinforcement learning?
  • RQ3How does the quality of the pseudo-parallel corpus affect the final decoding performance?
  • RQ4Can the method generalize across different neural sequence models and evaluation metrics?
  • RQ5To what extent can the method match or surpass beam search performance while retaining greedy decoding speed?

Key findings

  • On the IWSLT16 German-English dataset, the method achieved a 28.36 BLEU score with the Transformer model, outperforming both greedy decoding (27.15 BLEU) and beam search (28.74 BLEU) when trained on the same objective.
  • For the WMT14 German-English dataset, the method improved METEOR (MTR) by 0.7 points over greedy decoding and 0.3 points over beam search.
  • The method reduced sentence-level TER by 0.5 points compared to beam search and 3.0 points compared to greedy decoding when trained on -sTER objective.
  • The performance gains were consistent across three architectures—RNN, ConvS2S, and Transformer—demonstrating broad applicability.
  • The method achieved these improvements with only a few additional parameters and minimal training time, using standard backpropagation instead of unstable reinforcement learning.
  • The pseudo-parallel corpus construction strategy, based on high-scoring beam search outputs, proved effective and scalable across multiple datasets and models.

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.