The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinism

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Song, Yifan, Wang, Guoyin, Li, Sujian, Lin, Bill Yuchen
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929420662472704
author Song, Yifan
Wang, Guoyin
Li, Sujian
Lin, Bill Yuchen
author_facet Song, Yifan
Wang, Guoyin
Li, Sujian
Lin, Bill Yuchen
contents Current evaluations of large language models (LLMs) often overlook non-determinism, typically focusing on a single output per example. This limits our understanding of LLM performance variability in real-world applications. Our study addresses this issue by exploring key questions about the performance differences between greedy decoding and sampling, identifying benchmarks' consistency regarding non-determinism, and examining unique model behaviors. Through extensive experiments, we observe that greedy decoding generally outperforms sampling methods for most evaluated tasks. We also observe consistent performance across different LLM sizes and alignment methods, noting that alignment can reduce sampling variance. Moreover, our best-of-N sampling approach demonstrates that smaller LLMs can match or surpass larger models such as GPT-4-Turbo, highlighting the untapped potential of smaller LLMs. This research shows the importance of considering non-determinism in LLM evaluations and provides insights for future LLM development and evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2407_10457
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinism
Song, Yifan
Wang, Guoyin
Li, Sujian
Lin, Bill Yuchen
Computation and Language
Artificial Intelligence
Current evaluations of large language models (LLMs) often overlook non-determinism, typically focusing on a single output per example. This limits our understanding of LLM performance variability in real-world applications. Our study addresses this issue by exploring key questions about the performance differences between greedy decoding and sampling, identifying benchmarks' consistency regarding non-determinism, and examining unique model behaviors. Through extensive experiments, we observe that greedy decoding generally outperforms sampling methods for most evaluated tasks. We also observe consistent performance across different LLM sizes and alignment methods, noting that alignment can reduce sampling variance. Moreover, our best-of-N sampling approach demonstrates that smaller LLMs can match or surpass larger models such as GPT-4-Turbo, highlighting the untapped potential of smaller LLMs. This research shows the importance of considering non-determinism in LLM evaluations and provides insights for future LLM development and evaluation.
title The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinism
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2407.10457