Assessing the Reliability of Large Language Model Knowledge

Weixuan Wang, Barry Haddow, Alexandra Birch, Wei Peng
10/15/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have been treated as knowledge bases due to their strong performance in knowledge probing tasks. LLMs are typically evaluated using accuracy, yet this metric does not capture the vulnerability of LLMs to hallucination-inducing factors like prompt and context variability. How do we evaluate the capabilities of LLMs to consistently produce factually correct answers? In this paper, we propose MOdel kNowledge relIabiliTy scORe (MONITOR), a novel metric designed to directly measure LLMs' factual reliability. MONITOR computes the distance between the probability distributions of a valid output and its counterparts produced by the same LLM probing the same fact using different styles of prompts and contexts.Experiments on a comprehensive range of 12 LLMs demonstrate the effectiveness of MONITOR in evaluating the factual reliability of LLMs while maintaining a low computational overhead. In addition, we release the FKTC (Factual Knowledge Test Corpus) test set, containing 210,158 prompts in total to foster research along this line (https://github.com/Vicky-Wil/MONITOR).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023assessing,
  title  = {Assessing the Reliability of Large Language Model Knowledge},
  author = {Weixuan Wang and Barry Haddow and Alexandra Birch and Wei Peng},
  year   = {2023},
  eprint = {2310.09820},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.09820v1}
}

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/2310.09820.svg)](https://codeofpaper.com/paper/2310.09820)

Discussion