Lune

EMNLP2024Top-tier venue

A Thorough Examination of Decoding Methods in the Era of LLMs

Chufan Shi, Haoran Yang, Deng Cai, Zhisong Zhang, Yifan Wang, Yujiu Yang, Wai Lam

Abstract

Decoding methods play an indispensable role in converting language models from next-token predictors into practical task solvers. Prior research on decoding methods, primarily focusing on task-specific models, may not extend to the current era of general-purpose large language models (LLMs). Moreover, the recent influx of decoding strategies has further complicated this landscape. This paper provides a comprehensive and multifaceted analysis of various decoding methods within the context of LLMs, evaluating their performance, robustness to hyperparameter changes, and decoding speeds across a wide range of tasks, models, and deployment environments. Our findings reveal that decoding method performance is notably task-dependent and influenced by factors such as alignment, model size, and quantization. Intriguingly, sensitivity analysis exposes that certain methods achieve superior performance at the cost of extensive hyperparameter tuning, highlighting the trade-off between attaining optimal results and the practicality of implementation in varying contexts.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

37 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Tree of Thoughts: Deliberate Problem Solving with Large Language Models cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Self-Consistency Improves Chain of Thought Reasoning in Language Models cites The Curious Case of Neural Text Degeneration
  • MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers cites The Curious Case of Neural Text Degeneration
  • Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-Contrast cites Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-Contrast cites DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
  • SLED: Self Logits Evolution Decoding for Improving Factuality in Large Language Models cites DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers37

  1. Connecting Large Language Models with Evolutionary Algorithms Yields Powerful Prompt OptimizersQingyan Guo, Rui Wang, Junliang Guo, Bei Li et al.ICLR 2024 · 257 citations
  2. A Systematic Survey and Critical Review on Evaluating Large Language Models: Challenges, Limitations, and RecommendationsMd. Tahmid Rahman Laskar, Sawsan Alqahtani, M. Saiful Bari, Mizanur Rahman et al.EMNLP 2024 · 47 citations
  3. Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-ContrastChufan Shi, Cheng Yang, Xinyu Zhu, Jiahao Wang et al.NeurIPS 2024 · 27 citations
  4. SLED: Self Logits Evolution Decoding for Improving Factuality in Large Language ModelsJianyi Zhang, Da-Cheng Juan, Cyrus Rashtchian, Chun-Sung Ferng et al.NeurIPS 2024 · 22 citations
  5. HermesFlow: Seamlessly Closing the Gap in Multimodal Understanding and GenerationLing Yang, Xinchen Zhang, Ye Tian, Shiyi Zhang et al.NeurIPS 2025 · 16 citations

Builds on16

  1. Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran et al.NeurIPS 2023 · 5,068 citations
  2. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  3. Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations
  4. MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun et al.NeurIPS 2021 · 606 citations
  5. DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language ModelsYung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim et al.ICLR 2024 · 354 citations

Related papers

  1. A Comprehensive Evaluation of Quantization Strategies for Large Language ModelsRenren Jin, Jiangcun Du, Wuwei Huang, Wei Liu et al.ACL Findings 2024 · 55 citations
  2. Guiding LLMs The Right Way: Fast, Non-Invasive Constrained GenerationLuca Beurer-Kellner, Marc Fischer, Martin T. VechevICML 2024 · 93 citations
  3. Does quantization affect models' performance on long-context tasks?Anmol Mekala, Anirudh Atmakuru, Yixiao Song, Marzena Karpinska et al.EMNLP 2025
  4. Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language ModelsWataru Hashimoto, Hidetaka Kamigaito, Taro WatanabeEMNLP Findings 2025 · 2 citations
  5. Generation Meets Verification: Accelerating Large Language Model Inference with Smart Parallel Auto-Correct DecodingHanling Yi, Feng Lin, Hongbin Li, Peiyang Ning et al.ACL Findings 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines