[Paper Review] UltraMedical: Building Specialized Generalists in Biomedicine
The paper presents UltraMedical, a large biomedical instruction dataset and an open-source workflow to fine-tune Llama-3 models into specialized generalists for biomedicine, aided by a biomedical reward model and iterative preference learning. It reports competitive medical benchmark performance and releases datasets and models publicly.
Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains and are moving towards more specialized areas. Recent advanced proprietary models such as GPT-4 and Gemini have achieved significant advancements in biomedicine, which have also raised privacy and security challenges. The construction of specialized generalists hinges largely on high-quality datasets, enhanced by techniques like supervised fine-tuning and reinforcement learning from human or AI feedback, and direct preference optimization. However, these leading technologies (e.g., preference learning) are still significantly limited in the open source community due to the scarcity of specialized data. In this paper, we present the UltraMedical collections, which consist of high-quality manual and synthetic datasets in the biomedicine domain, featuring preference annotations across multiple advanced LLMs. By utilizing these datasets, we fine-tune a suite of specialized medical models based on Llama-3 series, demonstrating breathtaking capabilities across various medical benchmarks. Moreover, we develop powerful reward models skilled in biomedical and general reward benchmark, enhancing further online preference learning within the biomedical LLM community. Datasets and models are available at https://github.com/TsinghuaC3I/UltraMedical
Motivation & Objective
- Build open-source, GPT-4-level biomedical generalists by data-centric fine-tuning and preference learning.
- Create high-quality, diverse, and complex biomedical instructions combining manual and synthetic prompts.
- Develop a reward model to enable online preference learning and iterative model improvement.
- Evaluate UltraMedical LMs on standard medical benchmarks and general-domain tasks to characterize specialization/generalization trade-offs.
- Release datasets and models to foster community collaboration in biomedical generative AI.
Proposed method
- Construct UltraMedical by merging manual and synthetic medical prompts totaling ~410k instructions.
- Annotate a subset (~100k) with model-completed responses and GPT-4-derived preferences for ranking.
- Fine-tune Llama-3-8B/70B models with UltraMedical (and UltraMix) in supervised fine-tuning (SFT).
- Apply preference learning techniques (DPO, KTO) using an eight-completion per prompt setup, with binarized chosen/rejected pairs.
- Train a Biomedical Reward Model (RM) on UltraMedical preferences and other Ultra-series data to enable online preference learning and BoN sampling.
- Perform iterative online preference learning and Best-of-N sampling to progressively enhance model performance.

Experimental results
Research questions
- RQ1Can open-source biomedical LLMs reach GPT-4-level capabilities in medicine through dataset design and preference learning?
- RQ2What is the impact of mixing medical and general-domain data on SFT and preference optimization for specialized generalists?
- RQ3How effective are reward models and online preference learning in driving medical-domain capabilities for Llama-3-based models?
- RQ4What trade-offs emerge between medical-task performance and general-domain capabilities when developing specialized biomedical generalists?
- RQ5To what extent can publicly released UltraMedical datasets foster competitive open biomedical LLMs?
Key findings
- UltraMedical 8B/70B models achieve advanced performance on medical benchmarks, narrowing the gap with proprietary models.
- A 70B UltraMedical model attains 86.5 on MedQA-USMLE, comparable to larger proprietary models in some settings.
- Mixing medical and general-domain data in SFT and xPO improves medical task performance while introducing some general-domain trade-offs.
- Reward models trained on UltraMedical preferences support online/iterative preference learning and BoN sampling, yielding competitive RM-based results on both medical and general reward benchmarks.
- Reward models can outperform self-consistency ensembles for re-ranking in some cases, though effectiveness varies with model size.
- Public release of UltraMedical datasets and models aims to accelerate community progress in biomedical generative AI.

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.