NASSJ Literature Review

Machine Learning Approach to Risk Stratification for Postoperative Hematoma Following Anterior Cervical Spine Surgery

Adam D. Winter, MS

Yale School of Medicine New Haven, CT

Jonathan N. Grauer, MD

Yale School of Medicine New Haven, CT


Article Reviewed

Taka TM, Cabrera A, Bouterse A, Avetisian H, Shin D, Oyoyo U, Danisa O. Risk stratification for postoperative hematoma following anterior cervical spine surgery: a machine learning approach. N Am Spine Soc J. 2026; 27. https://doi.org/10.1016/j.xnsj.2026.100909

Abstract

Background: Anterior approaches to the cervical spine have consistently increased annually, with commonly performed procedures demonstrating low morbidity and mortality rates. However, rare complications of postoperative hematoma requiring readmission or reoperation poses risks such as respiratory compromise and reintubation. This study sought to utilize machine learning algorithms (MLA) on American College of Surgeons National Surgical Quality Improvement Program data to characterize clinical risk profile for readmission and reoperation secondary to postoperative hematoma in patients following anterior cervical procedures.

Methods: A query of the American College of Surgeons National Surgical Quality Improvement Program database identified adult patients undergoing elective anterior cervical spine procedures from 2012 to 2018 and who developed a postoperative hematoma requiring readmission or reoperation within 30 days. 1:5 Propensity score matching was employed to ensure comparable groups and reduce data bias. Six MLAs were constructed to evaluate the association of preoperative variables with postoperative hematoma development within the matched cohort. Permutation feature importance (PFI) was derived from the top-performing MLA to identify and quantify the relative contribution of individual clinical factors to overall risk variance.

Results: Of 54,427 patients, following the 1:5 Propensity score matching, 1,056 patients remained, with 176 (16.67%) developing a postoperative hematoma that required either readmission and/or reoperation. The 6 MLAs generated predictions with an average AUC of 0.824 and average accuracy of 87.75%. However, reflecting the class imbalance of this exceedingly rare complication, the models demonstrated a low average sensitivity of 30.2%. Analysis of PFIs from the top performing algorithm identified diabetes (PFI = 0.020, p = .020), history of smoking (PFI = 0.026, p = .026), preoperative WBC (PFI = 0.028, p = .028), preoperative sodium (PFI = 0.001, p = .001), and dependent function status (PFI = 0.001, p = .001) as statistically significant preoperative factors in the development of postoperative hematomas.

Conclusions: MLAs identified several variables associated with clinically significant postoperative hematoma formation following anterior cervical spine surgery. However, given the low sensitivity driven by the rarity of this event, these algorithms cannot reliably predict individual patient outcomes or serve as independent screening tools. Instead, they function as adjunctive assets to enhance perioperative risk awareness and guide risk stratification.

Commentary

The study by Taka et al, reviewed here, evaluated risk factors for postoperative hematoma following anterior cervical spine surgery using a machine learning approach. Postoperative hematoma is a rare complication following anterior cervical procedures but can be particularly consequential given the potential for airway compromise and need for urgent reoperation. As anterior cervical procedures are increasingly performed in outpatient and short-stay settings, identifying patients who may be at high risk for hematoma is a clinically relevant goal. The authors applied machine learning techniques to a large national surgical database to explore whether readily available preoperative factors could inform risk stratification.

The authors queried the American College of Surgeons National Surgical Quality Improvement Program (ACS-NSQIP) database for adult patients undergoing elective anterior cervical spine procedures between 2012 and 2018. Procedures included anterior cervical discectomy and fusion (ACDF), anterior cervical discectomy without fusion, cervical disc arthroplasty, and cervical corpectomy. The primary outcome was postoperative hematoma resulting in readmission or reoperation within 30 days of surgery. A variety of demographic characteristics, comorbidities, functional status, and preoperative laboratory values were considered as potential predictors.

A total of 54,427 patients met study criteria, of whom 176 developed a postoperative hematoma requiring readmission or reoperation. Thus, the observed incidence of hematoma was only 0.32%, emphasizing both the rarity of the event and the challenge of studying it. To address imbalance between patients with and without hematoma, the authors performed 1:5 propensity score matching based on age and sex, resulting in a matched cohort of 1,056 patients consisting of 176 hematoma cases and 880 controls.

The authors evaluated five supervised machine learning classifiers - random forest, XGBoost, LightGBM, CatBoost, and a multilayer perceptron - alongside logistic regression as a standard statistical comparator. The models were developed using a 70:30 train-test split, with the training data set used for model development, and the test set reserved for final performance evaluation. This approach reduces overfitting and provides a more reliable estimate of how the models perform on unseen data. Model performance was assessed using several complementary measures, including accuracy, sensitivity, specificity, positive and negative predictive values, F1 score, and area under the receiver operating characteristic curve (AUROC). This broad assessment of model performance is important in the setting of a rare outcome, where overall accuracy alone can give an incomplete impression of predictive capability.

Across the evaluated algorithms, mean accuracy was 87.75%, mean specificity was 99.3%, and mean AUROC was 0.824. However, as expected for a rare outcome, mean sensitivity was low at 30.2%. XGBoost demonstrated the strongest overall balance of performance measures, including a sensitivity of 35.9%, AUROC of 0.849, and the highest F1 score among the evaluated models. Notably, the inclusion of a standard logistic regression model provided a useful benchmark, highlighting the improved performance of the more complex machine learning models on some metrics and suggesting that nonlinear interactions among clinical variables may contribute to hematoma risk in ways not fully captured by traditional regression.

Using permutation feature importance (PFI) from the XGBoost model, several preoperative patient and laboratory variables were identified as significantly associated with postoperative hematoma. These included diabetes, smoking history, higher preoperative white blood cell count, lower preoperative sodium, and dependent functional status. The PFI analysis adds an element of explainability to the otherwise black-box machine learning models and was an excellent addition to the manuscript.

Overall, this study represents an important step towards data-driven, multifactorial preoperative risk stratification in spine surgery patients. As granular patient data is increasingly captured and leveraged for clinical decision making, the machine learning techniques used in this study appear to be promising tools for processing such data. However, as highlighted by the authors, these models are not yet ready to be load-bearing components of clinical decision making. Despite favorable accuracy and discrimination metrics, a substantial proportion of patients who ultimately developed a hematoma would not have been identified prospectively. This emphasizes the continued importance of postoperative vigilance regardless of a patient’s predicted preoperative risk.

As the authors acknowledge, there are limitations inherent to this type of investigation. Importantly, the rarity of postoperative hematoma created substantial class imbalance and contributed to low sensitivity of the models. Additionally, the ACS-NSQIP database, while having the advantage of a large, multicenter patient population, only captures a limited set of data variables. Granular surgical-site variables and specific intraoperative factors likely influence hematoma formation but were not able to be assessed in this database. Finally, ACS-NSQIP is limited to 30 days of postoperative follow-up; however, since hematoma is predominantly an early complication, this limitation is likely less consequential.

In conclusion, Taka et al provide an interesting and timely application of machine learning to a clinically important complication of anterior cervical spine surgery. As more anterior cervical procedures transition to outpatient or short-stay pathways, preoperative risk stratification has become increasingly important. While machine learning techniques are promising and may enhance risk awareness, they do not obviate the importance of surgical optimization, postoperative vigilance, and sound clinical judgment. This reviewed paper provides a strong foundation for future studies and a meaningful contribution towards the goal of data-driven risk stratification. It will be exciting to see how these efforts develop in future work.

Key Takeaways

  • This retrospective ACS-NSQIP study evaluated machine learning approaches to identify risk factors for postoperative hematoma following anterior cervical spine surgery.
  • Among 54,427 patients, 176 (0.32%) developed a clinically significant postoperative hematoma.
  • Diabetes, smoking history, preoperative white blood cell count, preoperative sodium, and dependent functional status were identified as significant factors associated with postoperative hematoma.
  • However, the mean sensitivity was low at 30.2%, suggesting limitations to the applied machine learning in this situation.

Strengths of Study

  • The study addresses a clinically relevant question as anterior cervical procedures increasingly transition to outpatient and short-stay settings.
  • A large national surgical database allowed assessment of an uncommon, but clinically consequential, complication.
  • The authors evaluated several machine learning approaches and assessed model performance using multiple complementary metrics rather than relying on overall accuracy alone.
  • The inclusion of logistic regression as a comparator provided a useful benchmark for assessing the relative performance of the more complex machine learning models.

Limitations of Study

  • The rarity of postoperative hematoma resulted in class imbalance and relatively low model sensitivity; the models should not serve as stand-alone decision makers, but rather tools in the larger context of risk stratification.
  • Granular surgical-site and intraoperative variables that may contribute to hematoma formation were likely not fully captured within ACS-NSQIP.

Author Disclosures

A Winter: Other: North American Spine Society Journal (None, Associate Editor for Visual Abstracts).

JN Grauer: Other: Journal of the American Association of Orthopaedic Surgeons (B, Deputy Editor), North American Spine Society Journal (C, Editor in Chief).

TSJ Literature Review

Previous Page

Innomed (Ad)

Next Page