paper-with-me

홈 › Papers

Top-$nσ$: Not All Logits Are You Need

2024-11-12 · Chenxia Tang, Jianchun Liu, Hongli Xu, Liusheng Huang

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.

📄 PDF Abstract BibTeX arXiv:2411.07641

Code (0)

등록된 구현이 없습니다.

Tasks

AllDiversity

Similar Papers 제목 키워드 기반

Logits are All We Need to Adapt Closed Models

2025-02-03 · Gaurush Hiranandani, Haolun Wu, Subhojyoti Mukherjee, Sanmi Koyejo

Many commercial Large Language Models (LLMs) are often closed-source, limiting developers to prompt tuning for aligning content generation with specific applications. While these models currently do not provide access to…

AllPrompt Engineering

LogitSpec: Accelerating Retrieval-based Speculative Decoding via Next Next Token Speculation

2025-07-02 · Tianyu Liu, Qitan Lv, Hao Li, Xing Gao 외 arxiv

Speculative decoding (SD), where a small draft model is employed to propose draft tokens in advance and then the target model validates them in parallel, has emerged as a promising technique for LLM inference acceleratio…

Text Generation

Balanced Learning for Domain Adaptive Semantic Segmentation

2025-12-07 · Wangkai Li, Rui Sun, Bohao Liao, Zhaoyang Li 외 arxiv

Unsupervised domain adaptation (UDA) for semantic segmentation aims to transfer knowledge from a labeled source domain to an unlabeled target domain. Despite the effectiveness of self-training techniques in UDA, they str…

Unsupervised Domain AdaptationSemantic Segmentation

Caliber: Cross-Architecture Extraction-Cost Control for Score-Returning APIs

2026-08-02 · Chi Wang, Hanwen Wang, Yu Xia, Zihan Wang 외 arxiv

We present Caliber, an output-perturbation defense against model extraction that formulates noise selection as a calibration problem: how much the defense degrades the supervision signal used to train a surrogate, and th…

Knowledge DistillationModel extraction

BiLD: Bi-directional Logits Difference Loss for Large Language Model Distillation

2024-06-19 · Minchong Li, Feng Zhou, Xiaohui Song

In recent years, large language models (LLMs) have shown exceptional capabilities across various natural language processing (NLP) tasks. However, such impressive performance often comes with the trade-off of an increase…

Knowledge DistillationLanguage ModelingLanguage ModellingLarge Language Model