Literature · dmis-lab
llama-3.1-medprm-reward-v1.0
A medical process reward model evaluating step-by-step clinical reasoning via retrieval-augmented generation.
What llama-3.1-medprm-reward-v1.0 is
llama-3.1-medprm-reward-v1.0 (Med-PRM-Reward) is a process reward model developed by dmis-lab specifically for the medical domain. Unlike conventional outcome-based or ungrounded process reward models, it assesses the validity of multi-step medical reasoning by incorporating guideline-verified clinical knowledge through retrieval-augmented generation.
Evaluating stepwise clinical logic is critical in biomedical reasoning tasks, where models must not only reach a correct conclusion but do so through sound intermediate steps. Med-PRM-Reward scores the probability of correctness across each discrete step of an explanation, outperforming traditional majority-voting ensembles in test-time compute scaling across multiple medical-specialised models.
When paired with generator models such as llama-3-meerkat-8b-v1.0, the framework achieved a score surpassing 80 on the MedQA four-option benchmark, representing the first 8B parameter framework to reach this threshold.
How it works
The model functions as a causal language model evaluator built on the Llama-3.1 architecture. Given a clinical question, retrieved clinical documents, and a stepwise explanation containing step-delimiter tokens, it assesses each reasoning step sequentially. It computes the logit probabilities assigned to token classes corresponding to valid ('+') versus erroneous ('-') reasoning at each marked step position to produce per-step, minimum, and final validity probabilities.
In test-time scaling evaluations, Med-PRM-Reward is used to evaluate candidate reasoning paths generated by medical policy models, such as across 64 candidate solutions per problem.
Key facts
- Base architecture
- Llama-3.1 (text-generation, causal LM)
- Task type
- Process reward model (stepwise reasoning evaluation)
- Data format
- Safetensors
- Input format
- Retrieved documents, medical question, and step-delimited explanation text
- Output format
- Logits representing step validity (+/-)
What you can use it for
- Stepwise Medical Reasoning Verification
- Evaluate the clinical validity and logical flow of each individual step in generated diagnostic or clinical explanations.
- Scaling Test-Time Computation
- Rerank and select candidate medical solutions generated by policy models across multiple candidate generations per question.
- Guideline-Grounded Quality Scoring
- Score model explanations against retrieved medical documentation and clinical reference guidelines to filter out hallucinations.
Run it here
We list this model but cannot run it yet: its test run took 136 s, too close to the limit of a single run; it waits for the long-job path.
Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.
Strengths and limits
Good at
- Incorporates retrieval-augmented clinical context to ground stepwise verification in reference documentation.
- Outperforms majority-voting ensembles on complex medical reasoning tasks during test-time computation scaling.
- Functions effectively across various medical-specialised generator models beyond Llama-3.1-8B-Instruct.
Watch out for
- For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
- Requires reference documents to be retrieved and provided as part of the prompt context for clinical verification.
- Requires structured input formatting where individual explanation steps are delineated by explicit delimiter tokens.
Inputs and outputs
You provide
Prompt
The model continues from here.
You get back
The model's completion.
Licence
Check the licence before commercial use · mit
The mit licence carries terms worth reading before you depend on it.
Questions
Can I use llama-3.1-medprm-reward-v1.0 commercially?
Check the licence before commercial use. The mit licence carries terms worth reading before you depend on it.
What is the difference between this model and a standard reward model?
Standard reward models typically evaluate only the final outcome of an answer, whereas Med-PRM-Reward evaluates each reasoning step sequentially, supported by retrieved medical documents.
How are step scores computed using this model?
Scores are derived from the softmax probabilities between the positive ('+') and negative ('-') token logits at the position of each step-delimiter marker in the text.
Can this model be used with generator models other than Llama-3.1?
Yes, it provides test-time scaling benefits across various medical-specialised models, including llama-3-meerkat-8b-v1.0.
How to cite it
Med-PRM-Reward: Medical Reasoning Models with Stepwise, Guideline‑verified Process Rewards, arXiv:2506.11474
Written from llama-3.1-medprm-reward-v1.0's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.
