[Paper Review] HOLMES: Health OnLine Model Ensemble Serving for Deep Learning Models in Intensive Care Units
HOLMES is a latency-aware online model ensemble serving system for deep learning in intensive care units (ICUs), dynamically composing optimal model ensembles to balance sub-second inference latency with high accuracy. It outperforms batch processing by reducing latency by an order of magnitude and achieving 95%+ prediction accuracy on pediatric cardio-ICU data with 100-patient, 250 Hz waveform streaming.
Deep learning models have achieved expert-level performance in healthcare with an exclusive focus on training accurate models. However, in many clinical environments such as intensive care unit (ICU), real-time model serving is equally if not more important than accuracy, because in ICU patient care is simultaneously more urgent and more expensive. Clinical decisions and their timeliness, therefore, directly affect both the patient outcome and the cost of care. To make timely decisions, we argue the underlying serving system must be latency-aware. To compound the challenge, health analytic applications often require a combination of models instead of a single model, to better specialize individual models for different targets, multi-modal data, different prediction windows, and potentially personalized predictions. To address these challenges, we propose HOLMES-an online model ensemble serving framework for healthcare applications. HOLMES dynamically identifies the best performing set of models to ensemble for highest accuracy, while also satisfying sub-second latency constraints on end-to-end prediction. We demonstrate that HOLMES is able to navigate the accuracy/latency tradeoff efficiently, compose the ensemble, and serve the model ensemble pipeline, scaling to simultaneously streaming data from 100 patients, each producing waveform data at 250~Hz. HOLMES outperforms the conventional offline batch-processed inference for the same clinical task in terms of accuracy and latency (by order of magnitude). HOLMES is tested on risk prediction task on pediatric cardio ICU data with above 95% prediction accuracy and sub-second latency on 64-bed simulation.
Motivation & Objective
- To address the critical need for low-latency, high-accuracy model serving in intensive care units (ICUs), where both timeliness and precision directly impact patient outcomes and care costs.
- To overcome the limitations of conventional batch-processing inference, which introduces data staleness and high latency, by enabling continuous, online inference on streaming multi-modal ICU data.
- To dynamically compose optimal model ensembles from multiple specialized models—trained on different data modalities, prediction windows, or patient cohorts—while satisfying strict sub-second latency Service Level Objectives (SLOs).
- To provide a scalable, resource-efficient serving platform that operates within fixed on-premises hospital computing constraints, navigating the accuracy-latency tradeoff effectively.
- To demonstrate that online model ensemble serving significantly improves both prediction accuracy and inference speed compared to traditional offline batching in real ICU environments.
Proposed method
- HOLMES uses a surrogate-based optimization framework to predict the performance of candidate model ensembles before full profiling, reducing the need for expensive and time-consuming evaluations.
- It leverages the open-source Ray framework to orchestrate a hybrid pipeline of stateful components (e.g., data aggregation, buffering) and stateless components (e.g., model inference) for real-time processing.
- The system employs a latency-aware ensemble composer that selects the best-performing model combination based on predicted accuracy and measured latency, ensuring compliance with sub-second SLOs.
- HOLMES supports multi-rate, multi-modal data ingestion (e.g., ECG at 250 Hz) and processes data from up to 100 patients simultaneously in a streaming fashion.
- It integrates stateful data aggregation with model inference, enabling timely predictions using the most recent patient data, thus reducing data staleness.
- The system is designed to scale under varying resource constraints, with performance evaluated across different numbers of GPUs and patient loads.
Experimental results
Research questions
- RQ1Can an online model ensemble serving system achieve sub-second end-to-end latency while maintaining high prediction accuracy in real-time ICU monitoring?
- RQ2How does dynamic model ensemble composition improve accuracy compared to single-model or batch-inferred approaches in critical care settings?
- RQ3To what extent can surrogate modeling reduce the cost of exploring the accuracy-latency tradeoff in model ensemble selection?
- RQ4How does HOLMES scale under high-throughput, multi-patient streaming workloads with diverse data modalities and frequencies?
- RQ5What is the performance gap between online inference and conventional offline batch processing in terms of latency and prediction accuracy for ICU risk prediction tasks?
Key findings
- HOLMES reduces end-to-end inference latency by an order of magnitude compared to conventional offline batch processing, achieving sub-second latency even under high load.
- The system maintains over 95% prediction accuracy on a pediatric cardio-ICU risk prediction task, with 95th percentile latency under 1.15 seconds for a 10-model ensemble.
- HOLMES scales effectively to 64-bed simulations, handling 16,000 queries per second (16 patients × 250 qps) with 2 GPUs, demonstrating robust performance under high ingest rates.
- Using surrogate models, HOLMES efficiently explores the accuracy-latency tradeoff space, identifying high-performing ensembles with fewer full-profile evaluations.
- Latency decreases with more GPUs, showing that resource scaling improves performance, with lower queueing delays and reduced contention.
- The online serving approach significantly improves prediction accuracy by reducing data staleness, as shown by the inverse relationship between prediction delay and performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.