Back to AI Research

AI Research

MedLean tests formal checks for AI-generated oncology plans

Key Takeaways

  • MedLean checks AI oncology plans against 1,861 encoded rules.
  • Its synthetic-case results measure guideline compliance within a defined formal system.
  • MedLean combines a Lean 4 verification kernel with encoded oncology guidelines.
  • The study tests structured synthetic cases and reports compliance with its formal rules.
  • MedLean checks proposed oncology care plans against formally encoded clinical guidelines.

MedLean checks proposed oncology care plans against formally encoded clinical guidelines. Zhihao Tang and colleagues present a Lean 4 research framework intended to catch unsafe approvals and required actions that a language model omits.
The paper describes an offline compiler and an online checking stage. The system pairs large language models with a deterministic verifier. Its results concern compliance with encoded rules on synthetic cases, rather than patient outcomes or demonstrated clinical effectiveness.

How does MedLean handle missing evidence?

MedLean distinguishes confirmed positive facts, confirmed negative facts and unreported evidence. That third state prevents an absent test result from automatically becoming a negative result that permits treatment.
An offline compiler converts four NCCN and CSCO lung and gastric cancer guidelines into 1,861 executable rules. A Z3 auditor examines the rule system, while the online verifier uses a kernel backed by 23 machine-checked theorems. Those guarantees apply within the encoded rule representation and structured-input semantics.
The verifier checks the whole proposed plan, including mandatory duties that were never suggested. It can return instructions to keep, add or drop actions and checks, with at most two model revision turns.

What did the synthetic-case evaluation find?

The researchers evaluated 428 fixed synthetic cases using DeepSeek-V4.1-Flash and GPT-6.2-Astra. Each model had a budget of 1,800 output tokens, with different reasoning and temperature settings.
On the 300-case main benchmark, high-risk releases fell from 161 to zero for DeepSeek and from 21 to zero for GPT. Whole-plan certification reached 299 of 300 and 300 of 300 cases, respectively. Certification was scored before the final release filter.

What should readers check before interpreting safety?

The compiled library includes partial and pending guideline records, so a formal proof is not a claim that every clinical situation has been covered. The paper also distinguishes base certification from accountability for consultation targets: conservative omission can otherwise make a model appear safer.
For medical-AI researchers, the contribution is an inspectable method for handling missing evidence and omitted duties. The reported rates remain specific to the rule library, structured synthetic inputs and evaluated model settings.

Comments

Loading discussion

Fetching this discussion.