Research map / Large language models / Language, safety and interpretability
Top-n: Eliminating Noise in Logit Space for Robust Token Sampling of LLM
Chenxia Tang, Jianchun Liu, Hongli Xu, Liusheng Huang
University of Science and Technology of China
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use top-nσ instead of min-p at T=4.0 | LLaMA-3-8B-Instruct · GSM8K | exact match (%): 0.91 -> 73.24 | Improved |
| use top-nσ instead of top-p at T=2.0 | LLaMA-3-8B-Instruct · GSM8K | exact match (%): 0.00 -> 75.28 | Improved |
| use top-nσ instead of min-p at T=4.0 | LLaMA-3-8B-Instruct · AQuA | exact match (%): 0.00 -> 50.00 | Improved |
| use top-nσ instead of min-p at T=4.0 | LLaMA-3-70B-Instruct · GSM8K | exact match (%): 52.08 -> 91.89 | Improved |
| use top-nσ instead of min-p at low temperature T=0.7 | LLaMA-3-8B-Instruct · GSM8K | exact match (%): 76.72 -> 76.19 | No clear effect |
| use top-nσ instead of min-p at T=1.0 | LLaMA-3-8B-Instruct · GPQA-main | exact match (%): 32.59 -> 31.47 | No clear effect |
| use top-nσ instead of min-p for creative writing at T=1.5 | LLaMA-3-8B-Instruct · AlpacaEval Creative Writing | win rate vs greedy (%): 54.00 -> 52.90 | Hurt |
| use top-nσ instead of min-p for creative writing at T=1.0 | LLaMA-3-8B-Instruct · AlpacaEval Creative Writing | win rate vs greedy (%): 53.60 -> 56.40 | Improved |
| raise temperature from 3.0 to 10.0 with top-nσ (ablation) | LLaMA-3-8B-Instruct · AlpacaEval Creative Writing | win rate vs greedy (%): 55.40 -> 55.40 | No clear effect |
| increase n above 1.5 (up to 2.0 and 3.0) (ablation) | top-nσ · GSM8K | accuracy (%): 78.8 -> 35.6 (n 0.3 -> 3.0 at T=3.0 per Figure 5) | Hurt |
| keep n within 0.3-1.0 across temperatures (ablation) | top-nσ · GSM8K | accuracy (%): approx. 77-78 | No clear effect |
| use top-nσ in majority voting with repeated sampling (N up to 100) | LLaMA-3-8B-Instruct · GSM8K subset (128 samples), Majority@N | accuracy: final accuracy ~93% | Improved |
Open problems in parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputs (ICLR 2025 · similarity 0.92)
- Top-H Decoding: Adapting the Creativity and Coherence with Bounded Entropy in Text Generation (NeurIPS 2025 · similarity 0.90)
- A Probabilistic Perspective on Unlearning and Alignment for Large Language Models (ICLR 2025 · similarity 0.89)
- XTC: Head-Aware Sampling by Excluding Top Choices (NeurIPS 2026 · similarity 0.89)
- Exact Byte-Level Probabilities from Tokenized Language Models for FIM-Tasks and Model Ensembles (ICLR 2025 · similarity 0.89)
- Optimizing Temperature for Language Models with Multi-Sample Inference (ICML 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.