Leveraging Knowledge Graphs to Mitigate Counting Hallucinations: A Case Study of Wikidata
Informasi
JurnalCEUR Workshop Proceedings
PenerbitCEUR-WS
Volume & EdisiVol. 4108
Halaman -
Tahun Publikasi2025
ISSN16130073
Jenis SumberScopus
Abstrak
When answering questions, language models (LMs) often ground their responses in unstructured textual sources. However, structured sources such as knowledge graphs (KGs) often contain valuable counting or cardinality facts, e.g., the number of children a person has, the number of seasons in a TV series, or the number of branches a company operates. Leveraging KGs can help LMs reduce hallucinations in count-based queries, such as "How many children does X have?" or "How many branches does company Y have?". This work introduces the problem of counting hallucinations and proposes a novel LM-based QA approach that integrates structured counting knowledge from KGs like Wikidata to address these shortcomings. We also introduce the first benchmark dataset for counting QA, comprising over 10,000 entries with more than 30,000 counting questions. Through our experiments, we compare QA accuracy in various scenarios: using no structured counting knowledge at all and using our KGQA methods without vs. with perfect entity extraction. We also examine how performance differs between a smaller language model and a larger, more advanced model. The results on Wikidata show that incorporating structured counting knowledge leads to a substantial improvement in accuracy, with more than a 60% gain even without perfect entity extraction. This highlights the effectiveness and promise of our approach for advancing future KGQA research. © 2025 Copyright for this paper by its authors.
Dokumen & Tautan
