mlsanityData to 14 Oct 2026

Combining LLMs and Knowledge Graphs to Reduce Hallucinations in Question Answering

arXiv 2409.04181 ↗First posted 6 Sep 2024cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Advancements in natural language processing have revolutionized the way we can interact with digital information systems, such as databases, making them more accessible. However, challenges persist, especially when accuracy is critical, as in the biomedical domain. A key issue is the hallucination problem, where models generate information unsupported by the underlying data, potentially leading to dangerous misinformation. This paper presents a novel approach designed to bridge this gap by combining Large Language Models (LLM) and Knowledge Graphs (KG) to improve the accuracy and reliability of question-answering systems, on the example of a biomedical KG. Built on the LangChain framework, our method incorporates a query checker that ensures the syntactical and semantic validity of LLM-generated queries, which are then used to extract information from a Knowledge Graph, substantially reducing errors like hallucinations. We evaluated the overall performance using a new benchmark dataset of 50 biomedical questions, testing several LLMs, including GPT-4 Turbo and llama3:70b. Our results indicate that while GPT-4 Turbo outperforms other models in generating accurate queries, open-source models like llama3:70b show promise with appropriate prompt engineering. To make this approach accessible, a user-friendly web-based interface has been developed, allowing users to input natural language queries, view generated and corrected Cypher queries, and verify the resulting paths for accuracy. Overall, this hybrid approach effectively addresses common issues such as data gaps and hallucinations, offering a reliable and intuitive solution for question answering systems. The source code for generating the results of this paper and for the user-interface can be found in our Git repository: https://git.zib.de/lpusch/cyphergenkg-gui

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 27 of its 57 references that are in the map. First posted on arXiv 6 Sep 2024.

Builds on

27 of 57 references.

References · 27

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  5. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  6. 2023Qwen Technical Reportcited by 3,344
  7. 2023Mistral 7Bcited by 3,164
  8. 2024Mixtral of Expertscited by 1,823
  9. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  10. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
  11. 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 328
  12. 2023Knowledge Graph Prompting for Multi-Document Question Answeringcited by 152
15 more
  1. 2023Chain-of-Knowledge: Grounding Large Language Models via Dynamic Knowledge Adapting over Heterogeneous Sourcescited by 122
  2. 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
  3. 2022DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Basescited by 84
  4. 2023Retrieve-Rewrite-Answer: A KG-to-Text Enhanced LLMs Framework for Knowledge Graph Question Answeringcited by 65
  5. 2023ChatKBQA: A Generate-then-Retrieve Framework for Knowledge Base Question Answering with Fine-tuned Large Language Modelscited by 44
  6. 2023Graph Reasoning for Question Answering with Triplet Retrievalcited by 34
  7. 2023Biomedical knowledge graph-optimized prompt generation for large language modelscited by 31
  8. 2023Temporal Knowledge Question Answering via Abstract Reasoning Inductioncited by 23
  9. 2024An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaborationcited by 16
  10. 2024Falcon2-11B Technical Reportcited by 12
  11. 2023Bring Your Own KG: Self-Supervised Program Synthesis for Zero-Shot KGQAcited by 11
  12. 2023Semantic Parsing for Conversational Question Answering over Knowledge Graphscited by 10
  13. 2023NLQxform: A Language Model-based Question to SPARQL Transformercited by 8
  14. 2024Leveraging Large Language Models for Semantic Query Processing in a Scholarly Knowledge Graphcited by 5
  15. 2024Fact Finder -- Enhancing Domain Expertise of Large Language Models by Incorporating Knowledge Graphscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.