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 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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 02298404-b84f-43a1-92bb-97b42eaf293cCited by top-tier papers5
- Diverse Demonstrations Improve In-context Compositional GeneralizationItay Levy, Ben Bogin, Jonathan BerantACL 2023 · 51 citations
- Arithmetic Sampling: Parallel Diverse Decoding for Large Language ModelsLuke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos et al.ICML 2023 · 17 citations
- Semantic-guided Diverse Decoding for Large Language ModelWeijie Shi, Yue Cui, Yaguang Wu, Jingzhi Fang et al.NeurIPS 2025 · 8 citations
- 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
- Conditional Poisson Stochastic BeamsClara Meister, Afra Amini, Tim Vieira, Ryan CotterellEMNLP 2021
Builds on3
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 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
Related papers
- Deep Learning of Determinantal Point Processes via Proper Spectral Sub-gradientTianshu Yu, Yikang Li, Baoxin LiICLR 2020 · 2 citations
- 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
- Learning k-Determinantal Point Processes for Personalized RankingYuli Liu, Christian Walder, Lexing XieICDE 2024 · 4 citations
- Probabilistic Time Series Forecasting with Shape and Temporal DiversityVincent Le Guen, Nicolas ThomeNeurIPS 2020 · 34 citations
- Sampling from a k-DPP without looking at all itemsDaniele Calandriello, Michal Derezinski, Michal ValkoNeurIPS 2020 · 30 citations
