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.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_ZHAeOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

In this paper, the authors model diverse generation as drawing a size-K set of full strings from a determinantal point process, where the likelihood encodes quality, and the embedding geometry encodes repulsion between similar outputs. Given that the space of strings is infinite, they propose PoolDPP: sample a finite pool of candidates from a tractable proposal, importance-weight them according to a globally tempered quality distribution, and then run either exact K-DPP sampling or greedy MAP selection on the pool. They introduce a sketched-distribution analysis and prove the sampling mode's bias decays at a 1/N rate in the pool size. Experiments cover FineWeb (intrinsic quality-diversity frontier), Ambrosia (ambiguous text-to-SQL coverage), and GSM8K (math pass@K), with ablations over pool size, set size, embedding model, and also, language model.

Strengths and weaknesses

I consider that construction is clean and the key design choice is well motivated: use globally annealed sequence probability as the quality term but propose from locally annealed sampling, then importance-weight to bridge the two. The sketched-distribution abstraction is clear, the Rao-Blackwell interpretation is a nice touch, and the dual-kernel cost analysis is correct. The proofs look internally sound on inspection, but I couldn't verify all of them. DPPs over embeddings are standard, so the originality is in the pool-based estimator and its finite-sample analysis, not the DPP framing itself.

In terms of clarity I find the paper to be well organized and readable, assumptions are stated inline, figures communicate the trade-offs, and the appendix is honest that the beam-search baselines are off-frontier.

There are, however, some concerns around quality and significance. First, unless I am misunderstanding something, the theory and the experiments appear somewhat largely disjoint. The convergence guarantee applies only to the sampling mode at low temperature, but every headline result uses the MAP mode at high temperature, where there is no distributional guarantee and greedy MAP is only a (1-1/e) approximation to the pool's best set, not the true optimum. The strongest theory and the strongest results never touch the same object.

Second, the bound is asymptotic in the pool size but its constant grows steeply with the set size and embedding dimension. At the set size they actually use, the constant is large enough that the numerical bound is almost certainly vacuous at the pool sizes they run. The result establishes a rate, not a practically reassuring guarantee, and I think it would be important for the paper to say so.

Third, the intrinsic FineWeb evaluation is close to circular. Both axes of the main intrinsic plot are components of the objective that MAP directly maximizes, so MAP winning there is nearly definitional and weak evidence on its own. Where I see the most evidence is Ambrosia and GSM8K, and the paper's weight should rest there.

On those downstream tasks the gains are real but modest, and the trade-offs are underplayed. Ambrosia coverage is low in absolute terms with overlapping error bars. On GSM8K, all methods are essentially tied at matched temperature; the MAP advantage needs the extreme pure-diversity setting, which raises coverage by a few points but drops per-chain accuracy by about ten points.

Final comments: strong sequence-level set-diversity baselines are missing empirically (e.g. Stochastic Beam Search, Conditional Poisson SBS), as are MMR or MBR reranking with semantic distances, which are the natural comparators. The abstract advertises an LLM-based selection baseline that appears nowhere in the paper. The best temperature ranges enormously across tasks and modes and is swept to trace the frontiers, so picking an operating point needs task labels.

Nevertheless, I consider the idea to be clean and worth building on, but I believe that the current write-up oversells the theory and the intrinsic evidence.

Questions

Some questions related to what I wrote above:

  1. What does the bound actually evaluate to at your default set size for a realistic importance-ratio bound, or what pool size would make it nontrivial? If it is vacuous at that set size, please reframe it as a rate result. This affects my confidence and, if the bound is more usable than I estimate, my scores.

  2. Could you report the weight distribution (max, variance, effective sample size) per task and say whether any truncation is used? This tests whether the bounded-ratio assumption holds for the local proposal relative to the global target. Well-behaved weights would raise Quality.

  3. Is the GSM8K coverage gain preserved at a moderate temperature rather than the extreme one, and are the Ambrosia gains significant, given the overlapping error bars? A significance test or larger sample here directly affects Significance. If the gains fall inside the noise, my score drops.

Limitations

Yes

Paper formatting concerns

NA

Final justification

I maintain my rating of 4 (borderline accept). The discussion was very productive and the authors' additional work substantially strengthened the paper:

  • Theory–experiment gap (resolved): The re-derived U-statistic bound is a genuine improvement over the vacuous closed-form constant, and the new N=2,500 runs show the certified KL becomes non-trivial at pool sizes the method can actually reach. The authors also agreed to promote the sampling mode (which the theory covers) in the headline figures and to state the (1−1/e) limitation of greedy MAP plainly.
  • Statistical significance (resolved): Paired sign-flip permutation tests over 30/20 pools establish clear significance on Ambrosia (p<1e-5); GSM8K reaches significance at moderate temperatures with the instructed kernel.
  • Weight diagnostics (largely resolved): The corrected table shows the claimed GSM8K and Ambrosia settings are healthy (ESS well above K), and the unfloored recomputation addresses the Prop. 5.2 concern. The FineWeb low-temperature end remains degenerate, but the authors will trim the sweep accordingly.
  • Baselines and inconsistencies (resolved): SBS/CPSBS/MBR/MMR and the missing LLM-selection baseline were added; the Fig. 3 precision discrepancy was traced to a lenient matcher and corrected.

Remaining caveats keep me at borderline rather than clear accept: the GSM8K kernel was adjusted after seeing significance results (both kernels must be reported, as agreed), the downstream gains are a frontier rather than domination over MMR/SBS, and several claims depend on promised revisions (softened abstract, vacuousness statement at N=100, sampling-mode framing). I weight the resolved theory and significance issues most heavily, which supports acceptance; the accumulation of rebuttal-dependent revisions is why I do not go higher.

Reviewer_kUm8OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies the problem of improving diversity in LLM generation while maintaining output quality. It proposes a DPP-based approach for selecting a diverse set of high-quality solutions from a pre-generated pool of candidates. To define the quality component of the DPP kernel, the authors use a globally annealed model-based probability score. On the algorithmic side, the paper analyzes several techniques for making DPP-based selection practical in large candidate pools. This includes a dual sampling method that reduces the computational cost of optimization, as well as an approximate finite-pool k-DPP formulation, PoolDPP. The authors also provide a theoretical KL-divergence bound between PoolDPP and the corresponding infinite-pool distribution, showing that the finite-pool approximation is unbiased and converges at rate O(1/N). The experiments cover three settings: intrinsic evaluation on FineWeb, ambiguity resolution on Ambrosia, and mathematical reasoning on GSM8K. Across these tasks, PoolDPP-MAP improves the quality-diversity tradeoff compared to the considered baselines, suggesting that DPP-based subset selection is an effective way to obtain diverse and high-quality LLM outputs from a fixed generation pool.

Strengths and weaknesses

Strengths:

  • The paper is clearly written and easy to follow. The motivation, method, and experimental setup are presented in a structured way, which makes the main ideas accessible.
  • The theoretical analysis of PoolDPP is a strong part of the paper. In particular, the convergence result and KL-divergence bound help justify the finite-pool approximation rather than treating it as only a heuristic.
  • The evaluation is reasonably diverse, covering intrinsic text-generation evaluation, ambiguity resolution, and mathematical reasoning. This makes the empirical claims more convincing than evaluation on a single task type.

Weaknesses:

  • The method is limited to post-hoc selection from a fixed pool. PoolDPP selects a diverse high-quality subset from a pre-generated candidate pool, but it does not provide a mechanism for steering generation toward new regions of the output space. This limits its practical usefulness in settings where generation itself is the expensive part. The method is most compelling when the evaluator is expensive and candidate generation is relatively cheap. However, in many LLM applications, especially reasoning, code generation, or long-form generation, producing a large pool of candidates can already be the main bottleneck. The paper would benefit from a more explicit discussion of when this selection-based setup is practically preferable to directly modifying the sampler, decoding strategy, or model policy.
  • It is unclear whether embedding-space diversity corresponds to meaningful solution diversity. The DPP objective encourages diversity through the determinant of an embedding-based kernel. This is natural for semantic diversity, but may be less reliable for structured reasoning tasks such as math and code. In these domains, small algorithmic changes can completely alter correctness, while surface-level or syntactic changes may leave the actual solution strategy unchanged. Conversely, two solutions may be algorithmically very different while appearing close under a sentence embedding model. This raises the question of whether the selected samples are genuinely diverse in reasoning structure or merely diverse in wording. The paper should analyze how sensitive Qwen3-Embedding-0.6B is to small but correctness-critical changes, such as changing one operation in a math derivation or modifying one line in a program. Without such analysis, it is hard to tell whether PoolDPP captures algorithmic diversity or only textual/semantic variation.
  • The usefulness of dual sampling is not fully clear in the reported setting. The paper motivates dual sampling as a way to reduce the complexity of DPP inference in large-pool settings. However, in the experiments, the embedding dimension is 1024, while the candidate pool size appears to be around (N=400). The paper should clarify in which regimes dual sampling provides a practical advantage, and report wall-clock or scaling comparisons showing when it becomes beneficial.
Questions
  • Could the authors provide an analysis of whether the embedding-space diversity used by PoolDPP corresponds to meaningful solution diversity? For example, in math or code-like reasoning tasks, how sensitive is Qwen3-Embedding-0.6B to small but correctness-critical changes, such as changing one operation in a derivation or modifying one line of an algorithm? It would be helpful to know whether PoolDPP selects genuinely different reasoning strategies, rather than mostly diverse phrasings of similar solutions.
  • Could the authors clarify the practical benefit of dual sampling in the reported experimental regime? Since the embedding dimension is 1024 and the candidate pool size appears to be around (N=400), it is not clear whether the dual representation is actually cheaper than working directly with the pool kernel. A wall-clock comparison or a discussion of the regimes where dual sampling becomes beneficial would strengthen this part.
  • Since p(y) is not length-normalized, could the authors report the length distributions of the samples selected by each method? Are the generations selected by PoolDPP shorter on average than those selected by the baselines? If so, could output length itself be a strong proxy for selection quality in the current setup?
Limitations

yes

Paper formatting concerns

no

Final justification

The authors addressed most of my concerns. The rebuttal confirms that the submitted GSM8K kernel suffered from the embedding-sensitivity issue raised in my review and required a domain-specific embedding instruction to improve it, with some headroom remaining. Nevertheless, the new results are encouraging, and I am keeping my positive score of 4 (Borderline Accept) unchanged.

Reviewer_GqmgOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper observes that language models produce strong individual samples but weak sets: regenerating an answer ten times tends to yield ten paraphrases of the same idea, because each sample is drawn independently with no notion of how a collection ought to differ. It reframes diverse generation as selecting a size-K set rather than K separate strings, representing each candidate as an embedding whose direction encodes meaning and whose magnitude encodes quality, and using a determinantal point process to favor sets that are individually high-quality yet mutually dissimilar. Because exact inference over all possible strings is intractable, the authors introduce PoolDPP, which draws a finite candidate pool from ordinary sampling, reweights it toward a quality target, and runs either stochastic K-DPP sampling or greedy selection on the resulting pool — backed by a guarantee that the approximation error shrinks as the pool grows. Across open-ended generation, ambiguous text-to-SQL, and math reasoning, PoolDPP pushes the quality–diversity frontier beyond temperature sampling, diverse beam search, and clustering-based reranking, while adding negligible cost on top of generation.

Strengths and weaknesses

Strengths. The paper reframes diversity as a property of the output set rather than of individual samples, and grounds it in a DPP where the embedding geometry determines what "diverse" means and can be swapped per domain. The theory is solid, offering a non-asymptotic O(1/N) KL bound built on a general sketched-distribution tool, plus a Rao–Blackwellization argument. The evaluation is broad, covering three different task types across multiple language models and embedders, with error bars throughout. The ablations are the strongest part, showing that neither determinantal repulsion nor global quality tempering alone beats plain sampling, so the gain comes specifically from combining them. The method is also cheap, with selection costing milliseconds relative to generation.

Weaknesses. First, the gains are task-dependent, large on the SQL task but more modest on GSM8K, the constrained setting where test-time sampling matters most, so some discussion of when the method helps would strengthen the paper. Second, achievable diversity is bounded by the candidate pool, since PoolDPP selects among what the proposal already generates and cannot recover a valid mode the base model never proposes.

Questions
  1. Since Ambrosia annotates each question with its multiple valid SQL interpretations, how many of those gold interpretations actually appear anywhere in the candidate pool?

  2. On constrained tasks like GSM8K, does the determinant reward genuinely different reasoning, or just surface artifacts in the embedding space such as language or formatting differences? Reporting how often a determinant-raising item is actually correct or meaningfully distinct, rather than a degenerate output that merely lands in a different embedding direction, would clarify this.

Limitations

The method's achievable diversity is fundamentally capped by the candidate pool, since PoolDPP selects among what the base model already generates and cannot surface a valid mode the model never proposes. Its effectiveness is also tied to the embedder's geometry and requires task-specific temperature tuning.

Paper formatting concerns

N/A

Comments on the paper

1 comment
Meta-review

This paper formulates diverse LM generation as sampling from a determinantal point process over a candidate pool, providing a principled framework with theoretical guarantees on coverage. The rebuttal was thorough, adding tighter theoretical bounds, new baselines, paired significance tests, and weight diagnostics. I recommend acceptance.

The initial meta-review raised four concerns: a gap between theory and the reported inference mode, whether diversity gains are semantically meaningful, statistical significance, and missing baselines. The authors addressed all four with new experiments and analysis, and 2/3 reviewers confirmed the response was satisfactory.

The camera-ready should incorporate the new baselines, significance tests, and the tightened U-statistic bound from the rebuttal. The paper should also be explicit about the gap between the theoretical guarantees (which cover the sampling mode) and the greedy MAP mode used in headline results.

—

[Initial Meta Review]

All reviewers find the formulation well-motivated but raise concerns that would need to be addressed for the paper to be strongly considered.

  • Reviewer ZHAe points out that the theoretical guarantees cover one inference mode while all headline results use a different mode. Please clarify this gap and what the theory actually guarantees for the reported results.
  • Reviewers Gqmg and kUm8 question whether the diversity metric used translates to meaningful solution diversity on structured tasks. Please provide evidence that the diversity gains are semantically meaningful.
  • Gains on some benchmarks have overlapping error bars, and others require extreme parameter settings. Please address statistical significance and robustness to hyperparameter choices.
  • Reviewer ZHAe flags missing baselines against established set-diversity methods, and a baseline mentioned in the abstract but absent from the experiments.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.