Background <p>The concept of <i>medicine and food homology</i> 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.</p> Methods <p>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.</p> Results <p>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.</p> Conclusions <p>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.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

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

摘要

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.