Arithmetic Sampling: Parallel Diverse Decoding for Large Language Models
Luke Vilnis, Yury Zemlyanskiy, Patrick Murray, Alexandre Tachard Passos, Sumit Sanghai
摘要
Decoding methods for large language models often trade-off between diversity of outputs and parallelism of computation. Methods such as beam search and Gumbel top-k sampling can guarantee a different output for each element of the beam, but are not easy to parallelize. Alternatively, methods such as temperature sampling and its modifications (top-k sampling, nucleus sampling, typical decoding, and others), are embarrassingly parallel, but have no guarantees about duplicate samples. We present a framework for sampling according to an arithmetic code book implicitly defined by a large language model, compatible with common sampling variations, with provable beam diversity under certain conditions, as well as being embarrassingly parallel and providing unbiased and consistent expectations from the original model. We demonstrate the effectiveness of our approach on WMT machine translation, more than halving the standard deviation when estimating expected BLEU score reward, and closing the BLEU score gap between independent sampling and beam search by up to 63%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 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
- Cultivating Pluralism In Algorithmic Monoculture: The Community Alignment Dataset 引用了 Training language models to follow instructions with human feedback
- Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy 引用了 Language Models are Few-Shot Learners
- Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy 引用了 Training language models to follow instructions with human feedback
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- p-less Sampling: A Robust Hyperparameter-Free Approach for LLM Decoding 引用了 The Curious Case of Neural Text Degeneration
- Semantic-guided Diverse Decoding for Large Language Model 引用了 The Curious Case of Neural Text Degeneration
- Probabilistic Inference in Language Models via Twisted Sequential Monte Carlo 引用了 The Curious Case of Neural Text Degeneration
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper8
- Probabilistic Inference in Language Models via Twisted Sequential Monte CarloStephen Zhao, Rob Brekelmans, Alireza Makhzani, Roger Baker GrosseICML 2024 · 61 次引用
- Cultivating Pluralism In Algorithmic Monoculture: The Community Alignment DatasetLily H Zhang, Smitha Milli, Karen Long Jusko, Jonathan Smith 等ICLR 2026 · 41 次引用
- Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean DiscrepancyShuhai Zhang, Yiliao Song, Jiahao Yang, Yuanqing Li 等ICLR 2024 · 19 次引用
- Semantic-guided Diverse Decoding for Large Language ModelWeijie Shi, Yue Cui, Yaguang Wu, Jingzhi Fang 等NeurIPS 2025 · 8 次引用
- p-less Sampling: A Robust Hyperparameter-Free Approach for LLM DecodingRunyan Tan, Shuang Wu, Phillip HowardICLR 2026 · 2 次引用
它引用的 Paper7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- 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 次引用
- Attention-based Contextual Language Model Adaptation for Speech RecognitionRichard Diehl Martinez, Scott Novotney, Ivan Bulyko, Ariya Rastrow 等ACL Findings 2021 · 4 次引用
相关 Paper
- Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language ModelsTom Kempton, Stuart BurrellEMNLP Findings 2025
- Entropy-informed Decoding: Adaptive Information-Driven BranchingBenjamin Patrick Evans, Sumitra Ganesh, Leo ArdonICML 2026
- Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM OutputsNguyen Nhat Minh, Andrew Baker, Clement Neo, Allen G. Roush 等ICLR 2025
- Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk DecodingMirac Suzgun, Luke Melas-Kyriazi, Dan JurafskyACL Findings 2023 · 12 次引用
- When Life Gives You Samples: The Benefits of Scaling up Inference Compute for Multilingual LLMsAmmar Khairi, Daniel D'souza, Ye Shen, Julia Kreutzer 等EMNLP 2025 · 1 次引用
