Manuscript Offprint
arXiv:2611.23154Learning Stratified Policies for Inference-Time Objectives
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Inference-time scaling improves the performance of large language models by sampling multiple responses and evaluating their collective utility. However, many existing approaches obtain these samples by repeatedly sampling from a single policy. In this work, we study if the sample budget at inference time can instead be allocated across a population of policies. We introduce stratified policies, where each of learned policies contributes one response to a -sample inference-time objective. We realize this policy population using separate LoRA adapters on a shared language model backbone and optimize it for pass@. We theoretically motivate the approach by analyzing the linear setting; a population of LoRAs can achieve zero best-of- approximation error in settings where every single LoRA has strictly positive prediction error. Empirically, we demonstrate that stratified policies consistently improve pass@ over a single-policy baseline across multiple reasoning tasks. Overall, our results highlight how distributing samples across complementary policies can be a more effective use of sample budget than repeated i.i.d. sampling from a single policy at inference time.
1 Introduction
Inference-time computation is an effective way to improve the performance of large language models. Instead of relying on a single response, inference-time procedures sample multiple responses and evaluate their collective utility, such as best-of- (Huang et al., 2025), reranking (Cobbe et al., 2021), or majority voting (Wang et al., 2023). Inspired by this, recent works explicitly optimize language models for the inference-time procedure used at deployment (Tang et al., 2025; Chow et al., 2025; Walder and Karkhanis, 2025). This is different from standard post-training methods that optimize the quality of individual responses (Ouyang et al., 2022; Rafailov et al., 2023).
These approaches share a common sampling scheme: all responses are sampled independently from a single policy. Although this is natural, it imposes a particular allocation of the inference-time budget: every response must come from the same distribution. Interestingly, even when this distribution assigns probability mass to several useful solution modes, i.i.d. sampling can repeatedly sample from the same modes and miss others. For example, consider a policy whose response distribution places all its probability mass on five distinct solution modes. From the AM-GM inequality, five i.i.d. samples can cover all five modes with probability at most . This upper bound is achieved when the policy assigns equal mass to each mode. Therefore, even a perfectly uniform policy may fail to realize this diversity in a finite set of responses.
In this work, we formulate inference-time optimization through a population of policies: the sample budget at inference time is treated as an allocation across a policy population. More concretely, given a budget of responses, we jointly learn policies and sample exactly one response from each. We refer to this as stratified sampling, inspired by classical stratified sampling, which partitions a population into strata and samples separately from each stratum (Cochran, 1977). Unlike classical stratification, the learned policies need not partition the response space or have disjoint support. The standard single-policy formulation is recovered when all policies in the population are constrained to be identical. When this constraint is relaxed, the population can “hedge its bets” by learning policies that specialize in ways that improve the utility of the full set of responses. For pass@, this can encourage policy complementarity without any explicit diversity objective (see Fig. 1).
We realize this policy population efficiently using a shared (frozen) language model backbone with a separate low-rank adaptation (LoRA) (Hu et al., 2022) adapter for each policy. We focus on pass@ as the utility function, where the objective is to maximize the probability that at least one response from the set is correct. Building on policy-gradient optimization for inference-time objectives, we train the population using Group Relative Policy Optimization (GRPO) (Shao et al., 2024).
Theoretically, we show that this population structure has an expressivity advantage in the linear setting. Specifically, when the target requires applying different linear maps over different regions of the input space, a LoRA population can assign a separate adapter to each region, but a single linear map must approximate all regions simultaneously. With sufficient rank, the policy population can achieve zero best-of- approximation error, whereas every single linear map incurs strictly positive error whenever the maps in different regions differ.
We evaluate stratified policies on a broad range of reasoning tasks spanning valid arithmetic expression construction, logical deduction, constraint satisfaction, and mathematical word problems. Across all tasks, stratification improves pass@ over a single-policy baseline under the same inference-time response budget. On Sudoku, specifically, the pass@ score increases from to . Furthermore, when the rank of the single LoRA adapter is increased to match the population, performance remains essentially the same, at , which suggests that the improvement is not explained by additional parameters alone. The learned population of policies also exhibits complementary behavior: for instance, on Sudoku, only of examples are solved by all five adapters, whereas are solved by exactly one. Together, these results demonstrate that population size provides an orthogonal scaling axis for inference-time objectives: instead of adding parameters to a single policy and repeatedly sampling from it, parameters can be distributed across policies that contribute complementary responses.
Figure 1: An illustrative example of stratification. With a fixed budget of five responses, i.i.d. sampling from a single policy may repeatedly sample the same solution modes (left). For five modes, the probability of covering all modes is at most , which is attained when the policy assigns equal probability to each mode. In contrast, stratified sampling allocates one response to each policy in a learned population, which allows specialized policies to produce complementary responses (right); under perfect specialization, all five modes are covered with probability one.
To summarize, our work makes the following contributions:
I. We introduce stratified policies for inference-time objectives, which replace i.i.d. samples from a single policy with one sample from each of learned policies (Section 4.1). For pass@, the objective recovers the binary-reward special case of Grinsztajn et al. (2023). II. We provide a practical realization of this population using multiple LoRA adapters on a shared language model backbone, and train the resulting population using a group-mean pass@ advantage within GRPO (Sections 4.2 and 4.3). III. Theoretically, we prove that in a linear setting, stratification is strictly more expressive: with sufficient rank, a LoRA population can achieve zero best-of- approximation error while any single linear map incurs strictly positive error (Section 4.4). IV. We empirically demonstrate consistent pass@ improvements across multiple reasoning tasks, along with the emergence of complementary specialization (Section 5).
We emphasize that our goal is not to design a state-of-the-art method for pass@. Instead, we show that allocating the sample budget across a learned population of policies, rather than repeatedly sampling a single policy, is a complementary axis to single-policy pass@ training.
Learning Complementary Populations. Stochastic multiple choice learning trains deep ensembles through ‘winner-take-gradient’ updates (Lee et al., 2016). Letzelter et al. (2026) extend this to language modeling by training multiple LoRA adapters with a supervised winner-takes-all loss. In reinforcement learning, Grinsztajn et al. (2023) optimize the expected best reward from a population of policies, each parameterized by a shared encoder and separate decoders. Building on this, Hottung et al. (2025) use a single (shared) decoder and condition it on strategy vectors. Our formulation considers stratification of general -sample inference-time objectives; its pass@ instantiation recovers the binary-reward special case of the population objective in Grinsztajn et al. (2023).
Structured Diversity in Language Models. Shah et al. (2026) learn distinguishable skills through a mutual-information objective and sample one response per skill at inference time. Chen et al. (2026b) jointly optimize quality and semantic diversity using determinantal point processes over response embeddings. Chen et al. (2026a) reward responses based on their contribution to the group’s semantic coverage, while Li et al. (2025) jointly reward response quality and semantic diversity. Several other methods explicitly encourage diversity through regularization, uniqueness rewards, diversity-aware preference optimization, or mode-conditioned reinforcement learning (Yao et al., 2025; Hu et al., 2026; Wan et al., 2026; Lanchantin et al., 2025; Yuan et al., 2026). These methods explicitly encourage diversity; we instead jointly train separate LoRA policies using the inference-time objective, without an explicit diversity signal.
Diversity at Inference Time. Diversity can also be encouraged during inference through diverse beam search, sampling without replacement, or prompt variation (Vijayakumar et al., 2018; Kool et al., 2019; Wang et al., 2026). Geuter and Kornhardt (2025) route test-time queries across existing language models. Wang et al. (2025) aggregate responses through successive layers of language models. These methods modify inference-time generation, allocation, or aggregation, whereas we jointly train policies for their collective utility, with one response sampled from each policy.
3 Problem Setup
Language Models. We view a language model as a policy , parameterized by , that generates a response conditioned on a prompt . Let denote the prompt distribution and the reward function used to evaluate the response. A standard post-training objective maximizes the expected reward of a single response:
Inference-Time Objectives. At inference time, performance may be determined by the collective utility of a set of responses, instead of the quality of individual responses. Let denote the utility of responses under a given inference-time procedure. This is captured by the following training objective:
where the responses are sampled independently conditioned on .
For instance, the utility function for best-of- is When the reward is binary ( for failure and for success), the expected best-of- utility exactly equals pass@, which is the probability that at least one of the responses is correct.
Objective. Given an inference-time utility and a sample budget , our goal is to post-train a language model to maximize the expected utility of the set of responses. While our formulation captures general -response utilities, we focus on pass@ for the rest of the paper.
4 Learning Stratified Policies
In this section, we present a framework for learning a population of policies for inference-time objectives. First, we formulate inference-time optimization through stratified sampling from a population of policies (Section 4.1). We then describe a practical parameterization of this population using multiple LoRA adapters on a shared language model (Section 4.2). Finally, we instantiate our framework for pass@ optimization (Section 4.3), and theoretically motivate it (Section 4.4).
4.1 Inference-Time Objectives through Stratified Sampling
As discussed in Section 3, the single-policy formulation allocates a budget of responses by repeatedly sampling from a single policy . However, repeatedly sampling solutions from the same policy may produce similar solutions, which could potentially limit their collective utility.
With this lens, we introduce a population of policies , where . Instead of obtaining all responses from the same policy, we sample exactly one response from each policy. This gives us the following objective:
where responses are sampled independently conditioned on .
We refer to this (budget-)allocation of one sample per policy as stratified sampling. Note that the policies need not have disjoint support. Instead, each policy defines a response distribution that contributes one sample to the set. The single-policy objective can be recovered as the special case when . Therefore, our formulation generalizes the single-policy setting.
Intuitively, optimizing a policy population allows each policy to contribute according to the utility of the full response set. When the objective rewards complementary responses (e.g., best-of-), each policy can specialize in different subsets of prompts or different ways to solve them. Such specialization can emerge through the objective and learning dynamics, without a predefined partitioning of the prompt or response space. Although responses are sampled independently, the policies are trained jointly through the utility of the full response set. Therefore, each policy’s learning signal depends on the responses generated by the other population members.
4.2 A Practical Implementation with Multiple LoRA Adapters
With the stratified objective defined, we now describe a practical parameterization of the policy population. A straightforward approach is to maintain independent language models, one for each policy. However, this requires storing and training a separate set of parameters for each policy in the population. Instead, we utilize a frozen language model backbone and parameterize each policy using a separate low-rank adaptation (LoRA) module (Hu et al., 2022).
Let denote a frozen weight matrix, where indexes the matrices to which LoRA is applied. For policy , the corresponding adapted matrix is:
where denotes the LoRA rank. In practice, the update is parameterized as:
where and are the LoRA factors and is a scaling parameter (set to in our experiments).
All policies share the same frozen matrices but use separate LoRA adapters. Given a prompt, we generate one response per adapter and evaluate the resulting set according to utility . This parameterization realizes a population without maintaining full model copies.
4.3 Instantiation for Pass@
We now instantiate our framework for the best-of- utility: . For binary correctness rewards, the objective in Eq. 1 is equal to the probability that at least one policy in the population generates a correct response.
Learning with Leave-One-Out Baseline. We build on the inference-time policy gradient formulation of Tang et al. (2025). When using a leave-one-out (LOO), response is assigned an advantage equal to its marginal contribution to the maximum reward:
where and . The advantage is non-zero only for the best response, and is effectively equal to the difference between the highest and second-highest rewards.
Policy gradients for our population of policies can be constructed similarly since responses are sampled independently conditioned on the prompt. More concretely, for policy , the (unclipped) policy gradient is given by:
where denotes Eq. 1 with the maximum-reward utility. The baseline does not depend on . Consequently, subtracting it does not change the policy gradient. In practice, we use this advantage construction within Group Relative Policy Optimization (GRPO) (Shao et al., 2024).
Denser Learning Signal via Group-Mean Baseline. When rewards are binary, the LOO advantage is zero whenever multiple responses in the group are successful, even if other responses fail. Thus, these groups provide no learning signal even if there is room for improvement. Motivated by this, we instead use a group-mean baseline for a denser learning signal. More concretely, we compute group mean , and sample the winner uniformly at random from to randomly break ties. Response is then assigned advantage:
For binary rewards, if of the responses are correct, the selected winner receives advantage . Thus, every group containing both correct and incorrect responses produces a non-zero update, whereas groups that are all-correct or all-incorrect produce no update. Randomly breaking ties prevents favoring a particular policy in the population. Appendix G shows that, on Sudoku, group-mean improves population performance, and stratification helps under both estimators. Unlike LOO, this modification does not give an unbiased estimate of the best-of- policy gradient. Appendix J discusses the objective that it optimizes and shows its connection to MaxRL (Tajwar et al., 2026).
4.4 Theoretical Analysis
Figure 2: An illustration of Theorem 1. Colored segments represent the regional target maps . A rank-1 population fits every region exactly, whereas the best single linear map has an irreducible gap .
We theoretically demonstrate that a stratified population of policies can be more expressive than a single policy for best-of- evaluation. More concretely, we consider a linear setting with a frozen base model , where . Inputs lie in the unit ball , which is partitioned into regions . The target function is piecewise linear on the partition:
where is the target map for region .
Policy in the population updates the base model with a rank- LoRA adapter , which gives us the predictor . Evaluation is best-of-: the population error at an input is determined by the best prediction among its member policies.
Intuitively, a rank- LoRA population can assign each adapter to a regional correction . With sufficient rank, this achieves zero error. In contrast, a single linear predictor has to approximate all maps simultaneously. Fig. 2 illustrates this gap in a one-dimensional example with .
Definition 1 (Prediction errors).
For a fixed population of adapters , we define the best-of- prediction error at input as
For a single linear predictor , we define
While the population is fixed across inputs, the minimizing policy in may vary with . Thus, to make accurate best-of- predictions, at least one policy in the population must predict well at each input. This does not require any individual policy to approximate the target over the entire domain . Note that the minimum represents best-of- evaluation; we are not learning a routing rule.
We use to denote the -th largest singular value of a matrix . When , is defined as zero.
We build on the expressivity result in Zeng and Lee (2024) and formalize this separation below; the proof is provided in Appendix B.
Theorem 1 (Expressive power of LoRA populations for best-of-).
Suppose each region contains a closed Euclidean ball of radius . Then, we have the following minimax guarantee:
whereas
Consequently, if and the maps are not all identical, then a LoRA population can achieve zero error, while a single linear map always has strictly positive error.
It is important to note that we cannot eliminate this separation by simply increasing the LoRA rank, since the lower bound on single-predictor error holds regardless of rank.
While this analysis does not provide any guarantees for nonlinear language models or for learned population of policies, it motivates our use of multiple adapters for pass@.
5 Experimental Evaluation
Figure 3: We evaluate our method on a diverse set of reasoning tasks. These span constructing valid arithmetic expressions, logical deduction, constraint satisfaction, and mathematical word problems.

Figure 4: Pass@5 accuracy of a single policy (Single) versus our stratified population of five specialized policies (Stratified) across reasoning tasks. Mixture (dashed) samples from the same five policies i.i.d. instead of once from each. Error bars denote standard error across three seeds. Each panel’s -axis is truncated (kink mark) to make the gap visible. The (renormalized) horizontal bar below each panel shows how much each policy contributes to the population’s unique-only solutions, i.e., problems solved by exactly one policy. Stratified outperforms Single on pass@5 across all four tasks, and each policy member contributes unique solutions to the population.
In this section, we empirically evaluate stratified policies to address the following research questions: (i) Does sampling from a stratified policy population at inference time improve pass@ over repeatedly sampling from a single policy? (ii) Do the learned policies develop complementary behavior, i.e., solve different subsets of problems? (iii) Can the gains from policy stratification be explained simply by additional trainable parameters, or does it depend on maintaining a policy population?
We begin by describing the benchmark tasks and experimental setup. Next, we present the main performance results, followed by analyses of policy complementarity and ablations.
5.1 Experimental Setup
Tasks. We evaluate on four reasoning tasks (Fig. 3): Arithmetic, introduced in Shah et al. (2026), in which the model is given three unordered digits and must form a valid expression that relates them; Knights-&-Knaves, a challenging logical deduction task used to evaluate LLM reasoning and generalization (Mondorf and Plank, 2024); Sudoku, a constraint-satisfaction task on which LLMs continue to struggle (Seely et al., 2025); and GSM-Symbolic, a procedurally generated variant of GSM8K designed to test mathematical reasoning more reliably, on which many models perform worse than on the original GSM8K problems (Mirzadeh et al., 2025). We use the Reasoning Gym implementations (Stojanovski et al., 2026), which is a collection of reasoning environments built to standardize the training and evaluation of reasoning models. See Appendix C for more details.
Training. For Arithmetic, we train a TinyGPT causal transformer. For Knights-&-Knaves and Sudoku, we fine-tune Qwen2.5-1.5B-Instruct (Yang et al., 2024), while for GSM-Symbolic, we fine-tune Llama-3.1-8B-Instruct (Grattafiori et al., 2024). We use rank- LoRA adapters and train with GRPO without a KL penalty, using the advantage defined in Eq. 6. The stratified population (Stratified) maintains policies and samples one response from each, whereas the single-policy baseline (Single) trains one policy using the same five-sample budget and advantage, which is similar to Tang et al. (2025) without stratification. Both of these methods assign nonzero advantage to at most one response. So only one needs a gradient-tracked forward and backward pass. Therefore, both require the same order of training compute. See Appendix D for more details.
Evaluation. We report pass@ under an inference-time budget of five samples. Results are averaged over three random seeds, and error bars denote standard error. To check whether sampling exactly one response from each adapter is essential, we also compare against Mixture. It uses the same trained adapters, but samples an adapter uniformly at random for each of the five responses, which misses several adapters with high probability (see Fig. 1). See Appendix E for more details.

Figure 5: Pairwise Jaccard similarity between the sets of problems solved by each policy. Lower values indicate that a pair of policies solve mostly disjoint subsets of problems; a value of indicates total overlap. Arithmetic, Knights-&-Knaves, and Sudoku show low overlap; the values for GSM-Symbolic remain , which still shows non-redundancy in this harder setting.
Figure 6: Distribution, over solved problems, of the number of policies solving each problem under greedy decoding. Colors show the contribution of each policy. For Arithmetic, Knights-&-Knaves, and Sudoku, mass is concentrated at low counts; this indicates that most solved problems are solved by only one or two policies (not the full population). For GSM-Symbolic, there is substantial mass on counts below ; this shows that not all problems are solved by all policies.
5.2 Results
Stratification improves pass@. Across all four tasks, Stratified improves pass@ over Single under the same inference-time response budget (see Fig. 4). If we view it as reduction in the gap to optimality ( pass@), Stratified reduces the gap by on Arithmetic, and between and on the other three tasks. Mixture is worse than Stratified on every task and worse than Single on three out of four, which suggests that all adapters are needed to improve pass@. On pass@ (see Appendix F), however, Single outperforms Stratified on most tasks. This trade-off between pass@ and pass@ is not surprising because we are optimizing for pass@ directly (Barakat et al., 2026), not any individual policy’s pass@.
Policies make unique contributions. The gains in pass@ from stratification suggest that the learned policies are not redundant copies of one another. Fig. 4 additionally shows the (normalized) share of each policy’s unique-only contribution per task under greedy decoding. Across all four tasks, each policy in the population solves problems that cannot be solved by the rest of the population. Therefore, the entire population (and not a single policy) gives complementary coverage.
Policies solve different problem sets. We analyze if different policies solve different subsets of problems. Fig. 5 shows pairwise Jaccard similarity (defined for sets and as ) between the set of items solved by the learned policies under greedy decoding. The overlap is lowest on Arithmetic and Knights-&-Knaves (several pairs with similarity below ), fairly low on Sudoku, and higher (though still ) on GSM-Symbolic. Interestingly, Knights-&-Knaves shows a bimodal pattern, where some pairs are almost identical and others complementary.
Most solved problems are solved by only one or two policies. The distribution over how many of the five policies solve a given problem (see Fig. 6) is concentrated at low counts for Arithmetic, Knights-&-Knaves, and Sudoku. This indicates that most solved problems are not solved by the entire population, but only by one or two policies. For GSM-Symbolic instead, although there is substantial mass at count , a non-trivial fraction of problems are still solved by fewer than all five policies. This shows that part of the gain in pass@ comes from complementary coverage.

Figure 7: (a) Scaling the rank of Single by (Big-Single) to match Stratified’s total trainable parameters still underperforms it. (b) Single is unstable on GSM-Symbolic; the final checkpoint, Single (Final), achieves a substantially lower score than the pre-collapse checkpoint used elsewhere. Stratified does not exhibit this collapse on any seed. (c) An independently trained ensemble (Independent) with matched total training compute underperforms Stratified.

Figure 8: Comparison with UpSkill on Arithmetic. (a) Stratified outperforms UpSkill, which uses an explicit diversity reward. (b, c) Operator distribution of each policy. Stratified policies achieve a comparable level of diversity to UpSkill: different policies focus on different operators.
Stratified policies provide a new scaling axis. To test whether the gains from Stratified come from more trainable parameters, we compare it against Big-Single, which increases the LoRA rank of Single by to match the total number of trainable parameters in Stratified. Fig. 7 (a) shows that Big-Single improves pass@ from to on Knights-&-Knaves, but achieves no gains on Sudoku. In both cases, Stratified still performs better. Therefore, the improvement from stratification cannot be explained by additional parameters alone. This shows that population size could be an orthogonal scaling axis to simply increasing the rank of a single adapter. An independently trained ensemble (Independent) of five Single runs with matched total training compute is also worse on Sudoku (Fig. 7 (c)), which shows that the gains depend on joint training.
Stratified policies can be robust to training collapse. We found Single to be unstable late in training on GSM-Symbolic on out of seeds. For instance, the final checkpoint for one of the seeds achieves only pass@, while the pre-collapse checkpoint used elsewhere in the paper achieves (Fig. 7 (b) shows one such seed). This corresponds to a drop of points. In contrast, Stratified was stable across all three seeds. This shows that stratified learning can be more stable than optimizing a single policy for pass@.
Stratified policies specialize without an explicit diversity reward. UpSkill (Shah et al., 2026) encourages diverse responses using an explicit mutual-information diversity reward. Stratified instead learns to improve collective population performance using the pass@ advantage defined in Eq. 6, with diversity useful insofar as it improves this objective. We additionally compare against UpSkill on Arithmetic, the benchmark introduced in their paper. Interestingly, as can be seen in Fig. 8 (a), even Single achieves higher pass@ than UpSkill on this task, despite using no explicit diversity reward. Importantly, not optimizing for diversity does not prevent it from emerging. Fig. 8 (b, c) shows that the policies learned by Stratified develop different operator preferences despite having no explicit diversity reward. Although three of the five policies primarily use the modulo operator, they are still complementary: among correct responses using the % operator, their pairwise Jaccard similarity ranges from to , and of the full set of evaluation problems are solved using % by exactly one of these three policies.
6 Concluding Discussion
In this work, we introduced a stratified formulation of inference-time objectives, where the response budget is allocated across a population of jointly learned policies. Using separate low-rank adapters on a shared language model backbone, we empirically demonstrated improvements in pass@ over a single-policy baseline across four reasoning tasks under the same inference-time budget of responses. While our formulation captures general -sample objectives, our experiments focus on pass@. A promising direction for future work is to study other inference-time objectives, such as majority voting and verifier-based selection. Further, adapting the population size and sample allocation to the prompt and available inference budget is another interesting direction.
References
R. Bahlous-Boldi, I. Puri, I. Shenfeld, A. Kumar, M. Damani, S. Risi, O. Khattab, Z. Hong, and P. Agrawal Vector Policy Optimization: Training for Diversity Improves Test-Time Search. CoRR abs/2605.22817. Cited by: §2.
A. Barakat, S. Chakraborty, K. Pahwa, and A. S. Bedi Why Pass@k Optimization Can Degrade Pass@1: Prompt Interference in LLM Post-training. CoRR 2602.21189. Cited by: §5.2.
B. Brown, J. Juravsky, R. Ehrlich, R. Clark, Q. V. Le, C. Ré, and A. Mirhoseini Large Language Monkeys: Scaling Inference Compute with Repeated Sampling. CoRR abs/2407.21787. Cited by: §2.
R. Bunel, M. Hausknecht, J. Devlin, R. Singh, and P. Kohli Leveraging Grammar and Reinforcement Learning for Neural Program Synthesis. ICLR. Cited by: §2.
H. Chen, T. Liang, W. Zheng, and J. Hu Breaking Winner-Takes-All: Cooperative Policy Optimization Improves Diverse LLM Reasoning. CoRR 2605.11461. Cited by: §2.
Y. Chen, S. Chakraborty, L. Wolf, I. Paschalidis, and A. Pacchiano Post-training Large Language Models for Diverse High-Quality Responses. ICLR. Cited by: §2.
Z. Chen, X. Qin, Y. Wu, Y. Ling, Q. Ye, W. X. Zhao, and G. Shi Pass@k Training for Adaptively Balancing Exploration and Exploitation of Large Reasoning Models. CoRR abs/2508.10751. Cited by: §2.
Y. Chow, G. Tennenholtz, I. Gur, V. Zhuang, B. Dai, A. Kumar, R. Agarwal, S. Thiagarajan, C. Boutilier, and A. Faust Inference-Aware Fine-Tuning for Best-of-N Sampling in Large Language Models. ICLR. Cited by: §1, §2.
K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, et al. Training Verifiers to Solve Math Word Problems. CoRR abs/2110.14168. Cited by: §C.4, §1, §2.
W. G. Cochran Sampling Techniques. John Wiley & Sons. Cited by: §1.
J. Geuter and G. Kornhardt RoBoN: Routed Online Best-of-n for Test-Time Scaling with Multiple LLMs. CoRR abs/2512.05542. Cited by: §2.
A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan, et al. The Llama 3 Herd of Models. CoRR abs/2407.21783. Cited by: §D.4, §5.1.
N. Grinsztajn, D. Furelos-Blanco, S. Surana, C. Bonnet, and T. D. Barrett Winner Takes It All: Training Performant RL Populations for Combinatorial Optimization. NeurIPS. Cited by: item I., §2.
A. Hottung, M. Mahajan, and K. Tierney PolyNet: Learning Diverse Solution Strategies for Neural Combinatorial Optimization. ICLR. Cited by: §2.
E. J. Hu, yelong shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen LoRA: Low-Rank Adaptation of Large Language Models. ICLR. Cited by: §1, §4.2.
Z. Hu, Y. Wang, Y. He, J. Wu, Y. Zhao, S. Ng, C. Breazeal, A. T. Luu, H. W. Park, and B. Hooi Rewarding the Rare: Uniqueness-Aware RL for Creative Problem Solving in LLMs. ACL Findings. Cited by: §2.
A. Huang, A. Block, Q. Liu, N. Jiang, A. Krishnamurthy, and D. J. Foster Is Best-of-N the Best of Them? Coverage, Scaling, and Optimality in Inference-Time Alignment. ICML. Cited by: §1.
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. ICML. Cited by: §2.
J. Lanchantin, A. Chen, S. Dhuliawala, P. Yu, J. Weston, S. Sukhbaatar, and I. Kulikov Diverse Preference Optimization. CoRR abs/2501.18101. Cited by: §2.
S. Lee, S. Purushwalkam Shiva Prakash, M. Cogswell, V. Ranjan, D. Crandall, and D. Batra Stochastic Multiple Choice Learning for Training Diverse Deep Ensembles. NIPS. Cited by: §2.
V. Letzelter, H. Malard, M. Fontaine, G. Richard, S. Essid, A. Bursuc, and P. Perez Multiple Choice Learning of Low-Rank Adapters for Language Modeling. ICML. Cited by: §2.
T. Li, Y. Zhang, P. Yu, S. Saha, D. Khashabi, J. Weston, J. Lanchantin, and T. Wang Jointly Reinforcing Diversity and Quality in Language Model Generations. CoRR 2509.02534. Cited by: §2.
S. I. Mirzadeh, K. Alizadeh, H. Shahrokhi, O. Tuzel, S. Bengio, and M. Farajtabar GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models. ICLR. Cited by: §C.4, §5.1.
P. Mondorf and B. Plank Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models. EMNLP. Cited by: §C.2, §5.1.
L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Gray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe Training language models to follow instructions with human feedback. NeurIPS. Cited by: §1.
R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn Direct Preference Optimization: Your Language Model is Secretly a Reward Model. NeurIPS. Cited by: §1.
J. Seely, Y. Imajuku, T. Zhao, E. Cetin, and L. Jones Sudoku-Bench: Evaluating creative reasoning with Sudoku variants. CoRR abs/2505.16135. Cited by: §C.3, §5.1.
D. Shah, O. Yang, D. Yang, C. Zheng, and B. Eysenbach UpSkill: Mutual Information Skill Learning for Structured Response Diversity in LLMs. CoRR abs/2602.22296. Cited by: §C.1, §D.1, Appendix E, §2, §5.1, §5.2.
Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. CoRR abs/2402.03300. Cited by: §1, §4.3.
Z. Stojanovski, O. Stanley, J. Sharratt, R. Jones, A. Adefioye, J. Kaddour, and A. Köpf Reasoning Gym: Reasoning Environments for Reinforcement Learning with Verifiable Rewards. NeurIPS Datasets and Benchmarks Track. Cited by: §C.2, §C.3, §C.4, §5.1.
F. Tajwar, G. Zeng, Y. Zhou, Y. Song, D. Arora, Y. Jiang, J. Schneider, R. Salakhutdinov, H. Feng, and A. Zanette Maximum Likelihood Reinforcement Learning. ICML. Cited by: §J.1, §J.2, §J.2, §J.2, Appendix J, §4.3, Proposition 2.
S. Takashiro, S. Nishimori, P. Parmas, Y. Kim, K. Matsutani, G. Minegishi, Y. Iwasawa, T. Kojima, and Y. Matsuo On Advantage Estimates for Max@K Policy Gradients. CoRR abs/2606.06080. Cited by: §2.
Y. Tang, K. Zheng, G. Synnaeve, and R. Munos Optimizing Language Models for Inference Time Objectives using Reinforcement Learning. ICML. Cited by: §1, §2, §4.3, §5.1.
C. Thrampoulidis, S. Mahdavi, and W. Deng Advantage Shaping as Surrogate Reward Maximization: Unifying Pass@K Policy Gradients. TMLR. Cited by: §2.
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. CoRR abs/1610.02424. Cited by: §2.
C. Walder and D. T. Karkhanis Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problems. NeurIPS. Cited by: §1, §2.
Z. Wan, Y. Shen, Z. Dou, D. Zhou, Y. Zhang, X. Wang, H. Shen, J. Xiong, C. Tao, Z. Zhong, P. Huang, and M. Zhang DSDR: Dual-Scale Diversity Regularization for Exploration in LLM Reasoning. CoRR abs/2602.19895. Cited by: §2.
J. Wang, J. WANG, B. Athiwaratkun, C. Zhang, and J. Zou Mixture-of-Agents Enhances Large Language Model Capabilities. ICLR. Cited by: §2.
T. Wang, Z. Liu, Y. Chen, J. Light, W. Liu, H. Chen, X. Zhang, and W. Cheng On the Effect of Sampling Diversity in Scaling LLM Inference. CoRR abs/2502.11027. Cited by: §2.
X. Wang, J. Wei, D. Schuurmans, Q. V. Le, E. H. Chi, S. Narang, A. Chowdhery, and D. Zhou Self-Consistency Improves Chain of Thought Reasoning in Language Models. ICLR. Cited by: §1, §2.
A. Yang, B. Yang, B. Zhang, B. Hui, B. Zheng, et al. Qwen2.5 Technical Report. CoRR abs/2412.15115. Cited by: §D.2, §5.1.
J. Yao, R. Cheng, X. Wu, J. Wu, and K. Tan Diversity-Aware Policy Optimization for Large Language Model Reasoning. NeurIPS. Cited by: §2.
J. Yuan, H. Kang, J. J. Liu, Y. Choi, V. Iyer, L. Jiang, and N. Jaques Forty Shades of Blue: Quality-Diversity Alignment via Mode-Conditioned Reinforcement Learning. CoRR abs/2609.14896. Cited by: §2.
Y. Zeng and K. Lee The Expressive Power of Low-Rank Adaptation. ICLR. Cited by: Appendix B, §4.4.
Appendix A Table of Contents
In this section, we provide an outline of the contents provided in the paper’s appendices.
- Appendix B contains the proof for Theorem 1.
- Appendix C describes the tasks used in the experiments.
- Appendix D provides additional training details for the experiments.
- Appendix E provides additional evaluation details for the experiments.
- Appendix F provides the full results for the main experiments, including pass@ scores.
- Appendix G empirically justifies the choice of the group-mean baseline over leave-one-out.
- Appendix H provides further analysis of the learned complementarity.
- Appendix I shows that stratified policies improve performance across different population sizes.
- Appendix J shows the connection between our method and maximum likelihood RL.
Appendix B Proofs
In this section, we provide the proof of Theorem 1.
For each region , the population can adapt the base model parameters to the target map . Lemma 1 with in Zeng and Lee (2024) tells us that there exists a rank- adapter such that:
Therefore, for all , the following holds:
The last inequality follows from .
Since the unit ball is partitioned into , taking the maximum over gives us:
We now derive a lower bound for a single linear predictor. Fix matrix and define:
Let denote the center of a closed Euclidean ball of radius contained in . Then, for every unit vector , . Since on ,
Hence, by the triangle inequality, we have:
Taking the maximum over all unit vectors gives us:
Therefore, for any ,
Consequently, the following holds:
Taking the minimum over gives us:
This completes the proof.
Appendix C Task Details
C.1 Arithmetic
This environment was introduced by Shah et al. (2026) and requires the model to combine three given single-digit numbers into a valid arithmetic expression that relates them.
An instance of the task is an unordered triple of digits , which is constructed such that some pair of the three, when combined via one of the operators , gives the third. For example, the triple can be used to form the expression . The three digits are presented to the model in random order. Therefore, a valid order is not revealed by their position. Task variability comes from the sampled digits, the operator used to construct the triple, and the order in which the digits are shown.
The model needs to respond with an expression of the form , where and are two of the three given digits and is one of the operators. A task is considered solved iff gives the remaining digit.
C.2 Knights-&-Knaves
This is a logical-deduction task in which a model is given a set of self-referential statements and must determine which of several named individuals are telling the truth and which are lying (Mondorf and Plank, 2024). It is a challenging task that tests both logical reasoning and generalization to novel statement structures; we use the Reasoning Gym (Stojanovski et al., 2026) implementation.
An instance of the task describes an island inhabited only by two named individuals. Each of them is either a knight, who always tells the truth, or a knave, who always lies. Different instances use different equivalent terminologies: e.g., knight/knave or hero/villain. Each individual makes one statement about the types of the individuals on the island; statements can be simple assertions or nested combinations of negation, conjunction, disjunction, implication, and biconditional over other individuals’ statements. Every instance is guaranteed to have a unique assignment of types. Task variability comes from the sampled statements, the names used, and the terminology.
The model needs to respond with a type for each of the two individuals. A task is considered solved iff the assigned types match the unique solution consistent with the statements.
C.3 Sudoku
This is the variant of Sudoku, which is a constraint-satisfaction task on which language models continue to struggle even when the board size is reduced (Seely et al., 2025). We use the Reasoning Gym (Stojanovski et al., 2026) implementation at the hardest difficulty setting.
An instance of the task is a grid, which is partially filled with digits between to , such that there is a unique completion that satisfies the following constraints: each of the four rows, each of the four columns, and each of the four non-overlapping subgrids must contain every digit from to exactly once. At the difficulty setting that we use, of the cells are empty initially, which is the maximum number of empty cells for which a unique solution can be guaranteed on a board. This means that that only clues are given. Task variability comes from the underlying solved grid and from which cells are removed to form the starting state.
The model needs to respond with a completed grid. A task is considered solved iff the completed grid exactly matches the (unique) solution.
C.4 GSM-Symbolic
This is a procedurally generated variant of GSM8K (Cobbe et al., 2021) that is designed to test mathematical reasoning more reliably than the original benchmark (Mirzadeh et al., 2025): models frequently perform worse on GSM-Symbolic than on the corresponding original GSM8K problems, which suggests that some of their performance on GSM8K is due to memorization. We use the Reasoning Gym (Stojanovski et al., 2026) implementation.
An instance of the task is generated by taking one of a fixed set of GSM8K-style word-problem templates and resampling its numeric quantities and entity names. Task variability comes from both the choice of template and the resampled quantities and names.
The model needs to respond with a single (final) numeric answer to the word problem. A task is considered solved iff this value exactly matches the oracle answer for the sampled instance.
Appendix D Training Details
D.1 Arithmetic
For this task, we use a small causal transformer: TinyGPT with 2 layers and 4 attention heads (more details in (Shah et al., 2026)). Single uses a single such network, and Stratified instantiates separate TinyGPT networks. We train both methods from a random initialization, with supervised teacher-forcing warmup phase for 100 steps and using RL for pass@5 for 2000 steps.
D.2 Knights-&-Knaves
Both Single and Stratified fine-tune Qwen2.5-1.5B-Instruct (Yang et al., 2024) with a learning rate of . We first train a single LoRA adapter for 2000 steps, and then use it to initialize the adapters for these methods, which are trained for a further 2000 steps.
D.3 Sudoku
Both Single and Stratified fine-tune Qwen2.5-1.5B-Instruct with a learning rate of . We first train a single LoRA adapter on an easy tier of Sudoku (4 to 8 empty cells) for 20,000 steps, then continue training it on a harder tier (8 to 10 empty cells) for a further 20,000 steps. We use this adapter to initialize Single and Stratified, which are trained for 10,000 steps at the hardest difficulty level (12 out of 16 cells empty).
Independently trained ensemble baseline. Independent (Fig. 7 (c)) is a population of five independently trained Single policies. Each is initialized from the same warm-start adapter and uses the same configuration as Single, but is trained for only steps to ensure that the five runs match the compute of one Stratified run ( steps). We train policies in three populations of five and report the mean and standard error over the three populations. For pass@, we take one sample from each policy in a population, similar to Stratified.
D.4 GSM-Symbolic
Both Single and Stratified fine-tune Llama-3.1-8B-Instruct (Grattafiori et al., 2024) with a learning rate of . They are trained without any warm-start for 2000 steps.
Table 1: GRPO training hyperparameters.
| Hyperparameter | Value |
|---|---|
| LoRA Rank | 32 (160 for Big-Single) |
| Population Size (num_generations) | 5 |
| Training Batch Size | 5 (one prompt per training step) |
| Training Epochs | 1 |
| Optimizer | AdamW (8-bit) |
| Adam , | 0.9, 0.99 |
| Weight Decay | 0.0 |
| Gradient Accumulation Steps | 1 |
| Max Gradient Norm | 1.0 |
| Learning-rate Schedule | constant |
| KL Coefficient () | 0.0 |
| Sampling Temperature | 1.0 |
| Max Prompt Length | 512 tokens |
| Max Completion Length | 768 tokens |
| Max Sequence Length | 1024 tokens |
| Precision | bf16 |
Appendix E Evaluation Details
Evaluation Dataset. For Knights-&-Knaves, Sudoku, and GSM-Symbolic, we evaluate on the same randomly sampled instances for all methods and seeds, and on randomly sampled problems for Arithmetic.
Decoding. For the LLM tasks, responses are sampled with vLLM at the same sampling parameters as the training rollouts: temperature , top-, no top- truncation, and a maximum of new tokens. For Arithmetic, responses are sampled at temperature (see (Shah et al., 2026)).
Checkpoint. We evaluate the last checkpoint of each run for Arithmetic, Knights-&-Knaves, and Sudoku. For GSM-Symbolic, Single collapses late in training (see Fig. 7b), so we report the last checkpoint before the collapse based on training rewards.
Diversity Analyses. The overlap analyses (Figs. 5 and 6) use greedy decoding, on instances for Sudoku and GSM-Symbolic and for Knights-&-Knaves and Arithmetic.
Appendix F Full Results
Table 2: Full results in % with mean (standard error) over three seeds.
Arithmetic Knights-&-Knaves Sudoku GSM-Symbolic Method Pass@1 Pass@5 Pass@1 Pass@5 Pass@1 Pass@5 Pass@1 Pass@5 Single () () () () () () () () Stratified, adapter 1 () – () – () – () – Stratified, adapter 2 () – () – () – () – Stratified, adapter 3 () – () – () – () – Stratified, adapter 4 () – () – () – () – Stratified, adapter 5 () – () – () – () – Stratified () () () () () () () ()
We provide the full results for our main experiments in Table 2. Pass@ is defined as the expected accuracy of a single response; for Single, it is the mean accuracy over its samples, and for Stratified, it is the mean accuracy over its five adapters (which is equivalent to the accuracy of one response sampled from an adapter chosen uniformly at random).
Appendix G Choice of Advantage Baseline
Table 3: Comparison between group-mean (Eq. 6) and leave-one-out (Eq. 4) advantage.
Group-Mean Leave-One-Out Method Seed 1 Seed 2 Seed 3 Mean Seed 1 Seed 2 Seed 3 Mean Sudoku Single () () Stratified () () Gap () () K&K Single () () Stratified () () Gap () ()
Table 3 compares the group-mean baseline with the leave-one-out baseline on Sudoku and Knights-&-Knaves. The results show two things. First, the group-mean baseline improves Stratified on every seed of both tasks ( on average on Sudoku, on Knights-&-Knaves). Its effect on Single is small and not consistent across seeds for Sudoku, but it improves Single on every seed for Knights-&-Knaves. Second, Stratified outperforms Single on all seeds under both baselines, but the gap is smaller under leave-one-out.
Additionally, Fig. 9 shows that the group-mean baseline provides a denser learning signal than LOO, with all adapters receiving gradient updates throughout training.
Figure 9: Cumulative number of updates per adapter during training for the group-mean (Eq. 6) and LOO (Eq. 4) advantages. For each task, the panel on the right shows the final update counts for adapters ranked by final counts. Group-mean provides a denser learning signal, which leads to more updates for every adapter, and the updates are also spread relatively evenly across adapters.
Overall, these results show that stratification improves performance under both the pass@ objective optimized by LOO and the objective optimized by group-mean, which we analyze in Appendix J.
Appendix H Complementarity Analysis

Figure 10: Pass@ accuracy of Mixture versus Stratified under the group-mean (Eq. 6) and LOO (Eq. 4) advantages on Knights-&-Knaves and Sudoku tasks. Error bars denote standard error across three seeds. Each panel’s -axis is truncated (kink mark) to make the gap visible. There is a substantial gap between Stratified and Mixture on both tasks under both estimators.
Let denote the probability that a response sampled from policy is correct. Stratified independently samples one response from each of the policies. In contrast, Mixture samples responses independently from the uniform mixture . Define . The probabilities that at least one of responses is correct are
By the AM-GM inequality, the following holds:
The gap is zero iff all the policies have the same success probability on . Fig. 10 shows its expectation over the prompt distribution as a measure of complementarity.
To further analyze if a single policy in the population is responsible for Stratified’s performance, we evaluate the pass@ accuracy of each adapter individually, using five independent samples from that adapter. Table 4 shows that even the best adapter (selected in hindsight) underperforms both Single and Stratified on every seed of both tasks.
Table 4: Pass@ accuracy of individual LoRA adapters in our stratified population of five specialized policies, compared to Single and Stratified, with adapters ranked by their pass@ accuracy. Even the best LoRA adapter in the population underperforms both Single and Stratified.
Individual Adapters in Stratified Population Method Seed Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 Single Stratified Sudoku 1 2 3 K&K 1 2 3
Table 5: Coverage of the best subset of learned LoRA adapters on Knights-&-Knaves using greedy decoding. The gap is w.r.t. the full population.
Subset Size Best Coverage Gap 2 3 4 5
Although the bimodal pattern in the Jaccard similarity heatmap (see Fig. 5) for Knights-&-Knaves shows that some policies solve similar sets of problems, it does not necessarily imply that two policies are sufficient. To make this more concrete, we evaluate the sets of solved problems for every subset of the five policies on Knights-&-Knaves using greedy decoding. Table 5 reports the best subset’s coverage for each subset size, along with the gap with respect to using the full population. Even the best pair of adapters (selected in hindsight) is severely suboptimal compared to the full population.
Appendix I Effect of Population Size
We evaluate Single and Stratified on Sudoku with varying population size , and train using the group-mean advantage. Fig. 11 shows that Stratified beats Single at all three population sizes (, , and improvement in pass@, respectively). Further, the improvement is positive on every seed at each value of .
Figure 11: Pass@ accuracy (averaged across three seeds) on Sudoku for different population sizes , with results for individual seeds shown as faint dots. Stratified consistently beats Single.
Appendix J Connection to Maximum Likelihood RL
We first characterize the learning objective that the group-mean advantage optimizes for (Section J.1). Section J.2 then connects it to Maximum Likelihood RL (MaxRL) (Tajwar et al., 2026).
J.1 Objective of the Group-Mean Baseline
Notation. Let denote a prompt sampled from the prompt distribution . The population comprises policies with parameters . Given , we independently sample responses, one response from each policy, and assign them binary rewards . The winner is sampled uniformly from , and each response is assigned advantage . Similar to the convention in Tajwar et al. (2026), denotes the number of rollouts, is the number of successes, is the truncation level for the log-likelihood expansion, and denotes the score function. Response and policy in our setting correspond to and in Tajwar et al. (2026).
Proposition 1 (Objective of group-mean advantage).
Let denote the number of successes and the empirical success rate. Define the utility
where the sum is defined to be zero when , and the objective
Let be the group-mean advantage in Eq. 6. Then the following holds for every policy :
where the expectation includes the randomness in selecting .
Proof. Consider the leave-one-out (LOO) baseline
The advantage equals for , and zero otherwise.
When , both and are zero. When , response is selected as the winner with probability . Therefore,
Consequently, the following holds:
This completes the proof.
Remark. The -th success increments by , i.e., additional successes are rewarded with decreasing returns. In contrast, the best-of- utility rewards only the first success.
J.2 Relation to the MaxRL Objective
Proposition 2 (Connection to MaxRL).
Consider the shared parameter setting , where all responses are sampled independently from . Define the pass rate and RL objective
Similar to MaxRL (Tajwar et al., 2026), define the truncated log-likelihood objective
Then the following holds:
Proof. Fix a prompt . The unclipped REINFORCE-style MaxRL estimator is
Our group-mean estimator is . Therefore,
where the second term is the standard REINFORCE estimator. Taking expectations over the responses and prompts, and using the unbiasedness of for (Tajwar et al., 2026), along with Proposition 1, completes the proof.
Remark. Tajwar et al. (2026) show that the truncated MaxRL objective has the same gradient as a weighted harmonic sum of pass@ objectives:
is the expected pass@ objective, which gives us the following:
This shows that the updates using the group-mean baseline remove the pass@ term in this setting. Tajwar et al. (2026) empirically show that MaxRL beats pass@ optimization, which is consistent with our experiments, where the group-mean baseline performs better than LOO.