mlsanityData to 13 Oct 2026

Best-k Search Algorithm for Neural Text Generation

arXiv 2211.11924 ↗First posted 22 Nov 2022cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Modern natural language generation paradigms require a good decoding strategy to obtain quality sequences out of the model. Beam search yields high-quality but low diversity outputs; stochastic approaches suffer from high variance and sometimes low quality, but the outputs tend to be more natural and creative. In this work, we propose a deterministic search algorithm balancing both quality and diversity. We first investigate the vanilla best-first search (BFS) algorithm and then propose the Best-k Search algorithm. Inspired by BFS, we greedily expand the top k nodes, instead of only the first node, to boost efficiency and diversity. Upweighting recently discovered nodes accompanied by heap pruning ensures the completeness of the search procedure. Experiments on four NLG tasks, including question generation, commonsense generation, text summarization, and translation, show that best-k search yields more diverse and natural outputs compared to strong baselines, while our approach maintains high text quality. The proposed algorithm is parameter-free, lightweight, efficient, and easy to use.

Key facts. Cited by 6 papers in the map (data through 13 Oct 2026). Builds on 48 of its 63 references that are in the map. First posted on arXiv 22 Nov 2022.

Builds on

48 of 63 references.

References · 48

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,884
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,133
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,893
  7. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,473
  8. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,312
  9. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,249
  10. 2018Hierarchical Neural Story Generationcited by 1,186
  11. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,071
  12. 2020COMET: A Neural Framework for MT Evaluationcited by 1,027
36 more
  1. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 890
  2. 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
  3. 2020SummEval: Re-evaluating Summarization Evaluationcited by 668
  4. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 580
  5. 2019Neural Text Generation with Unlikelihood Trainingcited by 494
  6. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 468
  7. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 375
  8. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  9. 2021QAFactEval: Improved QA-Based Factual Consistency Evaluation for Summarizationcited by 234
  10. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
  11. 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 154
  12. 2020Is MAP Decoding All You Need? The Inadequacy of the Mode in Neural Machine Translationcited by 138
  13. 2018Analyzing Uncertainty in Neural Machine Translationcited by 126
  14. 2019On NMT Search Errors and Model Errors: Cat Got Your Tongue?cited by 114
  15. 2020If beam search is the answer, what was the question?cited by 114
  16. 2022Locally Typical Samplingcited by 109
  17. 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
  18. 2021High Quality Rather than High Model Probability: Minimum Bayes Risk Decoding with Neural Metricscited by 104
  19. 2019Quoref: A Reading Comprehension Dataset with Questions Requiring Coreferential Reasoningcited by 100
  20. 2020Trading Off Diversity and Quality in Natural Language Generationcited by 94
  21. 2019Mixture Models for Diverse Machine Translation: Tricks of the Tradecited by 77
  22. 2022SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive Summarizationcited by 61
  23. 2021Machine Translation Decoding beyond Beam Searchcited by 55
  24. 2020Consistency of a Recurrent Language Model With Respect to Incomplete Decodingcited by 54
  25. 2022Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk Decodingcited by 54
  26. 2022Quality-Aware Decoding for Neural Machine Translationcited by 49
  27. 2020Best-First Beam Searchcited by 40
  28. 2022Natural Language Deduction through Search over Statement Compositionscited by 35
  29. 2021PPL-MCTS: Constrained Textual Generation Through Discriminator-Guided MCTS Decodingcited by 33
  30. 2021MixQG: Neural Question Generation with Mixed Answer Typescited by 28
  31. 2022Semantic Diversity in Dialogue with Natural Language Inferencecited by 28
  32. 2022On the probability-quality paradox in language generationcited by 16
  33. 2022Summarization Programs: Interpretable Abstractive Summarization with Neural Modular Treescited by 14
  34. 2021A New Approach to Overgenerating and Scoring Abstractive Summariescited by 13
  35. 2021Massive-scale Decoding for Text Generation using Latticescited by 8
  36. 2022Improving abstractive summarization with energy-based re-rankingcited by 3

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 4; 2025: 1.

6 papers.