Abstract
MedCEG is a novel framework designed to ensure that medical Large Language Models (LLMs) achieve correct diagnoses through clinically sound reasoning paths. By explicitly supervising the reasoning process using Critical Evidence Graphs (CEGs), MedCEG addresses the issue of "reasoning shortcuts" common in outcome-oriented reinforcement learning. The framework introduces a Clinical Reasoning Procedure (CRP) reward that evaluates node coverage, structural correctness, and chain completeness. Experimental results show that MedCEG significantly outperforms existing medical LLMs in both accuracy and logical coherence across multiple benchmarks.
The Challenge of Reasoning Shortcuts in Medical AI
In clinical settings, the logic behind a diagnosis is as critical as the diagnosis itself. While current LLMs excel at medical exams, they often rely on "reasoning shortcuts"—exploiting patterns in training data to reach the correct answer through flawed or "hallucinated" logic. Standard Reinforcement Learning (RL) techniques, which reward only the final answer, exacerbate this problem. In a clinical setting, an illogical reasoning process—even one that reaches the correct conclusion—is dangerous and untrustworthy.
As illustrated in Figure 1, ignoring critical evidence like mucosal sloughing can lead to an incorrect diagnosis (e.g., failing to distinguish between thermal and chemical burns). MedCEG shifts the focus from outcome-oriented rewards to process-oriented supervision to ensure every inferential step is verifiable by human experts.
Methodology: Critical Evidence Graphs (CEG)
The core innovation of MedCEG is the construction and utilization of Critical Evidence Graphs to guide the model's internal "thinking" process. The methodology follows a sophisticated multi-stage pipeline:
- Graph Construction and Refinement: Evidence Graphs (EGs) are extracted from clinical narratives as subject-predicate-object triplets. These are refined into CEGs using transitive reduction, which prunes direct links if a more granular multi-step path exists (e.g., A → B → C instead of A → C). This forces the model to follow the most granular, step-by-step logical path.
- Two-Stage Training:
- Cold-Start (SFT): The model is first fine-tuned on "linearized" versions of these graphs to learn the vocabulary and structure of sound medical arguments.
- Graph-Guided RL: The model then undergoes RL using Group Relative Policy Optimization (GRPO). Instead of just checking the final answer, the researchers introduce a Clinical Reasoning Procedure (CRP) reward.
- The CRP Reward: This composite reward evaluates the model's generated "thought" process based on three metrics: Node Coverage (identifying essential concepts), Structural Correctness (factually accurate relationships), and Chain Completeness (forming a single, unbroken line of reasoning).
Key Results
MedCEG, built on a Llama-3.1-8B backbone, achieved state-of-the-art results across six diverse benchmarks, including MedQA and complex cases from The Lancet and NEJM.
- Performance Gains: The model saw an average absolute performance gain of +17.6% on in-distribution tasks and +10.6% on out-of-distribution tasks compared to the base model.
- Superior Logic: In a multi-dimensional evaluation of reasoning quality, MedCEG scored an aggregate 8.64, outperforming the strongest baseline, MedReason-8B (7.89), by 9.5%.
- Robustness: On the particularly difficult open-ended MedCase benchmark, MedCEG achieved 31.55%, while some competing models failed to generate valid outputs entirely.
Conclusion
MedCEG demonstrates that granularity is the antidote to reasoning shortcuts. By compelling LLMs to follow a verifiable, step-by-step logical path, the framework enhances both the performance and the trustworthiness of medical AI. While currently text-centric, future work will focus on adapting the model to the unstructured data found in real-world Electronic Health Records (EHRs).
Summary updated