Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation
<|reference_start|>Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation: Decoding strategies for large language models (LLMs) are a critical but often underexplored aspect of text generation tasks. Since LLMs produce probability distributions over the entire vocabulary, various decoding methods have been developed to transform these probabilities into coherent and fluent text, each with its own set of hyperparameters. In this study, we present a large-scale, comprehensive analysis of how hyperparameter selection affects text quality in open-ended text generation across multiple LLMs, datasets, and evaluation metrics. Through an extensive sensitivity analysis, we provide practical guidelines for hyperparameter tuning and demonstrate the substantial influence of these choices on text quality. Using three established datasets, spanning factual domains (e.g., news) and creative domains (e.g., fiction), we show that hyperparameter tuning significantly impacts generation quality, though its effects vary across models and tasks. We offer in-depth insights into these effects, supported by both human evaluations and a synthesis of widely-used automatic evaluation metrics.<|reference_end|>
@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{ss}enmacher},
    journal={arXiv preprint arXiv:2410.06097},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.06097},
    primaryClass={cs.CL cs.LG}
}