ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge

被引:166
作者
Li, Yunxiang [1 ]
Li, Zihan [2 ]
Zhang, Kai [3 ]
Dan, Ruilong [4 ]
Jiang, Steve [1 ]
Zhang, You [1 ]
机构
[1] Univ Texas Southwestern Med Ctr Dallas, Dept Radiat Oncol, Dallas, TX 75390 USA
[2] Univ Illinois, Dept Comp Sci, Champaign, IL USA
[3] Ohio State Univ, Dept Comp Sci & Engn, Columbus, OH USA
[4] Hangzhou Dianzi Univ, Coll Comp Sci & Technol, Hangzhou, Peoples R China
基金
美国国家卫生研究院;
关键词
ai chatbot; large language model; llama; chat gpt; gpt; LIMITS;
D O I
10.7759/cureus.40895
中图分类号
R5 [内科学];
学科分类号
1002 ; 100201 ;
摘要
Objective The primary aim of this research was to address the limitations observed in the medical knowledge of prevalent large language models (LLMs) such as ChatGPT, by creating a specialized language model with enhanced accuracy in medical advice. Methods We achieved this by adapting and refining the large language model meta-AI (LLaMA) using a large dataset of 100,000 patient-doctor dialogues sourced from a widely used online medical consultation platform. These conversations were cleaned and anonymized to respect privacy concerns. In addition to the model refinement, we incorporated a self-directed information retrieval mechanism, allowing the model to access and utilize real-time information from online sources like Wikipedia and data from curated offline medical databases. Results The fine-tuning of the model with real-world patient-doctor interactions significantly improved the model's ability to understand patient needs and provide informed advice. By equipping the model with self-directed information retrieval from reliable online and offline sources, we observed substantial improvements in the accuracy of its responses. Conclusion Our proposed ChatDoctor, represents a significant advancement in medical LLMs, demonstrating a significant improvement in understanding patient inquiries and providing accurate advice. Given the high stakes and low error tolerance in the medical field, such enhancements in providing accurate and reliable information are not only beneficial but essential.
引用
收藏
页数:12
相关论文
共 19 条
[1]  
Bang Y, 2023, Arxiv, DOI arXiv:2302.04023
[2]   Mpox in Children and Adolescents: Epidemiology, Clinical Features, Diagnosis, and Management [J].
Beeson, Amy M. ;
Haston, Julia ;
McCormick, David W. ;
Reynolds, Mary ;
Chatham-Stephens, Kevin ;
McCollum, Andrea M. ;
Godfred-Cato, Shana .
PEDIATRICS, 2023, 151 (02)
[3]   MEANS: A medical question-answering system combining NLP techniques and semantic Web technologies [J].
Ben Abacha, Asma ;
Zweigenbaum, Pierre .
INFORMATION PROCESSING & MANAGEMENT, 2015, 51 (05) :570-594
[4]   Artificial hallucination: GPT on LSD? [J].
Beutel, Gernot ;
Geerits, Eline ;
Kielstein, Jan T. .
CRITICAL CARE, 2023, 27 (01)
[5]   Monkeypox [J].
Gessain, Antoine ;
Nakoune, Emmanuel ;
Yazdanpanah, Yazdan .
NEW ENGLAND JOURNAL OF MEDICINE, 2022, 387 (19) :1783-1793
[6]   How Does ChatGPT Perform on the United States Medical Licensing Examination (USMLE)? The Implications of Large Language Models for Medical Education and Knowledge Assessment [J].
Gilson, Aidan ;
Safranek, Conrad W. ;
Huang, Thomas ;
Socrates, Vimig ;
Chi, Ling ;
Taylor, Richard Andrew ;
Chartash, David .
JMIR MEDICAL EDUCATION, 2023, 9
[7]  
github, 2023, Stanford alpaca: an instruction-following llama model
[8]   A Review of Medical Errors in Laboratory Diagnostics and Where We Are Today [J].
Hammerling, Julie A. .
LABMEDICINE, 2012, 43 (02) :41-43
[9]   Limits of trust in medical AI [J].
Hatherley, Joshua James .
JOURNAL OF MEDICAL ETHICS, 2020, 46 (07) :478-481
[10]   Benefits, Limits, and Risks of GPT-4 as an AI Chatbot for Medicine [J].
Lee, Peter ;
Bubeck, Sebastien ;
Petro, Joseph .
NEW ENGLAND JOURNAL OF MEDICINE, 2023, 388 (13) :1233-1239