用统一随机源评估大模型,发现传统评测可能被生成随机性误导
Evaluation of Large Language Models via Coupled Token Generation
- 设计因果模型实现多模型共享随机种子生成文本
- 相同结论下采样量减少最多75%,显著提升评测效率
- 在人类对比评测中,随机性可导致不同排名,提醒警惕虚假优势
当前大语言模型依赖随机性生成回复,同一提示多次响应可能不同。本文主张评估模型时应控制生成过程中的随机性。提出耦合自回归生成的因果模型,使多个模型使用相同随机源生成响应。实验表明,在基准数据集上,该方法可达到与传统方法相同的结论,但样本量最多减少75%;而在基于人类成对比较的评测中,即使无限样本,耦合与非耦合生成仍可能导致不同模型排名,说明现有评估中部分优势可能由随机性造成。在Llama、Mistral和Qwen系列模型上的实验验证了上述结论,尤其在LMSYS Chatbot Arena平台的人类对比测试中,强模型的胜率在两种生成方式下存在差异。
原文摘要 · Abstract (English)
State of the art large language models rely on randomization to respond to a prompt. As an immediate consequence, a model may respond differently to the same prompt if asked multiple times. In this work, we argue that the evaluation and ranking of large language models should control for the randomization underpinning their functioning. Our starting point is the development of a causal model for coupled autoregressive generation, which allows different large language models to sample responses with the same source of randomness. Building upon our causal model, we first show that, on evaluations based on benchmark datasets, coupled autoregressive generation leads to the same conclusions as vanilla autoregressive generation but using provably fewer samples. However, we further show that, on evaluations based on (human) pairwise comparisons, coupled and vanilla autoregressive generation can surprisingly lead to different rankings when comparing more than two models, even with an infinite amount of samples. This suggests that the apparent advantage of a model over others in existing evaluation protocols may not be genuine but rather confounded by the randomness inherent to the generation process. To illustrate and complement our theoretical results, we conduct experiments with several large language models from the Llama, Mistral and Qwen families. We find that, across multiple benchmark datasets, coupled autoregressive generation requires up to 75% fewer samples to reach the same conclusions as vanilla autoregressive generation. Further, we find that the win-rates derived from pairwise comparisons by a strong large language model to prompts from the LMSYS Chatbot Arena platform differ under coupled and vanilla autoregressive generation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。