优、劣与贪婪:大语言模型评估不应忽视非确定性
The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinism
AI总结:
针对大语言模型评估常忽视非确定性的问题,研究对比贪婪解码与采样的性能,验证对齐可降低采样方差,提出best-of-N采样法让小模型可匹敌甚至超越大模型,强调评估需考虑非确定性。
摘要:
当前大语言模型(LLM)的评估往往忽视非确定性,通常聚焦于每个样本的单一输出,这限制了我们对LLM在实际应用中性能变异性的理解。本研究针对这一问题,探索了贪婪解码与采样之间性能差异的核心问题,明确了基准在非确定性方面的一致性,并考察了独特的模型行为。通过大量实验,我们观察到在大多数被评估任务中,贪婪解码的表现通常优于采样方法。我们还发现不同规模和对齐方法的LLM性能表现一致,且对齐能够降低采样方差。此外,我们的best-of-N采样方法表明,较小的LLM能够匹配甚至超越GPT-4-Turbo等更大的模型,凸显了小型LLM尚未被挖掘的潜力。本研究表明了在LLM评估中考虑非确定性的重要性,并为未来LLM的开发与评估提供了见解。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。