Cargando…

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

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Li, Yunxiang, Li, Zihan, Zhang, Kai, Dan, Ruilong, Jiang, Steve, Zhang, You
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Cureus 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10364849/
https://www.ncbi.nlm.nih.gov/pubmed/37492832
http://dx.doi.org/10.7759/cureus.40895
_version_ 1785076929230012416
author Li, Yunxiang
Li, Zihan
Zhang, Kai
Dan, Ruilong
Jiang, Steve
Zhang, You
author_facet Li, Yunxiang
Li, Zihan
Zhang, Kai
Dan, Ruilong
Jiang, Steve
Zhang, You
author_sort Li, Yunxiang
collection PubMed
description 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.
format Online
Article
Text
id pubmed-10364849
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Cureus
record_format MEDLINE/PubMed
spelling pubmed-103648492023-07-25 ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge Li, Yunxiang Li, Zihan Zhang, Kai Dan, Ruilong Jiang, Steve Zhang, You Cureus Family/General Practice 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. Cureus 2023-06-24 /pmc/articles/PMC10364849/ /pubmed/37492832 http://dx.doi.org/10.7759/cureus.40895 Text en Copyright © 2023, Li et al. https://creativecommons.org/licenses/by/3.0/This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Family/General Practice
Li, Yunxiang
Li, Zihan
Zhang, Kai
Dan, Ruilong
Jiang, Steve
Zhang, You
ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title_full ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title_fullStr ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title_full_unstemmed ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title_short ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledge
title_sort chatdoctor: a medical chat model fine-tuned on a large language model meta-ai (llama) using medical domain knowledge
topic Family/General Practice
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10364849/
https://www.ncbi.nlm.nih.gov/pubmed/37492832
http://dx.doi.org/10.7759/cureus.40895
work_keys_str_mv AT liyunxiang chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge
AT lizihan chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge
AT zhangkai chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge
AT danruilong chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge
AT jiangsteve chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge
AT zhangyou chatdoctoramedicalchatmodelfinetunedonalargelanguagemodelmetaaillamausingmedicaldomainknowledge