Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation

Esteban Garces Arias, Meimingwei Li, Christian Heumann, Matthias Aßenmacher
10/8/2024
cs.CLcs.LG

No official code found. Best implementation: YecanLee/Decoding-Decoded (4 stars, MIT, last commit 2024-11-21).

Abstract

Decoding strategies for generative large language models (LLMs) are a critical but often underexplored aspect of text generation tasks. Guided by specific hyperparameters, these strategies aim to transform the raw probability distributions produced by language models into coherent, fluent text. In this study, we undertake a large-scale empirical assessment of a range of decoding methods, open-source LLMs, textual domains, and evaluation protocols to determine how hyperparameter choices shape the outputs. Our experiments include both factual (e.g., news) and creative (e.g., fiction) domains, and incorporate a broad suite of automatic evaluation metrics alongside human judgments. Through extensive sensitivity analyses, we distill practical recommendations for selecting and tuning hyperparameters, noting that optimal configurations vary across models and tasks. By synthesizing these insights, this study provides actionable guidance for refining decoding strategies, enabling researchers and practitioners to achieve higher-quality, more reliable, and context-appropriate text generation outcomes.

View on arXivView PDF

Code Implementations(1)

MIT

[COLING 2025] Official PyTorch Implementation of "Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation"

40Shell, PythonSep 16, 20241 years agoMIT
benchmarkcoling2025decoding-studiesllmnatural-language-processing+2 more

Similar Papers

Cite this paper

@article{arias2024decoding,
  title  = {Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation},
  author = {Esteban Garces Arias and Meimingwei Li and Christian Heumann and Matthias Aßenmacher},
  year   = {2024},
  eprint = {2410.06097},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06097v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.06097.svg)](https://codeofpaper.com/paper/2410.06097)

Discussion