scimeatlas

Research map / Large language models / Language, safety and interpretability

Balancing Diversity and Risk in LLM Sampling: How to Select Your Method and Parameter for Open-Ended Text Generation

Yuxuan Zhou, Margret Keuper, Mario Fritz

ACL 2025Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach30 citations (OpenAlex)

CISPA Helmholtz Center for Information Security · University of Mannheim · Max Planck Institute for Informatics

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
6improved
5hurt
1mixed

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 changedWhereMeasuredEffect
use adaptive sampling instead of Top-kGPT2-XL · EnWiki CP-Trie, avg Risk 1average recall: 0.220 -> 0.252Improved
use Top-p instead of Top-kGPT2-XL · EnWiki CP-Trie, avg Risk 1average recall: 0.220 -> 0.170Hurt
use Top-p instead of Top-kGPT2-XL · EnWiki CP-Trie, avg Risk 5risk standard error: 0.613 -> 2.129Hurt
use Adaptive sampling instead of Top-kGPT2-XL · EnWiki CP-Trie, avg Risk 5risk standard error: 0.613 -> 0.679Mixed
use larger model of same familyLlama family · EnWiki CP-Trieaverage recallImproved
raise average Risk from 1 to 5Top-k · TruthfulQABLEURT accuracy: 0.401 -> 0.436Improved
raise average Risk from 5 to 15Top-k · TruthfulQABLEURT accuracy: 0.436 -> 0.421Hurt
use truncation sampling instead of greedy decodingGPT2-XL · TruthfulQABLEURT accuracy: 0.338 -> 0.421 (naive)Improved
compare sampling methods at same average Risk instead of tuned parametersLlama-2-7B · HumanEvalpass@1: 2.44 -> 5.08 (Top-k, Risk 5)Improved
use sampling instead of greedyLlama-2-7B · MBPPpass@1: 24.00 -> 21.00 (Top-k, Risk 5)Hurt
use Mirostat on code and mathLlama-2-7B · MBPPpass@1: 24.00 -> 8.80Hurt
use Top-p sampling at Risk 1 instead of greedyLlama-2-7B · GSM8Kaccuracy: 13.19 -> 14.13Improved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy