Combination of Large Language Model and Retrieval-augmented Generation for Inference of Traditional Chinese Medicine Prescriptions and Syndrome Differentiations: A Study on Sleeping Disorders

Abstract Propose The objective of this study was to combine a large language model (LLM) with retrieval-augmented generation (RAG) to develop a tool for syndrome type determination and a medical prescription inference model for sleep disorders in a generative artificial-intelligence-based traditional Chinese medicine (TCM) system. The tool uses the disease-formula-syndrome inference framework in TCM to map various combinations of prescription formulas and syndromes. Methods This study selected 6,747 cases of sleep disorders along with their single- and compound-herb formula prescriptions (finished herbal products) to construct the RAG knowledge base. A RAG-based LLM was then employed to generate medical prescription formulas corresponding to syndrome types, as well as for reverse generation and validation. Results The results demonstrate that the RAG-based LLM can determine TCM syndrome types that align closely with clinical reality. Moreover, it can consistently provide comprehensive syndrome mappings for various combinations of prescription formulas. However, limitations were observed in a few instances where only single herbs were identified and compound-herb formulas were either omitted or incorrect, resulting in significantly lower scores. Conclusion The results indicate that the proposed method can enhance learning efficiency in TCM diagnostics and support clinical diagnosis and the RAG-based LLM need to be improved to provide comprehensive responses. Future efforts could focus on expanding the dataset and optimizing the LLM to enhance accuracy and reliability.

Authors

Institutions

Publication Details

Journal
Journal of Medical and Biological Engineering
Published
2025-10-01
DOI
https://doi.org/10.1007/s40846-025-00988-7
Primary Topic
Traditional Chinese Medicine Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Combination of Large Language Model and Retrieval-augmented Generation for Inference of Traditional Chinese Medicine Prescriptions and Syndrome Differentiations: A Study on Sleeping Disorders

YungHsin Chen, Peimeng Huang, Wen‐Chen Lin, S. Y. Lu et al.
Journal of Medical and Biological Engineering
Traditional Chinese Medicine Studies
article

Combination of Large Language Model and Retrieval-augmented Generation for Inference of Traditional Chinese Medicine Prescriptions and Syndrome Differentiations: A Study on Sleeping Disorders

YungHsin Chen, Peimeng Huang, Wen‐Chen Lin, S. Y. Lu, Jung-Peng Chiu, C. Wang, Zhiliang Chen, Yan-Wo Chan
article en

Abstract

Abstract Propose The objective of this study was to combine a large language model (LLM) with retrieval-augmented generation (RAG) to develop a tool for syndrome type determination and a medical prescription inference model for sleep disorders in a generative artificial-intelligence-based traditional Chinese medicine (TCM) system. The tool uses the disease-formula-syndrome inference framework in TCM to map various combinations of prescription formulas and syndromes. Methods This study selected 6,747 cases of sleep disorders along with their single- and compound-herb formula prescriptions (finished herbal products) to construct the RAG knowledge base. A RAG-based LLM was then employed to generate medical prescription formulas corresponding to syndrome types, as well as for reverse generation and validation. Results The results demonstrate that the RAG-based LLM can determine TCM syndrome types that align closely with clinical reality. Moreover, it can consistently provide comprehensive syndrome mappings for various combinations of prescription formulas. However, limitations were observed in a few instances where only single herbs were identified and compound-herb formulas were either omitted or incorrect, resulting in significantly lower scores. Conclusion The results indicate that the proposed method can enhance learning efficiency in TCM diagnostics and support clinical diagnosis and the RAG-based LLM need to be improved to provide comprehensive responses. Future efforts could focus on expanding the dataset and optimizing the LLM to enhance accuracy and reliability.

Journal of Medical and Biological EngineeringVol. 45(5)
Chung Yuan Christian University (TW), Taipei City Hospital (TW), Kunming Municipal Hospital of Traditional Chinese Medicine (CN)
Openalex Percentile: Top 53%
Traditional Chinese Medicine Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.