Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction (2407.10510v2)

Published 15 Jul 2024 in cs.CL, cs.AI, and cs.CE

Abstract: 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 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (11)
  1. Xingzhi Zhou (3 papers)
  2. Xin Dong (90 papers)
  3. Chunhao Li (6 papers)
  4. Yuning Bai (1 paper)
  5. Yulong Xu (2 papers)
  6. Ka Chun Cheung (32 papers)
  7. Simon See (74 papers)
  8. Xinpeng Song (1 paper)
  9. Runshun Zhang (2 papers)
  10. Xuezhong Zhou (6 papers)
  11. Nevin L. Zhang (44 papers)
Citations (1)