[Paper Review] From Beginner to Expert: Modeling Medical Knowledge into General LLMs
This paper proposes a 3-stage fine-tuning framework to transform a general 10B-parameter LLM (AntGLM-10B) into a medical expert (AntGLM-Med-10B), using continual pre-training for medical knowledge injection, domain-specific instruction tuning, and task-specific adaptation. The method achieves state-of-the-art performance on PubMedQA, outperforming many larger LLMs, including those over 40B parameters, through a novel Verification-of-Choice prompting strategy for multi-choice reasoning.
Recently, large language model (LLM) based artificial intelligence (AI) systems have demonstrated remarkable capabilities in natural language understanding and generation. However, these models face a significant challenge when it comes to sensitive applications, such as reasoning over medical knowledge and answering medical questions in a physician-like manner. Prior studies attempted to overcome this challenge by increasing the model size (>100B) to learn more general medical knowledge, while there is still room for improvement in LLMs with smaller-scale model sizes (<100B). In this work, we start from a pre-trained general LLM model (AntGLM-10B) and fine-tune it from a medical beginner towards a medical expert (called AntGLM-Med-10B), which leverages a 3-stage optimization procedure, i.e., general medical knowledge injection, medical domain instruction tuning, and specific medical task adaptation. Our contributions are threefold: (1) We specifically investigate how to adapt a pre-trained general LLM in medical domain, especially for a specific medical task. (2) We collect and construct large-scale medical datasets for each stage of the optimization process. These datasets encompass various data types and tasks, such as question-answering, medical reasoning, multi-choice questions, and medical conversations. (3) Specifically for multi-choice questions in the medical domain, we propose a novel Verification-of-Choice approach for prompting engineering, which significantly enhances the reasoning ability of LLMs. Remarkably, by combining the above approaches, our AntGLM-Med-10B model can outperform the most of LLMs on PubMedQA, including both general and medical LLMs, even when these LLMs have larger model size.
Motivation & Objective
- To address the gap in adapting general-purpose LLMs to medical expertise without relying solely on scaling up model size.
- To develop a systematic, multi-stage fine-tuning procedure that transforms a medical beginner LLM into a medical expert.
- To construct diverse, large-scale medical datasets covering QA, reasoning, multi-choice, and medical conversations for each stage of adaptation.
- To enhance LLM reasoning on multi-choice medical questions through a novel prompting technique, Verification-of-Choice.
- To demonstrate that smaller, well-fine-tuned LLMs can surpass larger, general or medical-specific models on medical benchmark tasks.
Proposed method
- Applying continual pre-training on large-scale medical text to inject foundational medical knowledge into a base LLM.
- Conducting medical domain instruction tuning using diverse instruction-following data, including QA, reasoning, and multi-choice tasks.
- Performing task-specific fine-tuning on specific medical benchmarks to calibrate the model for expert-level performance.
- Introducing the Verification-of-Choice prompting method, which structures reasoning by evaluating each answer choice independently before final selection.
- Using a multi-dataset, multi-task training strategy (CPoly) to improve generalization and performance on PubMedQA.
- Leveraging parameter-efficient fine-tuning (LoRA) to efficiently adapt the model across stages with minimal compute overhead.
Experimental results
Research questions
- RQ1Can a smaller, general-purpose LLM be effectively transformed into a medical expert through structured, multi-stage fine-tuning?
- RQ2How does continual pre-training on medical corpora improve a model’s foundational medical knowledge?
- RQ3To what extent does domain-specific instruction tuning enhance reasoning and task generalization in medical LLMs?
- RQ4Can a novel prompting strategy like Verification-of-Choice significantly improve multi-choice medical reasoning over standard prompting?
- RQ5Does a well-optimized, smaller LLM (10B) outperform larger, specialized medical LLMs on medical question-answering benchmarks?
Key findings
- AntGLM-Med-10B achieves state-of-the-art performance on PubMedQA, outperforming most other LLMs, including those with model sizes exceeding 40B.
- The 3-stage fine-tuning pipeline—continual pre-training, instruction tuning, and task-specific adaptation—leads to consistent and significant performance gains across all stages.
- The Verification-of-Choice prompting method improves reasoning on multi-choice medical questions by enabling structured, choice-by-choice validation, enhancing logical completeness.
- Multi-dataset, multi-task training (CPoly) significantly improves performance compared to single-dataset fine-tuning, with performance increasing as more datasets are included.
- LoRA-based fine-tuning achieves better performance than standard fine-tuning on the same datasets, indicating its effectiveness in parameter-efficient adaptation.
- The model demonstrates strong zero-shot and few-shot generalization on medical reasoning and QA tasks, indicating robust knowledge distillation from the training data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.