Benchmarking LLMs via Uncertainty Quantification

Fanghua Ye,Mingming Yang,Jianhui Pang,Longyue Wang,Derek F. Wong,Emine Yilmaz,Shuming Shi,Zhaopeng Tu
2024-11-01
Abstract:The proliferation of open-source Large Language Models (LLMs) from various institutions has highlighted the urgent need for comprehensive evaluation methods. However, current evaluation platforms, such as the widely recognized HuggingFace open LLM leaderboard, neglect a crucial aspect -- uncertainty, which is vital for thoroughly assessing LLMs. To bridge this gap, we introduce a new benchmarking approach for LLMs that integrates uncertainty quantification. Our examination involves nine LLMs (LLM series) spanning five representative natural language processing tasks. Our findings reveal that: I) LLMs with higher accuracy may exhibit lower certainty; II) Larger-scale LLMs may display greater uncertainty compared to their smaller counterparts; and III) Instruction-finetuning tends to increase the uncertainty of LLMs. These results underscore the significance of incorporating uncertainty in the evaluation of LLMs.
Computation and Language
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the lack of consideration of uncertainty in current large - language - model (LLM) evaluation methods. Existing evaluation platforms, such as the widely recognized HuggingFace Open LLM Leaderboard, mainly focus on the accuracy of models while ignoring the crucial factor of uncertainty. This results in that even if two LLMs perform identically in terms of accuracy, their degrees of uncertainty when facing problems may be completely different. This is similar to two students choosing the same answers in a multiple - choice exam but having different levels of understanding or uncertainty regarding the questions. Therefore, the paper proposes a new benchmarking method to comprehensively evaluate the performance of LLMs by introducing uncertainty quantification. Specifically, the paper proposes using conformal prediction as a method to quantify the uncertainty of LLMs. Compared with other methods (such as Bayesian variational inference), conformal prediction has the advantages of simple implementation, high efficiency, no need for specific distribution assumptions, and being able to provide statistically rigorous uncertainty estimates. Through this method, researchers can more comprehensively evaluate the performance of LLMs, especially their performance in terms of uncertainty. In the paper, the authors conducted benchmark tests on nine open - source LLMs (covering five typical natural - language - processing tasks: question answering, reading comprehension, common - sense reasoning, dialogue response selection, and document summarization) and obtained the following main findings: 1. LLMs with higher accuracy may exhibit lower certainty; 2. Larger - scale LLMs may show greater uncertainty than smaller - scale LLMs; 3. Instruction fine - tuning tends to increase the uncertainty of LLMs. These findings emphasize the importance of considering uncertainty when evaluating LLMs.