TCM-DS: a large language model for intelligent traditional Chinese medicine edible herbal formulas recommendations
Xuanfeng Li, Haining He, Guibin Lu, Peng Yue, Junying Chen, Zifeng Yang, Chitin Hon
Macau University of Science and Technology · South China University of Technology
Key points
From the paper's conclusion- In conclusion, we proposed an intelligent TCM edible herbal formula recommendation model called TCM-DS.
Abstract
BACKGROUND: The concept of medicine and food homology in traditional Chinese medicine (TCM) emphasized the dual role of certain material as both food and medicine, offering nutritional and therapeutic benefits. Edible herbal formulas, derived from this principle, are valuable for health management and chronic disease prevention. METHODS: This study proposes a domain-specific prescription recommendation model enriched by TCM edible herbal formula knowledge called TCM-DS model. A dataset including symptoms, TCM constitutions, formulas and their corresponding ingredients was developed. DeepSeek R1 base model was fine-tuned utilizing Low-rank adaptation (LoRA) fine-tuning and a retrieval-augmented generation (RAG) module to increase recommendation accuracy. TCM-DS model was evaluated against general-purpose large language models. RESULTS: The proposed TCM-DS model demonstrated superior performance, achieving a recommendation precision of 0.9924. Comparative experiments showed its robustness, with the highest precision scores for both forward and reverse symptom sequences compared with general-purpose large language models. A user-friendly platform was developed based on TCM-DS model, enabling automated constitution analysis and personalized formula recommendations. CONCLUSIONS: In conclusion, we proposed an intelligent TCM edible herbal formula recommendation model called TCM-DS. Its accompanying platform automated constitution identification and formula recommendation, advancing intelligent applications in TCM practice.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Generative models in traditional Chinese medicine: Advances and applications.Chinese herbal medicines · 2026
- Digitally Assisted Clinical Decision-Making in Traditional Chinese Medicine: Comparative Study of 5 Large Language ModelsJMIR Formative Research · 2025
- TCM-Agent: Advancing network pharmacology and herbal medicine discovery with LLM-based multi-agent systemsJournal of Pharmaceutical Analysis · 2026
- Tuning and clinical application of large language models in Traditional Chinese Medicine: scoping reviewChinese Medicine · 2026
- Clinical decision and prescription generation for diarrhea in traditional Chinese medicine based on large language modelDigital Chinese Medicine · 2026
- A benchmark dataset for evaluating Syndrome Differentiation and Treatment in large language models.Scientific data · 2026