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

m1: Unleash the Potential of Test-Time Scaling for Medical Reasoning with Large Language Models

Xiaoke Huang, Juncheng Wu, Hui Liu, Xianfeng Tang, Yuyin Zhou

TL;DR

Test-time scaling—allowing language models to "think" longer before answering—has revolutionized math and coding benchmarks, but how does it fare in medicine? This paper introduces m1, demonstrating that while longer chains-of-thought significantly boost medical LLM performance to state-of-the-art levels, medical reasoning hits a hard wall dictated by factual knowledge rather than pure logic.

What Problem Does This Paper Address?

Recent breakthroughs like OpenAI's o1 and DeepSeek-R1 have popularized test-time scaling: allocating more compute at inference time by letting a model generate a long, internal chain-of-thought (CoT) before outputting a final answer. While highly effective in rule-bound domains like mathematics, its utility in medicine has remained an open question.

Medical reasoning fundamentally differs from solving a math puzzle. It isn't just about executing logical steps; it requires the accurate recall and synthesis of vast, unstructured clinical knowledge. If a model doesn't know a fundamental medical fact, thinking longer won't help it magically derive the answer. The authors investigate whether simple test-time scaling can unlock expert-level medical reasoning without relying on computationally heavy reinforcement learning (RL) or complex verification mechanisms.

Methods

The authors propose m1, a lightweight methodology that adapts test-time scaling to medical QA tasks using a highly curated data pipeline and standard Supervised Fine-Tuning (SFT):

  1. Difficulty Filtering: They started with a pool of 196K raw medical QA pairs and filtered out any questions that standard Qwen2.5-7B-Instruct or Qwen2.5-32B-Instruct models could already solve. This left 37K genuinely challenging problems.
  2. Thinking Generation: They used DeepSeek-R1 to generate detailed, long-form reasoning traces for these hard questions, keeping only the 23K instances where the final answer was verified as correct.
  3. Diversity Sampling: To create a balanced core training set (m1K), they applied stratified sampling across Medical Subject Headings (MeSH) categories to ensure broad coverage of medical specialties (e.g., cardiology, neurology).
  4. Training & Inference: They fine-tuned Qwen2.5 base models on this data. At inference time, they controlled the "thinking token budget" and evaluated "budget forcing"—a technique where the model is forced to continue reasoning by replacing its "end-of-thought" token with a prompt like "Wait."
Overview of the m1 data curation and training pipeline.

Datasets

The models were trained and evaluated across a robust suite of benchmarks:

  • In-Distribution (Training & Evaluation): MedMCQA (Indian medical entrance exams), MedQA-USMLE (US medical licensing exams), and PubMedQA (biomedical research questions).
  • Out-of-Distribution (Generalization Testing): Medical subsets of MMLU-Pro and GPQA, clinical case reports from The Lancet and the New England Journal of Medicine (NEJM), MedBullets, and MedXpertQA.

Key Insights and Ideas

  • The Knowledge Bottleneck: Unlike math, where you can derive a solution from first principles, medical reasoning is strictly bounded by knowledge grounding. If a model lacks a specific clinical fact, extended thinking just leads to highly coherent hallucinations. Extended reasoning windows reach a fundamental limit if the underlying knowledge base is empty.
  • The 4K Token Ceiling: Allowing models to generate longer chains of thought steadily improves accuracy, but performance peaks and begins to saturate or degrade around 4,000 tokens. Beyond this threshold, models suffer from "overthinking," occasionally talking themselves out of a correct initial intuition.
  • Budget Forcing Fails in Medicine: In mathematical domains, forcing a model to "Wait" and double-check its work usually fixes logical slips. In medicine, budget forcing yields diminishing returns. It frequently introduces errors into previously correct responses by triggering faulty anatomical or clinical associations.
Budget forcing results showing diminishing or negative returns when models are forced to keep thinking.

Key Results

  • State-of-the-Art for Small Models: The 7B parameter model fine-tuned on 23K examples (m1-7B-23K) achieved an average accuracy of 60.32% across all benchmarks. This outperformed the complex, RL-tuned HuatuoGPT-o1-7B by 2.84% and matched the performance of UltraMedical-8B (which was trained on hundreds of thousands of instructions).
  • Punching Above Its Weight: The 32B model trained on just 1K examples (m1-32B-1K) achieved performance comparable to specialized medical models twice its size (70B+ parameters), demonstrating massive compute and data efficiency.
Figure 1: Test-time scaling of m1 series. Each plot shows accuracy (%) vs. reasoning token budget for different m1 model variants on various medical QA datasets. All models improve steadily as the thinking length increases, with the 32B model reaching the best accuracy. The linear regression lines are dotted with 95% CIs.

Limitations and Future Work

The primary limitation of this approach is that test-time scaling alone cannot remedy a fundamental deficit in medical knowledge. If the base model lacks the underlying facts, scaling inference compute is ineffective.

To overcome this constraint, the authors note that test-time scaling must be paired with increased model capacity or superior data quality. For future work, they suggest exploring how test-time scaling can be integrated with Retrieval-Augmented Generation (RAG) or clinical tool use, allowing the model to dynamically look up missing medical knowledge during its internal thinking phase.

Summary updated

BibTeX
@inproceedings{huang2025m,
  author = {Xiaoke Huang and Juncheng Wu and Hui Liu and Xianfeng Tang and Yuyin Zhou},
  title = {{m1: Unleash the Potential of Test-Time Scaling for Medical Reasoning with Large Language Models}},
  booktitle = {GenAI4Health @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=9l6unbTnQi},
}
Figure