Predicting anesthetic infusion events using machine learning

Naoki Miyaguchi, Koh Takeuchi, Hisashi Kashima, Mizuki Morita, Hiroshi Morimatsu

Abstract

Recently, research has been conducted to automatically control anesthesia using machine learning, with the aim of alleviating the shortage of anesthesiologists. In this study, we address the problem of predicting decisions made by anesthesiologists during surgery using machine learning; specifically, we formulate a decision making problem by increasing the flow rate at each time point in the continuous administration of analgesic remifentanil as a supervised binary classification problem. The experiments were conducted to evaluate the prediction performance using six machine learning models: logistic regression, support vector machine, random forest, LightGBM, artificial neural network, and long short-term memory (LSTM), using 210 case data collected during actual surgeries. The results demonstrated that when predicting the future increase in flow rate of remifentanil after 1 min, the model using LSTM was able to predict with scores of 0.659 for sensitivity, 0.732 for specificity, and 0.753 for ROC-AUC; this demonstrates the potential to predict the decisions made by anesthesiologists using machine learning. Furthermore, we examined the importance and contribution of the features of each model using Shapley additive explanations—a method for interpreting predictions made by machine learning models. The trends indicated by the results were partially consistent with known clinical findings.

Introduction

Anesthesiology is a high-stakes balancing act requiring constant monitoring of complex vital signs to manage pain and sedation. A growing global shortage of anesthesiologists has increased clinical workloads and the risk of human error. While previous research has focused on predicting physiological risks (e.g., hypotension) or states (e.g., depth of anesthesia), this study explores a proactive approach: predicting the decisions made by clinicians. Specifically, the authors aim to predict "infusion events"—moments when a doctor decides to increase the flow rate of the analgesic remifentanil—based on the patient's immediate physiological history.

Methods

The problem was formulated as a supervised binary classification task: predicting whether the remifentanil flow rate would increase within a specific time horizon ($n$ minutes).

Overview of the machine learning framework for predicting anesthesiologist decisions.

Models and Data

Six machine learning architectures were evaluated:

  • Traditional Models: Logistic Regression and Support Vector Machines (SVM).
  • Ensemble Methods: Random Forest and LightGBM.
  • Neural Networks: Standard Artificial Neural Networks (ANN) and Long Short-Term Memory (LSTM) networks.

The study utilized a real-world dataset from Okayama University Hospital, comprising 210 surgical cases (42,075 minutes of data). Features included 7 time-series vitals (Heart Rate, Blood Pressure metrics, $SpO_2$, etc.) and static patient data (age, weight, height). A significant challenge was the extreme class imbalance, with "increase events" occurring in only 0.96% of the data points.

Results and Discussion

The LSTM model, specifically designed for time-series data, achieved the highest performance for a 1-minute prediction horizon with an ROC-AUC of 0.753, sensitivity of 0.659, and specificity of 0.732.

Feature Importance and Clinical Alignment

To interpret the models, the researchers used SHAP (Shapley Additive Explanations). Across all models, Systolic Blood Pressure (SBP) and Mean Arterial Pressure (MAP) emerged as the most critical predictors.

SHAP values across different models, highlighting the importance of blood pressure metrics (MAP, SBP) in predicting dosage increases.

The models naturally "learned" established clinical guidelines. For instance, predictions for dose increases rose when SBP exceeded 100–125 mmHg, aligning with standard medical thresholds. Interestingly, the study found that a 3-minute history of vital signs was as effective as a 5-minute history, suggesting that anesthesiologists rely primarily on very recent physiological changes to make dosing decisions.

Conclusion

This research demonstrates the feasibility of using machine learning to model high-level clinical decision-making in anesthesia. While the current models show high sensitivity, low precision remains a hurdle for fully autonomous systems. Future work will focus on multi-drug interactions and predicting dosage decreases to enhance patient safety and clinical utility.

Summary updated

BibTeX
@inproceedings{miyaguchi2021predicting,
  author = {Naoki Miyaguchi and Koh Takeuchi and Hisashi Kashima and Mizuki Morita and Hiroshi Morimatsu},
  title = {{Predicting anesthetic infusion events using machine learning}},
  booktitle = {Scientific},
  year = {2021},
  doi = {10.1038/s41598-021-03112-2},
}
Figure