NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A global log for medical AI

Ayush Noori, Adam Rodman, Alan Karthikesalingam, Bilal A. Mateen, Christopher A. Longhurst, Daniel Yang, Dave deBronkart, Gauden Galea, Harold F. Wolf Iii, Jacob Waxman, Joshua C. Mandel, Juliana Rotich, Kenneth D. Mandl, Maryam Mustafa, Melissa Miles, Nigam H. Shah, Peter Lee, Robert Korom, Scott Mahoney, Seth Hain, Tien Yin Wong, Trevor Mundel, Vivek Natarajan, Noa Dagan, David A. Clifton, Ran D. Balicer, Isaac S. Kohane, Marinka Zitnik · DOI

Abstract

As medical artificial intelligence (AI) transitions from experimental pilots to widespread clinical deployment, the absence of standardized logging protocols creates significant barriers to safety monitoring, bias detection, and forensic auditing. This paper introduces MedLog, a universal, transport-agnostic protocol for event-level logging of medical AI interactions. Inspired by the syslog standard in computing, MedLog provides a structured framework to record inputs, internal reasoning traces, and clinical outcomes. A real-world case study at Clalit Health Services demonstrates how MedLog can identify data drift, preventing potential misprioritization for approximately 10% of patients.

Introduction

The current landscape of healthcare AI is often described as a "Wild West." While "Model Cards" and "Data Sheets" provide documentation for model development and training data, there is no standardized "black box" to record real-time operational behavior. Once deployed, AI models often operate in a transparency vacuum, making it difficult to detect performance degradation (data drift), audit for demographic bias, or perform forensic analysis following adverse events.

Existing logging practices are typically proprietary and fragmented across different vendors and health systems. MedLog addresses this by proposing a unified language for AI invocations, treating every interaction as a traceable event.

The MedLog Protocol

MedLog is designed as a structured schema comprising nine core fields that capture the full lifecycle of an AI interaction:

  1. Header: Metadata including timestamps, event IDs, and system information.
  2. Model Instance: Identifiers for the specific model version and its documentation.
  3. User Identity: The individual or process that triggered the AI.
  4. Target Identity: The subject of the AI's output (e.g., patient ID).
  5. Inputs: Raw data or prompts provided to the model.
  6. Internal Artifacts: Intermediate reasoning steps, such as "chain-of-thought" traces or uncertainty scores.
  7. Outputs: The generated prediction, recommendation, or text.
  8. Outcomes: The eventual "ground truth" or clinical action taken (e.g., treatment administration).
  9. User Feedback: Clinician ratings or corrections.
Overview of MedLog interactions and incremental record assembly.

Technical Architecture

MedLog records are assembled incrementally. While a record begins at the moment of invocation, fields like "Outcomes" may be populated weeks later following patient discharge. To support complex workflows, MedLog utilizes unique identifiers to link steps in multi-agent AI processes. Furthermore, the protocol is privacy-preserving; it can store pointers to sensitive data within Electronic Health Records (EHRs) rather than duplicating raw protected health information (PHI).

Case Study: Detecting Data Drift at Clalit Health Services

To validate the necessity of standardized logging, researchers conducted a retrospective analysis using data from Clalit Health Services (Israel). The study focused on a gradient-boosting model used to predict hospitalization risk, monitored from 2018 through 2024.

Example of a structured MedLog record for an administrative AI interaction.

In mid-2023, the monitoring system identified a sudden shift in Lactate Dehydrogenase (LDH) values. Investigation revealed that the hospital had updated its laboratory testing kits several months prior. Without the granular logging provided by a system like MedLog, simulations indicated that nearly 10% of patients would have received significantly altered risk scores within 18 months, potentially leading to incorrect clinical prioritization.

Discussion and Future Directions

MedLog enables a new field of "digital epidemiology," allowing researchers to study machine behavior alongside human clinical practice. By leveraging existing standards like HL7 FHIR and W3C PROV, MedLog is designed for integration into major EHR platforms.

However, several challenges remain. Universal adoption may require regulatory mandates from bodies like the FDA, as vendors may be hesitant to expose logs that reveal model failures. Additionally, high-fidelity logging presents security risks regarding model extraction attacks and significant data storage requirements. Future work will focus on refining the schema through community consensus and developing tiered retention policies to manage the volume of generated data.

Summary updated

BibTeX
@misc{noori2025global,
  author = {Ayush Noori and Adam Rodman and Alan Karthikesalingam and Bilal A. Mateen and Christopher A. Longhurst and Daniel Yang and Dave deBronkart and Gauden Galea and Harold F. Wolf III and Jacob Waxman and Joshua C. Mandel and Juliana Rotich and Kenneth D. Mandl and Maryam Mustafa and Melissa Miles and Nigam H. Shah and Peter Lee and Robert Korom and Scott Mahoney and Seth Hain and Tien Yin Wong and Trevor Mundel and Vivek Natarajan and Noa Dagan and David A. Clifton and Ran D. Balicer and Isaac S. Kohane and Marinka Zitnik},
  title = {{A global log for medical AI}},
  year = {2025},
  eprint = {2510.04033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04033},
}
Figure