GraphCheck: Breaking Long-Term Text Barriers with Extracted Knowledge Graph-Powered Fact-Checking

Yingjian Chen, Haoran Liu, Yinhong Liu, Rui Yang, Han Yuan, Yanran Fu, Pengyuan Zhou, Qingyu Chen, James Caverlee, Irene Li

Abstract

GraphCheck is a novel fact-checking framework designed to overcome the "long-term text barrier" in Large Language Models (LLMs). By integrating structured Knowledge Graphs (KGs) and Graph Neural Networks (GNNs), GraphCheck enables precise, multi-hop reasoning within a single inference call. Our evaluation across seven benchmarks demonstrates that GraphCheck matches the performance of state-of-the-art models like OpenAI-o1 while maintaining high efficiency, particularly in specialized fields like medicine.

Introduction

As LLMs generate increasingly complex content, they become prone to subtle factual errors or "hallucinations." These errors are often difficult to detect, especially when they involve multi-hop relationships spread across long documents. Existing verification methods generally fall into two categories: Naive Checking, which feeds the entire document into an LLM but fails at complex reasoning, and Atomic Checking, which breaks claims into tiny facts but is prohibitively slow and expensive due to multiple LLM calls. GraphCheck addresses these limitations by providing the LLM with a "structural map" of the text, bridging the gap between efficiency and precision.

The GraphCheck Framework

GraphCheck introduces a three-step pipeline that combines the reasoning power of LLMs with the structural strengths of GNNs:

  1. KG Extraction: An LLM extracts entity-relation triples (e.g., [Paracetamol, is safe in, recommended doses]) from both the source document and the claim to build two separate Knowledge Graphs.
  2. Graph Encoding & Projection: A trainable GNN (such as a Graph Attention Network) processes these KGs to capture global structure and multi-hop dependencies. A projection module then maps these graph embeddings into the same vector space used by the LLM's text embeddings.
  3. Joint Fact-Checking: The projected graph embeddings are fed into a frozen LLM (such as Llama 3.3 70B) alongside the original text. The graph information acts as a "soft prompt," guiding the LLM to focus on key relationships that might be buried in the prose.
The GraphCheck framework: Triples are extracted, encoded by a GNN, and projected into the LLM's embedding space for final verification.

Experimental Results

The researchers evaluated GraphCheck across seven benchmarks in both general (e.g., SummEval, ExpertQA) and medical domains (e.g., COVID-Fact, SciFact). To train the GNN component, they utilized a synthetic dataset of 14,000 samples pairing text with extracted KGs.

GraphCheck demonstrated significant performance gains across the board:

  • Accuracy Boost: It achieved up to a 7.1% overall improvement in balanced accuracy over baseline models.
  • Medical Domain Superiority: In specialized medical tasks, GraphCheck-Llama3.3 70B outperformed specialized checkers like MiniCheck by 8.1%.
  • Efficiency: By achieving fine-grained accuracy in a single inference call, GraphCheck matches the performance of much larger "frontier" models like DeepSeek-V3 (671B) and OpenAI-o1, despite having a significantly smaller footprint.
Average Balanced Accuracy across general and medical domains, showing GraphCheck outperforming other specialized methods.

Conclusion and Future Work

GraphCheck proves that Knowledge Graphs can act as a form of "structural compression," allowing models to reason over connections between entities that are hundreds of words apart without requiring massive context windows. While the system is currently dependent on the quality of initial triple extraction and limited to English, future work aims to expand the training data and extend the framework to multilingual settings. By visualizing GNN attention weights, GraphCheck also offers improved explainability, providing a clear reasoning path for its factual verdicts.

Summary updated

BibTeX
@inproceedings{chen2025graphcheck,
  author = {Yingjian Chen and Haoran Liu and Yinhong Liu and Rui Yang and Han Yuan and Yanran Fu and Pengyuan Zhou and Qingyu Chen and James Caverlee and Irene Li},
  title = {{GraphCheck: Breaking Long-Term Text Barriers with Extracted Knowledge Graph-Powered Fact-Checking}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure