arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.05894cs.CL
收藏

高效的LLM比较评估:一种用于成对比较的专家乘积框架

Efficient LLM Comparative Assessment: a Product of Experts Framework for Pairwise Comparisons

University of Cambridge(剑桥大学)

Adian Liusie, Vatsal Raina, Yassir Fathullah, Mark Gales

AI总结:

本文提出了一种用于高效LLM比较评估的专家乘积框架,将单个成对比较视为专家,通过结合高斯专家信息推导出最优候选排序的闭式解,在仅使用2%比较的情况下即可达到接近全量比较的性能,显著降低计算成本。

摘要:

LLM作为评判者的方法是评估一系列文本任务的实用且有效的方式。然而,当使用成对比较对一组候选对象进行排序时,计算成本随候选对象数量呈二次增长,这带来了实际限制。本文引入了一种用于高效LLM比较评估的专家乘积框架。在这里,单个比较被视为提供一对分数差异信息的专家。PoE框架结合这些专家的信息,产生一个可针对底层候选集进行最大化的表达式,并且具有高度灵活性,可以假设任何形式的专家。当使用高斯专家时,可以推导出最优候选排序的简单闭式解,以及选择应进行哪些比较以最大化该排序概率的表达式。我们的方法实现了高效的比较评估,通过仅使用可能比较的一小部分,即可生成与人类判断高度相关的分数预测。我们在多个NLG任务上评估了该方法,并证明我们的框架在执行成对比较评估时能产生显著的计算节省。当候选文本很多时,仅使用2%的比较,PoE解即可达到与使用所有比较时相似的性能。

英文摘要:

LLM-as-a-judge approaches are a practical and effective way of assessing a range of text tasks. However, when using pairwise comparisons to rank a set of candidates, the computational cost scales quadratically with the number of candidates, which has practical limitations. This paper introduces a Product of Expert (PoE) framework for efficient LLM Comparative Assessment. Here individual comparisons are considered experts that provide information on a pair's score difference. The PoE framework combines the information from these experts to yield an expression that can be maximized with respect to the underlying set of candidates, and is highly flexible where any form of expert can be assumed. When Gaussian experts are used one can derive simple closed-form solutions for the optimal candidate ranking, and expressions for selecting which comparisons should be made to maximize the probability of this ranking. Our approach enables efficient comparative assessment, where by using only a small subset of the possible comparisons, one can generate score predictions that correlate well with human judgements. We evaluate the approach on multiple NLG tasks and demonstrate that our framework can yield considerable computational savings when performing pairwise comparative assessment. With many candidate texts, using as few as 2% of comparisons the PoE solution can achieve similar performance to when all comparisons are used.

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

↑