Domain-specific large language models with chain-of-thought prompting for antibiotic prescribing: a 2×2 factorial evaluation with automated scoring assessment
- 1Department of Critical Care Medicine, Shanghai East Hospital, Shanghai, China
- 2Medical Artificial Intelligence Laboratory, Shanghai East Hospital, Shanghai, China
Abstract
Objectives: To evaluate whether a domain-specific medical large language model (LLM) provides more clinically rational and safer antibiotic prescribing decisions than a general-purpose LLM under standard and chain-of-thought (CoT) prompting. Secondarily, to assess the reliability of an LLM-based automated scoring tool against expert judgement.
Methods: In a double-blind, 2×2 factorial design, 59 complex inpatient infection cases generated prescriptions from a domain-specific medical LLM (MedGo) and DeepSeek V.3.5, each with standard and CoT prompting, alongside the real physician prescriptions. Three senior clinicians independently scored regimens (1–5 overall score and five subscores) and evaluated safety. ChatGPT V.5.2 was tested as an automated scoring tool.
Results: Overall scores ranked: physicians (4.76±0.04) > MedGo CoT (4.58±0.09) > DeepSeek CoT (4.41±0.11) > MedGo (4.25±0.16) > DeepSeek (3.98±0.20) (Friedman p<0.001). CoT significantly improved both models (DeepSeek+ 0.43, Holm-adjusted p=0.011; MedGo+ 0.33, Holm-adjusted p=0.029) and reduced score dispersion. In the base mode, MedGo outperformed DeepSeek (p=0.049, Wilcoxon; model-type main effect p=0.007, aligned-rank transform-analysis of variance); MedGo-CoT exceeded DeepSeek-CoT in individualised adjustment and dosing precision. ChatGPT-expert correlation was negligible overall (Kendall τ=0.153, p=0.003) and not statistically significant within any LLM subgroup (all p>0.05).
Discussion: Despite MedGo-CoT approaching physicians’ performance, notable safety gaps and limitations persisted in antimicrobial stewardship ecological awareness, clinical context recognition and tacit knowledge, with safety-relevant deficiencies concentrated in the DeepSeek standard-prompting condition. Automated LLM evaluation proved unreliable.
Conclusions: Domain-specific LLMs with CoT prompting improve prescribing decisions but cannot replace expert clinical judgement. Mandatory human clinical oversight of artificial intelligence-generated antibiotic recommendations—particularly prescription authority and final verification for high-level antibiotics—remains indispensable.
Related
- P-1791. Improving Antibiotic Prescribing in Telemedicine: An Assessment of the Agency for Healthcare Research and Quality (AHRQ) Safety Program for Telemedicine Antibiotic Stewardship Intervention
- P-1968. Statewide assessment of antibiotic appropriateness and prescribing patterns using TennCare data
- P-1760. Provider-focused communication to improve clinical assessment and antibiotic prescribing to promote antimicrobial stewardship at a teaching and referral hospital in Trans-Nzoia County, Kenya
- Assessment of antibiotic prescribing patterns and antimicrobial resistance awareness among dentists: a mixed-methods study
- Assessment of Antibiotic Prescribing in the Internal Medicine Departments of Boma, Democratic Republic of the Congo
BibTeX
@article{liu2026domainspecific,
title = {{Domain-specific large language models with chain-of-thought prompting for antibiotic prescribing: a 2×2 factorial evaluation with automated scoring assessment}},
author = {Yang Liu and Changjing Zhang and Feifei Wang and Wei Xu and Yunhe Zhang and Shaolin Ma and Haitao Zhang},
journal = {BMJ Health \& Care Informatics},
year = {2026},
month = nov,
doi = {10.1136/bmjhci-2026-102418},
url = {https://doi.org/10.1136/bmjhci-2026-102418},
note = {CC BY-NC 4.0},
}
RIS
TY - JOUR
TI - Domain-specific large language models with chain-of-thought prompting for antibiotic prescribing: a 2×2 factorial evaluation with automated scoring assessment
AU - Yang Liu
AU - Changjing Zhang
AU - Feifei Wang
AU - Wei Xu
AU - Yunhe Zhang
AU - Shaolin Ma
AU - Haitao Zhang
PY - 2026
DA - 2026/11/12
JO - BMJ Health & Care Informatics
DO - 10.1136/bmjhci-2026-102418
UR - https://doi.org/10.1136/bmjhci-2026-102418
AB - Objectives: To evaluate whether a domain-specific medical large language model (LLM) provides more clinically rational and safer antibiotic prescribing decisions than a general-purpose LLM under standard and chain-of-thought (CoT) prompting. Secondarily, to assess the reliability of an LLM-based automated scoring tool against expert judgement. Methods: In a double-blind, 2×2 factorial design, 59 complex inpatient infection cases generated prescriptions from a domain-specific medical LLM (MedGo) and DeepSeek V.3.5, each with standard and CoT prompting, alongside the real physician prescriptions. Three senior clinicians independently scored regimens (1–5 overall score and five subscores) and evaluated safety. ChatGPT V.5.2 was tested as an automated scoring tool. Results: Overall scores ranked: physicians (4.76±0.04) > MedGo CoT (4.58±0.09) > DeepSeek CoT (4.41±0.11) > MedGo (4.25±0.16) > DeepSeek (3.98±0.20) (Friedman p<0.001). CoT significantly improved both models (DeepSeek+ 0.43, Holm-adjusted p=0.011; MedGo+ 0.33, Holm-adjusted p=0.029) and reduced score dispersion. In the base mode, MedGo outperformed DeepSeek (p=0.049, Wilcoxon; model-type main effect p=0.007, aligned-rank transform-analysis of variance); MedGo-CoT exceeded DeepSeek-CoT in individualised adjustment and dosing precision. ChatGPT-expert correlation was negligible overall (Kendall τ=0.153, p=0.003) and not statistically significant within any LLM subgroup (all p>0.05). Discussion: Despite MedGo-CoT approaching physicians’ performance, notable safety gaps and limitations persisted in antimicrobial stewardship ecological awareness, clinical context recognition and tacit knowledge, with safety-relevant deficiencies concentrated in the DeepSeek standard-prompting condition. Automated LLM evaluation proved unreliable. Conclusions: Domain-specific LLMs with CoT prompting improve prescribing decisions but cannot replace expert clinical judgement. Mandatory human clinical oversight of artificial intelligence-generated antibiotic recommendations—particularly prescription authority and final verification for high-level antibiotics—remains indispensable.
SN - 2632-1009
ER -