Truncation Samplers Are Nested: Comparing Decoding Rules Is a Measurement Problem
cs.LG, cs.CV
Submitted: 2026-10-11
Updated: 2026-10-11
Code: https://github.com/KurbanIntelligenceLab/truncation-samplers
License: http://creativecommons.org/licenses/by/4.0/
The gist: Settling one comparison between two truncation samplers has cost six thousand A100-hours, and nothing says in advance how far apart two samplers can be.
Abstract
Settling one comparison between two truncation samplers has cost six thousand A100-hours, and nothing says in advance how far apart two samplers can be. We observe that almost every deployed truncation rule keeps a prefix of the probability-sorted vocabulary, so any two such rules are nested at every decoding step. Nesting yields a closed-form per-step distance and a coupling under which both samplers emit identical text until they first disagree. Accumulated over a generation, this gives a separation certificate that bounds the difference between two samplers on any bounded outcome, is computable from logs a comparison already produces, and equals their sequence-level total variation distance exactly when neither rule ever overtakes the other. Two consequences follow without measurement: exactness is fragile, and certifying a small difference requires the two retained masses to agree to very high precision at every step. On six open-weight models over four math and science benchmarks, the certificate for every hyperparameter grid we tested is at least 0.998, so a bound alone rarely settles a comparison, although two members of one family can be far closer. What remains useful is the coupling, which gives an unbiased paired estimator that cuts variance 1.2 - 3.8 times against prompt-level pairing. Read against benchmark sizes at the default pair's variance and our point estimate of its between-prompt component, resolving a one-point difference needs 8 to 32 samples per prompt on GSM8K, MATH-500 and GPQA-Diamond and about 210 on AIME 2025; at that component's upper confidence bound GPQA-Diamond needs more than 32 and AIME 2025 cannot be resolved at any sample count. Choosing a truncation sampler is a measurement problem at least as much as a design one. The code is available at https://github.com/KurbanIntelligenceLab/truncation-samplers.
Sources
- gpt-oss-120b & gpt-oss-20b Model Card
- The Truncation Blind Spot: How Decoding Strategies Systematically Exclude Human-Like Token Choices
- Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity
- Optimality of Correlated Sampling Strategies
- Lessons from the Trenches on Reproducible Evaluation of Language Models
- Training Verifiers to Solve Math Word Problems
- Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language Models
- Adaptive Nucleus Truncation for Long-Form Reasoning
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Top-b: Entropic Regulation of Relative Probability Bands in Autoregressive Language Processes
- Measuring Mathematical Problem Solving With the MATH Dataset
- A Sober Look at Progress in Language Model Reasoning: Pitfalls and Paths to Reproducibility
- Robust Distortion-free Watermarks for Language Models
- QuasiMoTTo: Quasi-Monte Carlo Test-Time Scaling
- Quantifying Variance in Evaluation Benchmarks
- Hidden Measurement Error in LLM Pipelines Distorts Annotation, Evaluation, and Benchmarking
- Total Variation Distance Estimation in Autoregressive Models
- GPQA: A Graduate-Level Google-Proof Q&A Benchmark
- Min-p, Max Exaggeration: A Critical Analysis of Min-p Sampling in Language Models
- Learning Adaptive LLM Decoding
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks