Traditional Chinese Medicine (TCM) presents unique challenges for large language models (LLMs) due to its complex diagnostic reasoning. We introduce ZhongJingGPT, a specialized LLM for TCM that integrates vertical domain fine-tuning strategies with cognitive psychology insights. Our approach incorporates Multi-TCM Scenario and Knowledge Instruction Construction Strategies, enhanced by Symptom Sequence-based Beam Search and a Medical Finite State Machine (MedicalFSM) module. Using only LoRA fine-tuning, ZhongJingGPT achieves state-of-the-art accuracy, surpassing GPT-4 in key TCM-specific accuracy and fluency metrics. Comprehensive evaluations, including out-of-distribution assessments, renowned TCM practitioners’ case studies, and multi-turn role-playing scenarios, verify its superior performance on Chinese Massive Multitask Language Understanding (CMMLU) and TCM Humanities datasets. A multi-dimensional evaluation standard, assessed by professional practitioners, further validates its effectiveness. This research demonstrates the potential of specialized LLMs in TCM and offers insights for AI development in complex professional domains, bridging ancient wisdom with modern AI technologies.
Publications
- Article type
- Year
- Co-author
Article type
Year
Open Access
Original Paper
Just Accepted
Tsinghua Science and Technology
Available online: 05 August 2025
Downloads:514
Total 1
京公网安备11010802044758号