Twist Decoding: Diverse Generators Guide Each Other
Not on the map. Why?
Abstract (arXiv)
Many language generation models are now available for a wide range of generation tasks, including machine translation and summarization. Combining such diverse models may lead to further progress, but ensembling generation models is challenging during inference: conventional ensembling methods (e.g., shallow fusion) require that the models share vocabulary/tokenization schemes. We introduce Twist decoding, a simple and general text generation algorithm that benefits from diverse models at inference time. Our method does not assume the vocabulary, tokenization or even generation order is shared. Our extensive evaluations on machine translation and scientific paper summarization demonstrate that Twist decoding substantially outperforms each model decoded in isolation over various scenarios, including cases where domain-specific and general-purpose models are both available. Twist decoding also consistently outperforms the popular reranking heuristic where output candidates from one model are rescored by another. We hope that our work will encourage researchers and practitioners to examine generation models collectively, not just independently, and to seek out models with complementary strengths to the currently available models. Our code is available at https://github.com/jungokasai/twist_decoding.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 52 of its 86 references that are in the map. First posted on arXiv 19 May 2022.
Builds on
52 of 86 references.
References · 52
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
38 more
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,033
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 788
- 2019Green AIcited by 627
- 2017Non-Autoregressive Neural Machine Translationcited by 463
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
- 2021Random Feature Attentioncited by 354
- 2021Experts, Errors, and Context: A Large-Scale Study of Human Evaluation for Machine Translationcited by 338
- 2017Six Challenges for Neural Machine Translationcited by 335
- 2021All That's 'Human' Is Not Gold: Evaluating Human Evaluation of Generated Textcited by 287
- 2016Using the Output Embedding to Improve Language Modelscited by 272
- 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 242
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 195
- 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
- 2015On Using Monolingual Corpora in Neural Machine Translationcited by 150
- 2020TLDR: Extreme Summarization of Scientific Documentscited by 136
- 2018Achieving Human Parity on Automatic Chinese to English News Translationcited by 119
- 2020If beam search is the answer, what was the question?cited by 116
- 2019On NMT Search Errors and Model Errors: Cat Got Your Tongue?cited by 114
- 2020BLEU might be Guilty but References are not Innocentcited by 110
- 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 105
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 92
- 2020Back to the Future: Unsupervised Backprop-based Decoding for Counterfactual and Abductive Commonsense Reasoningcited by 65
- 2018A Survey of Domain Adaptation for Neural Machine Translationcited by 64
- 2020Unbabel's Participation in the WMT20 Metrics Shared Taskcited by 56
- 2016Zero-Resource Translation with Multi-Lingual Neural Machine Translationcited by 46
- 2021One Question Answering Model for Many Languages with Cross-lingual Dense Passage Retrievalcited by 46
- 2020Best-First Beam Searchcited by 40
- 2021Transparent Human Evaluation for Image Captioningcited by 40
- 2017Ensemble Distillation for Neural Machine Translationcited by 39
- 2019Translationese in Machine Translation Evaluationcited by 38
- 2019Domain Adaptation of Neural Machine Translation by Lexicon Inductioncited by 33
- 2021Bidimensional Leaderboards: Generate and Evaluate Language Hand in Handcited by 32
- 2018Simple Fusion: Return of the Language Modelcited by 30
- 2019Synchronous Bidirectional Neural Machine Translationcited by 27
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 1.
4 papers.
- 2024Tuning Language Models by Proxycited by 89
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2024CharED: Character-wise Ensemble Decoding for Large Language Modelscited by 3
- 2025Sampling from Your Language Model One Byte at a Time17 Jun 2025
- 2024What is the Role of Small Models in the LLM Era: A Survey10 Sep 2024
- 2024CharED: Character-wise Ensemble Decoding for Large Language Models25 Jun 2024
- 2024Tuning Language Models by Proxy16 Jan 2024