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

HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMs

Junying Chen, Zhenyang Cai, Ke Ji, Xidong Wang, Wanlong Liu, Rongsheng Wang, Jianye Hou, Benyou WangarXiv 2024

Abstract: The breakthrough of OpenAI o1 highlights the potential of enhancing reasoning to improve LLM. Yet, most research in reasoning has focused on mathematical tasks, leaving domains like medicine underexplored. The medical domain, though distinct from mathematics, also demands robust reasoning to provide reliable answers, given the high standards of healthcare. However, verifying medical reasoning is challenging, unlike those in mathematics. To address this, we propose verifiable medical problems with a medical verifier to check the correctness of model outputs. This verifiable nature enables advancements in medical reasoning through a two-stage approach: (1) using the verifier to guide the search for a complex reasoning trajectory for fine-tuning LLMs, (2) applying reinforcement learning (RL) with verifier-based rewards to enhance complex reasoning further. Finally, we introduce HuatuoGPT-o1, a medical LLM capable of complex reasoning, which outperforms general and medical-specific baselines using only 40K verifiable problems. Experiments show complex reasoning improves medical problem-solving and benefits more from RL. We hope our approach inspires advancements in reasoning across medical and other specialized domains.

Introduction

The release of OpenAI’s o1 model marked a significant shift in Large Language Model (LLM) reasoning, demonstrating that "thinking slow" through scaled Chain-of-Thought (CoT) and reinforcement learning (RL) can yield superior results. However, these advancements have primarily targeted domains with rigid logic, such as mathematics and coding. In the medical field, reasoning is often "fuzzy," requiring the integration of symptoms, lab results, and patient history to reach a diagnosis. HuatuoGPT-o1 addresses this gap by bringing deliberative reasoning to the life-critical domain of medicine.

Methodology: Verifiable Reasoning

Medical reasoning is notoriously difficult to verify automatically compared to mathematical proofs. To overcome this, the authors introduce a framework for "verifiable medical problems." By reformatting multiple-choice medical exam questions into open-ended formats with objective ground-truth answers, they enable an automated "Medical Verifier" to evaluate model outputs.

The training process follows a two-stage approach:

  1. Stage 1: Learning Complex Reasoning (Search-based SFT): The model is tasked with solving these verifiable problems. If it fails, it employs search strategies—including backtracking, exploring new paths, and self-correction—to iteratively refine its reasoning until it reaches the correct answer. These successful trajectories, characterized by internal monologues (e.g., "Wait, let me re-evaluate..."), are used for supervised fine-tuning (SFT).
  2. Stage 2: Enhancing Reasoning with RL: The model then undergoes Reinforcement Learning using Proximal Policy Optimization (PPO). It is rewarded for reaching the correct answer and for exhibiting deliberative "think-before-answering" behavior.
The two-stage training pipeline for HuatuoGPT-o1, involving search-based SFT and verifier-guided RL.

Experimental Setup

The authors utilized a 40K medical verification dataset derived from professional licensing exams like MedQA-USMLE and MedMCQA, supplemented by MMLU-Pro to maintain general reasoning capabilities and prevent catastrophic forgetting. The models were evaluated on several benchmarks, including PubMedQA and GPQA.

Results and Analysis

HuatuoGPT-o1-8B and 70B demonstrate significant performance gains over both general-purpose and medical-specific baselines. The 8B model, based on Llama-3.1, outperformed its base version by an average of 8.5 points, even surpassing some much larger specialized models like UltraMedical-8B.

Performance comparison of HuatuoGPT-o1-8B and 70B against various baselines across medical benchmarks.

Key insights from the experiments include:

  • The "Slow Thinking" Advantage: Reformatting reasoning into natural, conversational "Complex CoTs" (using transitions like "Actually" and "Let's rethink") proved more effective than rigid structures, teaching the model a reflective internal monologue.
  • RL Synergy: Reinforcement learning provided a substantially larger boost (3.6 points) when applied to models already trained for complex reasoning compared to those producing direct responses (1.1 points).
  • Self-Correction: Qualitative analysis confirmed that the model can successfully identify and correct its own initial misdiagnoses mid-thought—a hallmark of advanced reasoning.

Discussion and Limitations

While HuatuoGPT-o1 represents a major step forward, challenges remain. The model's reasoning is only as good as its underlying medical knowledge; it can still "reason perfectly" toward a wrong conclusion if it lacks factual accuracy. Furthermore, the system currently relies on high-quality exam data, which is cleaner than real-world clinical notes. Future work will focus on adapting these reasoning capabilities to the messy, incomplete data found in actual healthcare settings.

Conclusion

HuatuoGPT-o1 proves that specialized reasoning training, rather than just scaling model size, is a highly effective path for medical LLMs. By making medical reasoning verifiable, this work opens the door for applying advanced scaling laws to specialized, non-mathematical domains.

Paper Citation: Junying Chen, Zhenyang Cai, et al. "HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMs." arXiv:2412.18925v1 [cs.CL] 25 Dec 2024.

Summary updated

BibTeX
@misc{chen2024huatuogpt,
  author = {Junying Chen and Zhenyang Cai and Ke Ji and Xidong Wang and Wanlong Liu and Rongsheng Wang and Jianye Hou and Benyou Wang},
  title = {{HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMs}},
  year = {2024},
  eprint = {2412.18925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18925},
}
Figure