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

语言模型的高效基准评测

Efficient Benchmarking of Language Models

IBM Research AI(IBM研究院人工智能部门)

Yotam Perlitz, Elron Bandel, Ariel Gera, Ofir Arviv, Liat Ein-Dor, Eyal Shnarch, Noam Slonim, Michal Shmueli-Scheuer, Leshem Choshen

AI总结:

本文提出高效基准评测问题,以 HELM 为案例研究计算与可靠性权衡,提出 DIoR 度量,并据此设计评估算法,在几乎不损失可靠性的前提下将计算成本降低 100 倍以上。

摘要:

语言模型(LMs)日益增强的多功能性催生了一类新的基准,这些基准全面评估广泛的能力。此类基准伴随着巨大的计算成本,每个模型可达数千 GPU 小时。然而,这些评估工作的效率问题在文献中却鲜有讨论。在本工作中,我们提出高效基准评测(Efficient Benchmarking)问题,即在不损害可靠性的前提下智能地降低语言模型评估的计算成本。以 HELM 基准作为测试案例,我们研究不同的基准设计选择如何影响计算与可靠性之间的权衡。我们提出使用一种新的度量——决策对可靠性的影响(Decision Impact on Reliability,简称 DIoR)——来评估此类决策的可靠性。例如,我们发现,仅仅从基准中移除一个排名较低的模型就可能改变基准的领先者,并且观察到仅考虑评估示例的一小部分就能获得正确的基准排名。基于我们的发现,我们概述了一套用于高效基准设计与使用实践的具体建议。更进一步,我们利用这些发现提出了一种评估算法,当应用于 HELM 基准时,可在基准可靠性损失极小的情况下大幅节省成本,通常可将计算量降低 100 倍或更多。

英文摘要:

The increasing versatility of language models (LMs) has given rise to a new class of benchmarks that comprehensively assess a broad range of capabilities. Such benchmarks are associated with massive computational costs, extending to thousands of GPU hours per model. However, the efficiency aspect of these evaluation efforts had raised little discussion in the literature. In this work, we present the problem of Efficient Benchmarking, namely, intelligently reducing the computation costs of LM evaluation without compromising reliability. Using the HELM benchmark as a test case, we investigate how different benchmark design choices affect the computation-reliability trade-off. We propose to evaluate the reliability of such decisions, by using a new measure -- Decision Impact on Reliability, DIoR for short. We find, for example, that a benchmark leader may change by merely removing a low-ranked model from the benchmark, and observe that a correct benchmark ranking can be obtained by considering only a fraction of the evaluation examples. Based on our findings, we outline a set of concrete recommendations for efficient benchmark design and utilization practices. To take a step further, we use our findings to propose an evaluation algorithm, that, when applied to the HELM benchmark, leads to dramatic cost savings with minimal loss of benchmark reliability, often reducing computation by x100 or more.

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

↑