TL;DR
LAND (Learning an Adaptive Number of Draws) is a Bayesian framework that makes "Best-of-N" decoding more efficient by dynamically deciding how many samples to generate for a given prompt. By allocating more compute to "hard" inputs and less to "easy" ones, LAND achieves the same translation quality as fixed Best-of-N while using 20–40% fewer candidate generations.
What Problem Does This Paper Address?
In Best-of-N decoding, a model generates $N$ candidate outputs, and a separate reward model or quality metric picks the best one. While effective, the standard approach is "one-size-fits-all": it generates the same number of candidates for every input.
As shown in Figure 1, this is inefficient. Some "easy" source sentences consistently produce high-quality results, meaning the second or third draw adds almost no value. Other "harder" sentences produce highly variable results, where a 10th or 20th draw might yield a significantly better translation. The authors argue that a fixed budget wastes compute on the former and leaves quality on the table for the latter.
Methods
The authors propose LAND, a two-stage procedure that treats Best-of-N as a compute-allocation problem based on marginal utility.
- Offline Calibration (Stage 1): The system uses a small calibration dataset to learn a "latent mixture" of score distributions. Instead of assuming scores follow a standard bell curve (Gaussian), they use a discrete empirical mixture. This allows the model to capture complex, non-standard distributions and "tail behaviors" that parametric models often miss.
- Online Procedure (Stage 2): During deployment, LAND generates completions one by one. After each draw, it updates its Bayesian posterior belief about which "type" of source sentence it is dealing with. It calculates the expected marginal improvement of drawing one more sample. If this expected gain is lower than a global "compute price" ($\Lambda$), it stops.
To keep the system robust, LAND includes a "likelihood-tempering" parameter to prevent the model from becoming overconfident too quickly and a "log-space update" rule to adjust the compute price $\Lambda$ on the fly, ensuring the total budget stays on target.
Datasets
The researchers evaluated LAND using machine translation tasks from the OPUS parallel corpus. They focused on four language pairs:
- Ukrainian $\rightarrow$ German
- Spanish $\rightarrow$ English
- Dutch $\rightarrow$ Hungarian
- Turkish $\rightarrow$ Russian
They tested the method across two different model families: Gemma4 31B and Qwen3 30B-A3B. Quality was measured using MetricX, a state-of-the-art reference-free evaluation metric.
Key Insights and Ideas
- Marginal Value is Key: The optimal stopping point isn't about the absolute score, but the expected improvement of the next draw. LAND equalizes this marginal improvement across all tasks.
- Gaussian Assumptions are Fragile: The authors compared LAND to BEACON (a similar method that assumes Gaussian distributions). BEACON actually performed worse than fixed Best-of-N in their tests. This suggests that real-world LLM score distributions have "heavy tails" or asymmetries that simple parametric models can't handle.
- Population-Level Knowledge: By learning a mixture model during calibration, LAND can exploit "population-level" structure. It doesn't have to learn everything about a prompt from scratch; it just has to figure out which "category" of prompt it most likely belongs to.
Key Results
LAND consistently outperformed fixed Best-of-N across all tested models and language pairs.
- Compute Savings: To reach the same translation quality as a fixed Best-of-N strategy, LAND required 20–40% fewer candidate generations.
- Quality Gains: At a matched average compute budget (e.g., an average of 15 draws per sentence), LAND achieved significantly higher MetricX scores than the fixed baseline.
- Scaling: As shown in Figure 3, the efficiency gains are most pronounced at lower budgets but remain substantial even as the number of draws increases.
Limitations and Future Work
- Upfront Cost: LAND requires a calibration phase with multiple scores per source, which might not be worth the effort for very small one-off generation tasks.
- Static Mixture: Currently, the mixture model is fixed after calibration. The authors suggest that "online refinement"—updating the mixture model itself as more data is processed during deployment—could make the system even more robust to distribution shifts.
- Compute Proxy: The paper uses the "number of draws" as a proxy for compute. However, because some generations are longer or more expensive than others, the "wall-clock" savings might not perfectly mirror the "draw" savings.
- Metric Dependency: The performance of LAND is tied to the informativeness of the scoring metric (MetricX). If the metric is noisy or poorly correlated with quality, the adaptive stopping rule will be less effective.
Summary updated