A multicenter explainable machine learning analysis of autoimmune disease comorbidity in ankylosing spondylitis

Scritto il 16/03/2026
da Jichong Zhu

Front Immunol. 2026 Feb 26;17:1775877. doi: 10.3389/fimmu.2026.1775877. eCollection 2026.

ABSTRACT

BACKGROUND: Ankylosing spondylitis (AS) frequently coexists with other autoimmune diseases, leading to increased clinical heterogeneity and diagnostic complexity. Early identification of autoimmune comorbidity in AS remains challenging in routine practice.

METHODS: A multicenter, retrospective, cross-sectional study was conducted, where clinical and laboratory data were collected from three independent tertiary centers between 2012 and 2025. Patients were classified into three groups: AS alone, autoimmune diseases alone, and AS with autoimmune comorbidities. Routinely available variables, including demographic characteristics, systemic inflammatory indices, hematological parameters, and liver and renal function markers, were analyzed. Multiple machine learning algorithms were developed for two clinically relevant classification tasks: AS alone vs. AS with autoimmune comorbidities, and autoimmune diseases alone vs. AS with autoimmune comorbidities. Model performance was evaluated using AUC, calibration, decision curve analysis, and clinical impact curves. SHapley Additive exPlanations (SHAP) were applied to enhance interpretability.

RESULTS: Among all models, LightGBM consistently demonstrated superior and stable performance across discrimination, calibration, and clinical utility metrics. In distinguishing AS alone from AS with autoimmune comorbidities, key contributors included age, gender, renal function-related markers (eGFR, CysC, BUN, UA), and protein and hepatobiliary indices (ALB, DBIL). In comparisons between autoimmune diseases alone and AS with autoimmune comorbidities, SHAP highlighted metabolic- and synthesis-related features (GLOB, PREALB, CHE, ALP), acid-base balance (HCO3), and inflammatory activity (ESR). These patterns suggest that AS-associated autoimmune comorbidity represents a distinct systemic inflammatory-metabolic phenotype rather than a simple amplification of inflammation.

CONCLUSIONS: Using routinely available clinical data, an explainable machine learning framework enables accurate identification and characterization of autoimmune comorbidity in AS. This approach has practical potential for early risk stratification and clinical decision support in real-world settings.

PMID:41836410 | PMC:PMC12979442 | DOI:10.3389/fimmu.2026.1775877