NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UltraMedical: Building Specialized Generalists in Biomedicine

Kaiyan Zhang, Sihang Zeng, Ermo Hua, Ning Ding, Zhang-Ren Chen, Zhiyuan Ma, Haoxin Li, Ganqu Cui, Biqing Qi, Xuekai Zhu, Xingtai Lv, Jinfang Hu, Zhiyuan Liu, Bowen Zhou

Introduction

The rapid advancement of Large Language Models (LLMs) has demonstrated "expert-level" proficiency across various domains, including medicine. However, the most capable models, such as GPT-4 and Med-PaLM 2, remain proprietary "black boxes." In the context of healthcare, reliance on closed-source systems introduces significant challenges regarding data privacy, security, and the handling of sensitive patient information. While the open-source community has attempted to bridge this gap, medical LLMs have historically lagged behind their proprietary counterparts.

The UltraMedical project addresses this disparity by introducing a comprehensive framework for developing "specialized generalists"—models that possess deep biomedical expertise without sacrificing general reasoning capabilities. By focusing on high-quality instruction tuning and preference alignment, the project introduces UltraMedLM-70B, an open-source model that achieves an 86.5% accuracy on the MedQA (USMLE) benchmark, matching the performance of leading proprietary models.

Methodology: A Data-Centric Pipeline

The core philosophy of UltraMedical is "data-centric" optimization. The researchers identified that the primary bottleneck in medical AI is not just a lack of raw knowledge, but a scarcity of high-quality preference data required for advanced alignment techniques like Direct Preference Optimization (DPO).

Instruction Construction and Evolution

The project curated the UltraMedical Collection, comprising 410,000 high-quality instructions. This collection was built using a multi-faceted approach:

  1. MedQA-Evol: Utilizing a "Self-Evol" process, the researchers used models to rewrite simple medical questions into more complex versions by adding constraints or requiring multi-step reasoning.
  2. TextBookQA: Derived from 18 foundational medical textbooks to ensure a grounded knowledge base.
  3. WikiInstruct: Expanding biomedical concepts from Wikipedia into instructional formats.
  4. UltraMix: A critical finding of the study was that mixing medical-specific data with general-domain data (such as UltraChat) improved overall performance. This suggests that maintaining "general" reasoning muscles is essential for solving complex, specialized problems.

Alignment and Preference Learning

To move beyond simple Supervised Fine-Tuning (SFT), the team implemented a sophisticated preference learning pipeline:

  • Preference Binarization: Using GPT-4-turbo to generate multiple completions and advanced GPT-4 models to rank them, creating "chosen" vs. "rejected" pairs necessary for preference learning.
  • Optimization Techniques: The models were trained using DPO and Kahneman-Tversky Optimization (KTO) on 100,000 preference pairs.
  • Iterative Online Learning: A dedicated Medical Reward Model (UltraMedRM) was trained to score model outputs, allowing for iterative self-improvement through self-generated responses.

Results and Benchmarking

UltraMedLM-70B represents a significant milestone for open-source medical AI. Its 86.5% score on the MedQA (USMLE) benchmark places it in the same tier as GPT-4 (86.1%–90.2%) and Med-PaLM 2 (85.4%).

Beyond the 70B model, the 8B variant (UltraMedLM-8B) demonstrated remarkable efficiency, outperforming much larger previous models such as the 540B Med-PaLM 1 and the 70B Meditron. This highlights that alignment techniques and data quality are more influential than raw parameter count in specialized domains.

To further evaluate the quality of medical judgment, the researchers introduced Medical RewardBench, a collection of 777 pairs verified by human medical experts. This benchmark confirmed that reward models trained specifically on medical data (UltraMedRM) significantly outperform general-purpose reward models in judging medical accuracy.

Discussion and Insights

The UltraMedical project yields several key insights for the development of specialized LLMs:

  • Complexity over Length: Correlation analysis revealed that preference scores correlate more strongly with the complexity of an instruction than the length of the response, debunking the idea that models simply prefer more verbose answers.
  • The Specialized Generalist Paradox: The success of the "UltraMix" strategy proves that narrow specialization can be detrimental if general reasoning is neglected. Specialized generalists must maintain their general reasoning capabilities to solve complex medical problems.
  • Reward Gap: There is a distinct "reward gap" where general reward models fail to capture the nuances of medical correctness, necessitating domain-specific reward modeling.

Limitations and Future Work

Despite its success, the project acknowledges certain limitations. The reliance on GPT-4 for preference data may introduce a "self-preference" bias, where the model favors its own style of writing. Furthermore, while the project utilized iterative learning, computational constraints limited the number of iterations performed. Future work will focus on increasing the ratio of expert human feedback and exploring multiple rounds of self-rewarding to further push the boundaries of open-source medical AI.

Summary updated

BibTeX
@inproceedings{zhang2024ultramedical,
  author = {Kaiyan Zhang and Sihang Zeng and Ermo Hua and Ning Ding and Zhang-Ren Chen and Zhiyuan Ma and Haoxin Li and Ganqu Cui and Biqing Qi and Xuekai Zhu and Xingtai Lv and Jinfang Hu and Zhiyuan Liu and Bowen Zhou},
  title = {{UltraMedical: Building Specialized Generalists in Biomedicine}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
}
Figure