Qibo: A Large Language Model for Traditional Chinese Medicine
Heyi Zhang, Xin Wang, Zhaopeng Meng, Zhe Chen, Pengwei Zhuang, Yongzhe Jia, Dawei Xu, Wenbin Guo
TL;DR
This work targets the gap in domain-specific LLMs for Traditional Chinese Medicine by developing Qibo, a TCM-focused LLM grounded in Chinese-LLaMA and trained through a two-stage pipeline (continuous pre-training followed by supervised instruction fine-tuning) on a 2GB TCM corpus. It introduces a comprehensive data processing scheme, constructs the Qibo-Benchmark for multi-dimensional evaluation, and builds a TCM consultation and syndrome differentiation workflow to improve interpretability and clinical relevance. Empirical results show Qibo achieves strong performance across subjective (win rates), objective (accuracy improvements), and NLP-task (Rouge-L) metrics relative to baselines, with notable gains at the 13B scale. The work provides a practical pathway for deploying interpretable, domain-specific LLMs in TCM and offers a valuable resource for evaluation in this specialized field.
Abstract
Large Language Models (LLMs) has made significant progress in a number of professional fields, including medicine, law, and finance. However, in traditional Chinese medicine (TCM), there are challenges such as the essential differences between theory and modern medicine, the lack of specialized corpus resources, and the fact that relying only on supervised fine-tuning may lead to overconfident predictions. To address these challenges, we propose a two-stage training approach that combines continuous pre-training and supervised fine-tuning. A notable contribution of our study is the processing of a 2GB corpus dedicated to TCM, constructing pre-training and instruction fine-tuning datasets for TCM, respectively. In addition, we have developed Qibo-Benchmark, a tool that evaluates the performance of LLM in the TCM on multiple dimensions, including subjective, objective, and three TCM NLP tasks. The medical LLM trained with our pipeline, named $\textbf{Qibo}$, exhibits significant performance boosts. Compared to the baselines, the average subjective win rate is 63%, the average objective accuracy improved by 23% to 58%, and the Rouge-L scores for the three TCM NLP tasks are 0.72, 0.61, and 0.55. Finally, we propose a pipline to apply Qibo to TCM consultation and demonstrate the model performance through the case study.
