Abstract
Clinical Decision Making (CDM) is a high-stakes, multi-step process that requires precise sequential logic. While large language models (LLMs) excel at medical fact recall, they often struggle with complex diagnostic reasoning. We present Med-PRM, a novel process reward modeling framework that improves clinical reasoning by verifying individual reasoning steps against established medical guidelines and literature. Using a "RAG-AS-A-JUDGE" approach, Med-PRM provides fine-grained, evidence-grounded supervision. Our results show that an 8-billion parameter model equipped with Med-PRM can achieve state-of-the-art performance, exceeding 80% accuracy on the MedQA benchmark for the first time at this scale.
Introduction
Modern LLMs have demonstrated impressive capabilities in medical knowledge retrieval, yet their application in clinical settings is hindered by a lack of robust reasoning. Current training paradigms primarily rely on Outcome Reward Models (ORMs), which evaluate only the final answer. This approach suffers from two major issues: error localization, where models cannot identify specific failures in a reasoning chain, and noisy supervision, where valid steps are penalized due to subsequent errors. In medicine, "right for the wrong reasons" is a significant safety risk. Med-PRM addresses these challenges by shifting supervision to the process level, ensuring every step of a reasoning trace is medically sound and guideline-adherent.
Methodology
The Med-PRM framework consists of four primary stages: data preparation, labeling, training, and deployment.
RAG-AS-A-JUDGE Labeling
To circumvent the high cost of human expert annotation, Med-PRM utilizes a "RAG-AS-A-JUDGE" strategy. A large-scale LLM (Gemini-2.0-flash) acts as a judge, evaluating reasoning steps based on relevant snippets retrieved from a massive corpus of clinical guidelines, textbooks (e.g., StatPearls), and medical literature. This grounding ensures that the labels are based on established medical evidence rather than the judge's internal biases.
Stepwise Verification and Training
Unlike traditional models that provide a single score for a reasoning block, Med-PRM assigns rewards to individual steps. We fine-tuned a Llama-3.1-8B-Instruct model to serve as the reward model, training it to predict the correctness of a step given the question and the retrieved context. This granular feedback allows the model to catch subtle factual errors that might otherwise appear plausible.
Use Cases and Inference Scaling
At inference time, Med-PRM serves as a verifier for multiple generated reasoning paths. The system employs test-time scaling techniques to select the most reliable response.
- Best-of-N Selection: The model generates $N$ candidate reasoning paths, and Med-PRM scores each based on its weakest link (the minimum step score). The highest-scoring path is selected as the final response.
- Hybrid Approach (SC+RM): This method combines reward scores with self-consistency (majority voting) to further improve robustness.
Results
Med-PRM demonstrates significant performance improvements across several rigorous medical benchmarks, including MedQA, MedMCQA, PubMedQA, and AgentClinic.
- State-of-the-Art Performance: Med-PRM achieved SOTA results on 6 out of 7 benchmarks among models under 10B parameters.
- Breaking the 80% Barrier: The 8B model reached 80.35% accuracy on MedQA, a milestone typically reserved for much larger proprietary models.
- Real-World Simulation: On the AgentClinic benchmark, which mimics open-ended diagnostic workflows, Med-PRM improved accuracy by over 11%, demonstrating its utility beyond multiple-choice formats.
- Human Alignment: The RAG-based labeling showed a high correlation (0.74) with actual human physicians, significantly outperforming traditional MCTS-based auto-labeling.
Discussion and Future Work
Med-PRM highlights the power of process-level rewards and external grounding in high-stakes domains. By spending more compute at test-time to verify reasoning steps, smaller models can rival the performance of much larger counterparts.
However, limitations remain. The current framework is specialized for the medical domain due to its reliance on clinical retrieval. Future work will explore scaling this approach to larger architectures (70B+) and integrating Med-PRM into full Reinforcement Learning from Human Feedback (RLHF) pipelines, such as PPO-style training, to further refine the base model's reasoning capabilities.
Summary updated