On the Efficacy of Sampling Adapters
Clara Meister, Tiago Pimentel, Luca Malagutti, Ethan Wilcox, Ryan Cotterell
摘要
Sampling-based decoding strategies are widely employed for generating text from probabilistic models, yet standard ancestral sampling often results in text that is degenerate or incoherent. To alleviate this issue, various modifications to a model’s sampling distribution, such as top-p or top-k sampling, have been introduced and are now ubiquitously used in language generation systems. We propose a unified framework for understanding these techniques, which we term sampling adapters. Sampling adapters often lead to qualitatively better text, which raises the question: From a formal perspective, how are they changing the token-level distributions of language generation models? And why do these local changes lead to higher-quality text? We argue that the shift they enforce can be viewed as a trade-off between precision and recall: while the model loses its ability to produce certain strings, its precision rate on desirable text increases. While this trade-off is not reflected in standard metrics of distribution quality (such as perplexity), we find that several precision-emphasizing measures indeed indicate that sampling adapters can lead to probability distributions more aligned with the true distribution. Further, these measures correlate with higher sequence-level quality scores, specifically, Mauve.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Neural Text Generation With Unlikelihood Training 引用了 The Curious Case of Neural Text Degeneration
- The Curious Case of Neural Text Degeneration 引用了 Neural Text Generation With Unlikelihood Training
- Improving Open-Ended Text Generation via Adaptive Decoding 引用了 Neural Text Generation With Unlikelihood Training
- Improving Open-Ended Text Generation via Adaptive Decoding 引用了 MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
- Improving Open-Ended Text Generation via Adaptive Decoding 引用了 The Curious Case of Neural Text Degeneration
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers 引用了 Neural Text Generation With Unlikelihood Training
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers 引用了 The Curious Case of Neural Text Degeneration
- Text Generation by Learning from Demonstrations 引用了 Neural Text Generation With Unlikelihood Training
- Text Generation by Learning from Demonstrations 引用了 The Curious Case of Neural Text Degeneration
- Emo: Earth Mover Distance Optimization for Auto-Regressive Language Modeling 引用了 MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
- Emo: Earth Mover Distance Optimization for Auto-Regressive Language Modeling 引用了 Text Generation by Learning from Demonstrations
- Emo: Earth Mover Distance Optimization for Auto-Regressive Language Modeling 引用了 The Curious Case of Neural Text Degeneration
- A Probability-Quality Trade-off in Aligned Language Models and its Relation to Sampling Adaptors 引用了 The Curious Case of Neural Text Degeneration
- Reembedding and Reweighting are Needed for Tail Item Sequential Recommendation 引用了 Emo: Earth Mover Distance Optimization for Auto-Regressive Language Modeling
- Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs 引用了 Improving Open-Ended Text Generation via Adaptive Decoding
- Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs 引用了 A Probability-Quality Trade-off in Aligned Language Models and its Relation to Sampling Adaptors
- Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs 引用了 The Curious Case of Neural Text Degeneration
引用它的顶会 Paper5
- Improving Open-Ended Text Generation via Adaptive DecodingWenhong Zhu, Hongkun Hao, Zhiwei He, Yiming Ai 等ICML 2024 · 21 次引用
- Emo: Earth Mover Distance Optimization for Auto-Regressive Language ModelingSiyu Ren, Zhiyong Wu, Kenny Q. ZhuICLR 2024 · 9 次引用
- Reembedding and Reweighting are Needed for Tail Item Sequential RecommendationZihao Li, Yakun Chen, Tong Zhang, Xianzhi WangWWW 2025 · 5 次引用
- Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMsXueyan Li, Guinan Su, Mrinmaya Sachan, Jonas GeipingICLR 2026 · 5 次引用
- A Probability-Quality Trade-off in Aligned Language Models and its Relation to Sampling AdaptorsNaaman Tan, Josef Valvoda, Tianyu Liu, Anej Svete 等EMNLP 2024
它引用的 Paper15
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- Neural Text Generation With Unlikelihood TrainingSean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan 等ICLR 2020 · 683 次引用
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun 等NeurIPS 2021 · 606 次引用
- An empirical analysis of compute-optimal large language model trainingJordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya 等NeurIPS 2022 · 566 次引用
- Text Generation by Learning from DemonstrationsRichard Yuanzhe Pang, He HeICLR 2021 · 88 次引用
相关 Paper
- Mirostat: a Neural Text decoding Algorithm that directly controls perplexitySourya Basu, Govardana Sachitanandam Ramachandran, Nitish Shirish Keskar, Lav R. VarshneyICLR 2021 · 13 次引用
- kNN-LM Does Not Improve Open-ended Text GenerationShufan Wang, Yixiao Song, Andrew Drozdov, Aparna Garimella 等EMNLP 2023 · 3 次引用
- Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language ModelsTom Kempton, Stuart BurrellEMNLP Findings 2025
- Decoding Game: On Minimax Optimality of Heuristic Text Generation StrategiesSijin Chen, Omar Hagrass, Jason Matthew KlusowskiICLR 2025
- Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text GenerationEsteban Garces Arias, Julian Rodemann, Meimingwei Li, Christian Heumann 等EMNLP Findings 2024 · 3 次引用
