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

大型语言模型知识边界基准测试:模型评估的新视角

Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所)

Xunjian Yin, Xu Zhang, Jie Ruan, Xiaojun Wan

AI总结:

针对语言模型评估对提示敏感的问题,提出知识边界概念及带语义约束的投影梯度下降算法,为每条知识寻找最优提示,实现更可靠稳健的模型评估,并在多领域验证了算法优越性。

摘要:

近年来,大型语言模型的开发取得了显著进展,在各种任务中表现出卓越的性能。为了评估语言模型的知识能力,以往研究提出了大量基于问答对的数据集。我们认为,使用固定问题或有限释义作为查询来评估语言模型并不可靠且不全面,因为语言模型对提示(prompt)敏感。因此,我们引入了一个名为知识边界(knowledge boundary)的新概念,用以涵盖语言模型中与提示无关(prompt-agnostic)和与提示敏感(prompt-sensitive)的知识。知识边界避免了语言模型评估中的提示敏感性,使其更加可靠和稳健。为了探索给定模型的知识边界,我们提出了带语义约束的投影梯度下降方法(projected gradient descent method with semantic constraints),这是一种新算法,旨在为每条知识找到最优提示。实验表明,我们的算法在计算知识边界方面相比现有方法具有更优越的性能。此外,我们利用知识边界评估了多个语言模型在多个领域的能力。

英文摘要:

In recent years, substantial advancements have been made in the development of large language models, achieving remarkable performance across diverse tasks. To evaluate the knowledge ability of language models, previous studies have proposed lots of benchmarks based on question-answering pairs. We argue that it is not reliable and comprehensive to evaluate language models with a fixed question or limited paraphrases as the query, since language models are sensitive to prompt. Therefore, we introduce a novel concept named knowledge boundary to encompass both prompt-agnostic and prompt-sensitive knowledge within language models. Knowledge boundary avoids prompt sensitivity in language model evaluations, rendering them more dependable and robust. To explore the knowledge boundary for a given model, we propose projected gradient descent method with semantic constraints, a new algorithm designed to identify the optimal prompt for each piece of knowledge. Experiments demonstrate a superior performance of our algorithm in computing the knowledge boundary compared to existing methods. Furthermore, we evaluate the ability of multiple language models in several domains with knowledge boundary.

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

↑