TRANSMISSION // 2605.26567v2

Teaching medical AI to follow guideline logic

Source published

MedGuideX turns clinical guidelines into executable rules and training examples, aiming to teach medical language models how recommendations change with patient facts.

AI-generated conceptual illustration for Teaching medical AI to follow guideline logic
AI-generated conceptual illustration; not documentary evidence.

Clinical guidelines are more than collections of medical facts: they set out conditions that lead to particular recommendations. A preprint describes MedGuideX, a model trained on examples generated by converting guideline recommendations into executable rules. Its reported benchmark gains are promising, but limitations in rule accuracy and evaluation mean the results do not establish clinical readiness.

Clinical practice guidelines often work like decision trees: if a patient meets certain conditions, a recommended action follows. But a language model trained on guideline passages may learn the words without reliably following the underlying branching logic. The MedGuideX study asks whether turning recommendations into executable rules—and training on examples produced from those rules—can improve clinical reasoning.

The authors built a pipeline that starts with publicly available guidelines, extracts recommendations, and expresses them as decision trees and Python functions. Each function takes patient variables as inputs and returns the action specified by the rule. The team then used these functions to generate two kinds of training examples: factual cases, in which the model applies a guideline to a patient description, and counterfactual cases, in which a patient detail changes and the model must work out whether the recommendation changes too.

The researchers filtered an initial collection down to 841 guidelines from U.S.-based sources: 607 from the CDC and 234 from PubMed. Of 3,796 extracted recommendations retained for conversion, 2,793 executable functions passed the reported checks. The authors used the generated examples to post-train MedGuideX, based on Qwen3.5 models at 4B and 9B scales, with supervised fine-tuning followed by reinforcement learning on factual guideline questions.

Benchmark results improved, but the gains varied. Across four clinical reasoning benchmarks, the paper reports a 10.42% relative improvement in average accuracy for MedGuideX-9B over its base model. The reported average rose from 53.29% to 58.85%. The benchmarks cover medical exam questions, case-based diagnosis, acute abdominal decision-making, and emergency-department diagnosis. These are tests of performance on defined tasks—not trials of an AI system assisting clinicians with live patients.

The study also tested whether models changed or preserved recommendations when one patient detail was edited in held-out guideline cases. MedGuideX-9B scored 68.3% on action accuracy, compared with 64.3% for a matched direct-question-answering training approach. In a physician review, two doctors compared responses on 30 selected cases where both models reached the correct diagnosis. MedGuideX was preferred more often for completeness and faithfulness, while conciseness was a closer contest. The study also reports greater coverage of clinician-authored reasoning steps on a benchmark.

These findings suggest that executable rules can provide useful training supervision. A key design choice is that the model is trained not just on examples of correct answers, but on cases where small changes in patient information can alter—or leave unchanged—the guideline-based action. The researchers’ comparison with direct QA, which used the same student inputs and matched training resources, provides evidence that execution-derived labels contributed to performance in that experimental setup.

There are important reasons not to read the results as proof of clinical reliability. The pipeline depends on converting written guidelines faithfully into code. The authors found a specific exception-precedence error in one pediatric urine-collection rule; this example demonstrates that automated checks for executable code do not guarantee that the code correctly captures its source. Their audit also found counterfactual examples where hidden patient variables were not uniquely recoverable from the information given, raising questions about some training targets.

Other evaluations have limits too. The held-out cases used action labels generated by another language model, rather than independently established clinical ground truth, and the authors note correlated errors among the paired cases. The physician comparison was small and deliberately selected: it included only cases both models answered correctly, and the selection favored MedGuideX rationales. Its preferences therefore do not show how the systems compare across all cases or in routine practice. Several benchmark scores also relied on an AI judge for matching diagnoses.

The work is an arXiv preprint, so it should be treated as research that has not necessarily undergone peer review. The authors describe MedGuideX as a research system and say clinical use would require broader validation and safety evaluation. The results support further study of guideline-derived training—not replacing clinician judgment or using the model to make patient-care decisions.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • A More Traceable Way for AI to Use Clinical Guidelines

    Shared method: Both papers translate guideline conditions into executable representations: MedGuideX uses decision functions to generate factual and counterfactual training examples, while VerClin uses rule representations for patient-specific matching. This is a methodological connection, not evidence that the systems’ different training and inference approaches have comparable outcomes.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2605.26567v2 — Original paper

      Excerpt reference: static/papers/2605.26567v2.md:134-265
      Basis: Paper text
      Source file SHA-256: cd722352febc85367b44ceaa100080f6436dcde5f4b2a716cd269e0d0994091d

    • 2611.32247v1 — Original paper

      Excerpt reference: static/papers/2611.32247v1.md:308-394
      Basis: Paper text
      Source file SHA-256: 6240d9232e1921811fd5fb4e88784bf95ad11f56bc93c5e3067f47ed0b81a144

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.