Explainable machine learning differentiates necrotizing fasciitis and osteomyelitis via routine blood biomarkers

Parhat Yasin1, Zubaidanmu Aizezi2, Shiming Dong3

  • 1Department of Spine Surgery, The Sixth Affiliated Hospital of Xinjiang Medical University, Urumqi, Xinjiang, PR China.

NPJ Digital Medicine
|April 29, 2026
PubMed

Insights

This study developed an explainable AI model to differentiate necrotizing fasciitis (NF) and osteomyelitis (OM) using blood tests. The model accurately distinguishes these severe infections, aiding clinical decisions.

Area of Science:

  • Medical diagnostics
  • Artificial intelligence in healthcare
  • Infectious disease research

Background:

  • Necrotizing fasciitis (NF) and osteomyelitis (OM) are severe infections with overlapping symptoms, complicating early diagnosis.
  • Accurate differentiation is crucial for timely and appropriate treatment to prevent limb loss.

Purpose of the Study:

  • To develop and validate an explainable machine learning model for distinguishing NF from OM.
  • To improve diagnostic accuracy and speed for these limb-threatening infections.

Main Methods:

  • A retrospective, multi-center cohort of 3415 patients (579 NF, 2836 OM) was analyzed.
  • An explainable 10-biomarker LightGBM model was developed and validated using routine blood biomarkers.
  • External validation was performed on data from a second independent center.

Main Results:

  • The LightGBM model achieved an AUC of 0.926 on the external testing cohort.
  • Explainability analyses confirmed predictions were based on clinically relevant markers of inflammation and metabolic dysfunction.
  • The model was deployed as a publicly accessible web tool for risk stratification.

Conclusions:

  • An externally validated, explainable AI framework can augment clinical judgment in diagnosing NF and OM.
  • This AI tool has the potential to reduce diagnostic delays and improve patient outcomes for severe infections.
  • The model provides a trustworthy and accurate method for risk stratification of patients with suspected NF or OM.