← All papers  /  Nov 18, 2026
Training

A Model of Diverse Sampling from Language Models

First page
A Model of Diverse Sampling from Language Models
The curator’s take

Manuel Prada-Corral, Ryan Cotterell, Tim Vieira and colleagues at ETH Zurich, MPI-IS and Mila formalize diverse generation as sampling a size-K set of complete strings from a determinantal point process and give a tractable sampler, PoolDPP, with a finite-sample guarantee. NeurIPS 2026.

Ask this paper

Key points
01

Formulation. Model likelihood encodes item quality and embedding geometry encodes repulsion between similar outputs, so a good set is both high quality and spread out.

02

Sampler. PoolDPP draws a finite candidate pool, importance-weights it toward target quality and runs a K-DPP sampler on the pool. A greedy MAP variant gives deterministic selection.

03

Guarantee. The KL divergence between the sampler's output and the target K-DPP decays as O(1/N) in pool size, with an explicit constant. The appendix includes a Lean formalization.

04

Results. PoolDPP extends the quality-diversity frontier on open-ended generation and the precision-recall frontier on ambiguous text-to-SQL (Ambrosia). On GSM8K it raises diversity at about the same pass@K.

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$.

Every Monday
Get next week’s papers.
Subscribe on Substack