acceptodds
Published as a conference paper at NeurIPS 2026

A Model of Diverse Sampling from Language Models

Manuel Prada-Corral, Yahya Emara, Timothy O'Donnell, Ryan Cotterell, Tim Vieira

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- 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 \algname: draw a finite candidate pool from a tractable proposal, importance-weight candidates toward a globally tempered quality distribution, and run either -DPP sampling or greedy MAP selection on the induced pool kernel. We prove a finite-sample bound showing that the KL bias of the pooled sampler decays as in the pool size. Empirically, \algname improves the quality–diversity Pareto frontier over temperature sampling, diverse beam search, -means reranking, and LLM-based selection on open-ended generation, ambiguous text-to-SQL (Ambrosia), and mathematical reasoning (GSM8K) tasks.

Related papers

See more related submissions when the market opens.