linglanmidian-eval
LingLanMiDian: Systematic Evaluation of LLMs on TCM Knowledge and Clinical Reasoning — Hua et al. (2026) (arXiv:2602.01779, 2026)
What this evaluates
Evaluates LLMs on Traditional Chinese Medicine (TCM) knowledge recall, multi-hop clinical reasoning, information extraction, and clinical decision-making. It probes synonym-tolerant clinical labeling, robustness on curated hard subsets, and performance across diverse TCM-specific task formats including QA, NER, and dosage prediction.
Datasets
Metrics
Accuracy (primary) — range: [0, 1] or percent
- Fraction of correctly predicted options or decisions. Calculated as correct predictions divided by total instances.
F1 — range: [0, 1] or percent
- Harmonic mean of precision and recall. Macro-averaged across classes or entities within each subtask.
Precision — range: [0, 1] or percent
- Ratio of correctly predicted positive instances to all predicted positive instances. Macro-averaged within subtasks.
Recall — range: [0, 1] or percent
- Ratio of correctly predicted positive instances to all actual positive instances. Macro-averaged within subtasks.
char-F1 — range: [0, 1] or percent
- Character-level F1 score used for cloze completion tasks, measuring overlap between predicted and gold character sequences.
MAE — range: other
- Mean Absolute Error for dosage estimation tasks, measuring average absolute difference between predicted and gold dosage values.
Cosine similarity — range: other
- Cosine similarity between predicted and gold dosage vectors, measuring directional alignment of dosage predictions.
Input / output format
Input: Multiple-choice, single-choice, and cloze questions for knowledge tasks; raw clinical EMR and classical TCM texts for NER; patient case descriptions for syndrome, treatment, prescription, and dosage prediction; and decision recognition prompts reformulating clinical problems into single-choice tasks.
Output: Selected option indices for QA/DR tasks; extracted entity spans for NER; predicted syndrome/treatment/prescription/dosage values for reasoning tasks; and chosen decision option for DR tasks.
Scoring recipe
def compute_linglan_metrics(predictions, golds, task_type):
if task_type in ['QA', 'DR']:
return accuracy_score(golds, predictions)
elif task_type in ['NER', 'DTR']:
return f1_score(golds, predictions, average='macro')
elif task_type == 'Dosage':
return mae(golds, predictions), cosine_similarity(golds, predictions)
# 1. Macro-average all metrics within each subtask
# 2. Average subtask scores to get per-task-type score
# 3. Final overall average = mean(per-task-type scores)
# Note: MAE is excluded from the final overall average calculation.
Common pitfalls
- Strict exact matching (DTR) yields significantly lower scores than the synonym-tolerant labeling protocol (DTR-F1); evaluators must use the synonym-tolerant variant for clinical reasoning tasks to avoid underestimating model capability.
- The overall average is not a simple global mean; it is computed by first averaging metrics within subtasks, then averaging across task types equally, which can mask performance variations within specific domains.
- Hard subsets cause a consistent ~20-point drop in scores across all models; evaluating only on the full test set overestimates real-world clinical reasoning capability and robustness.
Evidence (verbatim from paper)
Under a unified zero-shot protocol, with identical decoding settings where supported, we evaluate 14 models on 13 subtasks spanning five domains. Results are reported for both the full test sets and the curated 400-item hard subsets, and all scores are macro-averaged within each subtask. The overall average for each model is obtained by first averaging over sub-tasks and metrics (accuracy, F1, cosine, precision, recall) within each task type, then taking the mean of these per-task-type scores so that each task type is weighted equally.
Citation
@misc{hua2026linglanmidian,
title={LingLanMiDian: Systematic Evaluation of LLMs on TCM Knowledge and Clinical Reasoning},
author={Hua et al. (2026)},
year={2026},
note={arXiv:2602.01779}
}
1---2name: linglanmidian-eval3description: Evaluates LLMs on Traditional Chinese Medicine (TCM) knowledge recall, multi-hop clinical reasoning, information extraction, and clinical decision-making. It probes synonym-tolerant clinical labeling, robustness on curated hard subsets, and performance across diverse TCM-specific task formats including QA, NER, and dosage prediction. Use when the user wants to benchmark on LingLanMiDian, or asks about evaluating this task. Reports Accuracy.4---56# linglanmidian-eval78> LingLanMiDian: Systematic Evaluation of LLMs on TCM Knowledge and Clinical Reasoning — Hua et al. (2026) (arXiv:2602.01779, 2026)910## What this evaluates1112Evaluates LLMs on Traditional Chinese Medicine (TCM) knowledge recall, multi-hop clinical reasoning, information extraction, and clinical decision-making. It probes synonym-tolerant clinical labeling, robustness on curated hard subsets, and performance across diverse TCM-specific task formats including QA, NER, and dosage prediction.1314## Datasets1516- **LingLanMiDian** — total ?; splits: test (-1), test-hard (400); repo https://github.com/TCMAI-BJTU/LingLan1718## Metrics1920- `Accuracy` **(primary)** — range: [0, 1] or percent21 - Fraction of correctly predicted options or decisions. Calculated as correct predictions divided by total instances.22- `F1` — range: [0, 1] or percent23 - Harmonic mean of precision and recall. Macro-averaged across classes or entities within each subtask.24- `Precision` — range: [0, 1] or percent25 - Ratio of correctly predicted positive instances to all predicted positive instances. Macro-averaged within subtasks.26- `Recall` — range: [0, 1] or percent27 - Ratio of correctly predicted positive instances to all actual positive instances. Macro-averaged within subtasks.28- `char-F1` — range: [0, 1] or percent29 - Character-level F1 score used for cloze completion tasks, measuring overlap between predicted and gold character sequences.30- `MAE` — range: other31 - Mean Absolute Error for dosage estimation tasks, measuring average absolute difference between predicted and gold dosage values.32- `Cosine similarity` — range: other33 - Cosine similarity between predicted and gold dosage vectors, measuring directional alignment of dosage predictions.3435## Input / output format3637**Input**: Multiple-choice, single-choice, and cloze questions for knowledge tasks; raw clinical EMR and classical TCM texts for NER; patient case descriptions for syndrome, treatment, prescription, and dosage prediction; and decision recognition prompts reformulating clinical problems into single-choice tasks.3839**Output**: Selected option indices for QA/DR tasks; extracted entity spans for NER; predicted syndrome/treatment/prescription/dosage values for reasoning tasks; and chosen decision option for DR tasks.4041## Scoring recipe4243```python44def compute_linglan_metrics(predictions, golds, task_type):45 if task_type in ['QA', 'DR']:46 return accuracy_score(golds, predictions)47 elif task_type in ['NER', 'DTR']:48 return f1_score(golds, predictions, average='macro')49 elif task_type == 'Dosage':50 return mae(golds, predictions), cosine_similarity(golds, predictions)51 # 1. Macro-average all metrics within each subtask52 # 2. Average subtask scores to get per-task-type score53 # 3. Final overall average = mean(per-task-type scores)54 # Note: MAE is excluded from the final overall average calculation.55```5657## Common pitfalls5859- Strict exact matching (DTR) yields significantly lower scores than the synonym-tolerant labeling protocol (DTR-F1); evaluators must use the synonym-tolerant variant for clinical reasoning tasks to avoid underestimating model capability.60- The overall average is not a simple global mean; it is computed by first averaging metrics within subtasks, then averaging across task types equally, which can mask performance variations within specific domains.61- Hard subsets cause a consistent ~20-point drop in scores across all models; evaluating only on the full test set overestimates real-world clinical reasoning capability and robustness.6263## Evidence (verbatim from paper)6465> Under a unified zero-shot protocol, with identical decoding settings where supported, we evaluate 14 models on 13 subtasks spanning five domains. Results are reported for both the full test sets and the curated 400-item hard subsets, and all scores are macro-averaged within each subtask. The overall average for each model is obtained by first averaging over sub-tasks and metrics (accuracy, F1, cosine, precision, recall) within each task type, then taking the mean of these per-task-type scores so that each task type is weighted equally.6667## Citation6869```bibtex70@misc{hua2026linglanmidian,71 title={LingLanMiDian: Systematic Evaluation of LLMs on TCM Knowledge and Clinical Reasoning},72 author={Hua et al. (2026)},73 year={2026},74 note={arXiv:2602.01779}75}76```7778- arXiv: 2602.01779