A perspective for adapting generalist AI to specialized medical AI applications and their challenges

Zifeng Wang, Hanyin Wang, Benjamin P. Danek, Ying Li, Christina Mack, Luk Arbuckle, Devyani Biswal, Hoifung Poon, Yajuan Wang, Pranav Rajpurkar, Cao Xiao, Jimeng Sun

Introduction

Generalist Large Language Models (LLMs), such as GPT-4, have demonstrated remarkable "emergent" capabilities in natural language understanding. However, their deployment in high-stakes clinical environments is hindered by "hallucinations"—the generation of factually incorrect but plausible-sounding information. In medicine, where accuracy is paramount, a "jack-of-all-trades" approach is often insufficient. This perspective proposes a comprehensive framework spanning modeling, optimization, and system engineering to transform generalist AI into specialized, reliable medical tools.

The Adaptation Framework

The authors identify a critical gap between raw model capabilities and the structured, regulated requirements of healthcare. To bridge this, they propose a three-pillar framework:

  1. Model Development: This foundation involves "continual pretraining" on specialized medical corpora like PubMed and clinical notes. Techniques such as instruction tuning align model outputs with medical logic, while Low-Rank Adaptation (LoRA) provides a cost-effective method for parameter updates.
  2. Model Optimization: This stage focuses on refining inputs rather than the model itself. Strategies include MedPrompt, which combines multiple prompting techniques, and Retrieval-Augmented Generation (RAG), which grounds AI responses in trusted medical databases.
  3. System Engineering: The architecture distinguishes between AI Chains (fixed workflows for repetitive tasks like literature reviews) and AI Agents (autonomous systems for exploratory reasoning, such as hypothesis generation).

Data Sources and Benchmarks

Adapting AI for medicine requires diverse and high-quality data. The framework synthesizes information from various sources to ensure domain-specific depth.

Diverse medical data sources used for AI adaptation

Key data categories include:

  • Medical Literature: PubMed and clinical guidelines for pretraining (e.g., MEDITRON).
  • Clinical Records: Electronic Health Records (EHRs) and clinical notes for instruction tuning (e.g., LLaMA-Clinic).
  • Structured Databases: ClinicalTrials.gov for patient-trial matching.
  • Standardized Benchmarks: USMLE-style questions to evaluate medical knowledge (e.g., Med-PaLM).

Key Insights: The "Compound AI" Shift

A significant shift in medical AI is the move toward "Compound AI" systems. Performance is no longer solely a function of model size but of the integrated system of RAG, optimized prompts, and specialized tools. Furthermore, the distinction between Chains and Agents is vital: Chains ensure strict adherence to guidelines (e.g., medical coding), while Agents handle dynamic, uncertain tasks. Crucially, the framework advocates for a "Human-in-the-Loop" approach, where AI acts as a copilot, providing verifiable links to source data for clinician review.

Medical Applications and Quantitative Success

The proposed framework enables a wide array of specialized applications, ranging from administrative tasks to complex clinical reasoning.

Specialized medical AI applications supported by the proposed framework

Quantitative successes cited include:

  • Med-PaLM: Achieved 67.6% accuracy on USMLE-style questions.
  • WikiChat: Surpassed GPT-4’s factual accuracy by 55% in QA tasks using fact-verification chains.
  • TrialGPT: Reduced candidate clinical trial sets by over 90% without losing recall.
  • GeneGPT: Achieved 0.83 accuracy in biomedical QA using RAG with NCBI data.

Challenges and Future Directions

Despite progress, several hurdles remain. Multimodality—integrating text with high-resolution imaging—is a primary frontier. Interpretability remains a challenge, as LLMs are still largely "black boxes." Additionally, current NLP metrics (e.g., ROUGE) fail to capture clinical correctness. Finally, navigating regulatory landscapes like HIPAA and FDA requirements for evolving models remains a significant barrier to widespread deployment.

Summary updated

BibTeX
@article{wang2025perspective,
  author = {Zifeng Wang and Hanyin Wang and Benjamin P. Danek and Ying Li and Christina Mack and Luk Arbuckle and Devyani Biswal and Hoifung Poon and Yajuan Wang and Pranav Rajpurkar and Cao Xiao and Jimeng Sun},
  title = {{A perspective for adapting generalist AI to specialized medical AI applications and their challenges}},
  journal = {Npj Digit. Medicine},
  year = {2025},
  doi = {10.1038/s41746-025-01789-7},
}
Figure