A Model of Diverse Sampling from Language Models
AuthorsManuel Prada-Corral, Yahya Emara, Timothy J. O'Donnell, Ryan Cotterell, Tim Vieira
AffiliationsMPI-IS · ELLIS Institute Tübingen · Mila · Canada CIFAR AI Chair · CHI-FRO
PoolDPP selects language-model outputs that are both high-quality and less repetitive, with a theoretical guarantee and promising results across tasks.
Key results
PoolDPP-MAP recall for covering annotated valid interpretations.
PoolDPP-MAP precision at the reported high-recall operating point.
PoolDPP-MAP pass@10, versus 0.925 for ancestral sampling, with greater diversity.
Milliseconds to select from a pool of 400 candidates.
What the paper found
Language models can produce strong individual answers yet repeat the same idea across a set. PoolDPP addresses this by defining a size-K set as a determinantal point process: each output’s likelihood rewards quality, while embedding similarity makes redundant outputs less likely to appear together. Because searching all possible strings is infeasible, PoolDPP importance-weights a finite candidate pool and applies either stochastic K-DPP sampling or greedy MAP selection; its sampling approximation has a KL error that falls as O(1/N), where N is pool size. On FineWeb, PoolDPP-MAP extends the quality–diversity frontier; on Ambrosia, it reaches recall 0.251 at precision 0.322, trading some exact-match precision for broader coverage of valid SQL interpretations. On GSM8K, it increases reasoning-chain diversity while achieving pass@10 of 0.915, compared with 0.925 for ancestral sampling—a difference within 0.01. Experiments use Gemma-2-9B-Instruct, with robustness checks on Qwen3-8B and Llama-3.1-8B-Instruct, and embedding models MiniLM-L6 and Qwen3-Embedding-0.6B; Gemini 3.6 Flash is used to label reasoning-chain differences in an analysis. Pool creation dominates runtime: with 400 candidates, PoolDPP-MAP selection takes 13 ms, making the set-selection step small relative to language-model generation.
Original abstract
Language models often produce high-quality individual samples but poor sets, with repeated samples clustering around the same semantic modes. We formalize diverse generation as sampling a size-$K$ subset of complete strings from a determinantal point process (DPP), where the likelihood encodes item quality, and the embedding geometry encodes repulsion between similar outputs. Exact inference over all strings is intractable, so we propose PoolDPP: draw a finite candidate pool from a tractable proposal, importance-weight the candidates toward the target quality, and run a $K$-DPP sampler on the induced pool kernel; a greedy MAP variant provides deterministic selection. We prove a finite-sample bound with an explicit constant: the KL divergence between the sampler's output and the target $K$-DPP decays as O(1/N) in the pool size. Empirically, PoolDPP extends the quality--diversity frontier on open-ended generation and the precision--recall frontier on ambiguous text-to-SQL (Ambrosia), and on mathematical reasoning (GSM8K), it raises diversity at about the same pass@$K$.
Read the original paperMore in Large Language Models
Browse all 102 papers →AI Reviews Are Biased Towards the Appendix
Saptarshi Ghosh, Mohammad Saim, Tianyu Jiang
A large-scale study finds that LLM reviewers focus far more on appendix details than human reviewers do.
Twice-Told Critiques: Claim-Level Homogenization of Peer Review in the LLM Era
Ilya Gusev
Across conferences and journals, reviews flagged as LLM-generated tend to raise more similar critiques of the same paper.
All Quiet on the Neural Front: Language Models Do Not Report Injected Pain States
Emilio Ferrara
Models’ internal signals can reveal an injected pain-like state and change their behavior, even when the models themselves do not report feeling it.