TCM-FTP: 面向中药处方预测的大语言模型微调
TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction
AI总结:
针对中药处方预测中高质量数据稀缺、症药关系复杂的问题,本研究构建了消化系统疾病病历数据集DigestDS,提出结合低秩适配与草药排列数据增强的TCM-FTP微调方法,在处方预测和剂量预测上均取得优于现有方法的表现,验证了微调对该任务的必要性。
摘要:
数千年来,中医(TCM)一直依靠处方中特定的草药组合来治疗各种症状与体征。中药处方预测是一项兼具吸引力与重要实践价值的技术挑战,但该任务受限于高质量临床数据集稀缺,以及症状与草药间关系复杂的问题。为解决这些问题,我们提出了\textit{DigestDS}——一个全新的数据集,由消化系统疾病领域资深专家的实用病历构成。我们还提出了TCM-FTP(TCM Fine-Tuning Pre-trained,中医预训练模型微调)方法,通过在\textit{DigestDS}上进行监督微调来利用预训练大语言模型(LLMs)。此外,我们采用低秩适配技术提升计算效率,同时TCM-FTP还利用处方中药草的顺序无关性,通过对处方内草药进行排列实现数据增强。实验结果令人瞩目:TCM-FTP的F1值达到0.8031,显著优于现有方法;其在剂量预测上也展现出极高准确率,归一化均方误差为0.0604。相比之下,未经过微调的LLMs表现较差。尽管LLMs已展现出广泛能力,本研究强调了微调对于中药处方预测的必要性,并提出了一种实现该任务的有效途径。
英文摘要:
Traditional Chinese medicine (TCM) has relied on specific combinations of herbs in prescriptions to treat various symptoms and signs for thousands of years. Predicting TCM prescriptions poses a fascinating technical challenge with significant practical implications. However, this task faces limitations due to the scarcity of high-quality clinical datasets and the complex relationship between symptoms and herbs. To address these issues, we introduce \textit{DigestDS}, a novel dataset comprising practical medical records from experienced experts in digestive system diseases. We also propose a method, TCM-FTP (TCM Fine-Tuning Pre-trained), to leverage pre-trained large language models (LLMs) via supervised fine-tuning on \textit{DigestDS}. Additionally, we enhance computational efficiency using a low-rank adaptation technique. Moreover, TCM-FTP incorporates data augmentation by permuting herbs within prescriptions, exploiting their order-agnostic nature. Impressively, TCM-FTP achieves an F1-score of 0.8031, significantly outperforming previous methods. Furthermore, it demonstrates remarkable accuracy in dosage prediction, achieving a normalized mean square error of 0.0604. In contrast, LLMs without fine-tuning exhibit poor performance. Although LLMs have demonstrated wide-ranging capabilities, our work underscores the necessity of fine-tuning for TCM prescription prediction and presents an effective way to accomplish this.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。