Skip to main content
QUICK REVIEW

[Paper Review] Assessing the Reliability of Large Language Model Knowledge

Weixuan Wang, Barry Haddow|arXiv (Cornell University)|Oct 15, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes MONITOR, a novel metric that evaluates the factual reliability of large language models (LLMs) by measuring the consistency of output probability distributions across varied prompts and contexts. It demonstrates strong correlation (0.846 Pearson) with accuracy while reducing computational cost by 2.97×, and introduces the publicly available FKTC dataset for factual knowledge evaluation.

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).

Motivation & Objective

  • To address the instability of LLM accuracy metrics under varying prompts and contexts, which fail to capture hallucination vulnerabilities.
  • To develop a high-resolution metric that captures uncertainty in LLM factual knowledge by analyzing output probability distributions.
  • To evaluate the combined effects of prompt framing and in-context interference on LLM reliability across diverse models.
  • To reduce computational overhead in factual knowledge evaluation while maintaining high reliability assessment fidelity.
  • To release the FKTC dataset (210,158 prompts) to support reproducible research on LLM factual reliability.

Proposed method

  • MONITOR computes the distance between output probability distributions of the same fact probed with different prompt styles and contextual inputs.
  • It uses the Jensen-Shannon divergence (JSD) to quantify deviation in probability distributions, serving as a proxy for factual reliability.
  • The method evaluates LLMs across three tasks: question answering (QA), word prediction (WP), and fact checking (FC).
  • It applies integrated gradients to attribute model outputs to input features, analyzing in-context interference effects.
  • MONITOR is computed using only one-third the GPU hours of a full accuracy evaluation, enabling scalable assessment.
  • The framework is validated across 12 LLMs of varying sizes and instruction fine-tuning status, including LLaMA-30b-ins and BLOOMZ series.

Experimental results

Research questions

  • RQ1How does MONITOR correlate with standard accuracy metrics across diverse prompting conditions?
  • RQ2To what extent does MONITOR reduce computational cost compared to full accuracy-based reliability evaluation?
  • RQ3How do prompt framing and in-context interference affect the consistency of LLM factual outputs?
  • RQ4Do larger LLMs exhibit higher factual reliability as measured by MONITOR, following the scale law?
  • RQ5Is MONITOR robust across different prompt configurations, indicating generalizability to varied prompting styles?

Key findings

  • MONITOR shows a strong Pearson correlation of 0.846 with average accuracy across 12 LLMs, indicating high alignment with standard evaluation.
  • Using MONITOR reduces GPU hours by 2.97-fold compared to full accuracy evaluation, achieving significant computational savings.
  • Models with lower MONITOR values (e.g., OPT-2b7 at 0.471) exhibit less sensitivity to in-context interference, as shown via integrated gradients attribution.
  • BLOOMZ and Vicuna models follow the scale law in MONITOR scores, with larger models showing consistently lower MONITOR values (higher reliability) across 20 test datasets.
  • MONITOR results remain consistent across different prompt groupings, with a strong linear correlation (r ≈ 0.95) between MONITOR scores from 7-prompt and 4-prompt subsets.
  • The FKTC dataset, containing 210,158 prompts, is publicly released to enable reproducible evaluation of LLM factual reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.