MediEval: A Unified Medical Benchmark for Patient-Contextual and Knowledge-Grounded Reasoning in LLMs
Zhan Qu, Michael Färber
TL;DR
MediEval tackles the critical gap in evaluating medical LLMs by unifying patient-context grounding with biomedical knowledge through linking MIMIC-IV EHRs to UMLS-based vocabularies. It introduces a four-quadrant, four-way NLI framework to assess truth and grounding, along with novel safety metrics HSR and TIR. The paper presents CoRFu, a DPO-based fine-tuning approach with asymmetric penalties that target safety-critical misclassifications, achieving substantial gains in macro-F1 and reductions in risk across multiple backbones. Together, MediEval and CoRFu offer a rigorous, risk-aware paradigm for evaluating and improving safe medical reasoning in LLMs with real patient contexts.
Abstract
Large Language Models (LLMs) are increasingly applied to medicine, yet their adoption is limited by concerns over reliability and safety. Existing evaluations either test factual medical knowledge in isolation or assess patient-level reasoning without verifying correctness, leaving a critical gap. We introduce MediEval, a benchmark that links MIMIC-IV electronic health records (EHRs) to a unified knowledge base built from UMLS and other biomedical vocabularies. MediEval generates diverse factual and counterfactual medical statements within real patient contexts, enabling systematic evaluation across a 4-quadrant framework that jointly considers knowledge grounding and contextual consistency. Using this framework, we identify critical failure modes, including hallucinated support and truth inversion, that current proprietary, open-source, and domain-specific LLMs frequently exhibit. To address these risks, we propose Counterfactual Risk-Aware Fine-tuning (CoRFu), a DPO-based method with an asymmetric penalty targeting unsafe confusions. CoRFu improves by +16.4 macro-F1 points over the base model and eliminates truth inversion errors, demonstrating both higher accuracy and substantially greater safety.
