Lune

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Determinantal Beam Search cites Incremental Sampling Without Replacement for Sequence Models
  • Determinantal Beam Search cites If beam search is the answer, what was the question?
  • Determinantal Beam Search cites The Curious Case of Neural Text Degeneration
  • Incremental Sampling Without Replacement for Sequence Models cites The Curious Case of Neural Text Degeneration
  • Predictive Querying for Autoregressive Neural Sequence Models cites Incremental Sampling Without Replacement for Sequence Models
  • Predictive Querying for Autoregressive Neural Sequence Models cites The Curious Case of Neural Text Degeneration
  • Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models cites Determinantal Beam Search
  • Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models cites The Curious Case of Neural Text Degeneration
  • Selectively Answering Ambiguous Questions cites The Curious Case of Neural Text Degeneration
  • Semantic-guided Diverse Decoding for Large Language Model cites Determinantal Beam Search
  • Semantic-guided Diverse Decoding for Large Language Model cites Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models
  • Semantic-guided Diverse Decoding for Large Language Model cites The Curious Case of Neural Text Degeneration
  • If beam search is the answer, what was the question? cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Arithmetic Sampling: Parallel Diverse Decoding for Large Language ModelsLuke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos et al.ICML 2023 · 17 citations
  2. Selectively Answering Ambiguous QuestionsJeremy R. Cole, Michael J. Q. Zhang, Daniel Gillick, Julian Eisenschlos et al.EMNLP 2023 · 13 citations
  3. Semantic-guided Diverse Decoding for Large Language ModelWeijie Shi, Yue Cui, Yaguang Wu, Jingzhi Fang et al.NeurIPS 2025 · 8 citations
  4. Predictive Querying for Autoregressive Neural Sequence ModelsAlex Boyd, Samuel Showalter, Stephan Mandt, Padhraic SmythNeurIPS 2022 · 6 citations

Builds on5

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations
  3. Incremental Sampling Without Replacement for Sequence ModelsKensen Shi, David Bieber, Charles SuttonICML 2020 · 29 citations
  4. If beam search is the answer, what was the question?Clara Meister, Ryan Cotterell, Tim VieiraEMNLP 2020 · 26 citations
  5. Determinantal Beam SearchClara Meister, Martina Forster, Ryan CotterellACL 2021

Related papers

  1. Best-k Search Algorithm for Neural Text GenerationJiacheng Xu, Caiming Xiong, Silvio Savarese, Yingbo ZhouACL 2023
  2. 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
  3. Conformal Autoregressive Generation: Beam Search with Coverage GuaranteesNicolas Deutschmann, Marvin Alberts, María Rodríguez MartínezAAAI 2024 · 21 citations
  4. A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama et al.NeurIPS 2022 · 349 citations
  5. Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk DecodingMirac Suzgun, Luke Melas-Kyriazi, Dan JurafskyACL Findings 2023 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines