NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards a Holistic Evaluation of LLMs on Factual Knowledge Recall

Jiaqing Yuan, Lin Pan, Chung-Wei Hang, Jiang Guo, Jiarong Jiang, Bonan Min, Patrick Ng, Zhiguo WangarXiv 2024

Abstract

Large language models (LLMs) have shown remarkable performance on a variety of NLP tasks, and are being rapidly adopted in a wide range of use cases. It is therefore of vital importance to holistically evaluate the factuality of their generated outputs, as hallucinations remain a challenging issue. In this work, we focus on assessing LLMs' ability to recall factual knowledge learned from pretraining, and the factors that affect this ability. To that end, we construct FACT-BENCH, a representative benchmark covering 20 domains, 134 property types, 3 answer types, and different knowledge popularity levels. We benchmark 31 models from 10 model families and provide a holistic assessment of their strengths and weaknesses. We observe that instruction-tuning hurts knowledge recall, as pretraining-only models consistently outperform their instruction-tuned counterparts, and positive effects of model scaling, as larger models outperform smaller ones for all model families. However, the best performance from GPT-4 still represents a large gap with the upper-bound. We additionally study the role of in-context exemplars using counterfactual demonstrations, which lead to significant degradation of factual knowledge recall for large models. By further decoupling model known and unknown knowledge, we find the degradation is attributed to exemplars that contradict a model's known knowledge, as well as the number of such exemplars. Lastly, we fine-tune LLaMA-7B in different settings of known and unknown knowledge. In particular, fine-tuning on a model's known knowledge is beneficial, and consistently outperforms fine-tuning on unknown and mixed knowledge.

Introduction

While Large Language Models (LLMs) are increasingly used as knowledge engines, they are notoriously prone to hallucinations. Evaluating their "factuality" is difficult because existing benchmarks often suffer from limited scope, template rigidity, and answer ambiguity. This work introduces FACT-BENCH, a comprehensive benchmark designed to move toward a "holistic" evaluation that decouples a model's reasoning ability from its raw knowledge recall, while ensuring the benchmark is diverse, valid, and specific.

The FACT-BENCH Framework

FACT-BENCH consists of 20,000 QA pairs across 20 domains (e.g., finance, travel, literature), 134 property types, and 3 answer types (entities, dates, numbers). The construction pipeline involves:

  1. Triplet Extraction: Pulling (subject, property, object) triplets from Wikidata.
  2. Grounded Validation: Selecting triplets where the subject has a Wikipedia article and the object appears within that article.
  3. Natural Question Generation: Using Claude (v1.3) to generate syntactically rich, specific questions rather than simple templates.

To ensure the benchmark's validity, the authors also created PREMIUM2K, a high-quality subset of 2,000 questions that underwent human validation to ensure an "upper-bound" of 100% accuracy is theoretically possible.

Key Findings on Factual Recall

The Alignment Tax and Scaling

A striking finding is the "alignment tax": instruction-tuning (RLHF/SFT) consistently degrades factual recall. Pre-trained base models almost always outperform their "chat" or "instruct" counterparts on the "Contains" metric, suggesting that alignment may suppress internal knowledge access. Conversely, scaling remains a dominant factor; larger models consistently recall more facts across all families (LLaMA, Falcon, MPT). However, even GPT-4, the top performer at ~66% Exact Match (EM), remains far below the human-validated upper bound.

Knowledge Popularity

There is a massive performance gap between "head" and "tail" knowledge. Models are significantly more adept at recalling popular entities (top 25% of Wikipedia views) than long-tail ones, as shown in the performance disparity across model families.

Knowledge Popularity Gap

Property and Domain Sensitivity

Models exhibit high sensitivity to the type of information requested. While they excel at country-related properties, they struggle immensely with dates and numerical values (e.g., "elevation above sea level"). Factual recall performance typically plateaus after 3 to 5 in-context examples for most open-source models.

In-Context Learning and Counterfactuals

The content of in-context examples matters significantly. In counterfactual experiments, models were given exemplars with intentionally incorrect answers to see if they could be "convinced" to lie about facts they actually know.

Counterfactual ICL Performance

Large models are surprisingly easy to sway with "lying" exemplars. The degradation is most severe when the prompt contradicts knowledge the model already knows. This suggests that the model's internal confidence can be undermined by misleading context.

The Hallucination Engine

By fine-tuning LLaMA-7B on different subsets of data, the authors verified that fine-tuning on facts a model doesn't know (unknown knowledge) encourages it to hallucinate. In contrast, fine-tuning on "known" knowledge improves performance. This highlights the danger of standard fine-tuning practices that force models to memorize new facts without proper grounding.

Conclusion

FACT-BENCH provides a rigorous lens through which to view LLM factuality. The findings emphasize that while scaling helps, alignment and fine-tuning on unknown data can introduce significant risks. Future work should focus on decoupling known and unknown knowledge during training to mitigate hallucination-inducing effects.

Summary updated

BibTeX
@misc{yuan2024towards,
  author = {Jiaqing Yuan and Lin Pan and Chung-Wei Hang and Jiang Guo and Jiarong Jiang and Bonan Min and Patrick Ng and Zhiguo Wang},
  title = {{Towards a Holistic Evaluation of LLMs on Factual Knowledge Recall}},
  year = {2024},
  eprint = {2404.16164},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.16164},
}
Figure