Surgery Duration Prediction Using Multi-Task Feature Selection

David Azriel, Yosef Rinott, Orna Tal, Benyamine Abbou, Nadav RappoportIEEE JBHI 2024

TL;DR

This paper introduces a multi-task regression approach for predicting surgery durations, aiming to improve operating room (OR) efficiency. By treating individual surgeons or surgeon-operation type pairs as separate "tasks," the method selects a common set of predictive features while allowing for task-specific model coefficients, leading to more accurate duration estimates than global models.

What Problem Does This Paper Address?

Optimizing operating room (OR) activity is a critical challenge for hospitals, balancing complex procedures, diverse patient needs, and limited resources. Traditional OR scheduling relies on estimations that are often inaccurate. While machine learning has been applied to predict surgery durations using preoperative data, a key challenge is selecting the right set of predictive features, especially when dealing with a large number of potential covariates and varying sample sizes for different prediction scenarios (e.g., predicting for a specific surgeon vs. a general operation type). This paper addresses the need for a more precise and adaptable method for surgery duration prediction that can account for the nuances of individual surgeons and procedures.

Methods

The core of this paper is a multi-task regression framework, building upon prior work [10]. The approach involves two main stages:

  1. Preprocessing Filtering: A univariate feature filtering step based on correlation is used to remove clearly irrelevant variables, reducing the complexity for the subsequent multivariate selection.
  2. Multi-Task Regression with Sample-Size Dependent Covariate Selection: This stage can be viewed as a form of wrapper method. For each "task" (defined as a specific surgeon, operation type, or surgeon-operation type pair), a linear regression model is estimated. Crucially, the selection of covariates is common across tasks that share the same sample size, but the coefficients of these covariates can vary between tasks. This allows the model to learn general patterns while also adapting to the specifics of each task. The selection of covariates is made dependent on the sample size of the task, with a more complex set of covariates being selected for larger sample sizes.

The paper explores three types of tasks:

  • Global Regression Model: A single linear regression model trained on the entire dataset.
  • Surgeon-based Models: Each lead surgeon is treated as a separate task.
  • Interaction-based Models: Each pair of lead surgeon and operation type is treated as a separate task.

Datasets

The study utilizes a de-identified dataset extracted from the electronic health records of Shamir Medical Center, a large public hospital in Israel. The data spans from December 2009 to May 2020 and includes surgeries from two general surgery departments. The dataset comprises 23,183 surgeries, 146 lead surgeons, and 2,381 operation types. For the specific analysis, a subset was selected containing 32 lead surgeons with over 100 surgeries and 123 operation types with over 15 observations in the training data. This subset resulted in 13,359 training observations and 3,028 test observations. The data was split into training (pre-2018) and testing (2018 onwards) sets.

Key Insights and Ideas

  • Task-Specific Adaptation is Key: Treating individual surgeons or surgeon-operation type pairs as distinct tasks, rather than fitting a single global model, significantly improves prediction accuracy. This highlights that the factors influencing surgery duration are highly context-dependent.
  • Sample Size Matters for Feature Selection: The number of available data points for a specific task (sample size) dictates the complexity of the predictive model. Larger sample sizes allow for the inclusion of more covariates, leading to potentially better predictions, but require careful selection to avoid overfitting.
  • Covariate Selection Can Be Simplified: The multi-task approach, particularly for surgeon-based models, demonstrates that a smaller set of carefully selected features can outperform complex models (like XGB) that use hundreds of covariates. This leads to simpler, more interpretable models.
  • High-Error Tasks Reveal Interesting Scenarios: The analysis identified specific surgeons or surgeon-operation type combinations with unusually high prediction errors. These cases often correlate with factors like complex patient conditions, novel surgical techniques, or significant changes in operational parameters (e.g., nurse staffing) between training and testing periods, providing valuable insights into the limitations of prediction.

Key Results

  • Surgeon-based models outperformed the global regression model: The surgeon-based multi-task approach achieved an average prediction error of 29.2% on the test data, compared to 30.0% for the global model.
  • Interaction-based models showed similar performance to the global model: For surgeon-operation type tasks, the multi-task approach yielded an average test prediction error of 30.1%, comparable to the global model.
  • Surgeon-based models outperformed other ML methods: When compared to XGB, LASSO, Mutual Information, and Forward Selection, the surgeon-based models achieved the lowest prediction error in the test set (29.4%), showing a relative improvement of 2% to 10%.
  • Reduced Covariate Usage: The proposed surgeon-based models use a significantly smaller number of covariates (a handful) compared to methods like XGB which utilize hundreds, leading to simpler and more interpretable models.

Limitations and Future Work

  • Operation-Type-Based Tasks: The paper notes that the proposed approach did not outperform the baseline for operation-type-based tasks, suggesting that this specific task definition might be less amenable to the multi-task feature selection strategy.
  • Data Differences Between Training and Test Sets: For certain interaction-based tasks, significant differences in patient characteristics (age, drug count, anesthesiologists) between the training and test data led to prediction bias, highlighting the challenge of predicting when underlying data distributions shift. The authors suggest that no statistical method can entirely prevent such errors.
  • Future Research: The authors emphasize the need for further research to fully understand the potential of multi-task regression and feature selection in healthcare systems. They also suggest that for tasks with high prediction errors, further subdivision of the task, alternative prediction methods, or explicit warnings about prediction uncertainty could be beneficial.

Summary updated

Abstract

Efficient optimization of operating room (OR) activity poses a significant challenge for hospital managers due to the complex and risky nature of the environment. The traditional “one size fits all” approach to OR scheduling is no longer practical, and personalized medicine is required to meet the diverse needs of patients, care providers, medical procedures, and system constraints within limited resources. This paper aims to introduce a scientific and practical tool for predicting surgery durations and improving OR performance for maximum benefit to patients and the hospital. Previous works used machine-learning models for surgery duration prediction based on preoperative data. The models consider covariates known to the medical staff at the time of scheduling the surgery. Given a large number of covariates, model selection becomes crucial, and the number of covariates used for prediction depends on the available sample size. Our proposed approach utilizes multi-task regression to select a common subset of predicting covariates for all tasks with the same sample size while allowing the model's coefficients to vary between them. A regression task can refer to a single surgeon or operation type or the interaction between them. By considering these diverse factors, our method provides an overall more accurate estimation of the surgery durations, and the selected covariates that enter the model may help to identify the resources required for a specific surgery. We found that when the regression tasks were surgeon-based or based on the pair of operation type and surgeon, our suggested approach outperformed the compared baseline suggested in a previous study. However, our approach failed to reach the baseline for an operation-type-based task. By accurately estimating surgery durations, hospital managers can provide care to a greater number of patients, optimize resource allocation and utilization, and reduce waste. This research contributes to the advancement of personalized medicine and provides a valuable tool for improving operational efficiency in the dynamic world of medicine.
BibTeX
@article{azriel2024surgery,
  author = {David Azriel and Yosef Rinott and Orna Tal and Benyamine Abbou and Nadav Rappoport},
  title = {{Surgery Duration Prediction Using Multi-Task Feature Selection}},
  journal = {IEEE J. Biomed. Health Informatics},
  year = {2024},
  url = {https://openreview.net/forum?id=PPmcJUrriW},
}
Figure