FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation

Sewon Min, Kalpesh Krishna, Xinxi Lyu, Mike Lewis, Wen-tau Yih, Pang Wei Koh, Mohit Iyyer, Luke Zettlemoyer, Hannaneh Hajishirzi · OpenReview

Abstract

Evaluating the factuality of long-form text generated by large language models (LMs) is non-trivial because (1) generations often contain a mixture of supported and unsupported pieces of information, making binary judgments of quality inadequate, and (2) human evaluation is time-consuming and costly. In this paper, we introduce FActScore (Factual precision in Atomicity Score), a new evaluation that breaks a generation into a series of atomic facts and computes the percentage of atomic facts supported by a reliable knowledge source. We conduct an extensive human evaluation to obtain FActScores of people biographies generated by several state-of-the-art commercial LMs -- InstructGPT, ChatGPT, and the retrieval-augmented PerplexityAI -- and report new analysis demonstrating the need for such a fine-grained score (e.g., ChatGPT only achieves 58%). Since human evaluation is costly, we also introduce an automated model that estimates FActScore, using retrieval and a strong language model, with less than a 2% error rate. Finally, we use this automated metric to evaluate 6,500 generations from a new set of 13 recent LMs that would have cost $26K if evaluated by humans, with various findings: GPT-4 and ChatGPT are more factual than public models, and Vicuna and Alpaca are some of the best public models.

Introduction

As Large Language Models (LLMs) transition from short chat bursts to generating long-form content like biographies or technical reports, "hallucinations" become increasingly difficult to track. Traditional evaluation methods struggle with two primary issues: granularity and cost. A single paragraph might contain ten true statements and two false ones; labeling the entire output as "unreliable" is overly harsh, while labeling it "factual" is potentially dangerous. Furthermore, human verification—the current gold standard—is prohibitively slow and expensive. The authors estimate that manually evaluating the 6,500 biographies in this study would have cost approximately $26,000.

To address these challenges, we present FActScore (Factual precision in Atomicity Score), a fine-grained, automated metric designed to measure the exact factual precision of long-form generations.

The FActScore Framework

FActScore operates by decomposing a long-form generation into "atomic facts"—short, standalone sentences that convey exactly one piece of information. This allows for a binary check of each individual claim against a reliable knowledge source, such as Wikipedia.

The FActScore process: decomposing biographies into atomic facts and verifying them against Wikipedia.

The process follows three main stages:

  1. Atomic Decomposition: The text is broken down into its simplest constituent claims (e.g., "Bridget Moynahan is an actress").
  2. Verification: Each atomic fact is checked against a reliable knowledge source (the April 2023 English Wikipedia dump).
  3. Scoring: The final FActScore is the percentage of atomic facts supported by the source.

To scale this evaluation, we developed an automated estimator. This system utilizes a retrieval model (GTR) to find relevant Wikipedia passages and an "evaluator" LM to decide if the fact is supported. To improve accuracy, we use an ensemble approach called Nonparametric Probability (NP), which masks tokens in the fact and calculates their likelihood based on a reference corpus, helping to catch subtle errors that a standard LM might miss.

Experimental Setup

We evaluated 6,500 biographies generated by 13 state-of-the-art LMs, including GPT-4, ChatGPT, InstructGPT, and various open-source models like Vicuna and Alpaca. The evaluation set consisted of 183 human entities sampled from Wikidata, stratified by "rarity" (page views) and nationality to ensure a diverse representation of subjects across the "long-tail" of knowledge.

Key Insights: Rarity and Position

Our analysis revealed that factuality is not a constant trait of a model; it is highly dependent on the topic's popularity and the position of the fact within the text.

FActScore performance across entity frequency (top) and sentence position (bottom) for ChatGPT and PerplexityAI.
  • The Rarity Penalty: Models "know" the head of the distribution but guess wildly on the tail. For instance, ChatGPT’s FActScore drops from approximately 80% for very famous people to a dismal 16% for rare entities.
  • The "Downhill" Generation: Precision decays as the text gets longer. Facts mentioned later in a biography are significantly more likely to be false, likely due to error propagation or the model shifting into "creative writing" mode once it exhausts its memorized facts.
  • Search Limitations: Even retrieval-augmented models like PerplexityAI, which use active search engines, only achieved a FActScore of 71.5%. These models often fail by incorporating subjective quotes or irrelevant information from search snippets that do not directly support the specific claim being made.

Key Results and Model Rankings

The automated FActScore estimator achieved an error rate of less than 2% compared to human annotators, establishing it as a viable surrogate for expensive human trials. In our model rankings, GPT-4 and ChatGPT emerged as the most factual, though ChatGPT still only managed a 58.3% overall FActScore. Among open-source models, Vicuna and Alpaca were the leaders, significantly outperforming other models of similar size like StableLM or Dolly.

Limitations and Future Work

While FActScore provides a robust measure of precision, it does not currently account for recall—a model could achieve a 100% score by providing only one simple, true sentence while omitting crucial information. Additionally, the current implementation is optimized for biographies and Wikipedia; applying it to specialized domains like medicine or law would require different atomic definitions and ground-truth sources. Future work will also need to address cases where multiple reliable sources provide contradictory information.

FActScore is available as an open-source tool to encourage more rigorous, fine-grained factuality benchmarks in the AI community.

Summary updated

Abstract

Evaluating the factuality of long-form text generated by large language models (LMs) is non-trivial because (1) generations often contain a mixture of supported and unsupported pieces of information, making binary judgments of quality inadequate, and (2) human evaluation is time-consuming and costly. In this paper, we introduce FActScore (Factual precision in Atomicity Score), a new evaluation that breaks a generation into a series of atomic facts and computes the percentage of atomic facts supported by a reliable knowledge source. We conduct an extensive human evaluation to obtain FActScores of people biographies generated by several state-of-the-art commercial LMs -- InstructGPT, ChatGPT, and the retrieval-augmented PerplexityAI -- and report new analysis demonstrating the need for such a fine-grained score (e.g., ChatGPT only achieves 58%). Since human evaluation is costly, we also introduce an automated model that estimates FActScore, using retrieval and a strong language model, with less than a 2% error rate. Finally, we use this automated metric to evaluate 6,500 generations from a new set of 13 recent LMs that would have cost $26K if evaluated by humans, with various findings: GPT-4 and ChatGPT are more factual than public models, and Vicuna and Alpaca are some of the best public models.
BibTeX
@inproceedings{min2023factscore,
  author = {Sewon Min and Kalpesh Krishna and Xinxi Lyu and Mike Lewis and Wen-tau Yih and Pang Wei Koh and Mohit Iyyer and Luke Zettlemoyer and Hannaneh Hajishirzi},
  title = {{FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.741},
}
Figure