TL;DR
This paper provides a comprehensive survey of Large Language Models (LLMs) in medicine, detailing their development, applications, and challenges. It serves as a crucial resource for understanding the current landscape and future directions of LLMs in healthcare, aiming to guide researchers and practitioners in building and deploying these powerful tools effectively and responsibly.
What Problem Does This Paper Address?
The rapid advancement of LLMs like ChatGPT has sparked immense interest in their application to medicine, promising to enhance clinical diagnostics, medical education, and patient care. However, despite this burgeoning trend, a consolidated overview of LLMs in medicine—covering their development, practical applications, and the inherent challenges—remains scarce. This paper aims to fill this gap by offering a detailed review of medical LLMs, addressing key questions about their construction, evaluation, real-world deployment, and the obstacles that need to be overcome for their successful integration into clinical practice.
Methods
The paper categorizes the development of medical LLMs into three primary methods:
- Pre-training: This involves training LLMs on massive corpora of medical texts (structured and unstructured) to imbue them with medical knowledge. Common objectives include masked language modeling and next token prediction.
- Fine-tuning: This method adapts existing general LLMs to the medical domain using medical data. It encompasses:
- Supervised Fine-Tuning (SFT): Continued pre-training on medical corpora.
- Instruction Fine-Tuning (IFT): Fine-tuning on instruction-based medical data (e.g., instruction-question-answer triples) to improve the model's ability to follow instructions and align outputs with the medical domain.
- Parameter-Efficient Fine-Tuning (PEFT): Techniques like LoRA, Prefix Tuning, and Adapter Tuning that reduce computational and memory requirements by fine-tuning only a subset of parameters.
- Prompting: This approach aligns general LLMs with the medical domain without explicit model training. Key techniques include:
- In-Context Learning (ICL): Providing examples and task descriptions to guide the LLM.
- Chain-of-Thought (CoT) Prompting: Encouraging the LLM to generate intermediate reasoning steps.
- Prompt Tuning: Optimizing learnable prompts to adapt LLMs.
- Retrieval-Augmented Generation (RAG): Integrating external knowledge bases to mitigate hallucinations and improve accuracy.
Datasets
The paper references numerous datasets used for training and evaluating medical LLMs. Key examples include:
- General Corpora: CommonCrawl, Wiki, Books, Pile.
- Medical Corpora:
- Literature: PubMed, PubMed Central (PMC), Sciencedirect.
- Clinical Notes/EHRs: MIMIC-III, MIMIC-IV, NYU Notes, eICU-CRD.
- Clinical Practice Guidelines (CPGs).
- Medical QA Datasets: MedQA (USMLE), MedMCQA, PubMedQA, MultiMedQA.
- Radiology Datasets: MIMIC-CXR, IU-Xray, VQA-RAD, PathVQA.
- Dialogue Datasets: MedDialog, ShareGPT.
The paper also highlights the lack of comprehensive, domain-specific benchmarks and the need for new ones that go beyond simple accuracy metrics to assess trustworthiness, helpfulness, and explainability.
Key Insights and Ideas
- LLMs are rapidly evolving in medicine: The field is moving from basic pre-training to sophisticated fine-tuning and prompting strategies, with a growing emphasis on multimodal capabilities.
- General LLMs show strong QA performance, but struggle elsewhere: While models like GPT-4 excel in closed-ended question-answering tasks (like medical exams), they underperform compared to specialized models in non-QA discriminative and generative tasks. This highlights the need for better evaluation beyond exam-style questions.
- Fine-tuning and prompting are crucial for medical adaptation: These methods are essential for tailoring LLMs to specific medical needs, often outperforming general models. Parameter-efficient methods are key for accessibility.
- Multimodal LLMs are the next frontier: Integrating vision, audio, and time-series data with text is crucial for a more holistic understanding of medical information.
- Ethical and regulatory challenges are paramount: Hallucinations, biases, data privacy, and accountability are significant hurdles that require careful consideration and interdisciplinary collaboration.
- "Doctor-in-the-loop" and human-centered design are vital: Ensuring human oversight and prioritizing user needs are critical for the safe and effective deployment of LLMs in healthcare.
Key Results
- Strong performance on exam-style QA: LLMs like GPT-4 can achieve comparable or even better results than human experts on tasks like the USMLE, especially when provided with answer options.
- Underperformance in open-ended tasks: For non-QA discriminative and generative tasks without pre-set options, current general LLMs often fall short of specialized, fine-tuned models. For instance, BioBERT achieved an F1 score of 89.36 on a non-QA task, significantly outperforming a general LLM's score of 56.73.
- Clinical Camel (fine-tuned on LLaMA-2-70B) outperformed GPT-4 in some medical tasks, demonstrating the power of domain-specific fine-tuning.
- MedPrompt and Med-Gemini showed success in outperforming human experts on medical QA tasks using prompting strategies alone, suggesting efficient and "green" solutions.
Limitations and Future Work
Limitations:
- Hallucinations: LLMs can generate inaccurate or nonfactual information, which is particularly dangerous in a medical context.
- Lack of Evaluation Benchmarks: Existing benchmarks often focus narrowly on QA and fail to capture crucial LLM capabilities like trustworthiness and explainability.
- Domain Data Limitations: Medical datasets are often small, sensitive, and require extensive ethical and legal procedures for access.
- New Knowledge Adaptation: Efficiently updating LLMs with new medical knowledge without retraining is a significant challenge.
- Behavior Alignment: Ensuring LLMs align with the specific behaviors and ethical standards of medical professionals is difficult.
- Ethical and Safety Concerns: Issues like prompt injection, data leakage, and accountability remain significant concerns.
- Regulatory Challenges: The broad applicability and varying reliability of LLMs pose challenges for regulatory frameworks.
Future Work:
- Develop New Benchmarks: Create comprehensive, domain-specific benchmarks that assess a wider range of LLM capabilities, including trustworthiness and fairness.
- Multimodal Integration: Enhance LLMs to effectively process time-series, visual, and audio data alongside text.
- Medical Agents: Develop collaborative medical agents that leverage LLMs for complex diagnostic and decision-making tasks.
- LLMs in Underrepresented Specialties: Expand LLM applications to niche medical fields like rehabilitation therapy and sports medicine.
- Interdisciplinary Collaborations: Foster stronger partnerships between AI researchers and medical professionals for data contribution, ethical guidance, and real-world validation.
- Proactive Regulatory Adaptations: Develop flexible and adaptive regulatory frameworks to ensure safety, ethics, and privacy.
- Improve Knowledge Adaptation: Research methods for efficient and real-time updating of LLM knowledge.
- Enhance Behavior Alignment: Focus on aligning LLM behavior with medical professional standards and ethical guidelines.
Summary updated