Open-Source Large Language Models in Radiology: A Review and Tutorial for Practical Research and Clinical Deployment

Cody Savage, Adway Kanhere, Vishwa Sanjay Parekh, Curtis Langlotz, Anupam Joshi, Heng Huang, Florence Xini DooRadiology 2025

TL;DR

This paper reviews open-source Large Language Models (LLMs) for radiology, highlighting their advantages (cost, customizability, security) over proprietary models. It provides a practical tutorial for implementing these models, covering essential techniques like prompt engineering, RAG, and fine-tuning, and discusses their potential and challenges in clinical settings.

What Problem Does This Paper Address?

The integration of LLMs into healthcare, particularly radiology, promises to revolutionize clinical workflows and research. However, the current focus has been heavily skewed towards proprietary LLMs, leaving open-source alternatives largely unexplored despite their significant potential. This gap exists due to a lack of familiarity, accessible infrastructure, and community tools for implementing and customizing open-source LLMs for specialized medical tasks. The paper aims to bridge this gap by providing a comprehensive review and practical guide for radiologists and researchers interested in leveraging open-source LLMs for their work.

Methods

The paper offers a tutorial-style approach to implementing open-source LLMs. Key techniques discussed include:

  • Prompt Engineering: Methods to improve LLM outputs using only the input prompt, such as Chain-of-Thought and Reflexion, to enhance reasoning and accuracy.
  • Retrieval-Augmented Generation (RAG): A technique that allows LLMs to supplement their knowledge by retrieving information from external data sources, addressing knowledge gaps and reducing hallucinations.
  • Fine-tuning: A process of further training a pre-trained LLM on specific datasets to adapt it to particular tasks or domains. The paper details various fine-tuning methods like Supervised Fine-tuning (SFT), Reinforcement Learning from Human Feedback (RLHF), and Direct Preference Optimization (DPO), along with considerations for training scale (full fine-tune vs. LoRA) and dataset formatting.

The paper also outlines a step-by-step roadmap for choosing, loading, and deploying open-source LLMs, emphasizing the importance of model size, type, and quantization.

Datasets

The paper does not explicitly detail specific datasets used for training or evaluation of the LLMs discussed. However, it mentions the existence of domain-specific benchmarks like the Radiology Language Evaluations (RaLEs) and highlights the need for more high-quality, radiology-specific benchmarks to better evaluate LLM performance in this domain.

Key Insights and Ideas

  • Open-Source LLMs Offer Tangible Advantages: Beyond just being "free," open-source LLMs provide significant benefits in terms of cost savings, unparalleled customizability (allowing for deep integration and modification), and enhanced data security through local deployment.
  • The Performance Gap is Shrinking: While proprietary LLMs still generally lead in performance metrics, open-source models are rapidly catching up, making them increasingly viable for demanding applications.
  • Practical Implementation is Achievable: The paper demystifies the process of using open-source LLMs, providing concrete tools and techniques that make them accessible to radiologists and researchers without extensive AI expertise.
  • Domain-Specific Challenges Remain: Radiology data and tasks present unique challenges for LLMs, necessitating specialized benchmarks and careful validation to ensure accuracy and safety.
  • Future is Multimodal and Agentic: The paper points towards the growing importance of multimodal foundation models (integrating text, images, etc.) and autonomous LLM agents, which hold immense potential for transforming radiology workflows but also introduce new complexities and risks.

Key Results

The paper primarily focuses on providing a review and tutorial rather than presenting novel experimental results. However, it highlights:

  • Comparative Advantages: Table 1 and Table 4 provide detailed comparisons of open-source vs. proprietary LLMs across various metrics like performance, customizability, cost, licensing, and data security, generally favoring open-source for customizability and cost.
  • Troubleshooting Techniques: Table 4 summarizes common LLM performance issues and their solutions, both with and without additional training, offering practical guidance.
  • Model Characteristics: Table 2 and Table 3 offer a snapshot of the characteristics of various open-source and proprietary LLMs, including parameter counts, VRAM requirements, and context lengths, aiding in model selection.

Limitations and Future Work

The authors acknowledge several limitations and areas for future work:

  • Performance Gap: While closing, open-source LLMs still lag behind top proprietary models in certain performance metrics, particularly in complex reasoning and quantitative tasks.
  • Safety and Alignment: Implementing robust safety measures and ensuring alignment with desired outputs remains a significant challenge for open-source LLMs, especially against adversarial attacks.
  • Clinical Validation: The rapid development of LLMs has outpaced clinical validation, with a lack of prospective studies and established best practices for their use in patient-facing applications.
  • Domain-Specific Benchmarks: There is a critical need for more high-quality, domain-specific benchmarks to accurately evaluate LLM performance in radiology.
  • Future Directions: The paper emphasizes the need for future studies to evaluate the real-world utility of open-source LLMs, foundation models, and autonomous agents in clinical practice and research, and to establish best practices for their implementation and post-implementation surveillance.

Summary updated

BibTeX
@inproceedings{savage2025open,
  author = {Cody Savage and Adway Kanhere and Vishwa Sanjay Parekh and Curtis Langlotz and Anupam Joshi and Heng Huang and Florence Xini Doo},
  title = {{Open-Source Large Language Models in Radiology: A Review and Tutorial for Practical Research and Clinical Deployment}},
  booktitle = {Radiology},
  year = {2025},
  url = {https://openreview.net/forum?id=CmvnH95diA},
}
Figure