Cascaded Text Generation with Markov Transformers

Yuntian Deng, Alexander M. Rush
6/1/2020
cs.CLcs.LGcs.NE
transformer-attention

Official code: harvardnlp/cascaded-generation (130 stars, Python, MIT, last commit 2026-11-11).

Abstract

The two dominant approaches to neural text generation are fully autoregressive models, using serial beam search decoding, and non-autoregressive models, using parallel decoding with no output dependencies. This work proposes an autoregressive model with sub-linear parallel time generation.

Show full abstract

Noting that conditional random fields with bounded context can be decoded in parallel, we propose an efficient cascaded decoding approach for generating high-quality output. To parameterize this cascade, we introduce a Markov transformer, a variant of the popular fully autoregressive model that allows us to simultaneously decode with specific autoregressive context cutoffs. This approach requires only a small modification from standard autoregressive training, while showing competitive accuracy/speed tradeoff compared to existing methods on five machine translation datasets.

View on arXivView PDF

Code Implementations(1)

MIT

Cascaded Text Generation with Markov Transformers

1309Python, ShellMay 31, 20202 weeks agoMIT

Similar Papers

Cite this paper

@article{deng2020cascaded,
  title  = {Cascaded Text Generation with Markov Transformers},
  author = {Yuntian Deng and Alexander M. Rush},
  year   = {2020},
  eprint = {2006.01112},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.01112}
}

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/2006.01112.svg)](https://codeofpaper.com/paper/2006.01112)

Discussion