Back to AI News
arxiv

MedLean: Reviving Formal Medical Verification as a Safety World Model for MLLMs

MedLean is a two-stage Lean 4 framework that combines formal medical verification with multimodal and large language models to audit oncology care plans. It compiles 1,861 executable rules from four NCCN and CSCO guidelines into a Z3 auditor and uses a verified online kernel with 23 machine-checked theorems. In evaluations across 428 multi-cancer cases with DeepSeek-V4.1-Flash and GPT-6.2-Astra, MedLean reduced high-risk releases to 0% and raised whole-plan certification to 98.4% and 100%. The work highlights both the potential and the limits of using formal verification as an interactive safety layer for LLM-based clinical tools.

AI Brief

Readers get concrete evidence that formal verification can meaningfully constrain LLM outputs in high-stakes medical settings while exposing failure modes of purely binary rule engines.

arXiv:2612.06157v1 Announce Type: new Abstract: Formal medical verification encodes clinical guidelines into mathematical logic to audit care plans, yet traditional tools stalled under heavy coding burdens, manual record extraction, and opaque outputs. Conversely, multimodal and large language models (MLLMs and LLMs) excel at clinical text processing but still release contraindicated therapies under missing tests and omit mandatory clinical duties. We investigate whether formal medical verification can be revived alongside MLLMs as their interactive safety world model. Focusing on oncology, we introduce MedLean, a two-stage Lean 4 framework comprising an offline compiler and Z3 full-space auditor (MedLean-Compiler) over four NCCN and CSCO guidelines (1,861 executable rules) and an online verification kernel proved across 23 machine-checked theorems (MedLean-Verifier). Static auditing uncovers 362 binary negative-default leaks alongside genuine published-guideline contradictions. Across 428 multi-cancer cases with DeepSeek-V4.1-Flash and GPT-6.2-Astra, MedLean drives high-risk releases to 0% and lifts whole-plan certification to 98.4% and 100%. Binary rule engines actively degrade mandatory-duty completion below unverified LLMs, and safety-first models achieve full base certification partly through conservative omission unless paired with consultation-target accountability.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!