What Do You Get When You Cross Beam Search with Nucleus Sampling?

3Citations
Citations of this article
47Readers
Mendeley users who have this article in their library.

Abstract

We combine beam search with the probabilistic pruning technique of nucleus sampling to create two deterministic nucleus search algorithms for natural language generation. The first algorithm, p-exact search, locally prunes the next-token distribution and performs an exact search over the remaining space. The second algorithm, dynamic beam search, shrinks and expands the beam size according to the entropy of the candidate’s probability distribution. Despite the probabilistic intuition behind nucleus search, experiments on machine translation and summarization benchmarks show that both algorithms reach the same performance levels as standard beam search.

Cite

CITATION STYLE

APA

Shaham, U., & Levy, O. (2022). What Do You Get When You Cross Beam Search with Nucleus Sampling? In Insights 2022 - 3rd Workshop on Insights from Negative Results in NLP, Proceedings of the Workshop (pp. 38–45). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2022.insights-1.5

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free