ZhiFangDanTai: Fine-tuning Graph-based Retrieval-Augmented Generation Model for Traditional Chinese Medicine Formula
Traditional Chinese Medicine (TCM) formulas play a significant role in treating epidemics and complex diseases. Existing models for TCM utilize traditional algorithms or deep learning techniques to analyze formula relationships, yet lack comprehensive results, such as complete formula compositions and detailed explanations. Although recent efforts have used TCM instruction datasets to fine-tune Large Language Models (LLMs) for explainable formula generation, existing datasets lack sufficient details, such as the roles of the formula's sovereign, minister, assistant, courier; efficacy; contraindications; tongue and pulse diagnosis--limiting the depth of model outputs. To address these challenges, we propose ZhiFang DanTai, a framework combining Graph-based Retrieval Augmented Generation (GraphRAG) with LLM fine-tuning. ZhiFang DanTai uses GraphRAG to retrieve and synthesize structured TCM knowledge into concise summaries, while also constructing an enhanced instruction dataset to improve LLMs' ability to integrate retrieved information. Furthermore, we provide novel theoretical proofs demonstrating that integrating GraphRAG with fine-tuning techniques can reduce generalization error and hallucination rates in the TCM formula task. Experimental re sults on both collected and clinical datasets demonstrate that ZhiFang DanTai achieves significant improvements over state-of-the-art models. Our model is open-sourced at https://huggingface.co/tczzx6/ZhiFangDanTai1.0.
Authors
- Bowen Hao (ORCID: https://orcid.org/0009-0005-3523-4346)
- Hongzhi Yin (ORCID: https://orcid.org/0000-0003-1395-261X)
- Zixuan Zhang (ORCID: https://orcid.org/0000-0001-9987-1137)
- Yingjie Li (ORCID: https://orcid.org/0000-0002-0040-5804)
Institutions
- The University of Queensland (AU)
- Capital Normal University (CN)
Publication Details
- Journal
- IEEE Journal of Biomedical and Health Informatics
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/jbhi.2025.3607819
- Primary Topic
- Traditional Chinese Medicine Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00