TCMD: A Traditional Chinese Medicine QA Dataset for Evaluating Large Language Models

Ping Yu, Kaitao Song, Fengchen He, Ming Chen, Jianfeng LuarXiv 2024

Abstract

The recently unprecedented advancements in Large Language Models (LLMs) have propelled the medical community by establishing advanced medical-domain models. However, due to the limited collection of medical datasets, there are only a few comprehensive benchmarks available to gauge progress in this area. In this paper, we introduce a new medical question-answering (QA) dataset that contains massive manual instruction for solving Traditional Chinese Medicine examination tasks, called TCMD. Specifically, our TCMD collects massive questions across diverse domains with their annotated medical subjects and thus supports us in comprehensively assessing the capability of LLMs in the TCM domain. Extensive evaluation of various general LLMs and medical-domain-specific LLMs is conducted. Moreover, we also analyze the robustness of current LLMs in solving TCM QA tasks by introducing randomness. The inconsistency of the experimental results also reveals the shortcomings of current LLMs in solving QA tasks. We also expect that our dataset can further facilitate the development of LLMs in the TCM area.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable proficiency in general medicine—even passing the USMLE—Traditional Chinese Medicine (TCM) remains a significant challenge. TCM relies on a specialized knowledge base often documented in classical Chinese, which differs substantially from modern medical literature. Existing TCM benchmarks often rely on subjective metrics like "helpfulness," which lack the rigor needed for professional assessment. To address this, we introduce TCMD, an objective, standardized "bar exam" for LLMs based on the Chinese National Medical Licensing Examination (CNMLE).

The TCMD Dataset

The TCMD dataset was constructed to align precisely with the official CNMLE guidelines, ensuring it reflects the standards required for professional certification. It comprises 2,851 training questions and 600 test questions, spanning 18 subjects categorized into five major realms.

Structure and distribution of the TCMD dataset across TCM realms and subjects.

The dataset includes four distinct question styles used in professional exams:

  • A1/A2: Single questions based on statements or clinical cases.
  • A3: Multiple questions sharing a single clinical history, testing context retention.
  • B1: Multiple questions sharing a set of interrelated options, testing fine-grained concept discrimination.

Experimental Evaluation

We evaluated a wide range of models, including general-purpose LLMs (e.g., GPT-4, Moonshot, InternLM2) and domain-specific models (e.g., ChatMed-Consult, ShenNong-TCM-LLM). Beyond standard accuracy, the researchers introduced a shuffling strategy to test robustness, evaluating models on 120 permutations of multiple-choice options to detect positional bias.

Results and Discussion

Our extensive evaluation revealed several critical insights into the current state of LLMs in the TCM domain.

Performance of various LLMs across the five major TCM realms.

General vs. Domain-Specific Models

A surprising finding was that general-purpose LLMs often outperformed models specifically fine-tuned for TCM. For instance, Moonshot-v1-8k achieved the highest overall score (~76.8%), while specialized models like ShenNong-TCM-LLM struggled significantly. This suggests a "catastrophic forgetting" trap where specialized tuning for dialogue might focus too much on fluency, causing models to "forget" how to handle structured medical reasoning.

The Challenge of Classical Chinese

Performance was consistently lowest in the "Classics of TCM" (CoT) realm. The linguistic nuances of ancient Chinese texts represent a significant barrier for current models, which are primarily trained on modern corpora. Even high-performing models like GPT-4 failed to reach the 60% passing threshold in this specific area.

Robustness and Reasoning

Models exhibited a worrying lack of robustness; changing the order of multiple-choice options often led to different answers, indicating a reliance on positional patterns rather than deep understanding. Furthermore, while Chain-of-Thought (CoT) prompting usually aids reasoning, it occasionally decreased performance in this study, likely by providing more opportunities for hallucination when the underlying TCM knowledge was missing.

Conclusion

TCMD provides a rigorous benchmark for evaluating LLMs in the specialized field of Traditional Chinese Medicine. Our results highlight that while some general models can pass the "bar exam," significant hurdles remain—particularly regarding classical language comprehension and reasoning robustness. Future work should focus on aligning models with classical Chinese literature and improving consistency in high-stakes medical decision-making.

Summary updated

BibTeX
@misc{yu2024tcmd,
  author = {Ping Yu and Kaitao Song and Fengchen He and Ming Chen and Jianfeng Lu},
  title = {{TCMD: A Traditional Chinese Medicine QA Dataset for Evaluating Large Language Models}},
  year = {2024},
  eprint = {2406.04941},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.04941},
}
Figure