arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01754cs.CLcs.AIcs.LG
收藏

通过耦合标记生成评估大语言模型

Evaluation of Large Language Models via Coupled Token Generation

Max Planck Institute of Biochemistry(马克斯·普朗克生物化学研究所);Hasso Plattner Institute(哈索·platzer研究所);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);Aalto University(阿尔托大学)

Nina Corvelo Benz, Stratis Tsirtsis, Eleni Straitouri, Ivi Chatzi, Ander Artola Velasco, Suhas Thejaswi, Manuel Gomez-Rodriguez

AI总结:

本文提出通过耦合自回归生成评估大语言模型,发现其在基准数据集和人机对比中产生不同排名,表明生成过程中的随机性可能影响评估结果。

摘要:

当前最先进的大语言模型依赖随机化响应提示。因此,同一提示多次询问可能导致不同响应。本文认为评估和排名应控制生成过程中的随机性。我们开发了一个因果模型用于耦合自回归生成,允许不同模型使用相同随机源采样响应。基于该模型,我们发现基准数据集评估中耦合生成与常规生成得出相同结论但样本更少。然而,在人机对比评估中,当比较超过两个模型时,耦合和常规生成可能产生不同排名,即使样本无限。这表明现有评估协议中模型的优势可能受生成过程随机性影响。我们通过Llama、Mistral和Qwen等模型实验发现,耦合生成在多个基准数据集中可减少75%样本以达到相同结论。此外,强语言模型在LMSYS Chatbot Arena平台的胜率在耦合和常规生成中不同。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑