On the Depth between Beam Search and Exhaustive Search for Text Generation
Yuu Jinnai, Tetsuro Morimura, Ukyo Honda

TL;DR
This paper introduces Lookahead Beam Search (LBS), a new search method for text generation that explores intermediate depths between beam and exhaustive search, leading to improved performance in machine translation and summarization.
Contribution
The paper proposes LBS, a multi-step lookahead search that generalizes beam and exhaustive search, and introduces a heuristic variant that enhances text generation quality.
Findings
LBS outperforms traditional beam search on machine translation.
Deeper search depths can improve text generation performance.
Heuristic Lookbehind Beam Search surpasses vanilla beam search in experiments.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Image and Video Retrieval Techniques · Natural Language Processing Techniques · Algorithms and Data Compression
MethodsLookahead
