AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (6.1 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline

Medical Q&A Model Integrating Knowledge Graph and Vector Database with Two-Stage Retrieval and Feedback Optimization

Junwei Zhang1( ), Jiang Huang2, Xiang Wang1, Xiaohong Jiang3
School of Mechatronics and Vehicle Engineering, Chongqing Jiaotong University, Chongqing 400074, China
School of Information Science and Engineering, Chongqing Jiaotong University, Chongqing 400074, China
School of Traffic and Transportation, Chongqing Jiaotong University, Chongqing 400074, China
Show Author Information

Abstract

With the rapid advancement of AI, the application potential of large language models (LLMs) in the medical field has become increasingly prominent. However, general-purpose LLMs still suffer from insufficient professional knowledge and a tendency to generate hallucinations in medical domains. Focusing on the core task of constructing a disease-oriented medical question-answering assistant, this paper proposes a medical intelligent question-answering system named HQ-LLM (HealthQuery Large Language Model) based on a two-stage retrieval and feedback iteration mechanism. Multi-source data from medical encyclopedias and public health authorities are integrated to construct a Chinese Medical Knowledge Graph and Question-Answering Dataset (CnMedKG-QA). The LoRA (Low-Rank Adaptation) technique is adopted to implement lightweight fine-tuning of the ChatGLM3-6B model, which can be supported by a single 32 GB vGPU for the training process, balancing cost control and training efficiency. To address the limitations of traditional RAG (Retrieval-Augmented Generation) systems, the paraphrase-multilingual-MiniLM-L12-v2 model is utilized for text vectorization to build a vector database with high relevance and retrieval efficiency. An innovative two-stage retrieval mechanism combining coarse-grained filtering and fine-grained reasoning is designed, along with a “retrieval-generation-evaluation-re-retrieval” feedback iteration mechanism. A medical-specific confidence evaluation system covering dimensions such as professional terminology accuracy and logical coherence is established. When the comprehensive confidence is below the threshold, retrieval key words are dynamically optimized, the number of knowledge graph tracing layers is expanded, or external authoritative data is supplemented to continuously improve retrieval quality. Experimental results show that the HQ-LLM achieves 20.47%, 42.12%, 50.26% and 79.20% in BLEU-4, Rouge-L, F1 Score and Accuracy, respectively, significantly outperforming existing medical models such as Qwen-UMLS-7B-Instruct.

CLC number: TP391.1 Document code: A Article ID: 2096-7675(2026)05-0562-015

References

【1】
【1】
 
 
Journal of Xinjiang University(Natural Science Edition in Chinese and English)
Pages 562-576

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Zhang J, Huang J, Wang X, et al. Medical Q&A Model Integrating Knowledge Graph and Vector Database with Two-Stage Retrieval and Feedback Optimization. Journal of Xinjiang University(Natural Science Edition in Chinese and English), 2026, 43(5): 562-576. https://doi.org/10.13568/j.cnki.651094.651316.2026.01.12.0002

9

Views

0

Downloads

0

Crossref

Received: 12 January 2026
Revised: 20 May 2026
Accepted: 21 May 2026
Published: 25 September 2026
© 2026 Journal of Xinjiang University (Natural Science Edition in Chinese and English)