Min- Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit Dynamics
Organizations: School of Computer and Information Engineering, Henan University · Department of Statistics, LMU Munich · Munich Center for Machine Learning (MCML)
Abstract
The quality of text generated by large language models depends critically on the decoding sampling strategy. While mainstream methods such as Top-, Top-, and Min- achieve a balance between diversity and accuracy through probability-space truncation, they share an inherent limitation: extreme sensitivity to the temperature parameter. Recent logit-space approaches like Top- achieve temperature invariance but rely on global statistics that are susceptible to long-tail noise, failing to capture fine-grained confidence structures among top candidates. We propose \textbf{Min- Sampling}, a novel dynamic truncation strategy that analyzes the local shape of the sorted logit distribution to identify "semantic cliffs": sharp transitions from high-confidence core tokens to uncertain long-tail tokens. By computing a position-weighted relative decay rate, Min- dynamically determines truncation boundaries at each generation step. We formally prove that Min- achieves strict temperature invariance and empirically demonstrate its low sensitivity to hyperparameter choices. Experiments on multiple reasoning benchmarks, creative writing tasks, and human evaluation show that Min- consistently improves text quality, maintaining robust performance even under extreme temperature settings where probability-based methods collapse. We make our code, models, and analysis tools publicly available.
Figures & tables
| Dataset | Model | LLaMA3-8B-Instruct | Qwen3-4B-Instruct | ||||||||||
| 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 10.0 | 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 10.0 | ||
| AQuA | Top- | 46.85 | 40.94 | 17.72 | 8.66 | 6.69 | 0.00 | 75.20 | 77.56 | 71.65 | 62.20 | 44.09 | 0.00 |
| Top- | 49.61 | 31.10 | 12.99 | 3.54 | 1.18 | 0.00 | 77.95 | 77.17 | 70.87 | 52.76 | 19.29 | 0.00 | |
| Min- | 50.00 | 32.68 | 24.02 | 7.48 | 7.08 | 0.00 | 77.56 | 76.77 | 74.41 | 69.69 | 55.12 | 0.00 | |
| Top- | 48.03 | 47.24 | 46.06 | 46.06 | 44.49 | 49.61 | 78.35 | 77.17 | 77.17 | 78.35 | 77.17 | 77.17 | |
| Min- | 50.00 | 48.03 | 44.49 | 52.76 | 50.39 | 46.06 | 79.13 | 79.13 | 79.13 | 79.92 | 78.35 | 79.13 | |
| Method | LLaMA3-8B-Instruct | Qwen3-4B-Instruct | ||
| Top- | 50.80 | 1.40 | 50.00 | 13.80 |
| Top- | 49.60 | 0.00 | 54.60 | 0.40 |
| Mirostat | 48.20 | 1.40 | 48.40 | 18.00 |
| -sampling | 52.60 | 0.00 | 49.80 | 0.20 |
| Min- | 53.40 | 51.60 | 49.40 | 46.60 |
| Method | LLaMA3-8B-Instruct | Qwen3-4B-Instruct | Total (%) |
| Top- | 33 | 34 | 67 (33.5) |
| Tie | 26 | 32 | 58 (29.0) |
| Min- | 41 | 34 | 75 (37.5) |
| Total | 100 | 100 | 200 (100) |
| Method | Tokens/s | Latency (ms) | Slowdown |
| Greedy | 39.33 | 25.43 | 0.00% |
| Top- | 38.28 | 26.13 | 2.67% |
| Top- | 38.22 | 26.16 | 2.81% |
| Min- | 38.10 | 26.24 | 3.11% |
| Top- | 37.97 | 26.34 | 3.46% |
| Min- | 37.86 | 26.41 | 3.73% |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Analysis of Component Contributions | ||
| Full-Min- | 76.15 | Complete methodical, and balances all factors. |
| w/o Weight (1/ ) | 64.14 | Validate the necessity of Head-bias. Removing it increases and introduces more noise. |
| w/o Range Norm ( ) | 41.02 | Validate Temperature Invariance. Performance drops significantly at high when removed. |
| w/o Fallback | 76.15 | Validate Robustness. Prevents degradation under extremely flat distributions caused by . |
| Decay Function | GSM8K Accuracy (%) | Creative Writing Win Rate (%) | |||
| (No Weighting) | 75.97 | 64.14 | 52.80 | 11.00 | |
| (Sqrt) | 77.41 | 71.57 | 49.00 | 49.20 | |
| (Linear, Ours) | 77.39 | 76.15 | 58.60 | 53.20 | |
| (Square) | 78.54 | 76.04 | 50.20 | 50.40 | |
| 74.07 | 72.71 | 51.60 | 48.20 | ||
| Dataset | Model | LLaMA3-70B-Instruct | Qwen3-30B-Instruct | ||||||||||
| 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 10.0 | 1.0 | 2.0 | 3.0 | 4.0 | 5.0 | 10.0 | ||
| AQuA | Top- | 73.23 | 70.87 | 54.33 | 27.56 | 15.75 | 3.54 | 54.55 | 50.26 | 42.62 | 19.23 | 4.23 | 1.24 |
| Top- | 74.02 | 68.90 | 35.83 | 10.24 | 4.33 | 0.00 | 57.02 | 55.26 | 37.95 | 5.83 | 1.79 | 0.00 | |
| Min- | 74.41 | 70.87 | 65.35 | 42.52 | 16.54 | 0.79 | 59.67 | 56.84 | 49.57 | 29.63 | 10.35 | 0.68 | |
| Top- | 74.80 | 74.80 | 70.47 | 71.65 | 72.83 | 72.83 | 61.26 | 60.83 | 59.87 | 59.23 | 60.22 | 60.12 | |
| Min- | 73.23 | 73.62 | 72.83 | 72.83 | 72.05 | 73.62 | 59.46 | 59.06 | 60.24 | 60.63 | 60.79 | 59.84 | |
Language Model Decoding
Language model decoding studies how models choose and generate outputs, balancing quality, reliability, diversity, and inference cost.
See all 161 papers