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

Xunjian Yin, Xu Zhang, Jie Ruan, Xiaojun Wan
2/18/2024
cs.CL

No official code found. Best implementation: pkulcwmzx/knowledge-boundary (10 stars, MIT, last commit 2024-05-26).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL 2024] Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation

103Shell, PythonMay 26, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yin2024benchmarking,
  title  = {Benchmarking Knowledge Boundary for Large Language Models: A Different Perspective on Model Evaluation},
  author = {Xunjian Yin and Xu Zhang and Jie Ruan and Xiaojun Wan},
  year   = {2024},
  eprint = {2402.11493},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11493v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11493.svg)](https://codeofpaper.com/paper/2402.11493)

Discussion