English

From Hallucinations to Facts: Enhancing Language Models with Curated Knowledge Graphs

Computation and Language 2024-12-30 v1 Artificial Intelligence

Abstract

Hallucination, a persistent challenge plaguing language models, undermines their efficacy and trustworthiness in various natural language processing endeavors by generating responses that deviate from factual accuracy or coherence. This paper addresses language model hallucination by integrating curated knowledge graph (KG) triples to anchor responses in empirical data. We meticulously select and integrate relevant KG triples tailored to specific contexts, enhancing factual grounding and alignment with input. Our contribution involves constructing a comprehensive KG repository from Wikipedia and refining data to spotlight essential information for model training. By imbuing language models with access to this curated knowledge, we aim to generate both linguistically fluent responses and deeply rooted in factual accuracy and context relevance. This integration mitigates hallucinations by providing a robust foundation of information, enabling models to draw upon a rich reservoir of factual data during response generation. Experimental evaluations demonstrate the effectiveness of multiple approaches in reducing hallucinatory responses, underscoring the role of curated knowledge graphs in improving the reliability and trustworthiness of language model outputs.

Keywords

Cite

@article{arxiv.2412.18672,
  title  = {From Hallucinations to Facts: Enhancing Language Models with Curated Knowledge Graphs},
  author = {Ratnesh Kumar Joshi and Sagnik Sengupta and Asif Ekbal},
  journal= {arXiv preprint arXiv:2412.18672},
  year   = {2024}
}

Comments

14 Pages, 5 Tables, 2 figures

R2 v1 2026-06-28T20:48:25.169Z