Massive-scale Decoding for Text Generation using Lattices

Jiacheng Xu, Siddhartha Reddy Jonnalagadda, Greg Durrett
12/14/2021
cs.CL

Official code: jiacheng-xu/lattice-generation (44 stars, HTML, last commit 2022-07-29).

Abstract

Conditional neural text generation models generate high-quality outputs, but often concentrate around a mode when what we really want is a diverse set of options. We present a search algorithm to construct lattices encoding a massive number of generation options.

Show full abstract

First, we restructure decoding as a best-first search, which explores the space differently than beam search and improves efficiency by avoiding pruning paths. Second, we revisit the idea of hypothesis recombination: we can identify pairs of similar generation candidates during search and merge them as an approximation. On both summarization and machine translation, we show that our algorithm encodes thousands of diverse options that remain grammatical and high-quality into one lattice. This algorithm provides a foundation for building downstream generation applications on top of massive-scale diverse outputs.

View on arXivView PDF

Code Implementations(1)

Code for Massive-scale Decoding for Text Generation using Lattices

442HTML, PythonApr 15, 20214 years ago

Similar Papers

Cite this paper

@article{xu2021massivescale,
  title  = {Massive-scale Decoding for Text Generation using Lattices},
  author = {Jiacheng Xu and Siddhartha Reddy Jonnalagadda and Greg Durrett},
  year   = {2021},
  eprint = {2112.07660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07660}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.07660.svg)](https://codeofpaper.com/paper/2112.07660)

Discussion