Top-$nσ$: Not All Logits Are You Need
🤗 Paper Upvotes: 12 | cs.LG Authors: Chenxia Tang, Jianchun Liu, Hongli Xu, Liusheng Huang Title: Top-$nσ$: Not All Logits Are You Need Arxiv: http://arxiv.org/abs/2411.07641v1 Abstract: Large language models (LLMs) typically employ greedy decoding or low-temperature sampling for reasoning tasks, reflecting a perceived trade-off between diversity and accuracy. We challenge this convention by introducing top-$n\sigma$, a novel sampling method that operates directly on pre-softmax logits by leveraging a statistical threshold. Our key insight is that logits naturally separate into a Gaussian-distributed noisy region and a distinct informative region, enabling efficient token filtering without complex probability manipulations. Unlike existing methods (e.g., top-$p$, min-$p$) that inadvertently include more noise tokens at higher temperatures, top-$n\sigma$ maintains a stable sampling space regardless of temperature scaling. We also provide a theoretical analysis of top-$n\sigma$ to better understand its behavior. The extensive experimental results across four reasoning-focused datasets demonstrate that our method not only outperforms existing sampling approaches but also surpasses greedy decoding, while maintaining consistent performance even at high temperatures.
You May Also Like

Bedtime Astronomy
Synthetic Universe

New Books in Environmental Studies
Marshall Poe

New Books in Communications
Marshall Poe

Il podcast di Piergiorgio Odifreddi: Lezioni e Conferenze.
Vito Rodolfo Albano

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

This Week in Virology
Vincent Racaniello

Astronomy Daily: Space News Updates
bitesz.com
懂心理,調出好關係 《Healthy Relationship》
姜尚文心理師,朴世光心理師

Geoengineering Watch Global Alert News
Dane Wigington

Sasquatch Chronicles
Sasquatch Chronicles - Bigfoot Encounters
Community discussion