Lune

ACL2021Top-tier venue

Determinantal Beam Search

Clara Meister, Martina Forster, Ryan Cotterell

Abstract

Beam search is a go-to strategy for decoding neural sequence models. The algorithm can naturally be viewed as a subset optimization problem, albeit one where the corresponding set function does not reflect interactions between candidates. Empirically, this leads to sets often exhibiting high overlap, e.g., strings may differ by only a single word. Yet in use-cases that call for multiple solutions, a diverse or representative set is often desired. To address this issue, we propose a reformulation of beam search, which we call determinantal beam search. Determinantal beam search has a natural relationship to determinantal point processes (DPPs), models over sets that inherently encode intra-set interactions. By posing iterations in beam search as a series of subdeterminant maximization problems, we can turn the algorithm into a diverse subset selection process. In a case study, we use the string subsequence kernel to explicitly encourage n-gram coverage in text generated from a sequence model. We observe that our algorithm offers competitive performance against other diverse set generation strategies in the context of language generation, while providing a more general approach to optimizing for diversity.

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.

5 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

  • Incremental Sampling Without Replacement for Sequence Models cites The Curious Case of Neural Text Degeneration
  • Conditional Poisson Stochastic Beams cites Incremental Sampling Without Replacement for Sequence Models
  • Conditional Poisson Stochastic Beams cites If beam search is the answer, what was the question?
  • Conditional Poisson Stochastic Beams cites The Curious Case of Neural Text Degeneration
  • Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models cites Conditional Poisson Stochastic Beams
  • Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models cites The Curious Case of Neural Text Degeneration
  • Semantic-guided Diverse Decoding for Large Language Model cites Conditional Poisson Stochastic Beams
  • 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 papers5

  1. Diverse Demonstrations Improve In-context Compositional GeneralizationItay Levy, Ben Bogin, Jonathan BerantACL 2023 · 51 citations
  2. Arithmetic Sampling: Parallel Diverse Decoding for Large Language ModelsLuke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos et al.ICML 2023 · 17 citations
  3. Semantic-guided Diverse Decoding for Large Language ModelWeijie Shi, Yue Cui, Yaguang Wu, Jingzhi Fang et al.NeurIPS 2025 · 8 citations
  4. BREAK: Breaking the Dialogue State Tracking Barrier with Beam Search and Re-rankingSeungpil Won, Heeyoung Kwak, Joongbo Shin, Janghoon Han et al.ACL 2023 · 5 citations
  5. Conditional Poisson Stochastic BeamsClara Meister, Afra Amini, Tim Vieira, Ryan CotterellEMNLP 2021

Builds on3

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. Incremental Sampling Without Replacement for Sequence ModelsKensen Shi, David Bieber, Charles SuttonICML 2020 · 29 citations
  3. If beam search is the answer, what was the question?Clara Meister, Ryan Cotterell, Tim VieiraEMNLP 2020 · 26 citations

Related papers

  1. Deep Learning of Determinantal Point Processes via Proper Spectral Sub-gradientTianshu Yu, Yikang Li, Baoxin LiICLR 2020 · 2 citations
  2. Sampling from a k-DPP without looking at all itemsDaniele Calandriello, Michal Derezinski, Michal ValkoNeurIPS 2020 · 30 citations
  3. Diversity on the Go! Streaming Determinantal Point Processes under a Maximum Induced Cardinality ObjectivePaul Liu, Akshay Soni, Eun Yong Kang, Yajun Wang et al.WWW 2021 · 8 citations
  4. Learning k-Determinantal Point Processes for Personalized RankingYuli Liu, Christian Walder, Lexing XieICDE 2024 · 4 citations
  5. Probabilistic Time Series Forecasting with Shape and Temporal DiversityVincent Le Guen, Nicolas ThomeNeurIPS 2020 · 34 citations
Dusk over the sea between two cliffs drawn in fine vertical lines