TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhou, Xingzhi, Dong, Xin, Li, Chunhao, Bai, Yuning, Xu, Yulong, Cheung, Ka Chun, See, Simon, Song, Xinpeng, Zhang, Runshun, Zhou, Xuezhong, Zhang, Nevin L.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917866690838528
author Zhou, Xingzhi
Dong, Xin
Li, Chunhao
Bai, Yuning
Xu, Yulong
Cheung, Ka Chun
See, Simon
Song, Xinpeng
Zhang, Runshun
Zhou, Xuezhong
Zhang, Nevin L.
author_facet Zhou, Xingzhi
Dong, Xin
Li, Chunhao
Bai, Yuning
Xu, Yulong
Cheung, Ka Chun
See, Simon
Song, Xinpeng
Zhang, Runshun
Zhou, Xuezhong
Zhang, Nevin L.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_10510
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction
Zhou, Xingzhi
Dong, Xin
Li, Chunhao
Bai, Yuning
Xu, Yulong
Cheung, Ka Chun
See, Simon
Song, Xinpeng
Zhang, Runshun
Zhou, Xuezhong
Zhang, Nevin L.
Computation and Language
Artificial Intelligence
Computational Engineering, Finance, and Science
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.
title TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction
topic Computation and Language
Artificial Intelligence
Computational Engineering, Finance, and Science
url https://arxiv.org/abs/2407.10510