KG-FPQ: Evaluating Factuality Hallucination in LLMs with Knowledge Graph-based False Premise Questions

Yanxu Zhu, Jinlin Xiao, Yuhang Wang, Jitao Sang

Abstract

Recent studies have demonstrated that large language models (LLMs) are susceptible to being misled by false premise questions (FPQs), leading to errors in factual knowledge, known as factuality hallucination. Existing benchmarks that assess this vulnerability primarily rely on manual construction, resulting in limited scale and lack of scalability. In this work, we introduce an automated, scalable pipeline to create FPQs based on knowledge graphs (KGs). The first step is modifying true triplets extracted from KGs to create false premises. Subsequently, utilizing the state-of-the-art capabilities of GPTs, we generate semantically rich FPQs. Based on the proposed method, we present a comprehensive benchmark, the Knowledge Graph-based False Premise Questions (KG-FPQ), which contains approximately 178k FPQs across three knowledge domains, at six levels of confusability, and in two task formats. Using KG-FPQ, we conduct extensive evaluations on several representative LLMs and provide valuable insights. The KG-FPQ dataset and code are available at https://github.com/yanxuzhu/KG-FPQ.

Introduction

Large Language Models (LLMs) are impressively knowledgeable, yet they often exhibit a "sycophantic" tendency, prioritizing helpfulness over truthfulness. This vulnerability is most apparent when models are presented with False Premise Questions (FPQs)—questions that embed an incorrect fact into the prompt. For example, if asked "Why did George Washington use a laptop?", a naive model might invent a justification rather than correcting the historical premise.

Existing benchmarks for testing this "factuality hallucination" are typically small and manually curated, making them difficult to scale. To address this, we developed KG-FPQ, an automated pipeline that bridges structured knowledge and natural language to systematically test whether LLMs can detect lies hidden within questions across various domains and difficulty levels.

Methodology: The KG-FPQ Pipeline

The KG-FPQ pipeline automates the creation of "trap" questions by transforming structured data into natural language challenges.

  1. Triplet Extraction: We begin with a Knowledge Graph (KG), specifically a high-quality subset of Wikidata called KoPL, to extract true triplets such as <John Lennon, place of death, New York City>.
  2. Strategic Editing: We swap the "object" (e.g., New York City) with a false one (e.g., Liverpool) using six distinct strategies to vary confusability. These strategies are based on KG distance (hops) and concept similarity.
  3. LLM-Powered Generation: We utilize GPT-3.5 and GPT-4 to convert these edited triplets into natural-sounding questions in two formats: Yes-No (discriminative) and WH-questions (generative).
  4. Automated Evaluation: To handle the complexity of generative responses, we fine-tuned a Llama-3-8B model, dubbed FPQ-Judge, which achieves 93% accuracy in detecting whether an LLM was misled by the false premise.
The KG-FPQ pipeline for automated triplet extraction, editing, and data generation.

The KG-FPQ Benchmark

The resulting benchmark is unprecedented in scale and diversity:

  • Scale: Approximately 178,000 questions, dwarfing previous datasets.
  • Domains: Covers three major areas: Art, People, and Place.
  • Complexity: Questions are categorized by six levels of "confusability" based on KG topology, allowing for a granular analysis of model robustness.

Key Results and Insights

Our extensive evaluation of representative LLMs yielded several critical insights into the nature of factuality hallucination.

The Proximity Trap

A key finding is that the "confusability" of a false premise is a measurable metric based on KG topology. Models are significantly more likely to hallucinate when the false information is semantically or topologically close to the truth (e.g., a neighboring city vs. a city on another continent). As shown in our analysis, accuracy drops sharply for "Neighboring Same Concept" (NSC) questions compared to "Non-Neighboring Same Concept" (NNSC) questions across all domains.

Average accuracy comparison between NSC and NNSC questions, illustrating the 'Proximity Trap' across different domains and task types.

The Generative Gap

We observed a significant performance gap between task formats. LLMs are generally better at spotting false premises in simple Yes/No formats than in generative tasks. A model might correctly answer "No" to "Did Lennon die in Liverpool?" but then proceed to hallucinate a detailed story about his death there when asked "Where in Liverpool did he die?"

Knowledge vs. Robustness

Surprisingly, a model’s proficiency in a domain (the volume of facts it "knows") does not correlate with its ability to resist false premises in that same domain. Furthermore, some mid-sized models, such as the Baichuan2 series, demonstrated a strong inherent "Yes-man" bias, making them particularly vulnerable to these attacks.

Conclusion and Future Work

KG-FPQ provides a scalable framework for identifying and understanding the limits of LLM factuality. While current models show significant performance decay as confusability increases, this benchmark offers a path forward for "red teaming" models to improve their skepticism. Future research will explore how LLMs internally store knowledge to understand why specific structures in a Knowledge Graph trigger hallucinations.

Summary updated

Abstract

Recent studies have demonstrated that large language models (LLMs) are susceptible to being misled by false premise questions (FPQs), leading to errors in factual knowledge, know as factuality hallucination. Existing benchmarks that assess this vulnerability primarily rely on manual construction, resulting in limited scale and lack of scalability. In this work, we introduce an automated, scalable pipeline to create FPQs based on knowledge graphs (KGs). The first step is modifying true triplets extracted from KGs to create false premises. Subsequently, utilizing the state-of-the-art capabilities of GPTs, we generate semantically rich FPQs. Based on the proposed method, we present a comprehensive benchmark, the Knowledge Graph-based False Premise Questions (KG-FPQ), which contains approximately 178k FPQs across three knowledge domains, at six levels of confusability, and in two task formats. Using KG-FPQ, we conduct extensive evaluations on several representative LLMs and provide valuable insights. The KG-FPQ dataset and code are available at~https://github.com/yanxuzhu/KG-FPQ.
BibTeX
@inproceedings{zhu2025kg,
  author = {Yanxu Zhu and Jinlin Xiao and Yuhang Wang and Jitao Sang},
  title = {{KG-FPQ: Evaluating Factuality Hallucination in LLMs with Knowledge Graph-based False Premise Questions}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=EHXeJ5zLXg},
}
Figure