Skip to content
Open access

Diabetes question answering method based on knowledge graph and large language model

Sep 2026 · Discover Artificial Intelligence · Vol 6 · 0 citations · 32 references
Computer Science

TL;DR

A decision-support QA framework that integrates structured retrieval over a diabetes knowledge graph with retrieval-augmented generation (RAG) and large language model (LLM)-based answer synthesis and achieves disease entity recognition, drug entity recognition, and intent classification accuracy.

Abstract

Conventional medical Question Answering (QA) systems often suffer from insufficient domain-specific knowledge grounding, limited semantic understanding, and weak answer traceability. To address these issues, this study proposes a decision-support QA framework that integrates structured retrieval over a diabetes knowledge graph with retrieval-augmented generation (RAG) and large language model (LLM)-based answer synthesis. First, a diabetes knowledge graph is constructed from the DiaKG corpus with explicit entity and relation types. A Qwen2.5–1.5B model fine-tuned with LoRA is used for named entity recognition, and a BERT-CNN hybrid model is designed for intent classification. In the answer generation stage, multi-hop Cypher queries over the knowledge graph are combined with guideline-oriented semantic retrieval. The two evidence sources are then separately presented in the prompt to support traceable answer generation by GLM-4-Flash through LangChain. Experimental results on component-level tasks show that the proposed method achieves disease entity recognition F1 of 81.02%, drug entity recognition F1 of 85.27%, and intent classification accuracy of 84.31%. The current system is intended as a medical information-service and decision-support tool rather than a substitute for professional clinical consultation. Further end-to-end clinical evaluation, ablation analysis, robustness testing, and expert-rated answer assessment are still required before deployment in patient-facing scenarios.

Read PDF

Similar papers

Open access Oct 2026

Dynamic path reasoning with large language models for interpretable knowledge graph question answering

Knowledge graph question answering (KGQA) aims to answer natural language questions by grounding them in structured knowledge graphs (KGs). Current KGQA systems still face three linked challenges: representing complex and compositional questions, providing transparent multi-hop reasoning traces, and using complete...

Ling-Wang Yuan, Bi-Cheng Wu, Yang-Yang-Er-Er-Er-Hong-Hong-Hong Yang · 0 citations
#small language model Open access Sep 2026

Large Language Model-Based Text-to-Cypher Generation for Question-Answering on Biomedical Knowledge Graphs.

Few-shot prompting heavily improves query generation quality and enables effective use of smaller models, supporting the practical deployment of locally hosted LLMs for knowledge graph question answering.

Suteera Seeha, Adem Abdelmoula, M. Boeker et al. · 0 citations
Open access Oct 2026

Relation-aware dynamic knowledge subgraph enhanced large language models for medical multiple-choice question answering

Medical multiple-choice question answering requires models to simultaneously understand question semantics, candidate-answer differences, and structured relations among medical entities in complex clinical contexts. To address the limitations that existing knowledge-enhanced methods often adopt question-level unified m...

Yu Ma, Tian-Ning Di, Jiang-Peng Xu et al. · 0 citations
#machine learning Preprint Oct 2026

Towards a Learnable Retriever for Textual Graph Question Answering

Textual graph question answering (GraphQA) and graph-based retrieval-augmented generation (GraphRAG) have gained increasing attention as a way to ground large language models (LLMs) on structured knowledge. Despite extensive efforts, existing methods still face two key gaps. The first is an architectural gap: existing...

Kai-Feng Jin, Yu-Chen Yan, Zhichen Zeng et al. · 0 citations
Open access Oct 2026

Semantic Clinical Knowledge Augmentation Improves Medical Question Answering Across Commercial and Open Large Language Models.

OBJECTIVE To evaluate whether semantic clinical knowledge augmentation through Semantic Clinical Artificial Intelligence (SCAI) improves medical question answering across commercial and open large language models, and to examine how a reasoning distilled model performs on the same benchmark. MATERIALS AND METHODS We...

Peter L. Elkin, Aaron N. Elkin, Guresh Mehta et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.