Conditional Poisson Stochastic Beams
Clara Meister, Afra Amini, Tim Vieira, Ryan Cotterell
Abstract
Beam search is the default decoding strategy for many sequence generation tasks in NLP. The set of approximate K-best items returned by the algorithm is a useful summary of the distribution for many applications; however, the candidates typically exhibit high overlap and may give a highly biased estimate for expectations under our model. These problems can be addressed by instead using stochastic decoding strategies. In this work, we propose a new method for turning beam search into a stochastic process: Conditional Poisson stochastic beam search. Rather than taking the maximizing set at each iteration, we sample K candidates without replacement according to the conditional Poisson sampling design. We view this as a more natural alternative to Kool et al. ( 2019 )'s stochastic beam search (SBS). Furthermore, we show how samples generated under the CPSBS design can be used to build consistent estimators and sample diverse sets from sequence models. In our experiments, we observe CPSBS produces lower variance and more efficient estimators than SBS, even showing improvements in high entropy settings. 1
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Arithmetic Sampling: Parallel Diverse Decoding for Large Language ModelsLuke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos et al.ICML 2023 · 17 citations
- Selectively Answering Ambiguous QuestionsJeremy R. Cole, Michael J. Q. Zhang, Daniel Gillick, Julian Eisenschlos et al.EMNLP 2023 · 13 citations
- Semantic-guided Diverse Decoding for Large Language ModelWeijie Shi, Yue Cui, Yaguang Wu, Jingzhi Fang et al.NeurIPS 2025 · 8 citations
- Predictive Querying for Autoregressive Neural Sequence ModelsAlex Boyd, Samuel Showalter, Stephan Mandt, Padhraic SmythNeurIPS 2022 · 6 citations
Builds on5
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
- Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations
- Incremental Sampling Without Replacement for Sequence ModelsKensen Shi, David Bieber, Charles SuttonICML 2020 · 29 citations
- If beam search is the answer, what was the question?Clara Meister, Ryan Cotterell, Tim VieiraEMNLP 2020 · 26 citations
- Determinantal Beam SearchClara Meister, Martina Forster, Ryan CotterellACL 2021
Related papers
- Best-k Search Algorithm for Neural Text GenerationJiacheng Xu, Caiming Xiong, Silvio Savarese, Yingbo ZhouACL 2023
- A Well-Composed Text is Half Done! Composition Sampling for Diverse Conditional GenerationShashi Narayan, Gonçalo Simões, Yao Zhao, Joshua Maynez et al.ACL 2022 · 35 citations
- Conformal Autoregressive Generation: Beam Search with Coverage GuaranteesNicolas Deutschmann, Marvin Alberts, María Rodríguez MartínezAAAI 2024 · 21 citations
- A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama et al.NeurIPS 2022 · 349 citations
- Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam SearchEkaterina Fadeeva, Maiya Goloburda, Aleksandr Rubashevskii, Roman Vashurin et al.ICLR 2026 · 4 citations
