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

xFinder:大型语言模型作为自动化评估器用于可靠评估

xFinder: Large Language Models as Automated Evaluators for Reliable Evaluation

Institute for Advanced Algorithms Research(高等算法研究院);Renmin University of China(中国人民大学)

Qingchen Yu, Zifan Zheng, Shichao Song, Zhiyu Li, Feiyu Xiong, Bo Tang, Ding Chen

AI总结:

针对LLM评估中RegEx提取错误和法官模型泛化不足的问题,提出xFinder评估器,通过优化答案提取模块,以5亿参数模型实现93.42%提取准确率和97.61%判断准确率,优于现有框架。

摘要:

大型语言模型(LLM)的持续进步使得开发公平且可靠的性能评估方法这一关键问题日益受到关注。特别是,测试集泄露和提示格式过拟合等作弊现象的出现,对LLM的可靠评估构成了重大挑战。由于评估框架通常使用正则表达式(RegEx)进行答案提取,模型可能会调整其响应以适应RegEx易于处理的格式。然而,基于RegEx的关键答案提取模块经常出现提取错误。此外,最近提出的将微调后的LLM作为法官模型进行自动化评估的研究,在泛化能力和公平性方面面临挑战。本文全面分析了整个LLM评估链,并证明优化关键答案提取模块可以提高提取准确性并增强评估可靠性。我们的研究结果表明,与法官模型相比,改进关键答案提取模块可以带来更高的判断准确性和更好的评估效率。为了解决这些问题,我们提出了xFinder,一种用于LLM评估中答案提取和匹配的新型评估器。作为该过程的一部分,我们创建了一个专门的数据集,即关键答案查找器(KAF)数据集,以确保有效的模型训练和评估。泛化测试和实际评估表明,最小的xFinder模型仅有5亿参数,平均提取准确率达到93.42%。相比之下,最佳评估框架中的RegEx准确率为74.38%。xFinder的最终判断准确率达到97.61%,优于现有的评估框架和法官模型。

英文摘要:

The continuous advancement of large language models (LLMs) has brought increasing attention to the critical issue of developing fair and reliable methods for evaluating their performance. Particularly, the emergence of cheating phenomena, such as test set leakage and prompt format overfitting, poses significant challenges to the reliable evaluation of LLMs. As evaluation frameworks commonly use Regular Expression (RegEx) for answer extraction, models may adjust their responses to fit formats easily handled by RegEx. Nevertheless, the key answer extraction module based on RegEx frequently suffers from extraction errors. Furthermore, recent studies proposing fine-tuned LLMs as judge models for automated evaluation face challenges in terms of generalization ability and fairness. This paper comprehensively analyzes the entire LLM evaluation chain and demonstrates that optimizing the key answer extraction module improves extraction accuracy and enhances evaluation reliability. Our findings suggest that improving the key answer extraction module can lead to higher judgment accuracy and improved evaluation efficiency compared to the judge models. To address these issues, we propose xFinder, a novel evaluator for answer extraction and matching in LLM evaluation. As part of this process, we create a specialized dataset, the \textbf{K}ey \textbf{A}nswer \textbf{F}inder (KAF) dataset, to ensure effective model training and evaluation. Generalization tests and real-world evaluations show that the smallest xFinder model, with only 500 million parameters, achieves an average extraction accuracy of 93.42\%. In contrast, RegEx accuracy in the best evaluation framework is 74.38\%. The final judgment accuracy of xFinder reaches 97.61\%, outperforming existing evaluation frameworks and judge models.

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

↑