arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.10709cs.CLcs.AI
收藏

大语言模型评估中不确定性的实证分析

An Empirical Analysis of Uncertainty in Large Language Model Evaluations

Zhejiang University(浙江大学);School of Engineering, Westlake University(西湖大学工程学院);Peking University(北京大学);Westlake Institute for Advanced Study(西湖高等研究院);University College London(伦敦大学学院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Qiujie Xie, Qingqiu Li, Zhuohao Yu, Yuejie Zhang, Yue Zhang, Linyi Yang

AI总结:

本文针对LLM评估器的稳定性问题,通过跨2种设置和9个模型的实验分析了评估不确定性,发现特殊提示策略可缓解不确定性,并提出不确定性感知的ConfiLM模型,显著提升了OOD场景下的评估性能。

摘要:

随着LLM-as-a-Judge(LLM作为评判者)成为评估大语言模型(LLM)的新范式,人们对LLM评估器的对齐性、偏见和稳定性提出了担忧。尽管已有大量工作关注对齐性和偏见,但鲜有研究关注LLM评估器的稳定性。在本文中,我们进行了广泛的实验,涉及9个广泛使用的LLM评估器,跨越2种不同的评估设置,以调查基于模型的LLM评估中的不确定性。我们指出,LLM评估器根据模型家族和规模表现出不同的不确定性。通过仔细的比较分析,我们发现采用特殊的提示策略,无论是在推理期间还是在训练后,都能在一定程度上缓解评估不确定性。通过利用不确定性来增强LLM在分布外(OOD)数据上的可靠性和检测能力,我们进一步微调了一个名为ConfiLM的不确定性感知LLM评估器,使用人工标注的微调集,并在源自2024年奥运会的手动设计的测试集上评估ConfiLM的OOD评估能力。实验结果表明,在微调阶段将不确定性作为附加信息,可以在很大程度上提高模型在OOD场景中的评估性能。代码和数据发布在:https://github.com/hasakiXie123/LLM-Evaluator-Uncertainty。

英文摘要:

As LLM-as-a-Judge emerges as a new paradigm for assessing large language models (LLMs), concerns have been raised regarding the alignment, bias, and stability of LLM evaluators. While substantial work has focused on alignment and bias, little research has concentrated on the stability of LLM evaluators. In this paper, we conduct extensive experiments involving 9 widely used LLM evaluators across 2 different evaluation settings to investigate the uncertainty in model-based LLM evaluations. We pinpoint that LLM evaluators exhibit varying uncertainty based on model families and sizes. With careful comparative analyses, we find that employing special prompting strategies, whether during inference or post-training, can alleviate evaluation uncertainty to some extent. By utilizing uncertainty to enhance LLM's reliability and detection capability in Out-Of-Distribution (OOD) data, we further fine-tune an uncertainty-aware LLM evaluator named ConfiLM using a human-annotated fine-tuning set and assess ConfiLM's OOD evaluation ability on a manually designed test set sourced from the 2024 Olympics. Experimental results demonstrate that incorporating uncertainty as additional information during the fine-tuning phase can largely improve the model's evaluation performance in OOD scenarios. The code and data are released at: https://github.com/hasakiXie123/LLM-Evaluator-Uncertainty.

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

↑