Neutrophil-to-albumin ratio as a predictor of sepsis-associated encephalopathy in patients with rheumatoid arthritis: an exploratory machine learning study
Tong Xin, Che Wang, Fan Gong, Yanxia Zhao, J C He, Xiaoping Wang, Daqing Nie, Guorong Jin, Aijing Liu
Background and purpose Patients with rheumatoid arthritis (RA) face an elevated risk of sepsis and its associated neurological complications, most notably sepsis-associated encephalopathy (SAE). Nonetheless, early identification of SAE in this population remains a substantial clinical challenge. To address this gap, we aimed to develop and validate a predictive model that incorporates the neutrophil-to-albumin ratio (NAR) to estimate SAE risk in RA patients with sepsis. Methods This retrospective multicenter cohort study included a derivation cohort of 89 patients with RA and sepsis from two centers and an independent external validation cohort of 37 patients from a third center. Patients in the derivation cohort were classified into SAE and non-SAE groups. Three machine learning algorithms (LASSO, random forest, and XGBoost) were applied for feature selection, and the optimal model was selected based on area under the receiver operating characteristic curve (AUC). Model performance was evaluated using bootstrap resampling, calibration curves, and decision curve analysis. The final XGBoost model was subsequently evaluated in the external validation cohort. A web-based dynamic prediction tool was developed for clinical application. Kaplan–Meier analysis and Cox regression were performed to evaluate 28-day survival. Results SAE occurred in 23.6% of patients and was associated with significantly higher 28-day mortality (61.9% vs. 33.8%, p = 0.04). Six consensus predictors (SOFA score, procalcitonin, platelet count, length of stay, NAR, and age) were identified. The XGBoost model achieved a bootstrap-corrected AUC of 0.859 (95% CI: 0.751–0.946) in the derivation cohort. In the independent external validation cohort, the final XGBoost model achieved an AUC of 0.849 (95% CI: 0.674–1.000). SHAP analysis demonstrated that higher SOFA, procalcitonin, length of stay, age, and NAR values increased SAE risk, whereas higher platelet count was protective. Kaplan–Meier analysis showed significantly lower 28-day survival in the high NAR group ( p = 0.023), and elevated NAR was associated with increased mortality risk (HR = 2.178, 95% CI: 1.095–4.332). Conclusion The NAR-integrated XGBoost model provides a robust and interpretable tool for early SAE prediction in RA patients with sepsis, showing potential clinical utility for bedside risk stratification.