arXiv:2611.03388cs.AINov 2026

Manuscript Offprint

arXiv:2611.03388

LAND: Learning an Adaptive Number of Draws for Bayesian Best-of-N Selection

Koen Oostermeijer, Teryn Jones

Abstract

Best-of-N decoding improves generation quality by sampling multiple candidates and selecting the best, but it allocates equal compute to sources regardless of how much they benefit from additional sampling: the expected benefit is small for sources with low-variance score distributions and potentially much larger for those with high-variance distributions. To address this shortcoming, we propose LAND (Learning an Adaptive Number of Draws), which dynamically allocates samples according to their posterior-predictive marginal value. LAND learns a discrete empirical mixture of source-conditioned score distributions from calibration data, updates its belief about a source as completion scores are observed, and stops sampling when the expected improvement of another draw falls below a shared compute price. Across machine-translation experiments with multiple models and language pairs, LAND achieves better MetricX scores than fixed best-of-N at matched average compute. Conversely, at matched translation quality, LAND requires approximately 20-40% fewer candidate generations. Adaptive allocation therefore provides a simple way to retain the benefits of best-of-N while substantially improving its compute efficiency.

1 Introduction

Model-generated data have become an increasingly important component of the training and fine-tuning of large language models (LLMs) (Long et al., 2024; Wang et al., 2023). A larger teacher model can generate training data for a smaller model, thereby transferring some of its capabilities through knowledge distillation. This approach has a long history in machine translation (MT), where sequence-level knowledge distillation uses translations generated by a teacher model as targets for a student model (Kim and Rush, 2016).

Historically, machine translation systems were trained primarily on naturally occurring parallel

data collected from multilingual sources and subsequently filtered and aligned (Tiedemann, 2012). Synthetic data initially served mainly as a supplement to these corpora, most notably through back-translation of monolingual source texts (Sennrich et al., 2016; Edunov et al., 2018). Over time, however, the balance has shifted: as the quality of machine-translated data outpaced that of web-crawled corpora (Finkelstein et al., 2024), their share of the training data used by modern MT systems now constitutes an increasingly large fraction, in some cases completely replacing natural data (Finkelstein et al., 2026). As reliance on generated translations grows, selecting high-quality candidates becomes an increasingly important part of the data-generation pipeline.

One simple way to improve the quality of generated translations is to sample multiple candidates and retain the candidate with the highest score according to some quality metric, a technique referred to as best-of-N sampling. Previous work has shown that filtering data for quality-estimation metrics can result in improved downstream performance (Peter et al., 2023).

However, conventional best-of-N generates the same number of candidates for every source sentence. This allocation implicitly assumes that an additional sample is equally valuable for all source sentences. In practice, the distributions of candidate scores can differ substantially between source sentences. As illustrated in Figure 1, some intrinsically simple sentences consistently produce high-scoring translations, such that additional sampling offers little added improvement, while others produce more variable candidates and may benefit considerably from further sampling. Given a collection of source sentences and a fixed generation budget, the relevant question is therefore not only how many candidates to generate, but also where additional candidates are most valuable. This motivates our central research question: how should a fixed

Figure

Figure 1: Fixed best-of-N always generates the same number of candidates for every source. However, higher overall scores can be achieved by allocating less compute to sources whose candidate scores are tightly concentrated and more compute to sources with higher-variance score distributions, where additional draws offer greater potential for improvement.

generation budget be allocated across source sentences so that additional candidates are generated where they offer the greatest expected marginal improvement?

We introduce LAND (Learning an Adaptive Number of Draws), an adaptive procedure that allocates generation compute according to the expected marginal improvement of additional candidates for each source sentence. A high-level overview of LAND is shown in Figure 2. LAND is related in spirit to Weitzman's Pandora's-box rule (Weitzman, 1978), which uses reservation values to balance the potential benefit of further search against its cost. Unlike the classical setting, however, the source-specific score distributions in our problem are unknown and each source sentence may be sampled repeatedly. LAND therefore updates a posterior over the score distribution after every observed candidate and adjusts its stopping threshold on the fly. To avoid imposing a restrictive parametric form, we estimate these distributions using a discrete empirical model constructed from observed scores.

In summary, our contributions are as follows:

  • We formulate best-of-N selection as a compute-allocation problem in which the

Figure

Figure 2: During calibration, LAND fits a discrete empirical mixture and calibrates a global compute price. At deployment, candidates are generated and scored sequentially, the posterior over source types is updated, and sampling continues while the expected improvement of another draw exceeds the compute price.

number of candidates may vary across source sentences under a shared average budget.

  • We derive an oracle allocation rule that relates the decision to generate another candidate to its expected marginal improvement.

  • We introduce LAND, a posterior-adaptive procedure that estimates this improvement online using a discrete empirical model of source-conditioned score distributions.

  • We evaluate LAND against fixed-allocation and adaptive baselines for machine translation under matched average generation budgets.