mlsanityData to 14 Oct 2026

On the Depth between Beam Search and Exhaustive Search for Text Generation

arXiv 2308.13696 ↗First posted 25 Aug 2023cs.CL cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Beam search and exhaustive search are two extreme ends of text decoding algorithms with respect to the search depth. Beam search is limited in both search width and depth, whereas exhaustive search is a global search that has no such limitations. Surprisingly, beam search is not only computationally cheaper but also performs better than exhaustive search despite its higher search error. Plenty of research has investigated a range of beam widths, from small to large, and reported that a beam width that is neither too large nor too small is desirable. However, in terms of search depth, only the two extreme ends, beam search and exhaustive search are studied intensively. In this paper, we examine a range of search depths between the two extremes to discover the desirable search depth. To this end, we introduce Lookahead Beam Search (LBS), a multi-step lookahead search that optimizes the objective considering a fixed number of future steps. Beam search and exhaustive search are special cases of LBS where the lookahead depth is set to 0 and ∞, respectively. We empirically evaluate the performance of LBS and find that it outperforms beam search overall on machine translation tasks. The result suggests there is room for improvement in beam search by searching deeper. Inspired by the analysis, we propose Lookbehind Heuristic Beam Search, a computationally feasible search algorithm that heuristically simulates LBS with 1-step lookahead. The empirical results show that the proposed method outperforms vanilla beam search on machine translation and text summarization tasks.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 31 of its 48 references that are in the map. First posted on arXiv 25 Aug 2023.

Builds on

31 of 48 references.

References · 31

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  4. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  5. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  6. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  7. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  8. 2015Teaching Machines to Read and Comprehendcited by 1,049
  9. 2017Convolutional Sequence to Sequence Learningcited by 552
  10. 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
  11. 2017Six Challenges for Neural Machine Translationcited by 335
  12. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 237
19 more
  1. 2023Is ChatGPT A Good Translator? Yes With GPT-4 As The Enginecited by 176
  2. 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 154
  3. 2018Correcting Length Bias in Neural Machine Translationcited by 120
  4. 2020If beam search is the answer, what was the question?cited by 116
  5. 2019On NMT Search Errors and Model Errors: Cat Got Your Tongue?cited by 114
  6. 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
  7. 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 94
  8. 2021Revisiting the Uniform Information Density Hypothesiscited by 68
  9. 2021Machine Translation Decoding beyond Beam Searchcited by 55
  10. 2020Consistency of a Recurrent Language Model With Respect to Incomplete Decodingcited by 54
  11. 2020Best-First Beam Searchcited by 40
  12. 2019Joey NMT: A Minimalist NMT Toolkit for Novicescited by 39
  13. 2023Faithfulness-Aware Decoding Strategies for Abstractive Summarizationcited by 31
  14. 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30
  15. 2018Breaking the Beam Search Curse: A Study of (Re-)Scoring Methods and Stopping Criteria for Neural Machine Translationcited by 29
  16. 2022Don't Say What You Don't Know: Improving the Consistency of Abstractive Summarization by Constraining Beam Searchcited by 23
  17. 2021Incremental Beam Manipulation for Natural Language Generationcited by 6
  18. 2017SGNMT -- A Flexible NMT Decoding Platform for Quick Prototyping of New Models and Search Strategiescited by 2
  19. 2022Beam Search: Faster and Monotoniccited by 1

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.