Skip to main content
QUICK REVIEW

[Paper Review] Generating Benchmarks for Factuality Evaluation of Language Models

Dor Muhlgay, Ori Ram|arXiv (Cornell University)|Jul 13, 2023
Topic ModelingComputer Science8 citations
TL;DR

The paper introduces FACTOR, a scalable framework that transforms factual corpora into contrastive benchmarks to evaluate LMs’ propensity to generate true facts versus false variations, across Wiki, News, and Expert domains; it analyzes model size effects, retrieval augmentation, and alignment with perplexity and human factuality.

ABSTRACT

Before deploying a language model (LM) within a given domain, it is important to measure its tendency to generate factually incorrect information in that domain. Existing methods for factuality evaluation of LLM generation focus on facts sampled from the LM itself, and thus do not control the set of evaluated facts and might under-represent domain specific or rare facts. We propose FACTOR: Factual Assessment via Corpus TransfORmation, a scalable approach for evaluating LM factuality. FACTOR automatically transforms a factual corpus of interest into a benchmark evaluating an LM's propensity to generate true facts from the corpus vs. similar but incorrect statements. We use our framework to create three benchmarks: Wiki-FACTOR, News-FACTOR and Expert-FACTOR. We show that: (i) our benchmark scores increase with model size and improve when the LM is augmented with retrieval; (ii) benchmark score and perplexity do not always agree on model ranking; (iii) when perplexity and benchmark score disagree, the latter better reflects factuality in open-ended generation, as measured by human annotators. We make our data and code publicly available in https://github.com/AI21Labs/factor.

Motivation & Objective

  • Motivate the need for domain-specific factuality evaluation beyond open-ended sampling and reference-based metrics.
  • Propose a scalable, corpus-driven benchmark framework (FACTOR) that creates controlled fact vs. false variations.
  • Show that FACTOR scores rise with model size and improve with retrieval augmentation, even for large LMs.
  • Compare FACTOR to perplexity and demonstrate that they can rank models differently and that FACTOR better reflects factuality in open-ended generation.
  • Provide manual validation and diverse error types to ensure robust evaluation across domains.

Proposed method

  • Define FACTOR as a multi-choice factual evaluation task where one completion is factual (from the corpus) and three are non-factual variations.
  • Automatically perturb factual statements using InstructGPT to generate diverse error-type contradictions (predicate, entity, circumstance, coreference, link).
  • Filter non-factual candidates using NLI to ensure contradiction with the factual completion and fluency checks via LM scoring.
  • Select non-factual completions to cover different error types while maintaining similarity to the factual completion (low edit distance).
  • Construct domain-specific FACTOR benchmarks: Wiki-FACTOR, News-FACTOR, Expert-FACTOR from Wikipedia, Reuters, and ExpertQA sources.
  • Evaluate open-source models (GPT-2, GPT-Neo, OPT families) with and without retrieval augmentation (IC-RALM) and analyze FACTOR accuracy against perplexity.

Experimental results

Research questions

  • RQ1Does FACTOR accuracy increase with model size across different model families?
  • RQ2Does retrieval augmentation improve FACTOR accuracy and factual grounding of LMs?
  • RQ3How does FACTOR relate to perplexity, and can they disagree in model ranking?
  • RQ4Is FACTOR accuracy predictive of factuality in open-ended generation as judged by human annotators?

Key findings

  • FACTOR accuracy generally improves with larger models but remains below 60% even for the largest models on Wiki-FACTOR, 68% on News-FACTOR, and 56% on Expert-FACTOR, indicating domain challenges.
  • Retrieval augmentation yields consistent FACTOR accuracy gains across GPT-Neo and OPT models, supporting grounding benefits.
  • In some cases, perplexity and FACTOR rankings disagree, indicating FACTOR provides complementary information about factuality not captured by perplexity.
  • Human annotations show FACTOR accuracy aligns with factuality in open-ended generation, validating the benchmark’s predictive value.
  • Domain differences: OPT models perform best on News-FACTOR while GPT-Neo models lead on Wiki-FACTOR, reflecting training data influences.
  • Across domains, non-factual completions are predominantly a mix of predicate and entity errors, with fewer coreference and link errors.

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.