Skip to main content
QUICK REVIEW

[Paper Review] A Simple, Fast Diverse Decoding Algorithm for Neural Generation

Jiwei Li, Will Monroe|arXiv (Cornell University)|Nov 25, 2016
Natural Language Processing TechniquesComputer Science46 references227 citations
TL;DR

Introduces a diversity-promoting beam search that penalizes intra-sibling expansions to produce diverse N-best lists, with an optional reinforcement learning component to adapt the diversity rate per input.

ABSTRACT

In this paper, we propose a simple, fast decoding algorithm that fosters diversity in neural generation. The algorithm modifies the standard beam search algorithm by adding an inter-sibling ranking penalty, favoring choosing hypotheses from diverse parents. We evaluate the proposed model on the tasks of dialogue response generation, abstractive summarization and machine translation. We find that diverse decoding helps across all tasks, especially those for which reranking is needed. We further propose a variation that is capable of automatically adjusting its diversity decoding rates for different inputs using reinforcement learning (RL). We observe a further performance boost from this RL technique. This paper includes material from the unpublished script "Mutual Information and Diverse Decoding Improve Neural Machine Translation" (Li and Jurafsky, 2016).

Motivation & Objective

  • Motivate the need for diverse outputs in neural generation tasks where a single best hypothesis is insufficient.
  • Propose a simple, fast decoding modification that increases diversity without sacrificing speed, suitable for batched GPU decoding.
  • Demonstrate improvements across dialogue response generation, abstractive summarization, and machine translation.
  • Explore an automatic method (DiverseRL) to tune the diversity rate per input via reinforcement learning.

Proposed method

  • Modify standard beam search by adding a diversity term that penalizes intra-sibling expansions: Ŝ(Y_{t-1}^{k},y_{t}^{k,k′}|x)=S(Y_{t-1}^{k},y_{t}^{k,k′}|x)−γ k′, where k′ is the rank among siblings and γ is the diversity rate.
  • Maintain K hypotheses per step and select top K according to the modified score Ŝ.
  • Enable batched decoding on GPUs to speed up diverse decoding compared to phrase-based systems.
  • Extend the approach with diverseRL, a reinforcement learning policy that selects γ(X) from a predefined set Γ to optimize final reward (e.g., BLEU).
  • Use a policy gradient (REINFORCE) with a baseline to learn γ(X) while keeping encoder–decoder parameters fixed during training.

Experimental results

Research questions

  • RQ1Does diversity-promoting decoding improve output quality across neural generation tasks (dialogue, summarization, MT) compared to standard beam search?
  • RQ2How does the diversity rate γ affect performance, and can learning γ per input yield further gains?
  • RQ3In which tasks does diverse decoding yield the largest benefits, especially when reranking or diverse ground truth outputs are present?

Key findings

  • Diverse decoding improves outputs across dialogue response generation, abstractive summarization, and machine translation, especially when reranking or diverse ground-truth outputs are present.
  • A fixed diversity rate γ yields gains on several tasks, with larger benefits for longer or reranked outputs.
  • DiverseRL further improves performance by automatically adjusting γ(X) per input, yielding additional BLEU/MIRA-like gains in some settings.
  • Human evaluation favors outputs from the diverse decoding approach over standard beam search in response generation.
  • In MT, the gains from diversity are more modest, suggesting very low entropy target distributions limit the impact of diversity.

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.