Skip to main content
QUICK REVIEW

[Paper Review] Exploration on Generating Traditional Chinese Medicine Prescription from Symptoms with an End-to-End method

Wei Li, Yang Zheng|arXiv (Cornell University)|Jan 27, 2018
Natural Language Processing TechniquesComputer Science18 references20 citations
TL;DR

This paper proposes an end-to-end sequence-to-sequence model with a coverage mechanism and soft loss function to generate Traditional Chinese Medicine (TCM) prescriptions from textual symptom descriptions. The approach reduces repetition and improves recall by modeling holistic disease patterns rather than isolated symptoms, achieving a professional evaluation score of 7.3/10.

ABSTRACT

Traditional Chinese Medicine (TCM) is an influential form of medical treatment in China and surrounding areas. In this paper, we propose a TCM prescription generation task that aims to automatically generate a herbal medicine prescription based on textual symptom descriptions. Sequence-to-sequence (seq2seq) model has been successful in dealing with sequence generation tasks. We explore a potential end-to-end solution to the TCM prescription generation task using seq2seq models. However, experiments show that directly applying seq2seq model leads to unfruitful results due to the repetition problem. To solve the problem, we propose a novel decoder with coverage mechanism and a novel soft loss function. The experimental results demonstrate the effectiveness of the proposed approach. Judged by professors who excel in TCM, the generated prescriptions are rated 7.3 out of 10. It shows that the model can indeed help with the prescribing procedure in real life.

Motivation & Objective

  • To address the lack of AI-driven tools for automatic TCM prescription generation from symptom descriptions.
  • To overcome the repetition problem in standard seq2seq models when generating TCM herb compositions.
  • To reduce the strict order dependency of seq2seq models, which hinders performance on unordered herbal prescriptions.
  • To develop a model that captures the holistic 'bianzheng' (pattern differentiation) in TCM rather than treating symptoms in isolation.
  • To evaluate the model's clinical relevance through expert assessment, aiming to support, not replace, human practitioners.

Proposed method

  • Adopt an end-to-end sequence-to-sequence (seq2seq) architecture with an encoder for symptom encoding and a decoder for herb sequence generation.
  • Introduce a novel coverage mechanism in the decoder to track and penalize repeated herb generation by monitoring attention over previously generated tokens.
  • Propose a soft loss function that relaxes the strict order constraint of standard seq2seq by allowing flexible herb ordering during training.
  • Train the model on a curated dataset of 82,044 symptom-prescription pairs extracted from TCM classics and digital resources.
  • Apply post-processing to remove duplicates and ensure valid prescription format in inference.
  • Use both automatic metrics and expert evaluation to assess generation quality and clinical relevance.

Experimental results

Research questions

  • RQ1Can a seq2seq model effectively generate TCM prescriptions from natural language symptom descriptions?
  • RQ2How does the repetition problem in standard seq2seq models affect prescription generation quality in TCM?
  • RQ3To what extent can a coverage mechanism reduce redundant herb generation in TCM prescription generation?
  • RQ4How does a soft loss function improve model performance by relaxing strict token order constraints?
  • RQ5Can the model generate prescriptions that reflect the holistic 'bianzheng' (pattern differentiation) rather than treating symptoms in isolation?

Key findings

  • The proposed model significantly reduces repetition in generated prescriptions compared to the baseline seq2seq model.
  • The model achieves a professional evaluation score of 7.3 out of 10, indicating strong clinical relevance and practical utility.
  • The model outperforms both the basic seq2seq and multi-label baseline models in expert evaluation, particularly in capturing disease patterns.
  • The coverage mechanism effectively tracks and suppresses repeated herb tokens during decoding.
  • The soft loss function improves recall by allowing flexible ordering of herbs, which aligns better with TCM’s weak-order prescription structure.
  • The model demonstrates an improved ability to understand the overall disease pattern ('bianzheng') rather than generating herbs based on isolated symptoms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.