Manuscript Offprint
arXiv:2611.25003A Model of Diverse Sampling from Language Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the 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- 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 -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 -DPP decays as 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@.
https://github.com/rycolab/pool-dpp
1 Introduction
Search engines gave us pages of results; we browsed and chose. In contrast, language models often give us just one authoritative-sounding answer. However, for important questions—where multiple perspectives exist, or the right answer depends on context—we might want that plurality back. For example, when answering ambiguous questions, a model should surface multiple valid interpretations rather than commit to a single one (Saparina and Lapata, 2024). Pushing the language model’s regenerate button 10 times yields 10 distinct outputs, but they often cluster around the same idea, phrased slightly differently. This makes sense because the model generates each string independently; it has no notion of what it means for a set of 10 strings to be diverse.
Figure 1: Diverse implementations of sorting. Each point is a sorting-algorithm implementation, embedded by a code language model and projected to 3D with PCA; colors denote algorithm family. The -DPP assigns subset probability proportional to the squared volume of the parallelepiped spanned by the selected quality-scaled embeddings—large when the selected items are individually high-quality (large norms) and mutually dissimilar. The highlighted triple has high probability because it combines implementations from distinct algorithmic strategies, yielding a large spanned volume; by contrast, choosing three variants from the same cluster (e.g., three quicksorts) produces nearly parallel embeddings and thus near-zero volume despite high individual quality.
Why do samples cluster? Because nothing in the sampling process discourages similarity. Temperature sampling broadens the distribution over next tokens, but it does not model relationships between outputs---two samples may independently land in the same high-probability region. Diverse decoding methods based on beam search (Vijayakumar et al., 2018; Meister et al., 2021b) inject heuristics during decoding, but they lack a globally coherent notion of what it means for two strings to be similar or for a set to be diverse. These approaches are attractive because they are fast, but they are documented to produce artifacts such as incoherence or sudden shifts in topic (Ippolito et al., 2019; Tevet and Berant, 2021). Other work has explored adopting sampling-without-replacement schemes in LMs (Kool et al., 2019; Meister et al., 2021a), but the notion of similarity in these models is exact equality. Thus, these methods tend to cluster like independent samples. To get diverse outputs, we need to define similarity and then explicitly discourage it.
We formalize diverse sampling as a probabilistic model over subsets of strings using determinantal point processes (Kulesza and Taskar, 2012, DPPs;). The key ingredient is a similarity function: we represent each string by its embedding (e.g., from a pretrained sentence embedder) scaled by its quality, so that the direction encodes meaning and the magnitude encodes quality. Two strings are similar if their embeddings point in roughly the same direction. A DPP assigns probability to subsets proportional to the squared volume spanned by their quality-scaled embeddings—large when items are high-quality and point in different directions, near-zero when they are redundant. This gives us a well-defined distribution over sets: one that assigns high probability to sets of strings that are individually good and collectively spread out, with a parameter that controls the balance between quality and diversity. Figure 1 illustrates this in the context of generating meaningfully different sorting algorithm implementations.
Since exact inference in this DPP over all strings is intractable, we propose PoolDPP, a finite-pool approximation. PoolDPP draws candidate strings from a tractable proposal, importance-weights them toward a globally tempered quality distribution, and applies a -DPP on the resulting pool. The same pool kernel supports two inference modes: stochastic -DPP sampling (PoolDPP-Sampling) and greedy MAP selection (PoolDPP-MAP). For the sampling mode, we prove a non-asymptotic approximation guarantee: the KL divergence between the marginal output law of PoolDPP-Sampling (its output distribution, averaged over random pools) and the target -DPP decreases as with the pool size. The bound’s constant is explicit, and we evaluate it on each task, on instances built from its pools rather than on the full proposal; the MAP mode has no distributional guarantee. Empirically, PoolDPP extends the quality–diversity frontier on open-ended generation and the precision–recall frontier on ambiguous text-to-SQL. On mathematical reasoning, it raises diversity at about the same pass@ (within ; § 6.3), and we measure how weakly the embedders separate correct from incorrect reasoning chains.
We define local annealing by temperature as the following change to the conditional distribution, and the locally annealed language model as the product of the annealed conditionals:
for all and . Ancestral sampling with the annealed conditionals draws from . As , each conditional concentrates on its mode, yielding greedy decoding; in contrast, as , each conditional approaches the uniform distribution over . High local temperatures increase diversity at the cost of coherence; low temperatures increase coherence at the cost of diversity (DeepSeek-AI, 2025; Holtzman et al., 2020). Local annealing is efficient, as it only requires additional work per time step to adjust its conditional distribution.
In contrast, global annealing by temperature modifies the probability of entire sequences:
when the sum is finite, which holds for every , since . Unlike local annealing, which modifies each conditional independently, global annealing linearly scales log-probability differences between sequences: high compresses these differences, while low amplifies them. Global annealing tends to preserve the coherence and fluency of the underlying language model. Kempton and Burrell (2025, §3.2) show that local annealing does not generally yield a good approximation to the globally annealed distribution . Unfortunately, exact sampling from the global distribution is intractable.
3 Determinantal Point Processes
Determinantal point processes (DPPs) are distributions over subsets that naturally encode diversity: items that are similar are unlikely to be selected together. We use DPPs to define a distribution over sets of strings where high-probability sets contain strings that are both high-quality and well-dispersed.
The many faces of diversity.
There are many ways to operationalize the notion of a diverse set of strings. In natural language, we can distinguish semantic diversity (variation in meaning), syntactic diversity (variation in surface form), and stylistic diversity (variation in tone and register). In specialized domains such as code generation, one can also consider algorithmic diversity, i.e., variation in the underlying algorithms implemented by the generated code. Which notion matters depends on the application. In this work, we focus on notions of diversity that can be expressed through embeddings. This lets us quantify similarity geometrically and swap in a different embedder depending on the domain.
Embeddings.
To measure similarity between strings, we represent each string by an embedding from a pretrained embedder. The choice of embedder determines what notion of diversity the DPP captures—semantic, syntactic, or domain-specific. We try three options across our experiments: a small off-the-shelf semantic embedder (MiniLM-L6), a larger one (Qwen3-Embedding-0.6B), and the generating LM’s own mean-pooled last-layer hidden states. On open-ended tasks like FineWeb (§ 6.1), the two off-the-shelf embedders give very similar quality–diversity Pareto frontiers across language models (Fig. 8), so we use the smaller MiniLM for these tasks; on more constrained tasks like math reasoning on GSM8K (§ 6.3), the larger Qwen3-Embedding-0.6B picks up structural distinctions between reasoning chains that MiniLM blurs, and we adopt it as the default. The self-contained LM-hidden-state variant performs on par with the small semantic embedder in several settings but does not consistently improve over it; layer and pooling choices that we did not exhaustively optimize, and a semantic-oriented fine-tune, are a plausible route to closing that gap.
Building a DPP.
Given a base set , a quality measure , and a (unit-norm) embedding (i.e., for all ), we define the (quality–diversity) kernel matrix (Kulesza and Taskar, 2012, §3.1):
Intuitively, in the quality-scaled embedding , the direction encodes meaning (for diversity) and the magnitude encodes quality. Let be a finite set, and be the kernel matrix indexed by . A determinantal point process (DPP) is a probability distribution over subsets where the probability of the set is proportional to . This determinant has a geometric interpretation: it equals the squared volume of the parallelepiped spanned by the quality-scaled embeddings (Kulesza and Taskar, 2012, §3). This volume is large when strings are high-quality and point in different directions, and collapses to zero when two strings are nearly identical. More precisely, under Eq. 4, the determinant decomposes as , where . Here, the quality factor rewards individual quality, while the diversity factor penalizes collective similarity (the squared volume spanned by the embeddings).
-DPPs.
Our work uses the -DPP variant, which introduces a set-size parameter . This parameter constrains the underlying DPP to generate sets of exactly items; thus, it can be used to encourage diversity by controlling the number of elements. The -DPP’s probability is defined below:
and is the set of size- subsets from . is only well-defined when .
Trading off quality and diversity.
We also make use of a parameter , the global temperature, to trade off quality and diversity. Specifically, we use
so sets the target’s quality, which connects to globally annealed sampling (Eq. 3). Varying smoothly trades off quality and diversity: smaller sharpens toward high-likelihood strings (favoring quality); larger flattens (favoring diversity). We found the global temperature parameter essential for calibrating the language model’s likelihood to the embedder’s volumes, as is rarely optimal.
Inference via the dual.
The standard -DPP sampler eigendecomposes the kernel , which costs for a base set of size (in § 4, the pool). When the embedding dimension is much smaller than , the dual representation avoids this. The kernel factors as , where the feature matrix has as columns the quality-scaled embeddings , and it shares its nonzero eigenvalues with the dual kernel
The dual sampler SampleDual of Kulesza and Taskar (2012, Alg. 3) (Alg. 1, described in App. C) runs the -DPP sampler on instead of , at cost , which is linear in for fixed .
The dual trick needs the base set in memory, but ours is the infinite set . § 4 restricts it to a finite pool drawn from a proposal, and § 5 analyzes the approximation.
4 Pool-Based Inference
Exact inference in the -DPP over is intractable. We approximate it by drawing a finite pool of candidate strings from a proposal distribution, importance-weighting the pool toward the quality function, and running DPP inference on the induced finite kernel.
Approximate -DPP.
Let with be a pool of candidates. We define the pool feature matrix, which importance-weights the embeddings of the drawn strings:
These weights correct for the mismatch between the proposal and the target quality distribution . If a string is sampled multiple times, each occurrence contributes its own (identical) column to . Duplicates are thereby handled naturally: any selection containing two copies of the same string has two identical columns and hence a zero determinant, so it receives zero probability, while the copies’ weights add up across selections, preserving the string’s total quality mass. § 5 makes both effects precise: collisions are exactly what the constant of Eq. 12 accounts for in the analysis (Propositions A.1 and A.2).
The dual kernel approximation is the following matrix (which satisfies ):
The pool -DPP is the -DPP whose base set is the pool indices and whose kernel is the pool kernel , which has the same nonzero eigenvalues as .
Two modes of inference.
The pool -DPP is a finite, tractable distribution; we use it in two ways:
- PoolDPP-Sampling draws an exact sample from the pool -DPP by invoking Alg. 1 with and . The base set of this -DPP is the set of pool indices ; given the sampled index set , PoolDPP-Sampling returns the labeled strings . Proposition A.1 characterizes the distribution of this string set.
- PoolDPP-MAP targets the most likely set in the pool: the size- subset of the pool’s strings that maximizes (Eq. 5). This objective depends on the quality and the embeddings of the strings and not on how often the proposal drew them, so PoolDPP-MAP needs no importance correction: its feature matrix has the quality-scaled embeddings as columns. Exact maximization is NP-hard (Ko et al., 1995); the greedy algorithm (Alg. 2) returns a set whose determinant is within a multiplicative factor of optimal, (Çivril and Magdon-Ismail, 2009, Thm. 11). Note that is the best size- subset in the pool, not the intractable population optimum over .
The two modes call for different settings of the global temperature in : for sampling, the stochasticity of drawing a set of pool indices with probability already spreads mass across the pool, so can be sharp (small , in our figures); for MAP, the deterministic arg-max would otherwise collapse onto near-clones of the highest-quality item, so must be flat (large , in our figures; see App. D).
Instantiation.
Our experiments use the quality function of Eq. 6 and locally annealed ancestral sampling (Eq. 1) as the proposal, . The importance weights then capture the difference between local and global annealing.
In § 5, we show that this procedure is equivalent to a Rao–Blackwellized importance sampler, which marginalizes out the randomness in selecting subsets from , yielding lower-variance tractable estimates with theoretical guarantees.
5 Algorithm Analysis
PoolDPP samples from a -DPP restricted to a finite pool instead of the target -DPP over . We bound the resulting bias in the pool size with a generic tool, the sketched distribution. This section states the results; App. A has the proofs, and § A.1 describes their Lean formalization, which is in the code repository linked on the first page.
Sketched distributions.
Let define an unnormalized target on a countable domain , with throughout (in our case with ). A sketch is a pair : a distribution over internal randomness , together with a (measurable) map that produces an unnormalized weight function determined by (the subscript in records this dependence). Each realization of induces the sketched normalizer and, when , the sketched distribution . We suppose without loss of generality that almost surely (footnote 12). One run draws one and then , so its output follows the marginal output law:
which marginalizes the sketch’s internal randomness . A sketch is well-behaved if for every and .
Theorem 5.1 (Variance controls bias).
For any well-behaved sketch ,
Proof in § A.3.
PoolDPP is a sketch.
We now instantiate the sketch for PoolDPP. The internal randomness is the pool of § 4: . The pool supplies the randomness, and the sketch is the deterministic map from a realized pool to the weight function that defines ; drawing a subset from is a second, separate stage of randomness. Writing for the set of pool indices, the sketched weight of a subset aggregates every way the pool can realize :
where ranges over size- sets of pool indices, is the pool kernel (§ 4), and the constant \alpha_{N,{K}}=1/\Pr[\text{{K}[N] are all distinct}] makes the weights unbiased.
PoolDPP-Sampling returns the strings of an index set that Alg. 1, invoked with , draws with probability proportional to . These strings follow (Proposition A.1): index sets that repeat a string have determinant , and the set-independent constant cancels in . A pool has exactly when , and PoolDPP then redraws it (footnote 12).
Inclusion ratios.
The analysis compares the target with the proposal through inclusion ratios: for distinct strings,
and on tuples with a repeat and on tuples outside the support of (there, because , so the target never contains them). The ratio has mean under and is unchanged by rescaling . We write for the second moment of . For any , , and proposal with , the sketch is unbiased, , and if , then , so PoolDPP is well-behaved (Proposition A.2).
Finite-sample bound.
Combining Theorems 5.1 and A.2 reduces bounding the KL to bounding the relative variance . Since is a -statistic of order (Eq. 35), its variance has an exact formula (Hoeffding, 1948), whose terms are variances of the inclusion ratios of Eq. 13.
Theorem 5.2 (Finite-sample bound).
For any , , and proposal with ,
If , then for any fallback
where is the formula of Eq. 14 at .
Proof in § A.7.
The coefficients are the hypergeometric law of the overlap of two independent uniform -subsets of , so the bound decays as (Eq. 34). The term measures how far , the law of a uniformly chosen member of a target set, is from the proposal: since , .
Applying the same bound to every term of Eq. 14 gives a sharper bound, Corollary A.4, which we use in the numerical evaluation (App. B).
Bound scope.
Theorem 5.2 bounds the KL divergence between the target and the law of the single set that PoolDPP-Sampling emits, at every pool size. PoolDPP-MAP is a deterministic function of the pool and inherits no distributional guarantee; its only guarantee is the volume factor of the greedy algorithm relative to the best set in the pool (§ 4). The bound depends on the target only through the inclusion probabilities . For a language model, these need summed over all strings, which we cannot compute, so App. B evaluates the bound on a finite instance built from our pools: the strings that the pools drew, with their observed frequencies as the proposal. These instances hold a median proposal mass of on Ambrosia, on GSM8K, and on FineWeb. On them, the bound is small on Ambrosia and on FineWeb at and exceeds nat on GSM8K at . These values are the bound on the instance, not a bound on the sampler on the full proposal.
Rao–Blackwell interpretation.
PoolDPP is the Rao–Blackwellization of the naive sampler that draws strings i.i.d. from the proposal, with relative variance at least a factor lower (Remark A.3).
6 Experiments
Unless otherwise noted, we sample sets of size (Fig. 7 ablates this choice). PoolDPP-Sampling is the mode that Theorem 5.2 covers, while PoolDPP-MAP is its deterministic counterpart to be compared against the deterministic pool rerankers.
We report results primarily for Gemma-2-9B-Instruct, paired with MiniLM-L6 on FineWeb and Ambrosia and Qwen3-Embedding-0.6B on GSM8K (§ 3). We also evaluated Qwen3-8B and Llama-3.1-8B-Instruct on the FineWeb intrinsic experiment: Fig. 8 compares Gemma and Qwen3-8B with both embedders, and the three-model Pareto comparison with MiniLM-L6 is in Fig. 9. The qualitative ordering of methods is the same on every model. The LM-hidden-state embedding variant is discussed in § 3, and App. D sweeps the pool size , subset size , and global temperature , and reports per-stage wall-clock time (5 and 5). Pool construction dominates runtime; PoolDPP-MAP and PoolDPP-Sampling selection cost is negligible compared to LM sampling.
We report PoolDPP in both inference modes (PoolDPP-Sampling and PoolDPP-MAP). We compare against the following baselines:
- Temperature sampling: Ancestral sampling with local annealing at various temperatures.
- Naive DPP: Samples a pool at , then applies DPP selection using the proposal likelihood as the quality score. It isolates the DPP without the global temperature correction.
- Diverse beam search (DivBS) (Vijayakumar et al., 2018): A decoding heuristic that penalizes sibling beams for producing similar tokens.
- Determinantal beam search (DetBS) (Meister et al., 2021b): A beam-search variant that replaces the top- step with a local -DPP MAP query over a string-subsequence-kernel similarity matrix. We report both DivBS and DetBS in App. F; neither matches sampling-based methods on quality–diversity, so we omit them from Fig. 2.
- Set-level baselines: Stochastic beam search (SBS; Kool et al., 2019) and conditional Poisson SBS (CPSBS; Meister et al., 2021a), which sample sets without replacement during decoding, and two rerankers on the same pools and embeddings as PoolDPP: minimum Bayes risk (MBR; Bickel and Doksum, 2015; Kumar and Byrne, 2004) and maximal marginal relevance (MMR; Carbonell and Goldstein, 1998). § G.1 reports them on all three tasks.
- -means reranking (-means): The deterministic pool-reranking baseline. We sample the same pool as for PoolDPP, cluster the embeddings into clusters with -means (Arthur and Vassilvitskii, 2007), and return the highest-likelihood item per cluster. -medoids returns nearly identical subsets, so we report only -means.
- LLM-based selection (LLM-Select): The pool-reranking baseline that replaces the DPP with a language model. We present 40 pool items to Qwen3-8B and ask it to select diverse completions, without access to log-probabilities or log-determinants. Its result is reported in App. D.
Each prompt is evaluated on independently sampled pools (10 on FineWeb, 100 on Ambrosia and GSM8K), and error bars are 95% confidence intervals over pools for every method. We do not run naive DPP on Ambrosia since of the (prompt, pool) pairs have and the results are unreliable. The methods differ only in their remaining sources of randomness: -means and PoolDPP-MAP are deterministic given a pool, so their variability is driven by pool sampling alone, whereas PoolDPP-Sampling additionally redraws its DPP sample on each call.
Figure 2: Intrinsic evaluation (FineWeb). Quality vs. diversity; higher is better. Curves sweep the local sampling temperature (ancestral sampling, -means) or the global temperature (PoolDPP-Sampling, PoolDPP-MAP). PoolDPP-Sampling lies below the -means frontier at intermediate diversity and produces different sets across runs. Error bars are -intervals over pools (Gemma-2-9B, MiniLM-L6, , )
6.1 Experiment 1: Intrinsic Evaluation
We first evaluate whether PoolDPP improves the intrinsic quality–diversity Pareto frontier. We use 50 open-ended prompts from FineWeb (Penedo et al., 2024) and sample completions per prompt. For each prompt , we sample sets and report quality as mean LM log-probability and diversity as the log-determinant of the normalized embedding Gram matrix, averaged over the prompts:
Each curve in Fig. 2 is traced by varying one parameter: for ancestral sampling and -means, we vary the local sampling temperature; for PoolDPP-Sampling and PoolDPP-MAP, we draw the pool at local sampling temperature and vary the global temperature .
Results.
Figure 2 shows that PoolDPP improves the intrinsic quality–diversity frontier. Ancestral sampling traces the expected baseline: increasing local temperature improves diversity but sharply degrades quality. -means provides a strong deterministic pool-reranking baseline. PoolDPP-MAP reaches a higher log-determinant with almost no quality loss, while -means keeps the absolute higher quality at a lower log-determinant. PoolDPP-Sampling does not dominate -means on the intrinsic objective, which is expected: PoolDPP-MAP directly optimizes the determinant objective over the pool, whereas PoolDPP-Sampling samples from the corresponding pool distribution. The sampling mode instead provides stochastic diverse sets; across repeated draws from the same pool, – of selected items differ, while -means and PoolDPP-MAP are deterministic given the pool.
We omit beam-search baselines from the plot because they fall outside the displayed quality–diversity range; full numbers are in App. F, and additional baselines and ablations are in App. D.
6.2 Experiment 2: Ambiguity Resolution (Ambrosia)
We evaluate whether the intrinsic improvements translate to meaningful coverage of semantically distinct outputs. The Ambrosia dataset (Saparina and Lapata, 2024) provides natural language queries with annotated ambiguities—each query admits multiple valid SQL interpretations corresponding to different readings of the ambiguous text.
The Ambrosia dataset contains queries exhibiting scope, attachment, and vagueness ambiguities. Each example includes human-annotated SQL queries representing distinct valid interpretations, along with a database for execution. Since each query has up to 3 annotated interpretations, we sample SQL queries per prompt. For instance, given the query “Show me employees with managers in the NYC office”, two valid interpretations arise:
- Employees whose managers are located in NYC: WHERE manager.office = ’NYC’
- Employees themselves in NYC who have managers: WHERE employee.office = ’NYC’ AND manager_id IS NOT NULL
A successful diverse sampler should generate SQL queries that cover both interpretations, rather than producing minor syntactic variations of just one.
Figure 3: Extrinsic evaluation (Ambrosia, , ). Recall vs. precision; higher is better. Precision counts a query only if its whole execution result matches a golden result. PoolDPP-MAP sweeps the global temperature at local sampling temperature and holds the high-recall end of the frontier above -means; PoolDPP-Sampling lies above -means; ancestral sampling at low local temperature holds the high-precision end. Error bars are -intervals over pools (Gemma-2-9B, MiniLM-L6).
Metrics.
We measure recall (golden-query coverage) as the fraction of annotated golden intents matched by the selected SQL queries, and precision (golden-query accuracy) as the fraction of selected queries whose entire execution result equals a golden query’s result. Both metrics are computed by executing the generated SQL and comparing execution results.
Results.
Figure 3 shows that PoolDPP pushes the recall–precision Pareto frontier above ancestral and the pool-reranking baseline. PoolDPP-MAP at reaches precision at recall , above the best -means precision, and its sweep holds the high-recall end of the frontier. Lowering trades recall for precision. PoolDPP-Sampling lies above -means across the sweep. Ancestral sampling at local temperature holds the high-precision, low-recall end: at high local temperature, ancestral sampling produces malformed SQL that fails to execute, so its recall gains stall, while quality reweighting lets the DPP gain recall without that collapse; with a flat quality term (large ), the DPP loses precision before it gains recall.Appendix H shows example sets.
6.3 Experiment 3: Math Reasoning (GSM8K)
We evaluate whether modeling diversity improves performance on mathematical reasoning, where generating multiple solution paths can increase the probability of finding a correct answer. We use the GSM8K dataset (Cobbe et al., 2021), sampling reasoning chains per problem. We measure diversity as the average log-determinant of the embedding Gram matrix and report two accuracy metrics: pass@, the fraction of problems where at least one generated chain is correct, and per-chain accuracy, the fraction of generated chains that are correct. The two metrics together separate a method that improves coverage by spreading mass across the answer space (high pass@, possibly lower mean) from one that improves average chain quality.
Results.
Figure 4 shows that PoolDPP raises diversity past the plotted ancestral settings and gives up at most pass@. The best ancestral pass@ is , at local sampling temperature and log-det . PoolDPP-Sampling reaches (, log-det ), and PoolDPP-MAP reaches (, log-det ). At equal diversity, neither mode has a higher pass@ than ancestral sampling, so the gain is in diversity, not in coverage.
Figure 4: Math reasoning (GSM8K). Diversity (log-det Gram matrix) vs. pass@. Point labels are the local sampling temperature for ancestral sampling, naive DPP, and -means, and the global temperature for PoolDPP-Sampling and PoolDPP-MAP. PoolDPP-Sampling and PoolDPP-MAP hold local sampling temperature . At its largest , each is more diverse than any plotted ancestral or -means setting (log-det and , against and ). Error bars are -intervals over pools.
Pure-diversity selection () lowers per-chain accuracy ( vs. ), much more than it lowers pass@ ( vs. ), which separates coverage from per-chain quality. -means, has the lowest pass@ of the four methods in Tab. 9, below both PoolDPP modes, suggesting that DPP repulsion generalizes better to downstream metrics than cluster-based selection. See § H.3 for example reasoning chains showing how diversity-targeted selection covers competing interpretations of ambiguous problem statements.
7 Conclusion
We presented a method that natively models diversity in language model outputs using determinantal point processes. On FineWeb, determinantal repulsion alone (naive DPP) already improves on ancestral sampling at matched temperature (log-det vs. at local temperature , with quality vs. ), and sweeping the global temperature traces the rest of the frontier. On FineWeb, the combined approach extends the quality–diversity frontier (through PoolDPP-MAP; PoolDPP-Sampling lies below the -means frontier at intermediate diversity, Fig. 2), and on Ambrosia, the precision–recall frontier; on GSM8K, it extends only the diversity axis, whether or not the Qwen3-Embedding-0.6B embedder is given a task instruction (§ E.1).
Limitations.
PoolDPP selects from a pool, so it cannot return an output the proposal never samples: on Ambrosia, the pools contain at most of the gold interpretations on average, and both PoolDPP modes recover – of their pools’ coverage (§ G.3). What counts as diverse is fixed by the embedder; the paired-edit probe of § E.1 is a cheap check of whether an embedder separates the distinctions a task cares about. The best global temperature differs across tasks and between the two modes, so choosing an operating point requires task labels or a target diversity level. On FineWeb and GSM8K, the pools approximate the global-temperature target poorly away from (ESS below for most prompts, App. D). Finally, the bound of Corollary A.4 is evaluated only on instances built from our pools, so its values are not a bound on the sampler’s KL for our runs (§ 5).
Acknowledgments and Disclosure of Funding
The authors thank Robin Shing Moon Chan, Ben Lipkin, and other members of the GenLM consortium for helpful discussions that improved this work. We also thank the anonymous reviewers for their valuable feedback, including suggesting the -means baseline and asking us to evaluate our earlier KL bound numerically, which led to the sharper bound of Corollary A.4. Manuel was supported by Fundación Barrié and the Max Planck ETH Center for Learning Systems during parts of this work.
AI-use disclosure.
We used agentic coding utilities to edit and draft parts of the text, to write analysis code, to double-check proofs, and to help write the Lean formalization of § A.1. The authors reviewed every change and take full responsibility for this paper’s content.
References
N. Anari, S. Oveis Gharan, and A. Rezaei Monte Carlo Markov chain algorithms for sampling strongly Rayleigh distributions and determinantal point processes. In Proceedings of the Annual Conference on Learning Theory, External Links: Link Cited by: §A.7.
D. Arthur and S. Vassilvitskii -Means++: the advantages of careful seeding. In Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms, External Links: Link Cited by: item 6.
P. J. Bickel and K. A. Doksum Mathematical statistics: basic ideas and selected topics. 2nd edition, Vol. I, Chapman and Hall/CRC. External Links: Link Cited by: item 5.
J. Borcea, P. Brändén, and T. M. Liggett Negative dependence and the geometry of polynomials. Journal of the American Mathematical Society 22 (2). External Links: Link Cited by: §A.7.
J. G. Carbonell and J. Goldstein The use of MMR, diversity-based reranking for reordering documents and producing summaries. In Proceedings of the Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, External Links: Link Cited by: 1st item, item 5.
L. Chen, G. Zhang, and H. Zhou Fast greedy MAP inference for determinantal point process to improve recommendation diversity. In Advances in Neural Information Processing Systems, External Links: Link Cited by: Algorithm 2.
Y. Chen, S. Chakraborty, L. Wolf, I. Paschalidis, and A. Pacchiano Post-training large language models for diverse high-quality responses. In International Conference on Learning Representations, External Links: Link Cited by: footnote 1.
A. Çivril and M. Magdon-Ismail On selecting a maximum volume sub-matrix of a matrix and related problems. Theoretical Computer Science 410 (47–49). External Links: Link Cited by: 2nd item, Algorithm 2.
K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman Training verifiers to solve math word problems. External Links: Link Cited by: §6.3.
R. Cotterell The probabilistic typology of vowel systems. Ph.D. Thesis, Johns Hopkins University. External Links: Link Cited by: footnote 3.
DeepSeek-AI DeepSeek-R1: incentivizing reasoning capability in LLMs via reinforcement learning. External Links: Link Cited by: §2.
B. Gong, W. Chao, K. Grauman, and F. Sha Diverse sequential subset selection for supervised video summarization. In Advances in Neural Information Processing Systems, External Links: Link Cited by: footnote 3.
D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the MATH dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, External Links: Link Cited by: §E.2.
W. Hoeffding A class of statistics with asymptotically normal distribution. The Annals of Mathematical Statistics 19 (3). External Links: Link Cited by: §A.7, §A.7, §A.7, §5.
A. Holtzman, J. Buys, L. Du, M. Forbes, and Y. Choi The curious case of neural text degeneration. In International Conference on Learning Representations, External Links: Link Cited by: §2, footnote 2.
J. H. Huggins An information-theoretic analysis of resampling in sequential Monte Carlo. Master’s Thesis, Massachusetts Institute of Technology. External Links: Link Cited by: §A.3.
D. Ippolito, R. Kriz, J. Sedoc, M. Kustikova, and C. Callison-Burch Comparison of diverse decoding methods from conditional language models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, External Links: Link Cited by: §1.
A. Karan and Y. Du Reasoning with sampling: your base model is smarter than you think. In International Conference on Learning Representations, External Links: Link Cited by: footnote 4.
T. Kazimi, C. Dunlop, and P. Yanardag Diverse video generation with determinantal point process-guided policy optimization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, External Links: Link Cited by: footnote 1.
T. Kempton and S. Burrell Local normalization distortion and the thermodynamic formalism of decoding strategies for large language models. In Findings of the Association for Computational Linguistics: EMNLP, External Links: Link Cited by: §2.
K. Knight Decoding complexity in word-replacement translation models. Computational Linguistics 25 (4). External Links: Link Cited by: footnote 4.
C. Ko, J. Lee, and M. Queyranne An exact algorithm for maximum entropy sampling. Operations Research 43 (4). External Links: Link Cited by: 2nd item.
W. Kool, H. van Hoof, and M. Welling Stochastic beams and where to find them: the Gumbel-top-k trick for sampling sequences without replacement. In Proceedings of the International Conference on Machine Learning, External Links: Link Cited by: 3rd item, §1, item 5.
A. Kulesza and B. Taskar Structured determinantal point processes. In Advances in Neural Information Processing Systems, External Links: Link Cited by: footnote 9.
A. Kulesza and B. Taskar Determinantal point processes for machine learning. Foundations and Trends in Machine Learning 5 (2–3). External Links: Link Cited by: §A.4, §A.4, Appendix C, §1, §3, §3, §3, Algorithm 1, footnote 16, footnote 3.
S. Kumar and W. Byrne Minimum Bayes-risk decoding for statistical machine translation. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics: HLT-NAACL, External Links: Link Cited by: 2nd item, item 5.
H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s verify step by step. In International Conference on Learning Representations, External Links: Link Cited by: §E.2.
O. Macchi The coincidence approach to stochastic point processes. Advances in Applied Probability 7 (1). External Links: Link Cited by: footnote 3.
C. Meister, A. Amini, T. Vieira, and R. Cotterell Conditional Poisson stochastic beams. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, External Links: Link Cited by: 4th item, §1, item 5.
C. Meister, M. Forster, and R. Cotterell Determinantal beam search. In Proceedings of the Annual Meeting of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing, External Links: Link Cited by: Appendix F, Appendix F, 5th item, §1, item 4.
C. Meister, T. Pimentel, L. Malagutti, E. Wilcox, and R. Cotterell On the efficacy of sampling adapters. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, External Links: Link Cited by: footnote 2.
G. Penedo, H. Kydlíček, L. Ben Allal, A. Lozhkov, M. Mitchell, C. Raffel, L. Von Werra, and T. Wolf The FineWeb datasets: decanting the web for the finest text data at scale. In Advances in Neural Information Processing Systems, External Links: Link Cited by: §6.1.
I. Saparina and M. Lapata AMBROSIA: a benchmark for parsing ambiguous questions into database queries. In Advances in Neural Information Processing Systems, External Links: Link Cited by: §1, §6.2.
S. E. Shimony Finding MAPs for belief networks is NP-hard. Artificial Intelligence 68 (2). External Links: Link Cited by: footnote 4.
G. Tevet and J. Berant Evaluating the evaluation of diversity in natural language generation. In Proceedings of the Conference of the European Chapter of the Association for Computational Linguistics, External Links: Link Cited by: §1.
A. K. Vijayakumar, M. Cogswell, R. R. Selvaraju, Q. Sun, S. Lee, D. Crandall, and D. Batra Diverse beam search: decoding diverse solutions from neural sequence models. External Links: Link Cited by: Appendix F, §1, item 3.
M. Wilhelm, A. Ramanathan, A. Bonomo, S. Jain, E. H. Chi, and J. Gillenwater Practical diversified recommendations on YouTube with determinantal point processes. In Proceedings of the ACM International Conference on Information and Knowledge Management, External Links: Link Cited by: footnote 3.
D. P. Woodruff Sketching as a tool for numerical linear algebra. Foundations and Trends in Theoretical Computer Science 10 (1–2). External Links: Link Cited by: footnote 11.
H. Zhang, D. Duckworth, D. Ippolito, and A. Neelakantan Trading off diversity and quality in natural language generation. In Proceedings of the Workshop on Human Evaluation of NLP Systems, External Links: Link Cited by: footnote 2.
Contents of the Appendix
Appendix A Deferred Proofs
This appendix gives the proofs deferred from the main text. We use the main-text notation: is the sketch’s internal randomness (for PoolDPP, the pool), and are the random unnormalized weight and normalizer, is the sketched distribution, and is the marginal output law of Eq. 10. As there, almost surely; footnote 12 reduces the general case to this one.
A.1 Lean formalization
We formalized Theorems 5.1, 5.2 and A.4 and Proposition A.2 in Lean 4 with Mathlib, and the code is available in the repository.
A.2 Redrawing degenerate pools and the constant
Redraw.
If , then on those (the weights are nonnegative), and PoolDPP redraws . For a well-behaved sketch, is positive, since . So redrawing until , which is rejection sampling, ends with probability , and it runs the sketch , where is conditioned on . This sketch has almost surely, it is well-behaved for , which defines the same target , and . Any other rule for these (a fallback: some measurable distribution over sets) has an output law at least times the redraw law pointwise, so compared with , it multiplies by at most and adds at most to . Either way, Theorem 5.1 for gives its bounds for , with under . With embeddings in general position, which holds generically for neural embedders, exactly when the pool contains at least distinct strings of positive quality. On Ambrosia, a prompt whose pool is degenerate takes its pool from the next of our pools that is not.
A pool has exactly when its weighted embeddings span fewer than directions (Proposition A.1). On Ambrosia, of (prompt, pool) pairs at local sampling temperature are degenerate.
The constant .
Although cancels in (Proposition A.1), Theorem 5.1 requires , and is the constant that gives it (Proposition A.2). The in each column of (Eq. 8) normalizes as though all ordered index tuples contributed to Eq. 12, but only the tuples with distinct indices do, since a repeated index repeats a column and gives determinant . Thus, is the probability that uniform draws from are all distinct, and as .
A.3 Proof of Theorem 5.1
See 5.1
The bound is general—it does not require i.i.d. proposals—and reduces to Theorem 2.1.1 of Huggins [2014] when specialized to that case.
Proof.
.
- Define the joint distribution of a pair by first drawing the sketch randomness and then drawing ; throughout, denotes this random outcome and a fixed value. Equivalently, Under , the marginal law of is exactly :
- Define the nonnegative random variable Note that depends only on . Using unbiasedness of , Tonelli, since is unbiased (well-behaved) hence .
- Crucially, for any fixed , given , definitions of and canceling unbiasedness of
- For any with , by definition of conditional expectation, where the numerator uses step 3 and the denominator uses Eq. 18 from step 1.
- Let be the likelihood ratio; it is defined -almost everywhere, since (21e) forces whenever , that is, . Then, and
- By (22) and Jensen’s inequality applied to , Jensen on , tower property depends only on from step 2 Substituting (24) into (23) gives the bound in (11).
- For the KL bound, we use : Combining (25) with (24) gives the first KL inequality in (11); the second follows from .
∎
A.4 Proof of Proposition A.1
Proposition A.1 (PoolDPP-Sampling samples the sketched distribution).
Fix a pool . Then, , so exactly when . If , then the string set returned by PoolDPP-Sampling satisfies .
Proof.
Throughout the proof, the pool is fixed, and all remaining randomness is due to Alg. 1. For the sampling claim, let ; the derivation of Eq. 28 below does not use this. Invoked with the feature matrix , Alg. 1 is an exact sampler for the -DPP whose base set is the set of column indices and whose kernel is [Kulesza and Taskar, 2012, Alg. 3]; it returns an index set with probability (we write for this law)
By the standard identity relating the sum of principal minors of a symmetric matrix to the elementary symmetric polynomial of its eigenvalues [Kulesza and Taskar, 2012, §5.2.2], and because and share the same nonzero eigenvalues, the denominator of Eq. 26 equals .
Now push Eq. 26 forward through the labeling map , which sends the sampled index set to the string set that PoolDPP-Sampling returns. Two observations:
- Collisions carry no mass. If contains indices with , then columns and of are identical (the weight and the embedding depend only on the string), so and . Hence, every index set with positive probability satisfies .
- The index sum is partitioned. Each index set with appears in the inner sum of Eq. 12 for exactly one string set, namely ; index sets with appear in none, and contribute wherever they would appear by observation 1.
Therefore, for any ,
where the numerator uses the definition of in Eq. 12, and the denominator uses
with the third equality by observation 2. This proves the sampling claim and the identity for , which holds for every pool. Since is positive semidefinite, its eigenvalues are nonnegative, so exactly when fewer than of them are positive, that is, when . Note that Eq. 28 also shows that is computable in time from the eigenvalues of (see footnote 16), although PoolDPP needs only whether it is zero. ∎
A.5 Proof of Proposition A.2
Proposition A.2 (PoolDPP is well-behaved).
For any , , and proposal with , the construction in Eq. 12 is unbiased: . If, additionally, , then and PoolDPP is well-behaved.
Proof.
The sketch randomness is with . We verify the two requirements of being well-behaved (Theorem 5.1’s preconditions): unbiasedness and a finite second moment.
- Unbiasedness: for every . If , both sides vanish: by the size indicator, and because any index set with whose image is must repeat a string, which repeats a column of and forces . So fix , a set of distinct strings, whence . Fix also an index set and consider the event . Because , this event holds if and only if the i.i.d. draws at the positions of realize the elements of under some bijection; there are bijections, each occurring with probability , so On this event, takes the same value under every bijection: the columns of indexed by are up to a permutation, which leaves the Gram determinant unchanged, and factoring out of each row and column, Combining 29 and 30 with the cancellation and the determinant decomposition from § 3, This value does not depend on , and there are index sets, so def. of , Eq. 12 31, index sets The counting in 32 is exactly the mismatch described in § 5: the raw index sum recovers only the fraction of the mass that the -normalization of presumes—the collision-free fraction of ordered index tuples—and restores the remainder. Summing 32 over then gives .
- Finite second moment: . Theorem 5.2 derives the finite second moment from , which holds whenever (§ A.7). With , the hypothesis of the proposition, the proof of Eq. 15 also gives the explicit bound , with .
∎
A.6 Proof of Remark A.3
Remark A.3 (Rao–Blackwellization interpretation).
The sketch in Eq. 12 admits a Rao–Blackwell interpretation. Consider the naive importance sampler that draws strings i.i.d. from the proposal, i.e., one draw of a -tuple from the product distribution , and estimates by , which is unbiased by the same cancellation as in Proposition A.2. One way to realize the i.i.d. draws is to draw the pool of i.i.d. samples first, and then read off the strings at pool positions chosen uniformly at random without replacement. The sketched weight is precisely the conditional expectation of given the pool, with emerging as the ratio between the normalization inside and the probability of each ordered position choice. The Rao–Blackwell theorem then guarantees variance reduction: for every . Theorem 5.2 quantifies the gain: the naive sampler is PoolDPP with , where and the relative variance is ; in a pool of size , this term enters with weight . By Eq. 34, the relative variance at pool size is at most , a factor of at least below the naive sampler’s.
Proof.
Let be the pool, and—independently of the pool—draw an ordered tuple of distinct positions, uniformly among the such tuples. Reading off yields strings that are marginally i.i.d. from : the strings at any fixed distinct positions of an i.i.d. pool are i.i.d., and the positions are chosen independently of the pool. This is therefore a valid realization of the draw from used by the naive sampler of Remark A.3.
Fix and take the conditional expectation of the naive weight over the position choice, holding the pool fixed. Grouping the ordered position tuples by their underlying index set — orderings each, all yielding the same summand—we obtain
So the sketched weight is precisely the conditional expectation of the naive weight given the pool, with arising as the ratio between the normalization inside (via the factor in each column of ) and the probability of each ordered position choice. Since conditioning preserves the mean and cannot increase variance (law of total variance), and , as claimed. ∎
A.7 Proof of Theorem 5.2
Throughout, .
Overlap intuition.
For , averages contributions from all pool pairs. The pairs and use independent draws. The pairs and share only the first draw: once it is fixed, their remaining draws are independent, so their covariance is the variance of their common conditional mean. For general , the same calculation groups pairs of subsets by how many positions they share.
Remarks on the statement.
The coefficients are the hypergeometric law of the overlap between two independent uniform -subsets of , with mean . Since is an average of one symmetric function over all size- subsets of pool positions, and the pool is i.i.d., two terms covary only through the positions they share; the pool size enters only through the probability of each overlap. Since is nondecreasing in [Hoeffding, 1948], at every pool size
and the lower bound is attained up to as (§ A.7). At , Eq. 14 is the importance-sampling relative variance . In general, is at most for a constant set by the spectrum of , so (§ A.7). To interpret the numerator divided by , draw a target set and choose of its members uniformly without replacement, in order: the ratio is the probability of obtaining the tuple . Thus, compares this target tuple distribution with independent proposal draws, has mean , and is unchanged by rescaling .
See 5.2
Proof.
We prove the identity 14 first, and then the bound 15.
Proof of the identity 14.
Subset average. Write and . Pulling the factor of each column of out of each determinant in Eq. 12 and using gives
The function is symmetric and vanishes on repeated strings, because a repeated string repeats a column of .
Conditional mean. Fix distinct and let . Averaging over the remaining independent proposal draws cancels their proposal factors, since . Each completed set containing has orderings of its remaining members, so
Both sides are zero on repeated strings. The ordered-tuple interpretation of Eq. 13 gives , hence .
Covariances and overlap counts. If , the contributions are independent and their covariance is zero. Otherwise, condition on their shared draws. The remaining draws are independent, and both conditional means equal by Eq. 36, giving
For each , choose shared positions from and other positions from its complement: there are choices of . Expanding the variance in Eq. 35 and grouping these pairs therefore gives
where and each range over . This is Hoeffding’s variance formula for -statistics [Hoeffding, 1948], with the conditional means given by Eq. 36. This computation assumes , which makes every covariance finite, since is a conditional mean of and so . If , both sides are : since , , and .
Bounds from Hoeffding’s ordering. Hoeffding [1948] shows that is nondecreasing in , so . Since , the mean of the hypergeometric overlap, Eq. 14 gives Eq. 34. As for a fixed instance, and , so the lower bound is attained up to when the are finite.
Proof of the bound 15.
A -DPP is a determinantal measure conditioned on ; determinantal measures are strongly Rayleigh, the property survives conditioning on the number of elements, and strongly Rayleigh measures are negatively associated [Borcea et al., 2009, Anari et al., 2016]. We use negative association only for inclusion events, and the paragraph “Negative correlation without strongly Rayleigh measures” below proves that case directly, with linear algebra and Newton’s inequality. These results are stated for finite base sets, and we extend the inequality below to by truncation. Fix a finite set of strings. Restricted to the first strings of a fixed enumeration of and renormalized, is a -DPP on a finite base set once these strings include and some -set with , so the inequality holds for the restriction. As , the unnormalized inclusion sums , for and for , and the normalizer increase to their values under by monotone convergence. Since , the inequality passes to the limit. Negative association, applied to the increasing indicators on disjoint coordinates and iterated, gives , hence
On tuples with a repeat, and Eq. 39 is trivial. Both sides are nonnegative, so squaring Eq. 39 and taking the expectation over independent draws from gives
and, because has mean , ; every term of Eq. 14 is then finite, so and PoolDPP is well-behaved. For the closed form, expanding the binomials gives , so with ,
using and . Summing, and keeping the of each with , gives , and Theorem 5.1 gives , since . ∎
Finiteness of .
Let and be the eigenpairs of , and the eigenvalues with omitted. Writing the primal eigenvectors of through the dual ones gives the -DPP marginal formula
Because and the are an orthonormal basis, the weights sum to , so . Hence, . Here, (by Cauchy–Binet, ), so is finite whenever , in particular whenever the weights are bounded. The bound is invariant to rescaling , as is. On the infinite base set , Eq. 42 and follow from their finite versions by the truncation argument above: is finite because , the truncated dual kernels increase to , and both sides converge.
Negative correlation without strongly Rayleigh measures.
The proof of Eq. 15 uses negative association only for inclusion events, through , and this inequality has a short self-contained proof that uses only linear algebra and Newton’s inequality. We give it because the cited theorem is more than we need: it rests on the theory of real stable polynomials. By the truncation argument, it suffices to take a finite base set . Write , so that , and let be the sum of over -sets . (i) Normalizers. Let . Expanding in principal minors and using gives . (ii) Two strings. Fix in and let . Rotating every by the same orthogonal matrix leaves unchanged, so we may take with . Let , , , and , where omits . By (i), the sums of over -sets containing neither string, only , only , and both are read off from the coefficients of in for , , , and , respectively. Here, , and the matrix determinant lemma (for , is invertible) gives the four sums as
The inequality reads , that is, . Expanding,
For and , we have , likewise for , and , so by Newton’s inequality. Hence, . (For , .) This step is where the two routes meet. The strongly Rayleigh route gets the two-string inequality from real stability of the generating polynomial in all variables at once. Here, one variable suffices: setting for every gives , whose roots are real, and Newton’s inequality holds for the coefficients of any polynomial with real roots. The rest of is a sum of squares. (iii) Conditioning. For any , the Schur complement gives , where is the kernel of the vectors projected onto the orthogonal complement of . So given , the set is a -DPP of the same form on . (iv) Induction on . We induct for every , finite , and Gram kernel at once, since (iii) changes all three. For , the claim is an equality. For with , both sides of the step below are ; otherwise, , so (iii) applies, and the induction hypothesis for the conditional -DPP of (iii), and then (ii), give . We have not found this argument in the literature.
A.8 Proof of Corollary A.4
Because the target’s inclusion events are negatively correlated, for every (Eq. 40, § A.7), with equality at . Applying this to every term of Eq. 14, with the exact coefficients , gives a sharper upper bound.
Corollary A.4 (Sharper bound).
Under the conditions of Theorem 5.2, if , then
where is the formula of Eq. 14 at , so the sum is an expectation over the hypergeometric overlap . The right-hand side is at most , the bound 15, since the proof of Theorem 5.2 bounds the term at each by .
Proof.
The ratio is the one-point inclusion marginal against the proposal, , computable, on a finite base set, from one eigendecomposition of via Eq. 42. Bounding every term of Eq. 14 by Eq. 40, an equality at , and using yields Corollary A.4:
and, because Eq. 14 is an equality, the relative variance is at least (Eq. 34), which exceeds the term : at a pool size where exceeds a target, the bound exceeds it too. This is a statement about the bound, not about the KL, which can be smaller. Two special cases: at , , Eq. 14 is the classical importance-sampling relative variance, and the bound above is an equality, since only the term remains; for the proposal matching the target’s marginals, , the leading term vanishes identically (), so what the leading term rewards is matching the target’s inclusion marginals, not its quality. ∎
Appendix B Evaluating the Bound on Pool-Built Instances
The bound on instances built from our pools.
We evaluate the bounds on instances built from the pools of § 6 (base set the pooled distinct strings, their empirical frequency, and quality of Eq. 6). On instances small enough to enumerate every pool, the two sides of Eq. 14 agree to 12 significant digits. Each instance has the real embeddings, spectrum, and weight dispersion at the experimental , , and , but its base set is the observed support, the distinct strings in the union of the pools, whose exact proposal mass is on Ambrosia, on GSM8K, and on FineWeb (medians over prompts, from the proposal’s log-probabilities of the drawn strings), so almost every string of the proposal is missing on GSM8K and FineWeb. The columns of Tab. 1 therefore evaluate the bound on the instance at the experimental scale. They are not a bound on the KL of the sampler on the full proposal, and they can understate it: for at local sampling temperature , the weights are largest on low-probability strings, which the instance mostly lacks, and including them would raise . The Monte Carlo estimate draws pools from the instance and evaluates directly; at the sharp FineWeb setting (), its estimate of , which should be , is , so that estimate is unreliable.
| Ambrosia , | GSM8K , | FineWeb , | ||||
|---|---|---|---|---|---|---|
| 1.50 | 0.367 | 3.47 | 941 | 95.8 | 0.0650 | |
| 2.50 | 1.37 | 4.47 | 942 | 96.8 | 1.06 | |
| leading term (exact) | 0.0661 | 0.0162 | 1.42 | 384 | 19.5 | 0.0132 |
| lower bound Eq. 34 | 0.0675 | 0.0165 | 3.47 | 941 | 23.9 | 0.0162 |
| : (MC) | 0.0672 | 0.0167 | 9.67 | (1500) | (295) | 0.0165 |
| (nats) | 0.0651 | 0.0165 | 2.37 | (7.31) | (5.69) | 0.0163 |
| bound 45 (nats) | 0.0698 | 0.0175 | 4.23 | 53.9 | 17.3 | 0.0233 |
| closed form Eq. 15 (nats) | 0.0731 | 0.0194 | 4.91 | 1036 | 24.8 | 0.0835 |
Table 1: Bounds on the KL, in nats, evaluated on the instances built from the pools under the kernel of Eq. 6, at two values of per task (medians over prompts). The instance of each prompt keeps only the strings the pools drew, with proposal mass on Ambrosia, on GSM8K, and on FineWeb (medians over prompts); the values are bounds on the instance, not on the sampler’s KL on the full proposal. The bound 45 is within – of at and – at , excluding the parenthesized column. is a Monte Carlo estimate of the smallest value that the variance argument of Theorem 5.1 can give. Parenthesized values are unreliable: there, the Monte Carlo estimate of , which should be , is on FineWeb and below on GSM8K. The row and the lower-bound row follow exactly from the median of .
| for the lower bound | sufficient | |
|---|---|---|
| Ambrosia , | 129 | 142 |
| Ambrosia , | 31 | 43 |
| GSM8K , | 3300 | 3492 |
| GSM8K , | 895145 | 941451 |
| FineWeb , | 91087 | 95816 |
| FineWeb , | 62 | 149 |
Table 2: Pool size for a bound of nats on the KL (medians over prompts): the smallest pool at which the lower bound of Eq. 34 allows it, and a pool at which 45 reaches it. At , the bound reaches nats with pools of strings on Ambrosia, on FineWeb, and on GSM8K; at the other settings, it needs strings on Ambrosia (), on FineWeb (), and on GSM8K ().
Running GSM8K with larger pools.
The pool size trades accuracy against cost, so we ran GSM8K with pools of . When we extrapolate the instance built from the pools through the -independent , the bound falls below nats at for , while needs ; at , it is and nats:
| bound 45 in nats (GSM8K, ) | ||||
|---|---|---|---|---|
| 4.23 | 0.725 | 0.355 | 0.140 | |
| 53.9 | 37.4 | 30.5 | 21.5 |
Table 3: The bound 45 on the pool-built instance, in nats, as a function of the pool size (medians over prompts; Fig. 5). All columns extrapolate the instance built from the pools through the -independent .
Figure 5: The bound 45 on the pool-built instance vs. pool size on GSM8K (medians over prompts; dots mark the bound at , the pool size of the separate run below; like the curves, they are extrapolated from the pools).
Appendix C Additional Algorithms
For completeness, we include pseudocode for dual sampling.
SampleDual.
SampleDual takes and and returns an exact sample from the -DPP; see Kulesza and Taskar [2012] for proofs of correctness. Phase 1 selects a size- subset of eigenvector indices of with the elementary symmetric polynomials of its eigenvalues. Phase 2 samples items: at each step an item is chosen with probability proportional to how much its embedding lies in the subspace spanned by the selected eigenvectors, and the subspace is then projected away from the chosen item. This projection is what makes similar items compete. Forming costs , the eigendecomposition , Phase 1 is negligible, and Phase 2 costs . The primal eigendecomposition is faster for small pools (§ D.3).
Algorithm 1 SampleDual: Draws exact samples from the -DPP using the dual representation trick; pseudocode adapted from Kulesza and Taskar [2012, Alg. 3]. The base set is the set of column indices of the input feature matrix . In particular, when PoolDPP invokes it with (Eq. 8), the base set is the pool indices , and the returned subset is an index set that PoolDPP maps to its labeled strings (Proposition A.1).
1: Input: Subset size , feature matrix with .
2: Output: Subset .
3:
4: Eigendecompose with eigenvalues and eigenvectors
5: // Phase 1: Select eigenvectors using elementary symmetric polynomials (; footnote 16).
6:
7: for :
8: Let be the eigenvalues s.t.
9:
10: Add to with probability
11: if : break
12: // Phase 2: Sample items from the selected eigenspace.
13: ,
14: while :
15: Sample with
16: ;
17: Pick any vector with
18:
19: Orthonormalize with respect to the inner product
20: return
Algorithm 2 GreedyMAP: greedy approximation to the -DPP MAP, with the multiplicative volume guarantee of Çivril and Magdon-Ismail [2009, Thm. 11]. Schur-complement greedy expressed in the feature-matrix basis (cf. Chen et al., 2018 for the kernel-basis Cholesky form). Maintains, for each pool item, the squared distance of its embedding to the span of the currently chosen items, and at each step picks the item with the largest such distance. Runs in time. As in Alg. 1, the base set is the set of column indices of ; when the algorithm is invoked with , the returned subset is a set of pool indices, which PoolDPP maps to its labeled strings.
1: Input: Subset size , feature matrix with .
2: Output: Subset .
3:
4: for :
5: // squared residual norm
6: while :
7: // largest remaining contribution to
8:
9: // unit residual direction
10: for :
11:
12: // project out chosen direction
13: // shrink residual norm
14: return
Appendix D Experimental Ablations
Unless otherwise stated, all ablations use the FineWeb intrinsic setup from § 6.1; results use one pool and, for stochastic methods, selection runs.
Pool size .
We sweep at and local sampling temperature , with PoolDPP-Sampling at global temperature and PoolDPP-MAP at (Fig. 6). Theorem 5.2 predicts that PoolDPP-Sampling’s approximation error decreases as . Since the exact KL to the population -DPP is intractable, we instead report the sum of the selected set’s mean log-probability and log-determinant, together with mean log-probability. This sum rises with at a decreasing rate and has not saturated at
Figure 6: Pool size ablation (FineWeb, , local sampling temperature , PoolDPP-Sampling at , PoolDPP-MAP at ). Mean log-probability and the full objective, its sum with the log-determinant, rise with at a decreasing rate.
Subset size .
We sweep at and local sampling temperature , with PoolDPP-Sampling at and PoolDPP-MAP at (Fig. 7). At every , PoolDPP-MAP has the highest full-score log-determinant, with quality at or above -means.
Figure 7: Subset size ablation (FineWeb, , local sampling temperature , PoolDPP-Sampling at , PoolDPP-MAP at ). Quality falls with for the pool-based methods, and the log-determinant falls for every method.
Embedder and language model.
We replicate the FineWeb experiment with all four combinations of
Figure 8 shows the same ordering in all four configurations. PoolDPP-MAP dominates -means at local sampling temperatures , , and and every ancestral point, and it reaches a higher log-determinant, while -means at keeps higher quality at a lower log-determinant. -means dominates most PoolDPP-Sampling settings. Thus, the DPP construction is not tied to a single LM or embedding geometry.
Figure 8: LM/embedding robustness (FineWeb, , ). Pareto frontiers across two LMs and two embedders. The qualitative ordering is stable across all four configurations.
Generalization across language models.
Beyond the 22 LM/embedding ablation, we additionally validate the main FineWeb intrinsic experiment on Llama-3.1-8B-Instruct. Figure 9 reports the quality–diversity Pareto frontier on all three language models with a fixed embedding (MiniLM-L6, ), following the same sweep protocol as Fig. 2: ancestral and -means sweep the local sampling temperature, while PoolDPP-Sampling and PoolDPP-MAP draw the pool at local sampling temperature and sweep the global temperature . On every language model, PoolDPP-MAP dominates -means at higher local sampling temperatures, while -means keeps higher quality at a lower log-determinant. This indicates that the construction is not tied to a particular model family or post-training recipe.
Figure 9: Three-model robustness (FineWeb, MiniLM-L6, ). Quality vs. diversity for Gemma-2-9B-Instruct (as in the main experiments), Qwen3-8B, and Llama-3.1-8B-Instruct; curves follow the same sweep protocol as Fig. 2 (ancestral and -means sweep local sampling temperature; PoolDPP-Sampling and PoolDPP-MAP draw the pool at local sampling temperature and sweep the global temperature ). PoolDPP-MAP (red) dominates -means (purple) at higher local sampling temperatures.
Global temperature .
The Pareto curves in Fig. 2 sweep . Smaller sharpens the quality score toward high-likelihood strings, while larger flattens it and gives the geometric diversity term more influence. The best differs across tasks and between the two modes: PoolDPP-MAP explicitly optimizes the determinant objective and typically does best with a flatter kernel than PoolDPP-Sampling, to avoid collapsing toward likelihood-dominated selections.
Weight diagnostics.
The ESS of PoolDPP-Sampling’s weights measures how well the pool approximates the globally annealed target. Away from at local sampling temperature , where , the per-prompt ESS is below for most prompts on FineWeb ( to of at every plotted ) and on GSM8K at local sampling temperature ( to of at every plotted except ), and a - to -fold larger pool does not fix this at (§ D.1). On Ambrosia (), no prompt is below . Here the pool is a poor approximation of the target, yet the quality and diversity metrics still vary smoothly with , so remains a usable knob for the quality–diversity frontier. A high ESS can be achieved by changing the target: the ESS is high whenever the target stays close to the proposal, for example when the proposal is added into the target.
LLM-based selection.
We compare against LLM-Select, the pool-reranking baseline that replaces the DPP with a language model (§ 6): we present pool items, drawn at local sampling temperature and evenly spaced in the pool’s ranking by log-probability, to Qwen3-8B and ask it to select diverse, high-quality completions. Over pools, -means on the same items dominates the LLM on both axes: quality and log-determinant , against and . We omit LLM-Select from Fig. 2 for legibility.
Efficiency.
Pool construction dominates runtime; selection is a small fraction of total wall-clock time. Table 5 reports per-stage wall-clock time at the main configuration (, , Gemma-2-9B-Instruct on a single A100), and Tab. 5 reports selection time as varies. PoolDPP-MAP is the cheapest selection method in our implementation: the greedy update uses sequential updates against the pool feature matrix or dual kernel, and its measured cost is substantially below that of -means across the tested pool sizes.
Table 4: Wall-clock per stage (, , A100). Selection is small relative to LM sampling.
| Stage | Time |
|---|---|
| LM sampling (vLLM, async) | 20 s |
| Embedding (MiniLM-L6) | 200 ms |
| -means selection | 273 ms |
| PoolDPP-Sampling selection | 139 ms |
| PoolDPP-MAP selection | 13 ms |
Table 5: Selection-time scaling with pool size (). PoolDPP-MAP has the smallest measured selection cost across the tested pool sizes.
| PoolDPP-MAP | -means | PoolDPP-Sampling | |
|---|---|---|---|
| 25 | 1 ms | 152 ms | 8 ms |
| 100 | 4 ms | 120 ms | 138 ms |
| 400 | 17 ms | 336 ms | 154 ms |
D.1 Weight Diagnostics
Table 6 reports, per task and plotted , the effective sample size of the weights of PoolDPP-Sampling, , and, for PoolDPP-MAP on Ambrosia, of the quality that takes the place of . With self-normalized weights , where a string drawn several times contributes one term per draw, . At local sampling temperature , at , so . At the other , ESS is below for most prompts on FineWeb and GSM8K at the run pool size. The larger pool raises it at but not above: at on FineWeb and at and on GSM8K, all prompts stay below . On Ambrosia, only PoolDPP-MAP at and has prompts below at the run pool size ( and of ).
Table 6: Weight diagnostics per task and temperature. ESS is a mean over prompts; ESS med. [IQR] is the median and interquartile range over prompts, and counts prompts with ESS below , at the run pool size and at a larger pool . Gemma-2-9B-Instruct throughout; prompts for FineWeb and GSM8K, for Ambrosia. Ambrosia at local sampling temperature is PoolDPP-MAP. : one pool of each task. : two independent pools of (GSM8K) or (FineWeb) draws per prompt, merged, and on Ambrosia the union of the pools of .
| run pool size | larger pool | ||||
|---|---|---|---|---|---|
| ESS | ESS med. [IQR] | ESS med. [IQR] | |||
| GSM8K, , , , local sampling temperature , PoolDPP-Sampling | |||||
| 0.018 | 1.4 [1.0, 2.3] | 50 | 5.8 [2.9, 9.5] | 38 | |
| 0.078 | 6.7 [3.4, 9.8] | 38 | 99.4 [63.6, 203] | 0 | |
| 0.304 | 30.0 [21.5, 39.1] | 2 | 673 [494, 906] | 1 | |
| 0.113 | 1.4 [1.0, 11.9] | 36 | 1.0 [1.0, 1.0] | 50 | |
| 0.010 | 1.0 [1.0, 1.0] | 50 | 1.0 [1.0, 1.0] | 50 | |
| FineWeb, , , , local sampling temperature , PoolDPP-Sampling | |||||
| 0.007 | 1.1 [1.0, 1.5] | 48 | 4.8 [1.6, 11.7] | 34 | |
| 0.014 | 1.9 [1.0, 2.9] | 47 | 9.4 [3.7, 21.1] | 26 | |
| 0.034 | 3.8 [1.5, 11.2] | 36 | 32.2 [9.4, 87.4] | 13 | |
| 1.000 | 400 [400, 400] | 0 | 8000 [8000, 8000] | 0 | |
| 0.006 | 1.8 [1.1, 2.9] | 49 | 1.7 [1.2, 3.5] | 50 | |
| Ambrosia, , , , local sampling temperature , PoolDPP-Sampling | |||||
| 0.191 | 31.6 [20.0, 47.7] | 0 | 3079 [2078, 4686] | 0 | |
| 0.267 | 46.1 [35.0, 64.4] | 0 | 4505 [3501, 6346] | 0 | |
| 0.409 | 78.7 [62.7, 97.8] | 0 | 7728 [6470, 9461] | 0 | |
| 0.676 | 136 [122, 149] | 0 | 13454 [12377, 14777] | 0 | |
| 1.000 | 200 [200, 200] | 0 | 20000 [20000, 20000] | 0 | |
| Ambrosia, , , , local sampling temperature , PoolDPP-MAP | |||||
| 0.048 | 5.4 [3.6, 11.4] | 18 | 481 [268, 1091] | 0 | |
| 0.131 | 20.9 [13.7, 33.1] | 1 | 1991 [1229, 3395] | 0 | |
| 0.277 | 51.4 [36.0, 70.9] | 0 | 5070 [3547, 6931] | 0 | |
| 0.327 | 63.9 [44.6, 83.2] | 0 | 6204 [4473, 8149] | 0 |
D.2 Intrinsic Evaluation with Held-Out and Embedder-Free Diversity Metrics
Both axes of Fig. 2 are terms of the objective that PoolDPP-MAP maximizes, so its position there is partly a consequence of the objective. We re-score the FineWeb selections on one of the FineWeb pools with diversity metrics outside the kernel: the log-det and the mean pairwise cosine distance under a held-out embedder (Qwen3-Embedding-0.6B, whereas the kernel uses MiniLM-L6), and two lexical metrics that use no embedder, Distinct- (distinct whitespace-token -grams divided by all -grams in the set) and the mean pairwise Jaccard similarity of the strings’ token sets (lower is more diverse). Quality is the mean of § 6.1. Across all settings, the Spearman rank correlation with the kernel log-det is for the held-out log-det, for the held-out cosine distance, , , and for Distinct-, -, and -, and for the Jaccard similarity (Tab. 7).
A setting is on the Pareto frontier if no other setting is at least as good on quality and diversity and better on one of them. Under the kernel log-det and both held-out embedding metrics, the frontier is the five PoolDPP-MAP settings and -means at local temperatures and ; under the four lexical metrics it also contains settings of the other methods (Tab. 7). No setting of another method dominates any PoolDPP-MAP setting under any of the seven metrics, so the high-diversity end of Fig. 2 does not depend on the MiniLM-L6 geometry; the quality axis remains the LM log-probability that also enters the objective.
Table 7: FineWeb selections under non-kernel diversity metrics (Gemma-2-9B-Instruct, MiniLM-L6 kernel, , prompts, one of the pools of Fig. 2, ). Quality: mean per string. Kernel: log-det of the MiniLM-L6 Gram matrix, the axis of Fig. 2. Held-out: log-det and mean pairwise cosine distance under Qwen3-Embedding-0.6B. D-1, D-2: Distinct-, Distinct-. Jaccard: mean pairwise Jaccard similarity of token sets (lower is more diverse). Means over selected sets: runs per prompt ( sets) for every method except PoolDPP-MAP (deterministic, sets). Rows are a subset of the settings (ancestral sampling, -means, and naive DPP at local sampling temperatures ; PoolDPP-Sampling and PoolDPP-MAP at local temperature and the five values of of Fig. 2); is computed over all . Frontier: number of settings on the quality–diversity Pareto frontier, with the number of PoolDPP-MAP settings among them in parentheses. No uncertainty estimates.
| Held-out | ||||||||
|---|---|---|---|---|---|---|---|---|
| Method | Setting | Quality | Kernel | log-det | cos. dist. | D-1 | D-2 | Jaccard |
| Ancestral | local | |||||||
| Ancestral | local | |||||||
| -means | local | |||||||
| -means | local | |||||||
| -means | local | |||||||
| PoolDPP-Sampling | ||||||||
| PoolDPP-Sampling | ||||||||
| PoolDPP-MAP | ||||||||
| PoolDPP-MAP | ||||||||
| PoolDPP-MAP | ||||||||
| PoolDPP-MAP | ||||||||
| PoolDPP-MAP | ||||||||
| with kernel log-det ( settings) | ||||||||
| Frontier size (PoolDPP-MAP settings) | () | () | () | () | () | () |
D.3 Dual versus Primal Cost
Table 8 measures where the dual kernel of § 3 becomes faster than the primal kernel in our implementation. We time exact -DPP sampling with on synthetic pools of random unit-norm embeddings in , on one CPU thread. The dual time covers forming , its eigendecomposition, and one draw of Alg. 1; the primal time covers forming the kernel and its eigendecomposition only, so it is a lower bound on the cost of a primal sampler.
In every reported experiment, PoolDPP-Sampling uses the dual sampler of Alg. 1, and a pool with is redrawn (footnote 12), so every prompt contributes. PoolDPP-MAP runs the greedy algorithm (Alg. 2) on the primal kernel over the unique pool strings, whose number is at most . Its measured cost, which includes forming that kernel, is ms at , and grows to s () and s () at .
The dual therefore pays off for pools of a few thousand strings or more, such as the pools of the pool-size experiment (App. B). At the pool sizes of the main experiments, either representation costs at most s per prompt, which is small next to LM sampling (Tab. 5).
Table 8: Wall-clock time for exact -DPP sampling (, milliseconds, one CPU thread). Synthetic pools: embeddings, each a Gaussian vector in with a shared mean direction, normalized to unit norm, and quality weights from synthetic log-probabilities. Dual: form , eigendecompose it, and draw one sample with Alg. 1. Primal eig.: form the kernel and eigendecompose it (the sampling phase is not timed). Primal MAP: form the kernel and run the greedy algorithm (Alg. 2) as implemented in our code. Median of repetitions for and a single repetition for ; no uncertainty estimates. Last column: primal eig. divided by dual; values above favor the dual.
| Dual | Primal eig. | Primal MAP | Primal eig. / dual | ||
|---|---|---|---|---|---|
Appendix E GSM8K Extended Results
Table 9: GSM8K per-chain accuracy vs. pass@ with . All rows use 100 pools at local sampling temperature with the plain Qwen3-Embedding-0.6B kernel (no task instruction; § E.1); the two PoolDPP rows are at each mode’s highest pass@ in Fig. 4. Values are means over 50 questions and 100 pools.
| Method | Per-chain acc. | Pass@ |
|---|---|---|
| Ancestral | 0.682 | 0.925 |
| -means | 0.560 | 0.905 |
| PoolDPP-Sampling () | 0.565 | 0.915 |
| PoolDPP-MAP () | 0.502 | 0.915 |
E.1 Embedding Geometry and Solution Diversity on GSM8K
Embedder probe.
We test whether an embedder separates correctness-critical changes from surface changes with paired edits whose labels are verified: on SQL by executing both queries, on GSM8K by the final answer and the stated arithmetic.
Each probe item is a pool string (Gemma-2-9B-Instruct, local sampling temperature , one pool) with one critical edit and one surface edit . On GSM8K, the critical edit flips the final answer token, or replaces the operator of the last correct arithmetic step (e.g., ) and shifts the stated final answer accordingly. The surface edit renames list markers, substitutes connectives (“So” “Therefore”), and normalizes whitespace, and it is kept only if the final answer and the stated arithmetic are unchanged. On Ambrosia, the critical edit changes one predicate (e.g., AND OR, = !=), and the surface edit lowercases keywords and normalizes whitespace. An item is kept only if the critical edit changes the query’s execution result and the surface edit does not.
With , the separation AUC (area under the ROC curve) is for independently drawn items , with ties counted as . A value of means that the embedder cannot tell the two kinds of edit apart.
The instructed variant embeds the unchanged string in the Qwen3-Embedding query format with a one-line instruction. For GSM8K it reads “Given a step-by-step solution to a math word problem, represent it by its final numeric answer and the sequence of arithmetic operations it performs, ignoring wording, phrasing, and formatting.”; for SQL, it asks to represent the query by the result set it returns.
Under the baseline GSM8K kernel (Qwen3-Embedding-0.6B), surface edits move the embedding further than correctness-critical edits (Tab. 10): the AUC is for answer flips and for operator flips. MiniLM-L6 has lower AUCs on both GSM8K edit types. On SQL, MiniLM-L6 reaches AUC , but its distance for the SQL surface edits is zero up to floating-point error, consistent with its uncased tokenizer, so this value follows from the choice of surface edits. The instruction raises the Qwen3-Embedding-0.6B AUC to (answer flips), (operator flips), and (SQL). A one-hot encoding of the extracted final answer separates both GSM8K edit types by construction.
Table 10: Embedder probe. Separation AUC , where is the cosine distance between an edited string and its original; means the embedder does not distinguish the two edit types, and values below mean surface edits move the embedding further. Probe strings come from one Gemma-2-9B-Instruct pool at local sampling temperature (, , and items per column); all embedders score the same items. Brackets: 95% percentile bootstrap CIs over probe items ( resamples; resampling ignores clustering of items by question).
| Embedder | GSM8K answer flip | GSM8K operator flip | SQL semantic edit |
|---|---|---|---|
| MiniLM-L6 (Ambrosia kernel) | |||
| Qwen3-Emb.-0.6B (GSM8K kernel) | |||
| Qwen3-Emb.-0.6B, instructed |
Instructed kernel downstream.
Table 11 runs the same selection on the same pools (local sampling temperature , , questions) under the plain and the instructed kernel; Fig. 10 shows the frontier under the instructed kernel. The instruction raises the number of distinct final answers that PoolDPP-MAP selects ( per set at , at ), but does not raise pass@: no PoolDPP setting under either kernel exceeds ancestral sampling at the matched local temperature, and the differences at are negative (question-paired , § G.2).
Appending a one-hot encoding of each chain’s extracted final answer to the embedding (weight ) raised PoolDPP-MAP at to a pass@ of , against for ancestral sampling and a pool ceiling of (question-paired ). This kernel encodes the evaluation’s answer key, so it is a domain-specific reference, not a general method.
Figure 10: Math reasoning (GSM8K) with the instructed kernel. Diversity (log-det Gram matrix) vs. pass@, on the pools of Tab. 11. Ancestral, naive DPP, and -means sweep the local sampling temperature. PoolDPP-Sampling and PoolDPP-MAP hold local sampling temperature and sweep the global temperature . Error bars are -intervals over pools. The instruction also defines the diversity axis, so the horizontal axis is not comparable with Fig. 4.
Table 11: GSM8K under the plain and the instructed kernel (Gemma-2-9B-Instruct, local sampling temperature , , , pools, questions). Pass@10 a 95% -interval over pools; per-chain accuracy as in § 6.3; answers is the number of distinct canonicalized final answers per set. : pass@10 minus ancestral, paired over questions (positive favors the row), with the two-sided sign-flip -value ( flips). Log-det is measured in each row’s own kernel and is not comparable across the two blocks.
| Method | pass@10 | per-chain acc. | Answers | log-det | pass@10 | |
|---|---|---|---|---|---|---|
| Ancestral | ||||||
| Plain kernel (Qwen3-Embedding-0.6B) | ||||||
| PoolDPP-Sampling, | 0.12 | |||||
| PoolDPP-Sampling, | 0.03 | |||||
| PoolDPP-MAP, | 0.028 | |||||
| PoolDPP-MAP, | ||||||
| PoolDPP-MAP, | 0.016 | |||||
| Instructed kernel (same embedder, task instruction) | ||||||
| PoolDPP-Sampling, | 0.19 | |||||
| PoolDPP-Sampling, | 0.029 | |||||
| PoolDPP-MAP, | 0.0029 | |||||
| PoolDPP-MAP, | ||||||
| PoolDPP-MAP, | 0.016 |
Role of the determinant on GSM8K.
To test whether the selected chains differ in reasoning or only in wording, we split each selected set into its pairs and label every pair in which both chains state a final answer in the #### format. A pair is different answer if the canonicalized answers differ (decided by the parser). Every same-answer pair is labeled same answer, different derivation or surface only by Gemini 3.6 Flash (temperature ), which is asked whether the two chains use different intermediate quantities or strategy, or the same underlying arithmetic.
On a stratified validation sample of pairs, the judge agreed with the parser on of different-answer pairs. For same-answer pairs, it agreed with a deterministic rule (different multiset of stated arithmetic facts) on of pairs that the rule calls surface only, but on only of that the rule calls different derivations (it labeled the other surface only). We therefore report the judge’s labels for same-answer pairs.
The selections use the instructed kernel on one pool. Table 12 shows that the different-answer share rises from (ancestral) to (PoolDPP-MAP), and the surface-only share falls from to ( points). The same-answer, different-derivation share is – for every method: the determinant adds chains with different final answers, and it does not add more distinct derivations of the same answer.
Table 12: Pair decomposition of selected GSM8K sets (instructed Qwen3-Embedding-0.6B kernel, Gemma-2-9B-Instruct, , one pool, one selection run, questions). Shares of the labeled pairs; each row sums to . Pairs counts pairs in which both chains have a #### final answer, out of at most ; the excluded pairs contain a chain without such an answer. Agreement: fraction of same-answer pairs on which the judge’s label equals that of the deterministic arithmetic-multiset rule. Ancestral and -means use local sampling temperature ; PoolDPP-Sampling and PoolDPP-MAP use local sampling temperature and , so the rows are not at matched local temperature. No uncertainty estimates.
| Method | Different answer | Same answer, different derivation | Surface only | Pairs | Agreement |
|---|---|---|---|---|---|
| Ancestral | |||||
| -means | |||||
| PoolDPP-Sampling, | |||||
| PoolDPP-MAP, |
E.2 Saturation Check: MATH-500
On GSM8K, ancestral pass@ is of the pool ceiling, the fraction of pools that contain a correct chain ( vs. at local sampling temperature ), which leaves a selector little to gain. MATH-500 [Hendrycks et al., 2021, Lightman et al., 2024] has more headroom. We ran the same pipeline on of its problems ( per difficulty level), with Gemma-2-9B-Instruct, pools of at each local sampling temperature , , and , Qwen3-Embedding-0.6B with the GSM8K instruction of § E.1 reworded to “math problem”, “final answer”, and “mathematical operations”, and answers checked with the math-verify package. At local sampling temperature , ancestral pass@ is , of the pool ceiling of , and a pool holds distinct answers on average.
PoolDPP-MAP reaches the highest pass@ (Fig. 11): at , points above ancestral sampling at local sampling temperature (question-paired , § G.2), at log-det against . The gain comes from levels 3 to 5 (, , and points), against and points at levels 1 and 2. -means reaches at local sampling temperature (log-det ), and the test does not resolve its -point gap to PoolDPP-MAP (). PoolDPP-Sampling improves on ancestral sampling only at ( points, ). Above its pass@ falls below that of ancestral sampling, down to at ( points, , log-det ).
Figure 11: MATH-500 saturation check (Gemma-2-9B-Instruct, problems, , pools of , instructed Qwen3-Embedding-0.6B kernel). Diversity (log-det of the Gram matrix) vs. pass@, with bootstrap intervals over pools. Ancestral sampling and -means vary the local sampling temperature . PoolDPP varies the global temperature on the pools drawn at . Point labels give the varied temperature.
Appendix F Beam-Search Baselines
Diverse beam search [Vijayakumar et al., 2018] and determinantal beam search [Meister et al., 2021b] are both designed to fix vanilla beam search’s tendency to return near-identical hypotheses. Both succeed at that narrow goal, but neither matches sampling-based methods on the quality–diversity trade-off: DivBS has lower semantic and token diversity, and DetBS reaches sampling-level diversity only by collapsing quality. Table 13 reports both alongside ancestral sampling and representative PoolDPP operating points; the sampling rows are the lowest-temperature points we ran.
Table 13: Beam-search baselines vs. PoolDPP (intrinsic, FineWeb). : number of beam groups of DivBS. Quality is the mean per-sequence ; semantic diversity is , where collects the unit-norm sentence embeddings as columns; token diversity is Distinct-2, the fraction of unique whitespace bigrams across the outputs. Means over prompts (the sampling rows: one pool, sets for ancestral sampling and PoolDPP-Sampling, for PoolDPP-MAP), Gemma-2-9B-Instruct with MiniLM-L6 embeddings; higher is better on all three axes.
| Method | Quality | Sem. div. | Tok. div. Distinct-2 |
|---|---|---|---|
| DivBS () | |||
| DetBS () | |||
| Ancestral () | |||
| PoolDPP-Sampling () | |||
| PoolDPP-MAP () |
DivBS keeps quality high (, comparable to greedy beam search) but has the lowest semantic and token diversity of all rows. DetBS reaches sampling-level diversity only by collapsing quality to , against to for the sampling rows. PoolDPP-MAP at matches DetBS on both diversity metrics with quality instead of , and it has higher diversity than DivBS at lower quality ( against ). PoolDPP-Sampling at likewise gives up nats of quality relative to DivBS for higher diversity.
Configurations.
For DivBS, we use num_beams=10, num_beam_groups=10, diversity_penalty=1.0, and do_sample=False, via the transformers-community/group-beam-search HuggingFace custom_generate module. For DetBS, we use a port of Meister et al. [2021b] with the string-subsequence kernel of subsequence length and gap decay , beam_size=10, sub_beam_size=10, and decoding temperature . The interaction weight scales the kernel against the candidate scores, and is beam search. The DetBS rows of Tab. 14 use a cosine Gram matrix over hashed -gram counts instead (§ G.1).
We swept and on the first prompts. The resulting Pareto frontier sits strictly below ancestral sampling at every diversity level. The row, run on all prompts, is the operating point on that frontier closest to the sampling rows on diversity.
The code, the sweep, and the outputs are in baselines/detbs_ssk and analysis/beam_baselines_intrinsic.json of the repository.
Why DetBS falls short.
DetBS’s string-subsequence kernel measures bigram overlap, not semantic similarity, so it promotes a different kind of diversity than the embedding-based metric rewards.
Appendix G Set-Level Baselines, Significance Tests, and Pool Coverage
G.1 Set-Level Baselines
We compare PoolDPP with five set-level baselines. MMR and MBR rerank the same pools, embeddings, and as PoolDPP; SBS, CPSBS, and DetBS are decoding-time methods that produce a size- set directly from the language model.
- MMR [Carbonell and Goldstein, 1998] starts from the highest-likelihood pool item and greedily adds the item maximizing , where is min–max normalized within the pool. We sweep ; is quality top-.
- MBR [Kumar and Byrne, 2004] with a cosine-similarity utility returns the pool items with the highest mean cosine similarity to the pool. Its only setting is the pool’s local sampling temperature.
- Stochastic beam search (SBS) [Kool et al., 2019] draws distinct sequences without replacement from the locally annealed model with the Gumbel-top- trick. We sweep the local sampling temperature .
- Conditional Poisson SBS (CPSBS) [Meister et al., 2021a] replaces the per-step top- of beam search with a conditional Poisson sample of size over the candidate extensions, with inclusion probabilities set by the annealed prefix probabilities. We sweep and draw each per-step sample from the highest-weight candidates, which changes the per-step distribution by at most in total variation.
- Determinantal beam search (DetBS) [Meister et al., 2021b] replaces the per-step top- with a greedy -DPP MAP step on the candidate scores plus times a similarity Gram matrix; is beam search. We use a cosine Gram matrix over hashed unigram and bigram counts, the gapless limit of the string-subsequence kernel, whose cost is quadratic in sequence length. We sweep .
SBS and CPSBS use independent runs per prompt and temperature; DetBS is deterministic. Our SBS, CPSBS, and DetBS implementations reproduce exact enumeration on small enumerable models, and the released code includes these tests.
Table 14 reports each method at its best setting over its own sweep: the highest pass@10 on GSM8K (ties broken by per-chain accuracy), the highest recall on Ambrosia, and on FineWeb the most diverse setting whose quality is at least that of -means at local sampling temperature ( nats). MBR has a single FineWeb point, below this quality, and is shown there.
On Ambrosia, PoolDPP-MAP has the highest recall (), followed by MMR (), PoolDPP-Sampling (), and -means (). The best decoding-time recall is SBS at , against for ancestral sampling; SBS, CPSBS, DetBS, and MBR reach higher precision (– against for PoolDPP-MAP).
On GSM8K, SBS at has the highest pass@10 () and distinct final answers per set, against – and – for MMR and both PoolDPP modes; CPSBS and DetBS reach at most . MBR has the highest per-chain accuracy () and, among the reranking methods, the fewest distinct answers () and the lowest log-determinant (), because it selects the chains that agree with the pool consensus.
On FineWeb, among settings above the quality threshold, PoolDPP-MAP has the highest log-determinant () and MMR the next (, at nats higher quality), so neither dominates the other; SBS at matches ancestral sampling at the same temperature in quality ( vs. ), and CPSBS and DetBS stay below .
Table 14: Set-level baselines, each at its best setting over its own sweep (selection rule in § G.1). Gemma-2-9B-Instruct throughout. GSM8K: , questions; pool-based methods use pools of at local sampling temperature ; answers/set counts distinct numerically canonicalized final answers; log-det uses the Qwen3-Embedding-0.6B Gram matrix. Ambrosia: , questions, pools of ; precision requires the whole execution result to match a golden result. FineWeb: , prompts, pools of ( the pools of Fig. 2); quality is mean in nats and log-det uses MiniLM-L6. is the local sampling temperature of the pool or, for SBS and CPSBS, of the decoder, and the global temperature; is the MMR trade-off and the DetBS interaction weight. is a 95% confidence interval over independent decoding runs (SBS, CPSBS) or, for the pool-based rows, a 95% -interval of the per-pool means over the (GSM8K, Ambrosia), or (FineWeb) pools.
| Method | Setting | ||||
|---|---|---|---|---|---|
| GSM8K | |||||
| pass@10 | per-chain acc. | answers/set | log-det | ||
| Ancestral | 0.925 | 0.682 | 1.54 | ||
| -means | 0.905 | 0.560 | 1.52 | ||
| MMR | 0.912 | 0.506 | 1.68 | ||
| MBR | – | 0.913 | 0.773 | 1.26 | |
| SBS | 0.938 | 0.670 | 2.91 | ||
| CPSBS | 0.816 | 0.732 | 1.28 | ||
| DetBS | 0.820 | 0.708 | 1.30 | ||
| PoolDPP-Sampling | 0.915 | 0.565 | 1.70 | ||
| PoolDPP-MAP | 0.915 | 0.502 | 1.75 | ||
| Ambrosia | |||||
| recall | precision | ||||
| Ancestral | 0.233 | 0.394 | |||
| -means | 0.240 | 0.364 | |||
| MMR | , | 0.246 | 0.331 | ||
| MBR | 0.191 | 0.395 | |||
| SBS | 0.235 | 0.392 | |||
| CPSBS | 0.207 | 0.416 | |||
| DetBS | 0.227 | 0.417 | |||
| PoolDPP-Sampling | , | 0.244 | 0.375 | ||
| PoolDPP-MAP | , | 0.251 | 0.322 | ||
| FineWeb | |||||
| quality | log-det | ||||
| Ancestral | |||||
| -means | |||||
| MMR | , | ||||
| MBR | |||||
| SBS | |||||
| CPSBS | |||||
| DetBS | |||||
| PoolDPP-Sampling | , | ||||
| PoolDPP-MAP | , |
G.2 Paired Significance Tests
Every method is evaluated on the same pools and questions, so we test each comparison with a paired sign-flip permutation test instead of comparing the marginal confidence intervals of Figs. 3 and 4. For methods and , we compute one paired difference per unit and its mean over units. The null distribution flips the sign of each unit’s difference independently with probability ( random sign vectors), and is the two-sided fraction of draws whose absolute mean is at least the observed one, so cannot resolve below . Positive differences favor , the PoolDPP variant.
We use two pairing units. Question-paired tests average each method over pools and runs, giving one value per question ( on GSM8K, on Ambrosia), and test whether the difference holds over questions. Pool-paired tests average over questions, giving one value per pool (), and test reproducibility over pool draws for a fixed question set. We treat the question-paired test as primary. The reported interval is a percentile bootstrap over questions ( resamples) of the mean paired difference, which is the same under both pairings.
Table 15 lists every comparison. On GSM8K, with either kernel, no tested PoolDPP setting improves pass@10 over ancestral sampling at the matched local sampling temperature , and PoolDPP-MAP at does not significantly exceed -means under the question-paired test.
On Ambrosia, PoolDPP-Sampling at and PoolDPP-MAP at have higher recall and lower precision than ancestral sampling at its highest-recall local temperature (recall and ). Against -means at local temperature , the question-paired test does not resolve the recall difference of either mode, while the pool-paired test resolves both.
Table 15: Paired differences, first method minus second; positive values favor the first. Set metric: pass@10 (GSM8K) or recall (Ambrosia). Item metric: per-chain accuracy (GSM8K) or precision (Ambrosia). CI: bootstrap interval over questions of the set-metric difference. and : two-sided sign-flip permutation tests with random sign vectors, paired over questions and over pools; marks the resolution limit. GSM8K: Gemma-2-9B-Instruct, , questions, pools of ; every method draws its pool at local sampling temperature . Ambrosia: , questions, pools of .
| set metric | item metric | |||||
|---|---|---|---|---|---|---|
| Comparison | 95% CI | |||||
| GSM8K, plain Qwen3-Embedding-0.6B kernel | ||||||
| PoolDPP-Sampling vs. ancestral | 0.12 | |||||
| PoolDPP-Sampling vs. ancestral | 0.03 | 0.0025 | ||||
| PoolDPP-MAP vs. ancestral | 0.028 | |||||
| PoolDPP-MAP vs. -means | 0.22 | |||||
| PoolDPP-MAP vs. ancestral | 0.016 | 0.11 | ||||
| PoolDPP-MAP vs. -means | 0.12 | |||||
| GSM8K, instructed Qwen3-Embedding-0.6B kernel | ||||||
| PoolDPP-Sampling vs. ancestral | 0.19 | |||||
| PoolDPP-Sampling vs. ancestral | 0.029 | 0.015 | ||||
| PoolDPP-MAP vs. ancestral | 0.0029 | |||||
| PoolDPP-MAP vs. -means | 0.27 | |||||
| PoolDPP-MAP vs. ancestral | 0.016 | 0.35 | ||||
| PoolDPP-MAP vs. -means | 0.25 | 0.0019 | ||||
| Ambrosia | ||||||
| PoolDPP-Sampling vs. ancestral | 0.0012 | |||||
| PoolDPP-Sampling vs. -means | 0.54 | 0.21 | ||||
| PoolDPP-Sampling vs. ancestral | 0.019 | 0.14 | ||||
| PoolDPP-MAP vs. ancestral | 0.015 | |||||
| PoolDPP-MAP vs. -means | 0.12 |
G.3 Ambrosia Pool Ceiling
Every pool-based method selects from the pool, so its recall is bounded by the fraction of gold interpretations that the pool contains. We call this fraction the pool coverage of a (question, pool) cell: a pool string covers a gold interpretation if executing it on the question’s database returns exactly the gold query’s result, the strict rule of § 6.2. The questions have ( questions) or ( questions) gold interpretations.
Table 16a gives the coverage by local sampling temperature. It is highest at (), against at local temperature , and it still increases from to at every local temperature, so it has not saturated at the pool size we use. Relative to this ceiling (Tab. 16b), all four methods recover between (ancestral sampling) and (PoolDPP-Sampling) of their pools’ coverage at their settings in Tab. 14. Both baselines recover the largest fraction at the coldest pool, where coverage is lowest.
Table 16: Ambrosia pool ceiling (Gemma-2-9B-Instruct, MiniLM-L6, , pools, questions). (a) Pool coverage: fraction of a question’s gold interpretations matched by execution by at least one pool string, averaged over questions and pools; for , averaged over random subsamples of the pool. None and All: fraction of (question, pool) cells with coverage and at . 95% bootstrap CI half-widths over pools are at most for every coverage entry. (b) Each method at its setting in Tab. 14. Recall: fraction of gold interpretations matched by the selected queries. Fraction of coverage: recall divided by the question’s mean coverage over the pools at the same local temperature, averaged over questions with nonzero coverage, then over runs and pools. : half-width of the 95% bootstrap CI over the pools ( resamples).
(a)
| Local temperature | None | All | |||
|---|---|---|---|---|---|
(b)
| Method | Recall | Pool coverage | Fraction of coverage | |
|---|---|---|---|---|
| Ancestral | ||||
| -means | ||||
| PoolDPP-Sampling, | ||||
| PoolDPP-MAP, |
G.4 Sequence Length and the Quality Term
The quality term uses the raw sequence probability without length normalization, so decreases with length: over the unique strings of one pool, the Pearson correlation between character length and is negative on every task and close to on Ambrosia at local sampling temperature (Tab. 17). Within a prompt, the coupling comes from a tail of long, low-quality strings: on Ambrosia at local temperature , the longest fifth of each prompt’s pool averages characters and of it executes, against of the shortest fifth.
Restricting each prompt’s pool to its shorter half removes most of the coupling (the Spearman correlation in Tab. 17), and still ranks strings by quality there: the AUC changes little at local temperature and falls from to for golden Ambrosia queries at , because part of the full-pool separation is the separation of the long, non-executing tail.
A length-only selection does not reproduce the FineWeb frontier. On pools drawn at local sampling temperature , splitting each prompt’s pool into equal-width length bins and keeping the most probable string in each nonempty bin reaches quality and log-det (one pool), and PoolDPP-MAP at , on the same pool, is better on both axes, with quality and log-det .
Table 17: Length and log-probability (Gemma-2-9B-Instruct). : Pearson correlation between character length and over all unique strings of one pool, pooled across prompts ( GSM8K strings; and Ambrosia strings at local temperatures and ). Remaining columns: statistics over the unique strings of each prompt’s pool, averaged over prompts and the pools. Quality by length quintile: fraction of strings with the quality label in each within-prompt length quintile, shortest (Q1) to longest (Q5); Chars: mean characters in Q1 and Q5; : Spearman correlation between and length; AUC: for a string with the label and without it. Arrows: full pool shorter half (length at most the prompt’s median). and do not depend on the label and are shown once per task and local temperature. Single computation; no uncertainty estimates.
| Task, local temp. | Label | Quality by length quintile (Q1 Q5) | Chars Q1 / Q5 | AUC | ||
|---|---|---|---|---|---|---|
| GSM8K, | correct | / | ||||
| Ambrosia, | executes | / | ||||
| golden | ||||||
| Ambrosia, | executes | / | ||||
| golden |
Generation length.
Our pools are drawn with a cap on generation length: at most new tokens on FineWeb, on Ambrosia, and tokens of prompt and output together on GSM8K. A string that reaches the cap without generating eos is kept and scored by its prefix probability. This is exactly PoolDPP for the capped language model , which agrees with on strings that end within the cap and assigns each capped string its prefix probability. is a language model, so § 5 applies to it as stated; the target is the -DPP with quality .
Appendix H Qualitative Examples
We provide sample outputs comparing ancestral sampling and PoolDPP. These are representative examples; aggregate statistics are in the main text.
H.1 Open-Ended Generation (FineWeb)
Example 1: Rolling Stones.
Prompt: “The Rolling Stones in Concert has since been released solely by ABKCO Records. The band would remain incensed with Klein for decades for that act. Klein died in 2009.”
Ancestral sampling produces continuations focused on the Klein controversy:
- “Following Klein’s death, the Stones published their memoir ‘Life’ in 2010…”
- “‘There was a lot of bad blood,’ Scorsese told TheWrap…”
- “The Rolling Stones have a tumultuous relationship with their music catalog…”
PoolDPP covers distinct topics:
- “The Rolling Stones have played many legendary concerts at Madison Square Garden…” (concert venues)
- “The Rolling Stones haven’t sought to reclaim the rights to the Monterey Pop concert footage…” (specific concert)
- “The live album ‘Get Yer Ya-Ya’s Out!’ also remains controversial…” (specific album)
- “Early in their career, the band signed with Decca Records…” (different era)
Example 2: Creative writing.
Prompt: “It is a field that is both fascinating, misunderstood, and in some cases resented. Arguably the best division in the Foundation.”
Ancestral sampling shows variance in quality, including off-topic drift:
- “Xenosanthropologists dedicate their lives to the study of alien life…”
- “The Division of Genetics holds the secrets to life itself…”
- “If you mean a good deal on a product, you would tell someone that you got a steal. Knives, particularly Damascus steel knives…” (off-topic drift)
PoolDPP produces diverse yet coherent continuations, each picking a distinct “division”:
- “Black Ops—the shadows, the rumors, the whispered commands…” (covert operations)
- “I speak of course of the Screws… tasked with maintaining order…” (social control)
- “I’m talking about Ethics. What good is power without a moral compass?” (philosophy)
- “The Genesis Project is about ensuring survival for millions of years…” (long-term planning)
PoolDPP produces structured diversity (meaningful variations) rather than noisy variance (random drift including failure modes like the knife tangent).
H.2 SQL Generation (Ambrosia)
Example 1: Airport terminals.
Query: “Which terminals are in airports?”
This query is ambiguous between universal quantification (terminals in all airports) and existential quantification (terminals in any airport).
Ancestral sampling produces only the universal interpretation:
- SELECT terminal_id FROM Airports_Terminals GROUP BY terminal_id HAVING COUNT(DISTINCT airport_id) = (SELECT COUNT(*) FROM Airports);
- SELECT DISTINCT t.id FROM Terminals t JOIN Airports_Terminals at ON t.id = at.terminal_id GROUP BY t.id HAVING COUNT(DISTINCT at.airport_id) = (SELECT COUNT(*) FROM Airports);
- (All 3 samples use variants of the GROUP BY ... HAVING COUNT pattern)
PoolDPP captures both interpretations:
- SELECT terminal_id FROM Airports_Terminals GROUP BY terminal_id HAVING COUNT(DISTINCT airport_id) = (SELECT COUNT(*) FROM Airports); (universal: in all airports)
- SELECT DISTINCT terminal_id FROM Airports_Terminals; (existential: in any airport)
Example 2: Fashion designs.
For the query “Which terminals are in airports?”, ancestral sampling produces three variants of the universal interpretation (terminals in all airports): ... GROUP BY terminal_id HAVING COUNT(DISTINCT airport_id) = (SELECT COUNT(*) FROM Airports). PoolDPP captures both the universal and the existential reading (terminals in any airport): SELECT DISTINCT terminal_id FROM Airports_Terminals.
Query: “What are the fashion designs?”
Ancestral sampling repeats the same interpretation:
- SELECT design_name FROM Fashion_Design; (just names)
- SELECT design_name, color_name, fabric_type FROM Fashion_Design JOIN Color_Palette ON ... JOIN Fabric_Choice ON ...; (enriched)
- SELECT design_name FROM Fashion_Design; (duplicate)
PoolDPP covers three distinct interpretations:
- SELECT design_name FROM Fashion_Design; (projection: just names)
- SELECT * FROM Fashion_Design; (raw table dump)
- SELECT design_name, color_name, fabric_type FROM Fashion_Design fd JOIN Color_Palette cp ON ... JOIN Fabric_Choice fc ON ...; (human-interpretable descriptions via joins)
These are three valid but conceptually different answers to “what are the designs?”; PoolDPP finds all three, while ancestral sampling produces a duplicate.
H.3 Math Reasoning (GSM8K)
Example 1: Freelance blogger.
Prompt: “Meredith is a freelance blogger who writes about health topics… A blog article takes an average of 4 hours to research and write about. Last week, she wrote 5 articles on Monday and 2/5 times more articles on Tuesday than on Monday. On Wednesday, she wrote twice the number of articles she wrote on Tuesday. Calculate the total number of hours she spent writing articles in the three days.”
The phrase “2/5 times more” is linguistically ambiguous.
Ancestral sampling predominantly produces one interpretation:
- “Tuesday: 5 + (2/5)5 = 7 articles Wednesday: 14 Total: 104 hours”
- (7 of 10 samples follow this pattern with minor formatting differences)
PoolDPP finds both interpretations:
- “Tuesday: 5 + 2 = 7 articles 104 hours” (additive: “2/5 more” = add 2/5 of Monday)
- “Tuesday: (2/5)5 = 2 articles 44 hours” (multiplicative: “2/5 times” = 2/5 as many)
Even when the model’s mode favors one interpretation, the DPP enhances coverage of both readings, which is valuable for pass@.
Example 2: Dog walking.
Prompt: “John takes care of 10 dogs. Each dog takes .5 hours a day to walk and take care of their business. How many hours a week does he spend taking care of dogs?”
Both methods arrive at the correct answer (35 hours), but PoolDPP produces a much wider range of formatting and presentation styles.
Ancestral sampling produces uniform structure:
- All 10 samples follow the same two-step pattern with minor wording variations
- Consistent formatting: numbered steps, same answer format
PoolDPP produces format outliers alongside standard solutions:
- Standard prose explanation
- Bullet points with inline math: “ hours/day”
- Heavy LaTeX display math formatting
- Russian-language output (Cyrillic “Answer: 35.0”)
- Placeholder template with no actual computation
- Non-standard answer formats: , 35
Some outliers (placeholder templates, wrong language) are failure modes, but this diversity can aid pass@ when downstream systems parse outputs flexibly. It illustrates how the DPP explores the full space of model behaviors rather than collapsing to the mode.
Appendix I Notation and Terminology
Conventions.
Strings are bold italic (, ); vectors and matrices are bold upright (, , , ); a set of strings is . Where a random string or set must be told apart from a fixed one of the same name, the random one is capital and bold italic ( vs. , vs. ), which also keeps it apart from matrices; elsewhere, the law under which a quantity is drawn (, ) says what is random. Each symbol names one object; a baseline’s hyperparameters carry the baseline’s name (, ). Each accent has one meaning: a hat marks a quantity computed from a pool or by Monte Carlo (, , , , , , ); a bar marks a law averaged over the pool (); a tilde marks the naive sampler of Remark A.3 and its estimate (). Expectations, variances, and probabilities carry their random variable or law as a subscript (, , ), and sums carry their domain; generic probability facts stated for arbitrary random variables are the exception. Index letters are fixed: is a token position, and are pool positions, indexes the members of a -tuple, and index eigenvectors or coordinates of , and indexes repeated sets. is the language model and the proposal. is the global temperature in , and is the local sampling temperature, at which a pool is drawn.
Notation.
| symbol | meaning | defined |
|---|---|---|
| Strings and language models | ||
| , , eos | alphabet, strings over it, end-of-string marker | § 2 |
| , , | string, its prefix before position , its length | § 2 |
| , | language model, prefix probability | § 2 |
| , | prompt, language model conditioned on it | § 2 |
| locally annealed language model at temperature | Eq. 2 | |
| globally annealed language model at temperature | Eq. 3 | |
| global temperature, | Eq. 6 | |
| local sampling temperature, at which a pool is drawn | Eq. 1 | |
| Determinantal point processes | ||
| base set | § 3 | |
| quality | Eq. 4 | |
| , | unit-norm embedding, its dimension | § 3 |
| , | kernel, its submatrix indexed by | Eq. 4 |
| embeddings of as columns | § 3 | |
| , | set, its size | Eq. 5 |
| , | target -DPP, its normalizer | Eq. 5 |
| , | feature matrix, dual kernel | Eq. 7 |
| elementary symmetric polynomial | App. C, footnote 16 | |
| Pool-based inference | ||
| proposal | § 4 | |
| (absolute continuity) | footnote 10 | |
| , , | pool size, pool, its th string | § 4 |
| importance weight | Eq. 8 | |
| , | pool feature matrix, pool dual kernel | 8 and 9 |
| pool kernel | Eq. 9 | |
| , | pool indices, a set of pool indices | Eq. 12 |
| law of the index set drawn by Alg. 1 | § A.4 | |
| , | best set in the pool, greedy set | § 4 |
| Analysis | ||
| , | unnormalized target, its domain | § 5 |
| , | law of the sketch’s randomness, its draw (the pool) | § 5 |
| , , | sketched weight, normalizer, distribution | § 5 |
| marginal output law | Eq. 10 | |
| § A.2 | ||
| , | collision constant, falling factorial | Eq. 12 |
| , | inclusion ratio, overlap | Eq. 13 |
| probability that two index sets overlap in positions | Eq. 14 | |
| second moment of | Eq. 13 | |
| closed-form bound | Theorem 5.2 | |
| constant, set by the spectrum of , with | § 5 | |
| law of a uniformly chosen member of a target set | § 5 | |
| , | and Kullback–Leibler divergences | Theorem 5.1 |
| joint law of the pool and the output set | § A.3 | |
| weight estimate of the naive sampler | Remark A.3 | |
| Monte Carlo estimate of | App. B | |
| Experiments | ||
| number of sets per prompt | Eq. 16 | |
| larger pool size | Tab. 6 | |
| self-normalized weight of the th draw | § D.1 | |
| normalized log-probability in MMR | § G.1 |
Terminology.
| term | meaning | defined |
|---|---|---|
| ancestral sampling | sampling one token at a time from the conditionals | § 2 |
| local, global annealing | tempering each conditional, or the whole string | 1 and 3 |
| local sampling temperature | , the temperature at which a pool is drawn | Eq. 1 |
| global temperature | in | § 3 |
| embedding, embedder | unit-norm vector of a string, the model that computes it | § 3 |
| quality-scaled embedding | , a column of | Eq. 4 |
| DPP, -DPP | distribution over sets , of size | § 3 |
| dual kernel | kernel with the same nonzero spectrum | Eq. 7 |
| pool, proposal | i.i.d. strings drawn from | § 4 |
| pool -DPP | -DPP over the pool indices with kernel | Eq. 9 |
| importance weight | Eq. 8 | |
| PoolDPP | -DPP inference on the importance-weighted pool | § 4 |
| MAP | maximum a posteriori: the most probable set | § 4 |
| PoolDPP-Sampling, PoolDPP-MAP | exact sample, greedy MAP set from the pool -DPP | § 4 |
| sketch, sketched distribution | random weight function and its normalization | § 5 |
| marginal output law | law of one run’s output set | Eq. 10 |
| well-behaved | unbiased weights with finite second moment | § 5 |
| fallback | output rule when | § A.2 |
| inclusion ratio | target tuple law over proposal tuple law | Eq. 13 |
| relative variance | § 5 | |
| -statistic | average of a symmetric function over subsets | § 5 |
| pool-built instance | base set of pooled strings, proposal their frequencies | App. B |
| quality, diversity (intrinsic) | mean log-probability, log-det of the Gram matrix | Eq. 16 |
| recall, precision | gold interpretations covered, queries matching a gold result | § 6.2 |
| pass@, per-chain accuracy | any chain correct, fraction of chains correct | § 6.3 |
| naive DPP, -means, LLM-Select | pool baselines | § 6 |
| DivBS, DetBS, SBS, | decoding and reranking baselines | § 6 |
| CPSBS, MBR, MMR | ||
| ESS | effective sample size of the weights | § D.1 |
| pool coverage | fraction of gold interpretations in a pool | § G.3 |
| plain, instructed kernel | embedder without, with a task instruction | § E.1 |
NeurIPS Paper Checklist
- Claims
- Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
- Answer: [Yes]
- Justification: The abstract and § 1 state three claims, each substantiated in the body: the pool-based DPP sampler with two inference modes (§ 4), a finite-sample KL bound with an exact variance identity (Theorem 5.2), and quality–diversity frontier gains on FineWeb (from PoolDPP-MAP) and Ambrosia, together with higher diversity at about the same pass@ on GSM8K, with and without an instructed embedder (§§ 6 and E.1).
- Guidelines: • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper. • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers. • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings. • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
- Limitations
- Question: Does the paper discuss the limitations of the work performed by the authors?
- Answer: [Yes]
- Justification: The Conclusion collects the limitations in one paragraph, and each is discussed where it arises. The LM-hidden-state embedding variant does not consistently improve over off-the-shelf embedders (§ 3). On GSM8K, neither the baseline nor the instructed embedder lets either PoolDPP mode improve pass@ at matched temperature (§§ 6.3 and E.1). The weights of PoolDPP-Sampling have an effective sample size below for most prompts on FineWeb and GSM8K away from (App. D). The bound is evaluated only on instances built from our pools, where it is vacuous on GSM8K at the pool size we run (§ 5). Achievable diversity is bounded by the pool’s coverage, and the MAP mode is a greedy approximation to the pool’s mode, not the population’s. The dominant cost is pool construction: drawing sequences from the LM is much more expensive than the subsequent selection (Tab. 5). The paper’s scope is set at the sequence level, to ground a principled diversity objective with finite-sample guarantees; we leave further extensions to future work.
- Guidelines: • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper. • The authors are encouraged to create a separate “Limitations” section in their paper. • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be. • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated. • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon. • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size. • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness. • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
- Theory assumptions and proofs
- Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
- Answer: [Yes]
- Justification: Theorem 5.1, Proposition A.2, Theorem 5.2, and Corollary A.4 state their assumptions inline; complete proofs are in App. A, and machine-checked Lean proofs are described in § A.1.
- Guidelines: • The answer [N/A] means that the paper does not include theoretical results. • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced. • All assumptions should be clearly stated or referenced in the statement of any theorems. • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition. • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material. • Theorems and Lemmas that the proof relies upon should be properly referenced.
- Experimental result reproducibility
- Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
- Answer: [Yes]
- Justification: Pseudocode for both inference modes is provided in 1 and 2; all language models, embedding models, and datasets used are publicly available; pool sizes, subset sizes, temperature settings, and per-method parameter sweeps are reported in §§ 6 and D, and the code and the commands that reproduce each table and figure are released (next item).
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not. • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable. • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed. • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
- Open access to data and code
- Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
- Answer: [Yes]
- Justification: All datasets used (FineWeb, Ambrosia, GSM8K) and all language and embedding models (Gemma-2-9B-Instruct, Qwen3-8B, Llama-3.1-8B-Instruct, MiniLM-L6, Qwen3-Embedding-0.6B) are publicly available under their original licenses. Our implementation of PoolDPP, the experiment scripts, the outputs quoted in the paper, and the Lean proofs are released at https://github.com/rycolab/pool-dpp, whose README lists the command that produces each table and figure; pseudocode for the algorithms is also provided in 1 and 2.
- Guidelines: • The answer [N/A] means that paper does not include experiments requiring code. • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details. • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark). • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details. • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc. • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why. • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable). • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
- Experimental setting/details
- Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
- Answer: [Yes]
- Justification: § 6 specifies the language models, embedding models, datasets, subset size , pool size , and metric definitions; the per-method parameter sweep traced by each Pareto curve is described inline (§§ 6.1, 6.2 and 6.3); ablations over , , the embedding/LM choice, and the global temperature are in App. D.
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them. • The full details can be provided either with the code, in appendix, or as supplemental material.
- Experiment statistical significance
- Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
- Answer: [Yes]
- Justification: All Pareto figures display 95% -intervals over independently sampled pools ( on FineWeb, on Ambrosia and GSM8K); the pool count, interval type, and quantity are stated in each caption and in § 6. Comparisons that support claims use paired sign-flip permutation tests over questions and over pools (§ G.2).
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper. • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions). • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.) • The assumptions made should be given (e.g., Normally distributed errors). • It should be clear whether the error bar is the standard deviation or the standard error of the mean. • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified. • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates). • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
- Experiments compute resources
- Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
- Answer: [Yes]
- Justification: Tab. 5 reports per-stage wall-clock time for and on a single A100 GPU, and Tab. 5 reports selection-time scaling with the pool size. Pool construction via vLLM dominates total runtime; the DPP selection step itself is two orders of magnitude cheaper.
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage. • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute. • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).
- Code of ethics
- Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
- Answer: [Yes]
- Justification: The research uses publicly released language models and public-domain or appropriately licensed datasets, and it involves no human subjects. We have reviewed the NeurIPS Code of Ethics and find no conflict.
- Guidelines: • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics. • If the authors answer [No] , they should explain the special circumstances that require a deviation from the Code of Ethics. • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
- Broader impacts
- Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
- Answer: [N/A]
- Justification: This is a foundational, technical paper on inference-time sampling from pretrained language models. It has no direct path to a specific application or deployment, and the impacts would be inherited from whatever downstream system uses it. The paper does not introduce new societal risks beyond those of the underlying base models.
- Guidelines: • The answer [N/A] means that there is no societal impact of the work performed. • If the authors answer [N/A] or [No] , they should explain why their work has no societal impact or why the paper does not address societal impact. • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations. • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster. • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology. • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
- Safeguards
- Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
- Answer: [N/A]
- Justification: The paper introduces an inference-time sampling algorithm that operates on top of publicly released language models. It does not release a new pretrained model, scraped dataset, or generative system that would carry distinct misuse risks beyond those of the underlying base models.
- Guidelines: • The answer [N/A] means that the paper poses no such risks. • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters. • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images. • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
- Licenses for existing assets
- Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
- Answer: [Yes]
- Justification: All language models (Gemma-2-9B-Instruct, Qwen3-8B, Llama-3.1-8B-Instruct), embedding models (MiniLM-L6, Qwen3-Embedding-0.6B), datasets (FineWeb, Ambrosia, GSM8K), and baseline implementations (DivBS, DetBS) are cited with their original references in § 6. We use each asset under its original license.
- Guidelines: • The answer [N/A] means that the paper does not use existing assets. • The authors should cite the original paper that produced the code package or dataset. • The authors should state which version of the asset is used and, if possible, include a URL. • The name of the license (e.g., CC-BY 4.0) should be included for each asset. • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided. • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided. • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.
- New assets
- Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
- Answer: [Yes]
- Justification: The new assets are our code, the outputs quoted in the paper, and the Lean formalization of the theorems, released at https://github.com/rycolab/pool-dpp. The README documents installation and the command for each experiment, and the lean/ and baselines/detbs_ssk/ folders have their own READMEs. The paper releases no new dataset or pretrained model; pseudocode and analysis for the proposed sampler are in 1 and 2 and § 5.
- Guidelines: • The answer [N/A] means that the paper does not release new assets. • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc. • The paper should discuss whether and how consent was obtained from people whose asset is used. • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
- Crowdsourcing and research with human subjects
- Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
- Answer: [N/A]
- Justification: The paper does not involve crowdsourcing or research with human subjects.
- Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper. • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
- Institutional review board (IRB) approvals or equivalent for research with human subjects
- Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
- Answer: [N/A]
- Justification: The paper does not involve research with human subjects.
- Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper. • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution. • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
- Declaration of LLM usage
- Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
- Answer: [Yes]
- Justification: Two analyses use LLMs as components: Qwen3-8B is the LLM-based selection baseline (App. D), and Gemini 3.6 Flash is the judge that labels pairs of GSM8K chains as differing in answer, derivation, or surface only (§ E.1); both are described with their settings and validated in the appendix. Our use of AI agents to edit and draft text, to double-check proofs, and to help write the Lean formalization is described in the AI-use disclosure at the end of the Conclusion. Pretrained language models are otherwise the object of study, not a component of the method.
- Guidelines: • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components. • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.