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

Vitabel: Bridging Clinical Expertise and the Machine Learning Pipeline in Critical Care

Simon Orlob, Wolfgang J. Kern, Benjamin Hackl, Jan Wnent, Jan‐Thorsten Gräsner, Martin HöllerResearch Square 2025

TL;DR

Vitabel is an open-source Python package designed to bridge the gap between raw medical time-series data and machine learning pipelines. It provides an interactive, Jupyter-based interface that allows clinicians and researchers to visualize, align, and annotate complex critical care data with minimal coding effort.

What Problem Does This Paper Address?

Critical care medicine—covering scenarios like cardiac arrest and major surgery—generates a staggering amount of high-resolution physiological data. While this data is a goldmine for AI development, it is notoriously difficult to work with.

The authors identify three major bottlenecks:

  1. Data Fragmentation: Data is often locked in proprietary formats across different devices (defibrillators, ventilators, patient monitors).
  2. Temporal Misalignment: Different devices often have unsynchronized internal clocks, making it impossible to accurately compare, for example, an ECG lead with a ventilator's airflow without manual correction.
  3. The "Expertise Gap": Creating the "ground truth" labels needed to train ML models requires clinical expertise. However, most clinicians lack the programming skills to interact with raw data files, and most data scientists lack the clinical context to label the data accurately.

Methods

The authors developed Vitabel, a framework built on the scientific Python stack (specifically matplotlib and IPython). Its architecture revolves around a Vitals object, which contains two primary classes:

  • Channels: Immutable raw signal data (e.g., ECG waveforms). The only modification allowed is a temporal "offset" to align the signal with other sources.
  • Labels: Mutable annotations that can represent time points (e.g., drug administration), intervals (e.g., a period of hypotension), or numerical values (e.g., end-tidal CO2 levels).

Key Technical Features: * Interactive UI: Inspired by video editing software, the tool provides an "overview" bar of the entire recording alongside detailed, zoomable subplots. * Visual Alignment: Users can correct clock drift between devices by simply right-clicking a reference point in one signal and a target point in another. * Automated Pre-processing: The package includes built-in algorithms for detecting chest compressions, ventilations, and predicting the probability of "Return of Spontaneous Circulation" (ROSC). * Jupyter Integration: By living inside a Jupyter Notebook, Vitabel allows for a "human-in-the-loop" workflow where data curation and model training happen in the same environment.

Datasets

The paper demonstrates Vitabel using three distinct use cases:

  1. Out-of-Hospital Cardiac Arrest (OHCA): Real-world data extracted from a ZOLL defibrillator.
  2. Animal Laboratory Data: A porcine model of cardiac arrest combining high-resolution airflow, airway pressure, and capnography from multiple unsynchronized devices.
  3. Artificial Anaesthesia Charts: Simulated data representing surgical trends, used to demonstrate how the tool handles discrete data points and medication boluses while maintaining data privacy.

Key Insights and Ideas

  • The "Video Editor" Paradigm: By adopting a UI layout familiar to anyone who has edited a video, the authors made navigating hours of high-frequency waveforms intuitive for medical professionals who are not professional coders.
  • Solving the "Sync" Nightmare: In real-world clinical research, "clock drift" is a constant headache. Vitabel’s approach—storing a temporal offset rather than overwriting the original timestamps—ensures that data remains reproducible while becoming usable.
  • Hybrid Labeling: Unlike many tools that separate text and numbers, Vitabel allows a single label to hold both (e.g., the name of a drug and its specific dose), which is essential for capturing the complexity of clinical interventions.
  • Democratizing Data Curation: The core philosophy is to move the "labelling" step out of the data scientist's silo and into a space where clinicians can interact with the data directly.

Key Results

  • Broad Compatibility: The tool successfully imports data from major medical manufacturers (ZOLL, Stryker/Physio-Control, Corpuls) and standard formats like VitalDB, CSV, and Pandas DataFrames.
  • Proven Utility: Vitabel is already serving as the backbone for a service in the German Resuscitation Registry that automatically analyzes defibrillator recordings for quality assessment.
  • Open Access: The authors provided fully functional, browser-based demos via Binder, allowing anyone to test the tool on the use-case data without installing a single line of code locally.

Limitations and Future Work

  • Coding Entry Barrier: While the interface is low-code, the initial setup of a Vitabel notebook still requires basic Python literacy, which may still be a hurdle for some clinical environments.
  • UI Refinement: The authors acknowledge that future versions need more "quality of life" features, such as more elaborate predefined plot styles and the implementation of standard medical units.
  • Metadata Filtering: Future iterations aim to allow users to select and shift groups of channels based on metadata (e.g., "shift all sensors originating from Device A together").
  • Performance: While the paper demonstrates the tool on individual cases, its performance on massive, multi-gigabyte datasets (where data might exceed available RAM) is not explicitly discussed.

Summary updated

Abstract

<title>Abstract</title> Artificial intelligence offers a great opportunity in critical care, particularly when a vast amount of continuously acquired physiological data is incorporated. High-quality, reliably labelled data are paramount for developing and training artificial intelligence methods. However, routinely recorded data in critical care are often noisy, and the sheer volume of high-resolution data is challenging to manage. Generalizable solutions for these problems are lacking, restricting progress.To address these barriers, we developed \vitabel{}, an open-source \python{} package for loading, visualising, aligning, and annotating medical time series with minimal coding. The tool integrates seamlessly into \jupyter{-notebooks}, providing an interactive, customizable interface to interact with the data visually. In this publication, we demonstrate its utility across three use cases. The code and exemplary data are provided as browser-based demos. \vitabel{} is freely available and published under the MIT license accompanying this publication.
BibTeX
@inproceedings{orlob2025vitabel,
  author = {Simon Orlob and Wolfgang J. Kern and Benjamin Hackl and Jan Wnent and Jan‐Thorsten Gräsner and Martin Höller},
  title = {{Vitabel: Bridging Clinical Expertise and the Machine Learning Pipeline in Critical Care}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-7227195/v1},
}
Figure