Skip to content
View sergey-morev's full-sized avatar
πŸ’­
Deterministic boundaries for probabilistic models before they touch real-world
πŸ’­
Deterministic boundaries for probabilistic models before they touch real-world
  • πŸ”¬ Open-source: AI reliability & evaluation (personal interest)
  • New Brunswick, Canada
  • YouTube @srmorev
  • X @srmorev
  • LinkedIn in/sergemrv

Block or report sergey-morev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
sergey-morev/README.md

Sergey Morev, MD/PhD

Clinical AI safety for the agentic era β€” deterministic boundaries for probabilistic systems, before and after they act.

Physician-researcher: MD/PhD, 6+ years in pharmacovigilance & drug safety, now applying that discipline to autonomous AI agents. I call this frame AI Vigilance β€” pharmacovigilance logic for runtime agent behavior. As AI moved from chat models to autonomous agents, the safety question moved from "what did the model say?" to "what is this agent allowed to do, and on what evidence?" Drug safety solved a structurally similar problem decades ago: never trust a claim of safety β€” demand observed evidence, per case, with an audit trail.

Selected projects

  • EBAC-T4 β€” Deterministic Trace-Bound Authorization for High-Risk EHR Writes β€” authorization gate for high-risk EHR writes: execution authority per evidence cycle, ALLOW / DOWNGRADE / HALT with reason codes, HITL approval bound to exact payloads.
  • Clinical Verifiable Gates β€” medical verifier kernel: extractor contracts, UNKNOWN-by-default fields, deterministic PASS / BLOCK / ABSTAIN, Silence gate against fabricated slot-filling.
  • CASEF β€” Clinical AI Safety Evaluation Framework β€” reproducible, artifact-based qualification of LLM behavior under explicit constraints. Generation is cheap. Qualification is not.
  • Space Model Lab v3 β€” case study of governed multi-agent development: a browser-based physics sandbox built by a provider-diverse AI team (architect, PM/auditor, gated single-writer executor) under human PI approval, with a full decision log and commit-hash receipts.
  • LLM / World-Model / Hybrid Decision Frame β€” architecture decision protocol for choosing system design under risk, latency, and verification constraints.
  • Modular Reasoning Framework (MRF) β€” earlier research: external reasoning orchestration for fast language models; a predecessor of the governed-orchestration ideas above.

Research areas

  1. Pre-action authorization & deterministic safety gates β€” execution authority granted per evidence cycle, not by role or prompt; deterministic ALLOW / DOWNGRADE / HALT and PASS / BLOCK / ABSTAIN gates for state-changing steps; evidence model: traces + constraints + audit artifacts (natural-language claims alone aren't evidence).
  2. Qualification under pressure & behavior stability β€” reproducible crash-tests for role drift; auditable FAIL artifacts; omission-aware evaluation: in clinical settings, missed critical actions β€” not only wrong ones β€” are the dominant harm mode.
  3. Governed human–agent development (PI-led) β€” provider-diverse specialist roles under one human PI; decision logs, per-action write gates, receipts with observed validation results; CLAIMED vs OBSERVED discipline: an audit without a commit hash is a claim, not an observation. Demonstrated end-to-end in Space Model Lab v3.
  4. Architecture selection under hard constraints β€” decision protocols for LLM-only vs world-model vs hybrid approaches; hard tradeoffs: latency budgets, verification independence, cost-of-error.

How I do my research (independent & verifiable)

  • Method sanity checks: framing, assumptions, failure modes; independent cross-checking
  • Engineering discipline: prototypes β†’ documented, testable artifacts; stable interfaces; minimal reproducible examples
  • Adversarial QA: stress tests for unsafe behavior, hallucinated actions, and format brittleness; definition-of-done gates

Contact

Open to open-source collaboration, research discussion, peer review, and unpaid writing/speaking where appropriate.

πŸ“« smorev.research@gmail.com

Scope & independence

All of the above is personal, independent, non-commercial open-source research, done in my own time with my own resources. My current employment is in transportation & logistics (New Brunswick, Canada) and is unrelated to this research. I do not offer commercial or paid services through these projects.

Pinned Loading

  1. CASEF-Clinical-AI-Safety-Evaluation-Framework CASEF-Clinical-AI-Safety-Evaluation-Framework Public

    Physician-led clinical-grade LLM safety & reliability qualification framework (spec β†’ measurement β†’ gates β†’ evidence).

    Python 1

  2. clinical-verifiable-gates clinical-verifiable-gates Public

    Deterministic verifier kernel for medical RLVR: extractor contract, PASS/BLOCK/ABSTAIN, Silence gate.

    Python

  3. Deterministic-Trace-Bound-Authorization-for-High-Risk-EHR-Writes Deterministic-Trace-Bound-Authorization-for-High-Risk-EHR-Writes Public

    Reference implementation and specification of a deterministic authorization gate for high-risk EHR state-changing actions.

    Python

  4. space-model-lab-v3 space-model-lab-v3 Public

    Space Model Lab v3 is a small browser-based 2D Newtonian gravity sandbox: a compact scientific cockpit for staged, inspectable implementation.

    JavaScript

  5. llm-worldmodels-hybrid-decision-frame llm-worldmodels-hybrid-decision-frame Public

    Engineering decision framework for choosing between: - LLM-centric systems - world-model + planning systems - hybrid closed-loop systems (LLM + tools/sensors + verification loop; optional world model)

    Python