<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Immunol.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Immunology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Immunol.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">1664-3224</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fimmu.2026.1775877</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>A multicenter explainable machine learning analysis of autoimmune disease comorbidity in ankylosing spondylitis</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" equal-contrib="yes">
<name><surname>Zhu</surname><given-names>Jichong</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x2020;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3241568/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name><surname>Huang</surname><given-names>Chengqian</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x2020;</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="software" vocab-term-identifier="https://credit.niso.org/contributor-roles/software/">Software</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name><surname>Lin</surname><given-names>Yang</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x2020;</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name><surname>Chen</surname><given-names>Tianyou</given-names></name>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x2020;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1284315/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Formal analysis" vocab-term-identifier="https://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Ren</surname><given-names>Lei</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Project-administration" vocab-term-identifier="https://credit.niso.org/contributor-roles/project-administration/">Project administration</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Formal analysis" vocab-term-identifier="https://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Chen</surname><given-names>Jiarui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1771255/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Project-administration" vocab-term-identifier="https://credit.niso.org/contributor-roles/project-administration/">Project administration</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="resources" vocab-term-identifier="https://credit.niso.org/contributor-roles/resources/">Resources</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Xue</surname><given-names>Jiang</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Li</surname><given-names>Hao</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="visualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/visualization/">Visualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Cheng</surname><given-names>Hong</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff6"><sup>6</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2929558/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Zhan</surname><given-names>Xinli</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1462472/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Liu</surname><given-names>Chong</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1431847/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Funding acquisition" vocab-term-identifier="https://credit.niso.org/contributor-roles/funding-acquisition/">Funding acquisition</role>
</contrib>
</contrib-group>
<aff id="aff1"><label>1</label><institution>The First Affiliated Hospital of Guangxi Medical University</institution>, <city>Nanning</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff2"><label>2</label><institution>Affiliated Hospital of Youjiang Medical University for Nationalities, Spinal Orthopedic Surgery</institution>, <city>Baise</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff3"><label>3</label><institution>Key Laboratory of Molecular Pathology in Tumors of GuangxiHigher Education Institutions</institution>, <city>Baise</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff4"><label>4</label><institution>Guilin People&#x2019;s Hospital</institution>, <city>Guilin</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff5"><label>5</label><institution>The Second Affiliated Hospital of Guangxi Medical University</institution>, <city>Nanning</city>,&#xa0;<country country="cn">China</country></aff>
<aff id="aff6"><label>6</label><institution>Nanxishan Hospital of Guangxi Zhuang Autonomous Region (The Second People&#x2019;s Hospital of Guangxi Zhuang Autonomous Region), Department of Trauma Orthopaedics and Hand Surgery</institution>, <city>Guilin</city>,&#xa0;<country country="cn">China</country></aff>
<author-notes>
<corresp id="c001"><label>*</label>Correspondence: Chong Liu, <email xlink:href="mailto:liuchong@stu.gxmu.edu.cn">liuchong@stu.gxmu.edu.cn</email>; Xinli Zhan, <email xlink:href="mailto:zhanxinli@stu.gxmu.edu.cn">zhanxinli@stu.gxmu.edu.cn</email>; Hong Cheng, <email xlink:href="mailto:hongchenggo125@163.com">hongchenggo125@163.com</email></corresp>
<fn fn-type="equal" id="fn003">
<label>&#x2020;</label>
<p>These authors have contributed equally to this work</p></fn>
</author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-02-26">
<day>26</day>
<month>02</month>
<year>2026</year>
</pub-date>
<pub-date publication-format="electronic" date-type="collection">
<year>2026</year>
</pub-date>
<volume>17</volume>
<elocation-id>1775877</elocation-id>
<history>
<date date-type="received">
<day>05</day>
<month>01</month>
<year>2026</year>
</date>
<date date-type="accepted">
<day>13</day>
<month>02</month>
<year>2026</year>
</date>
<date date-type="rev-recd">
<day>05</day>
<month>02</month>
<year>2026</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2026 Zhu, Huang, Lin, Chen, Ren, Chen, Xue, Li, Cheng, Zhan and Liu.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>Zhu, Huang, Lin, Chen, Ren, Chen, Xue, Li, Cheng, Zhan and Liu</copyright-holder>
<license>
<ali:license_ref start_date="2026-02-26">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</license-p>
</license>
</permissions>
<abstract>
<sec>
<title>Background</title>
<p>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.</p>
</sec>
<sec>
<title>Methods</title>
<p>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.</p>
</sec>
<sec>
<title>Results</title>
<p>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&#x2013;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&#x2013;base balance (HCO<sub>3</sub>), and inflammatory activity (ESR). These patterns suggest that AS-associated autoimmune comorbidity represents a distinct systemic inflammatory&#x2013;metabolic phenotype rather than a simple amplification of inflammation.</p>
</sec>
<sec>
<title>Conclusions</title>
<p>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.</p>
</sec>
</abstract>
<kwd-group>
<kwd>ankylosing spondylitis</kwd>
<kwd>autoimmune comorbidity</kwd>
<kwd>LightGBM</kwd>
<kwd>machine learning</kwd>
<kwd>SHAP</kwd>
</kwd-group>
<funding-group>
<funding-statement>The author(s) declared that financial support was received for this work and/or its publication. This study was supported by the National Natural Science Foundation of China (Grant No. NSFC82360422) and the Joint Project on Regional High-Incidence Diseases Research of the Guangxi Natural Science Foundation (Grant No. 2024GXNSFAA010073).</funding-statement>
</funding-group>
<counts>
<fig-count count="3"/>
<table-count count="4"/>
<equation-count count="0"/>
<ref-count count="38"/>
<page-count count="13"/>
<word-count count="7017"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Systems Immunology</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Ankylosing spondylitis (AS) is a chronic inflammatory disorder primarily affecting the sacroiliac joints and spine, with a strong association to the HLA-B27 gene (<xref ref-type="bibr" rid="B1">1</xref>). It predominantly affects young males, and its prevalence varies by ethnicity and geography. In addition to axial involvement, AS is commonly accompanied by extra-articular manifestations, including uveitis, inflammatory bowel disease(IBD), psoriasis, cardiovascular complications, and osteoporosis (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>). Notably, AS patients may also develop comorbid autoimmune diseases such as psoriatic arthritis and IBD, indicating a pattern of systemic immune dysregulation (<xref ref-type="bibr" rid="B4">4</xref>). However, the underlying mechanisms linking AS to these coexisting autoimmune conditions remain insufficiently explored and require further investigation.</p>
<p>Patients with AS may present with concomitant autoimmune diseases, which differ in affected organs and clinical manifestations. For example, rheumatoid arthritis (RA) primarily involves peripheral small joints; systemic lupus erythematosus (SLE) is characterized by multisystem involvement and autoantibody production; Sj&#xf6;gren&#x2019;s syndrome mainly affects exocrine glands; and IBD is predominantly associated with chronic inflammation of the gastrointestinal tract (<xref ref-type="bibr" rid="B5">5</xref>). Despite these phenotypic differences, these conditions are all immune-mediated chronic inflammatory disorders, sharing common features such as immune dysregulation, aberrant cytokine networks, and genetic susceptibility (<xref ref-type="bibr" rid="B6">6</xref>). The presence of immune comorbidities can substantially increase disease complexity and systemic inflammatory burden in AS patients, leading to higher disease activity, more frequent extra-articular manifestations, and reduced therapeutic responses, thereby adversely affecting long-term prognosis and quality of life (<xref ref-type="bibr" rid="B7">7</xref>). Therefore, early identification of immune comorbidities and exploration of relevant biomarkers or clinical indicators are crucial for achieving precise disease assessment and individualized treatment strategies in AS.</p>
<p>Machine learning has demonstrated substantial advantages in the diagnosis and research of immune-mediated diseases, particularly in handling high-dimensional and heterogeneous clinical and biological data, where it can capture complex nonlinear relationships to enable earlier and more accurate diagnosis and prognostic assessment (<xref ref-type="bibr" rid="B8">8</xref>). Moreover, machine learning facilitates the efficient integration of large-scale, multi-source data, including genomics, imaging, and electronic health records, uncovering associations that are often inaccessible to conventional analytical approaches (<xref ref-type="bibr" rid="B9">9</xref>). However, the limited interpretability of complex models has raised concerns regarding their clinical applicability. In this context, explainable techniques such as SHapley Additive exPlanations (SHAP) quantify the contribution of individual features to model predictions, enhancing transparency and reliability and thereby supporting the trustworthy implementation of machine learning in clinical practice (<xref ref-type="bibr" rid="B10">10</xref>).</p>
<p>This study aimed to compare clinical characteristics among three populations&#x2014;patients with AS alone, patients with other autoimmune diseases without AS, and patients with AS comorbid with other autoimmune diseases&#x2014;in order to identify early indicators of AS-related immune comorbidity. Clinical data were collected from three independent centers and comprised multidimensional variables, including routine blood parameters, erythrocyte sedimentation rate (ESR), liver and renal function indices, and systemic inflammatory markers. Multiple machine learning algorithms were applied for feature selection and classification model development, with particular emphasis on discriminative patterns between &#x201c;AS alone versus AS with comorbid autoimmune diseases&#x201d; and &#x201c;other autoimmune diseases versus AS with comorbid autoimmune diseases.&#x201d;</p>
<p>Furthermore, SHAP were employed to enhance model interpretability by quantifying the contribution of individual features to classification outcomes, thereby elucidating key variables associated with comorbidity and identifying potential biomarkers and clinical features for the early detection and stratified management of autoimmune comorbidities in AS.</p>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Study design and population</title>
<p>A multicenter, retrospective, cross-sectional study was conducted, utilizing clinical data collected from three independent tertiary medical centers. Patients were consecutively enrolled between December 2012 and January 2025. All participants underwent systematic evaluation by rheumatologists, and definitive diagnoses were established based on integrated assessments of clinical manifestations, laboratory findings, and imaging examinations, in accordance with internationally recognized or widely accepted diagnostic criteria.</p>
<p>According to disease status, patients were classified into three groups. The first group comprised patients with AS alone. The diagnosis of AS was based on the ASAS (Assessment of SpondyloArthritis International Society) classification criteria and was independently confirmed by at least two experienced rheumatologists. Diagnostic evaluation incorporated typical clinical features, such as chronic inflammatory back pain and limitation of spinal or sacroiliac joint mobility, in line with the ASAS clinical criteria. Imaging evidence of sacroiliitis or structural changes on radiography, computed tomography (CT), or magnetic resonance imaging (MRI), consistent with the ASAS imaging criteria, were also considered. Additionally, relevant laboratory findings, including HLA-B27 testing, were evaluated as part of the diagnostic process. Patients in this group had no concomitant autoimmune diseases (<xref ref-type="bibr" rid="B11">11</xref>).</p>
<p>The second group included patients with autoimmune diseases other than AS, without clinical or imaging evidence of AS. These autoimmune conditions included psoriasis, inflammatory bowel disease, uveitis, dermatitis, rheumatoid arthritis, systemic lupus erythematosus, Sj&#xf6;gren&#x2019;s syndrome, Crohn&#x2019;s disease, amyopathic dermatomyositis, vasculitis, Beh&#xe7;et&#x2019;s disease, systemic sclerosis, and other immune-mediated disorders. All diagnoses were made according to the corresponding internationally recognized or nationally accepted diagnostic criteria, including the CASPAR criteria for psoriatic arthritis, the 2010 ACR/EULAR criteria for rheumatoid arthritis, the 2019 EULAR/ACR criteria for systemic lupus erythematosus, the 2016 ACR/EULAR criteria for Sj&#xf6;gren&#x2019;s syndrome, the 2012 Chapel Hill criteria for vasculitis, and the 1990 International Criteria for Beh&#xe7;et&#x2019;s disease, among others. These criteria integrate clinical features, laboratory tests, imaging studies, and specific antibody markers to ensure accurate diagnosis and consistency.</p>
<p>The third group consisted of patients with AS comorbid with other autoimmune diseases. These patients fulfilled the diagnostic criteria for AS as well as for at least one additional autoimmune disease, with each diagnosis independently confirmed by specialist physicians.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Clinical and laboratory features</title>
<p>Clinical and laboratory data were collected at the time of initial evaluation or hospital admission. Demographic variables included age and gender. Systemic inflammatory indices comprised the systemic immune-inflammation index (SII), systemic inflammation response index (SIRI), neutrophil-to-lymphocyte ratio (NLR), platelet-to-lymphocyte ratio (PLR), platelet-to-neutrophil ratio (PNR), and neutrophil-to-monocyte ratio (NMR).</p>
<p>Routine hematological parameters included white blood cell count (WBC), red blood cell count (RBC), hemoglobin (Hb), hematocrit (HCT), mean corpuscular volume (MCV), mean corpuscular hemoglobin (MCH), mean corpuscular hemoglobin concentration (MCHC), platelet count (PLT), mean platelet volume (MPV), platelet distribution width (PDW), and plateletcrit (PCT). Differential leukocyte counts included neutrophils (NE), lymphocytes (LY), monocytes (MO), eosinophils (EO), and basophils (BA).</p>
<p>Inflammatory activity was assessed using the erythrocyte sedimentation rate (ESR).</p>
<p>Liver function parameters included total bilirubin (TBIL), direct bilirubin (DBIL), indirect bilirubin (IBIL), the DBIL/TBIL ratio, total protein (TP), albumin (ALB), globulin (GLOB), the albumin-to-globulin ratio (ALB/GLOB), gamma-glutamyl transferase (GGT), total bile acid (TBA), aspartate aminotransferase (AST), alanine aminotransferase (ALT), the AST/ALT ratio, alkaline phosphatase (ALP), prealbumin (PREALB), and cholinesterase (CHE).</p>
<p>Renal function and related metabolic parameters included blood urea nitrogen (BUN), creatinine (Cr), uric acid (UA), bicarbonate (HCO<sub>3</sub>), estimated glomerular filtration rate (eGFR), and cystatin C (CysC).</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Data preprocessing</title>
<p>Prior to model development, clinical data were preprocessed to ensure data quality. Patient records with missing values were excluded, and only patients with complete clinical and laboratory data were included in the analysis. The data were then organized and analyzed separately according to their originating centers.</p>
<p>Continuous variables were uniformly processed before analysis to minimize the influence of different measurement scales on model training, while categorical variables were encoded into numerical formats suitable for machine learning algorithms. The same preprocessing procedures were applied across all centers to ensure comparability and robustness of the analytical results (<xref ref-type="bibr" rid="B12">12</xref>, <xref ref-type="bibr" rid="B13">13</xref>).</p>
<p>After data screening, the final study population comprised three disease groups across the three centers. In the AS-alone group, 326 patients were included from Center 1, 108 from Center 2, and 110 from Center 3. In the group with autoimmune diseases other than AS, 603 patients were enrolled from Center 1, 201 from Center 2, and 201 from Center 3. In the AS with autoimmune comorbidity group, 343 patients were included from Center 1, 114 from Center 2, and 115 from Center 3.</p>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Machine learning models</title>
<p>After data preprocessing, multiple machine learning&#x2013;based binary classification models were developed using clinical and laboratory variables to discriminate between different disease states. The algorithms applied included Na&#xef;ve Bayes, discriminant analysis, logistic regression, LASSO, partial least squares, k-nearest neighbors, support vector machines, artificial neural networks, random forest, gradient boosting and other boosting methods, as well as ensemble learning models such as LightGBM and CatBoost.</p>
<p>Model training was primarily performed on the training dataset with repeated five-fold cross-validation to assess model stability. Model performance was evaluated in both the training and testing datasets using the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, accuracy, F1 score, and Youden index. Receiver operating characteristic (ROC) curves and decision curve analysis (DCA) were used to compare discriminative ability and potential clinical utility across models (<xref ref-type="bibr" rid="B14">14</xref>, <xref ref-type="bibr" rid="B15">15</xref>). The model with the highest AUC in the testing dataset was selected for subsequent analyses.</p>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>SHAP analysis</title>
<p>To enhance model interpretability, SHAP were applied to the optimal machine learning model selected based on test-set performance. SHAP was used to quantify the contribution of individual clinical and laboratory features to model predictions at both global and individual levels, thereby elucidating the model&#x2019;s decision-making process (<xref ref-type="bibr" rid="B8">8</xref>).</p>
<p>For tree-based models (e.g., LightGBM and CatBoost), SHAP values were computed using model-specific built-in methods, while a model-agnostic kernel-based SHAP approach was used for the remaining models. Feature importance was assessed using mean absolute SHAP values, and SHAP summary and dependence plots were generated to visualize the direction and magnitude of feature effects (<xref ref-type="bibr" rid="B16">16</xref>). In addition, waterfall or force plots were used to provide intuitive explanations for representative individual predictions.</p>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>Feature engineering and feature selection process</title>
<p>In this study, we performed feature engineering and feature selection through the following steps: (1) Data Preprocessing: Missing values were handled, and continuous variables were standardized to mitigate the effects of different scales. Categorical variables (e.g., gender) were converted into numerical format. (2) Feature Selection Method: A total of 48 variables were initially considered. Machine learning algorithms were applied to assess the importance of features in clinical and laboratory data. The most important features for distinguishing AS from autoimmune comorbidities were selected. (3) SHAP Analysis: To enhance model interpretability, SHAP (Shapley Additive Explanations) was used to quantify the contribution of each feature to the model&#x2019;s predictions. This analysis helped confirm the clinical and biological relevance of the selected features. (4) Feature Selection Criteria: The selected features demonstrated strong statistical correlation and were aligned with clinical relevance. Feature selection ensured that the model was both effective in prediction and resistant to overfitting.</p>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results</title>
<sec id="s3_1">
<label>3.1</label>
<title>Baseline characteristics and laboratory differences among the three groups</title>
<p>After merging data from the three centers, a total of 2,121 patients were included in the analysis, comprising 544 patients with AS alone, 1,005 patients with autoimmune diseases without AS, and 572 patients with AS combined with other autoimmune diseases. Comparisons of demographic characteristics, systemic inflammatory indices, hematological parameters, liver function, and renal function&#x2013;related variables among the three groups are summarized in <xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>, <xref ref-type="table" rid="T2"><bold>2</bold></xref>, <xref ref-type="table" rid="T3"><bold>3</bold></xref>, <xref ref-type="table" rid="T4"><bold>4</bold></xref>. The complete research flowchart is shown in <xref ref-type="fig" rid="f1"><bold>Figure&#xa0;1</bold></xref>.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Demographic characteristics and systemic inflammatory indices among patients with ankylosing spondylitis alone, autoimmune diseases alone, and ankylosing spondylitis with autoimmune comorbidities.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Type</th>
<th valign="middle" align="left">AS (N = 544)</th>
<th valign="middle" align="left">Immunological diseases (N = 1005)</th>
<th valign="middle" align="left">Immunological diseases+AS (N = 572)</th>
<th valign="middle" align="left">p-value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">Male</td>
<td valign="middle" align="left">458 (84.2%)</td>
<td valign="middle" align="left">385 (38.3%)</td>
<td valign="middle" align="left">253 (44.2%)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">Female</td>
<td valign="middle" align="left">86 (15.8%)</td>
<td valign="middle" align="left">620 (61.7%)</td>
<td valign="middle" align="left">319 (55.8%)</td>
<td valign="middle" align="left"/>
</tr>
<tr>
<td valign="middle" align="left">Age</td>
<td valign="middle" align="left">35.00 (29.00, 41.00)</td>
<td valign="middle" align="left">52.00 (36.00, 61.00)</td>
<td valign="middle" align="left">52.00 (36.00, 63.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">ESR,mm/h</td>
<td valign="middle" align="left">31.50 (17.00, 54.25)</td>
<td valign="middle" align="left">17.00 (8.00, 34.00)</td>
<td valign="middle" align="left">28.00 (14.00, 49.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">SII</td>
<td valign="middle" align="left">803.30 (495.82, 1195.93)</td>
<td valign="middle" align="left">545.97 (373.07, 920.00)</td>
<td valign="middle" align="left">745.11 (494.11, 1252.68)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">SIRI</td>
<td valign="middle" align="left">1.51 (1.00, 2.37)</td>
<td valign="middle" align="left">1.11 (0.72, 1.97)</td>
<td valign="middle" align="left">1.42 (0.92, 2.25)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">NLR</td>
<td valign="middle" align="left">2.52 (1.84, 3.45)</td>
<td valign="middle" align="left">2.16 (1.53, 3.14)</td>
<td valign="middle" align="left">2.42 (1.74, 3.36)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PLR</td>
<td valign="middle" align="left">151.64 (118.30, 203.17)</td>
<td valign="middle" align="left">134.13 (102.66, 184.50)</td>
<td valign="middle" align="left">150.08 (113.88, 205.17)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PNR</td>
<td valign="middle" align="left">60.99 (49.07, 78.41)</td>
<td valign="middle" align="left">62.65 (47.63, 83.93)</td>
<td valign="middle" align="left">64.26 (50.35, 80.88)</td>
<td valign="middle" align="left">0.20</td>
</tr>
<tr>
<td valign="middle" align="left">NMR</td>
<td valign="middle" align="left">8.18 (6.53, 10.43)</td>
<td valign="middle" align="left">7.66 (6.22, 9.95)</td>
<td valign="middle" align="left">8.11 (6.45, 10.25)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Comparison of routine hematological parameters among the three study groups.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Type</th>
<th valign="middle" align="left">AS (N = 544)</th>
<th valign="middle" align="left">Immunological diseases (N = 1005)</th>
<th valign="middle" align="left">Immunological diseases+AS (N = 572)</th>
<th valign="middle" align="left">p-value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">WBC, &#xd7;10^9/L</td>
<td valign="middle" align="left">8.05 (6.90, 9.53)</td>
<td valign="middle" align="left">7.20 (5.84, 8.73)</td>
<td valign="middle" align="left">7.88 (6.71, 9.38)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">RBC, &#xd7;10^12/L</td>
<td valign="middle" align="left">4.81 (4.42, 5.25)</td>
<td valign="middle" align="left">4.57 (4.13, 5.06)</td>
<td valign="middle" align="left">4.92 (4.45, 5.29)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">Hb, g/L</td>
<td valign="middle" align="left">131.30 (119.00, 142.93)</td>
<td valign="middle" align="left">129.00 (115.80, 142.20)</td>
<td valign="middle" align="left">132.10 (117.95, 144.00)</td>
<td valign="middle" align="left">0.07</td>
</tr>
<tr>
<td valign="middle" align="left">HCT, %</td>
<td valign="middle" align="left">0.40 (0.37, 0.43)</td>
<td valign="middle" align="left">0.39 (0.36, 0.43)</td>
<td valign="middle" align="left">0.41 (0.36, 0.44)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">MCV, fL</td>
<td valign="middle" align="left">84.17 (78.17, 89.02)</td>
<td valign="middle" align="left">87.60 (82.36, 91.00)</td>
<td valign="middle" align="left">84.60 (78.04, 88.27)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">MCH, pg</td>
<td valign="middle" align="left">27.84 (25.55, 29.53)</td>
<td valign="middle" align="left">29.02 (27.06, 30.40)</td>
<td valign="middle" align="left">27.79 (24.94, 29.47)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">MCHC, g/L</td>
<td valign="middle" align="left">328.00 (319.75, 334.70)</td>
<td valign="middle" align="left">329.00 (322.00, 336.20)</td>
<td valign="middle" align="left">326.60 (317.45, 334.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PLT, &#xd7;10^9/L</td>
<td valign="middle" align="left">308.35 (254.75, 379.15)</td>
<td valign="middle" align="left">266.00 (216.50, 330.00)</td>
<td valign="middle" align="left">312.25 (253.85, 389.18)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">MPV, fL</td>
<td valign="middle" align="left">7.95 (7.36, 8.76)</td>
<td valign="middle" align="left">8.56 (7.76, 9.50)</td>
<td valign="middle" align="left">8.25 (7.42, 9.20)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PDW, %</td>
<td valign="middle" align="left">0.16 (0.16, 0.17)</td>
<td valign="middle" align="left">0.16 (0.12, 0.17)</td>
<td valign="middle" align="left">0.16 (0.11, 0.17)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">NE#</td>
<td valign="middle" align="left">5.10 (4.01, 6.50)</td>
<td valign="middle" align="left">4.12 (3.19, 5.60)</td>
<td valign="middle" align="left">4.97 (3.90, 6.21)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">LY#</td>
<td valign="middle" align="left">2.00 (1.69, 2.40)</td>
<td valign="middle" align="left">1.97 (1.51, 2.50)</td>
<td valign="middle" align="left">2.01 (1.64, 2.54)</td>
<td valign="middle" align="left">0.07</td>
</tr>
<tr>
<td valign="middle" align="left">MO#</td>
<td valign="middle" align="left">0.60 (0.49, 0.78)</td>
<td valign="middle" align="left">0.54 (0.42, 0.69)</td>
<td valign="middle" align="left">0.60 (0.48, 0.76)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">EO#</td>
<td valign="middle" align="left">0.12 (0.08, 0.22)</td>
<td valign="middle" align="left">0.14 (0.08, 0.25)</td>
<td valign="middle" align="left">0.12 (0.07, 0.23)</td>
<td valign="middle" align="left">0.03</td>
</tr>
<tr>
<td valign="middle" align="left">BA#</td>
<td valign="middle" align="left">0.03 (0.02, 0.05)</td>
<td valign="middle" align="left">0.03 (0.02, 0.05)</td>
<td valign="middle" align="left">0.04 (0.02, 0.05)</td>
<td valign="middle" align="left">0.04</td>
</tr>
<tr>
<td valign="middle" align="left">RDW-CV, %</td>
<td valign="middle" align="left">0.14 (0.13, 0.15)</td>
<td valign="middle" align="left">0.14 (0.13, 0.15)</td>
<td valign="middle" align="left">0.14 (0.13, 0.15)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PCT</td>
<td valign="middle" align="left">0.25 (0.21, 0.30)</td>
<td valign="middle" align="left">0.23 (0.19, 0.28)</td>
<td valign="middle" align="left">0.26 (0.21, 0.31)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Comparison of liver function&#x2013; and protein metabolism&#x2013;related parameters among the three study groups.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Type</th>
<th valign="middle" align="center">AS (N = 544)</th>
<th valign="middle" align="center">Immunological diseases (N = 1005)</th>
<th valign="middle" align="center">Immunological diseases+AS (N = 572)</th>
<th valign="middle" align="center">p-value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">TBIL, &#x3bc;mol/L</td>
<td valign="middle" align="left">7.80 (6.00, 10.60)</td>
<td valign="middle" align="left">8.80 (6.13, 13.00)</td>
<td valign="middle" align="left">11.00 (7.40, 11.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">DBI, &#x3bc;mol/L</td>
<td valign="middle" align="left">2.60 (1.80, 3.40)</td>
<td valign="middle" align="left">2.88 (2.10, 4.00)</td>
<td valign="middle" align="left">4.16 (2.50, 4.16)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">TBIL, &#x3bc;mol/L</td>
<td valign="middle" align="left">5.40 (3.80, 7.12)</td>
<td valign="middle" align="left">6.00 (3.93, 9.04)</td>
<td valign="middle" align="left">6.84 (4.88, 6.84)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">DBIL/TBIL</td>
<td valign="middle" align="left">0.30 (0.29, 0.40)</td>
<td valign="middle" align="left">0.30 (0.28, 0.40)</td>
<td valign="middle" align="left">0.35 (0.30, 0.35)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">TP, g/L</td>
<td valign="middle" align="left">75.80 (71.20, 79.60)</td>
<td valign="middle" align="left">71.00 (65.40, 76.00)</td>
<td valign="middle" align="left">74.60 (74.07, 76.43)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">ALB, g/L</td>
<td valign="middle" align="left">42.00 (38.68, 44.90)</td>
<td valign="middle" align="left">41.20 (37.00, 44.60)</td>
<td valign="middle" align="left">41.10 (40.70, 42.90)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">GLB, g/L</td>
<td valign="middle" align="left">33.40 (29.00, 37.82)</td>
<td valign="middle" align="left">29.20 (25.80, 33.50)</td>
<td valign="middle" align="left">33.40 (31.90, 34.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">ALB/GLB</td>
<td valign="middle" align="left">1.30 (1.00, 1.50)</td>
<td valign="middle" align="left">1.40 (1.20, 1.60)</td>
<td valign="middle" align="left">1.30 (1.20, 1.30)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">GGT, U/L</td>
<td valign="middle" align="left">24.00 (18.00, 40.00)</td>
<td valign="middle" align="left">23.00 (16.00, 37.00)</td>
<td valign="middle" align="left">39.10 (22.00, 39.10)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">TBA, &#x3bc;mol/L</td>
<td valign="middle" align="left">3.40 (2.10, 5.90)</td>
<td valign="middle" align="left">4.20 (2.44, 7.10)</td>
<td valign="middle" align="left">7.19 (3.10, 7.19)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">AST, U/L</td>
<td valign="middle" align="left">20.00 (16.00, 25.00)</td>
<td valign="middle" align="left">22.00 (18.00, 29.00)</td>
<td valign="middle" align="left">26.50 (20.00, 26.50)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">ALT, U/L</td>
<td valign="middle" align="left">18.00 (12.75, 28.00)</td>
<td valign="middle" align="left">18.00 (12.00, 27.00)</td>
<td valign="middle" align="left">25.00 (17.00, 25.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">AST/ALT ratio</td>
<td valign="middle" align="left">1.10 (0.80, 1.50)</td>
<td valign="middle" align="left">1.20 (0.90, 1.70)</td>
<td valign="middle" align="left">1.30 (1.00, 1.30)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">ALP, U/L</td>
<td valign="middle" align="left">98.00 (75.00, 125.00)</td>
<td valign="middle" align="left">78.00 (61.00, 101.00)</td>
<td valign="middle" align="left">103.30 (88.00, 103.30)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">PREALB,mg/L</td>
<td valign="middle" align="left">213.95 (175.90, 260.20)</td>
<td valign="middle" align="left">242.50 (194.40, 293.10)</td>
<td valign="middle" align="left">228.30 (209.65, 244.22)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">CHE, U/L</td>
<td valign="middle" align="left">8199.00 (7240.00, 9523.00)</td>
<td valign="middle" align="left">8121.00 (6893.00, 9402.00)</td>
<td valign="middle" align="left">8383.60 (8134.75, 8605.00)</td>
<td valign="middle" align="left">0.02</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Comparison of renal function and metabolic parameters among the three study groups.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Type</th>
<th valign="middle" align="center">AS (N = 544)</th>
<th valign="middle" align="center">Immunological diseases (N = 1005)</th>
<th valign="middle" align="center">Immunological diseases+AS (N = 572)</th>
<th valign="middle" align="center">p-value</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">BUN, mmol/L</td>
<td valign="middle" align="left">4.33 (3.56, 5.35)</td>
<td valign="middle" align="left">4.52 (3.68, 5.80)</td>
<td valign="middle" align="left">4.76 (4.27, 4.79)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">Cr, &#x3bc;mol/L</td>
<td valign="middle" align="left">69.00 (58.00, 79.00)</td>
<td valign="middle" align="left">66.00 (54.00, 81.00)</td>
<td valign="middle" align="left">75.20 (66.75, 75.20)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">UA, &#x3bc;mol/L</td>
<td valign="middle" align="left">332.00 (262.75, 394.25)</td>
<td valign="middle" align="left">322.00 (254.00, 399.00)</td>
<td valign="middle" align="left">342.40 (325.00, 356.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">HCO3-, mmol/L</td>
<td valign="middle" align="left">26.11 (24.40, 27.80)</td>
<td valign="middle" align="left">24.99 (23.00, 26.80)</td>
<td valign="middle" align="left">25.80 (25.30, 25.80)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">eGFR, mL/min/1.73m&#xb2;</td>
<td valign="middle" align="left">97.39 (82.78, 112.03)</td>
<td valign="middle" align="left">92.50 (75.00, 110.50)</td>
<td valign="middle" align="left">101.73 (98.70, 103.00)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
<tr>
<td valign="middle" align="left">CysC, mg/L</td>
<td valign="middle" align="left">0.81 (0.69, 0.92)</td>
<td valign="middle" align="left">0.84 (0.70, 1.01)</td>
<td valign="middle" align="left">0.86 (0.75, 0.86)</td>
<td valign="middle" align="left">&lt;0.01</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>Complete research flowchart.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fimmu-17-1775877-g001.tif">
<alt-text content-type="machine-generated">A five-phase workflow diagram illustrates multicenter data acquisition, data cleaning and organization, subgroup classification, machine learning analysis, multi-dimensional model performance evaluation with ROC curves and confusion matrix, and results in explainable AI output with clinical risk phenotyping for high and low-risk groups.</alt-text>
</graphic></fig>
<p>Significant differences in demographic characteristics were observed among the three groups (<xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>). Patients in the AS-alone group were younger and predominantly male, whereas a higher proportion of female patients and older age were observed in the autoimmune disease group and the AS comorbidity group (all P &lt; 0.01).</p>
<p>Systemic inflammatory indices differed significantly across groups (<xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>). Compared with the autoimmune disease&#x2013;alone group, patients with AS alone exhibited higher levels of ESR, SII, SIRI, NLR, and PLR. Patients with AS and autoimmune comorbidities demonstrated distinct inflammatory profiles, with several indices differing from both the AS-alone and autoimmune disease&#x2013;alone groups.</p>
<p>Hematological parameters also showed significant intergroup differences (<xref ref-type="table" rid="T2"><bold>Table&#xa0;2</bold></xref>). WBC, RBC, Hb, HCT, PLT, and related indices differed significantly among the three groups (most P &lt; 0.05). In addition, differential leukocyte counts, including NE, LY, and MO, exhibited distinct distributions across disease groups, with the AS comorbidity group showing patterns that differed from both the AS-alone and autoimmune disease&#x2013;alone groups.</p>
<p>Liver function parameters differed significantly among the three groups (<xref ref-type="table" rid="T3"><bold>Table&#xa0;3</bold></xref>). TBIL, DBIL, TP, ALB, GLOB, ALB/GLOB, AST, ALT, and TBA showed statistically significant differences across groups (most P &lt; 0.05). Compared with the AS-alone group, patients with AS and autoimmune comorbidities exhibited more pronounced alterations in several liver-related indices.</p>
<p>Renal function and metabolic parameters also varied significantly among the three groups (<xref ref-type="table" rid="T4"><bold>Table&#xa0;4</bold></xref>). BUN, Cr, UA, HCO<sub>3</sub>, eGFR, and CysC differed significantly across groups (all P &lt; 0.01). The AS comorbidity group displayed renal and metabolic profiles that were not entirely consistent with those of the AS-alone or autoimmune disease&#x2013;alone groups.</p>
<p>To evaluate inter-center consistency, demographic and laboratory variables were compared across the three centers within each disease group, including AS alone, autoimmune diseases alone, and AS with autoimmune comorbidities (<xref ref-type="supplementary-material" rid="SF1"><bold>Supplementary Tables&#xa0;1</bold></xref>-<xref ref-type="supplementary-material" rid="SF3"><bold>3</bold></xref>). No significant inter-center differences were observed within the same disease category, indicating minimal center-related heterogeneity. Accordingly, data from the three centers were pooled for subsequent analyses.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Machine learning analysis for discriminating AS alone from AS with autoimmune comorbidities</title>
<p>Based on the merged multicenter dataset, multiple machine-learning&#x2013;based binary classification models were constructed to discriminate patients with AS alone from those with AS combined with autoimmune diseases. Model performance, potential clinical utility, and interpretability were systematically evaluated (<xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref>).</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Machine learning&#x2013;based discrimination between ankylosing spondylitis (AS) alone and AS with autoimmune comorbidities. <bold>(A<sub>1</sub>, A<sub>2</sub>)</bold> Model performance comparison based on accuracy, sensitivity, specificity, F1 score, and AUC. <bold>(B<sub>1</sub>, B<sub>2</sub>)</bold> ROC curves in the training and validation datasets. <bold>(C<sub>1</sub>, C<sub>2</sub>)</bold> Forest plots of AUC values with 95% confidence intervals. <bold>(D<sub>1</sub>, D<sub>2</sub>)</bold> Decision curve analysis (DCA) evaluating clinical net benefit. <bold>(E<sub>1</sub>, E<sub>2</sub>)</bold> Confusion matrices in the training and validation datasets. <bold>(F<sub>1</sub>, F<sub>2</sub>)</bold> Clinical impact curves. <bold>(G<sub>1</sub>, G<sub>2</sub>)</bold> Calibration curves. <bold>(H)</bold> Global SHAP feature importance summary. <bold>(I<sub>1</sub>, I<sub>2</sub>)</bold> SHAP dependence plots for key features. <bold>(J<sub>1</sub>, J<sub>2</sub>)</bold> Individual-level SHAP explanations for a representative patient.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fimmu-17-1775877-g002.tif">
<alt-text content-type="machine-generated">Panel of data visualizations summarizing machine learning model performance and feature importance in a clinical dataset, including line charts for training and validation metrics (A1, A2), ROC curves (B1, B2), bar charts of model comparisons (C1, C2), decision curve analyses (D1, D2), confusion matrices revealing classification accuracy (E1, E2), threshold curves for LightGBM (F1, F2), calibration curve plots (G1, G2), a bar chart of SHAP feature importance (H), SHAP value distribution plots (I1, I2), and SHAP summary plots for select cases (J1, J2).</alt-text>
</graphic></fig>
<p>Comparisons of overall model performance demonstrated substantial differences among algorithms in terms of accuracy, sensitivity, specificity, F1 score, and AUC (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2A1, A2</bold></xref>). Overall, ensemble learning models&#x2014;including LightGBM, random forest, gradient boosting, and CatBoost&#x2014;outperformed traditional linear models and several single classifiers in both the training and validation datasets. Among these, LightGBM consistently exhibited superior and more stable performance across multiple evaluation metrics.</p>
<p>ROC curve analyses are shown in <xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2B1, B2</bold></xref>. LightGBM achieved ROC curves that were consistently above those of other models in both the training and validation sets, with AUC values ranking in the top tier, indicating strong discriminative ability. AUC forest plots further confirmed that LightGBM demonstrated favorable AUC values with relatively narrow confidence intervals, suggesting robust and stable model performance (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2C1, C2</bold></xref>).</p>
<p>To evaluate potential clinical utility, DCA was performed for all models (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2D1, D2</bold></xref>). Across a wide range of threshold probabilities, LightGBM provided greater net benefit than other models, supporting its potential usefulness in distinguishing AS alone from AS with autoimmune comorbidities.</p>
<p>Confusion matrices are presented in <xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2E1, E2</bold></xref>. LightGBM showed excellent fitting performance in the training set and maintained good classification performance in the test set, indicating acceptable generalizability. Clinical impact curves (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2F1, F2</bold></xref>) further demonstrated good agreement between the number of patients predicted to be at high risk and the observed outcomes across different threshold probabilities.</p>
<p>Calibration curves for the training and validation datasets are shown in <xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2G1, G2</bold></xref>. The curves were generally close to the ideal reference line, indicating good calibration of predicted probabilities generated by the LightGBM model.</p>
<p>After selecting LightGBM as the optimal model, SHAP were applied to interpret model predictions (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2H&#x2013;J</bold></xref>). Global feature importance analysis revealed that age, Gender, eGFR, DBIL, CysC, BUN, UA, and ALB were the primary contributors to discriminating AS alone from AS with autoimmune comorbidities (<xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2H</bold></xref>).</p>
<p>Integration of SHAP summary plots with the statistical comparisons in <xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>-<xref ref-type="table" rid="T4"><bold>4</bold></xref> demonstrated good consistency between feature expression patterns and model-predicted directions. Specifically, older age and female sex were associated with higher SHAP values and tended to drive predictions toward AS with autoimmune comorbidities, with female patients with AS more frequently identified by the model as having additional autoimmune diseases. Regarding renal function&#x2013;related variables, decreased eGFR and increased levels of CysC, BUN, and UA showed positive contributions to predicting AS with autoimmune comorbidities, whereas patients with AS alone generally exhibited relatively preserved renal function. In addition, elevated DBIL and reduced ALB levels also contributed positively to the prediction of AS with autoimmune comorbidities.</p>
<p>SHAP dependence plots further indicated nonlinear relationships between several key variables and model output, suggesting that the model captured complex feature patterns that are not readily reflected by conventional statistical comparisons (<xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2I</bold></xref>). Moreover, individual-level SHAP explanations for a representative patient are illustrated using waterfall and force plots (<xref ref-type="fig" rid="f2"><bold>Figures&#xa0;2J1, J2</bold></xref>) to demonstrate the cumulative contribution of individual features to the final prediction. Individual SHAP explanations for additional patients are provided in <xref ref-type="supplementary-material" rid="SM1"><bold>Supplementary Figure&#xa0;2</bold></xref>.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Machine learning analysis for discriminating autoimmune diseases alone from AS with autoimmune comorbidities</title>
<p>Based on the merged multicenter dataset, multiple machine learning&#x2013;based binary classification models were further developed to discriminate patients with autoimmune diseases alone from those with AS combined with autoimmune diseases. Model discriminative performance, potential clinical utility, and interpretability were systematically evaluated (<xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3</bold></xref>).</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Machine learning&#x2013;based discrimination between autoimmune diseases alone and ankylosing spondylitis with autoimmune comorbidities. <bold>(A<sub>1</sub>, A<sub>2</sub>)</bold> Model performance comparison based on multiple evaluation metrics. <bold>(B<sub>1</sub>, B<sub>2</sub>)</bold> ROC curves in the training and validation datasets. <bold>(C<sub>1</sub>, C<sub>2</sub>)</bold> Forest plots of AUC values. <bold>(D<sub>1</sub>, D<sub>2</sub>)</bold> Decision curve analysis (DCA). <bold>(E<sub>1</sub>, E<sub>2</sub>)</bold> Confusion matrices. <bold>(F<sub>1</sub>, F<sub>2</sub>)</bold> Clinical impact curves. <bold>(G<sub>1</sub>, G<sub>2</sub>)</bold> Calibration curves. <bold>(H)</bold> Global SHAP feature importance summary. <bold>(I<sub>1</sub>, I<sub>2</sub>)</bold> SHAP dependence plots of key variables. <bold>(J<sub>1</sub>, J<sub>2</sub>)</bold> Individual-level SHAP explanation for a representative patient.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fimmu-17-1775877-g003.tif">
<alt-text content-type="machine-generated">Composite figure featuring multiple panels displaying various data visualizations and model evaluation metrics: line graphs compare training and validation performance (A1, A2), ROC curves illustrate classification outcomes (B1, B2), bar charts highlight feature performance (C1, C2), domain curve analyses compare model outputs (D1, D2), confusion matrices summarize classification accuracy (E1, E2), loss curves depict model training progress (F1, F2), calibration plots assess probability estimations (G1, G2), a horizontal bar graph shows SHAP feature importance (H), violin plot visualizes SHAP value distributions (I1), scatterplots relate SHAP values to individual features (I2), and summary bar charts outline feature contributions to predictions (J1, J2). Each panel is clearly labeled and color-coded for comparison of multiple models or variables.</alt-text>
</graphic></fig>
<p>Comparisons of overall model performance demonstrated marked differences among algorithms in accuracy, sensitivity, specificity, F1 score, and AUC (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3A1, A2</bold></xref>). Overall, ensemble learning models outperformed traditional linear models in both the training and validation datasets, among which LightGBM exhibited relatively superior and stable predictive performance across multiple evaluation metrics.</p>
<p>ROC curve analyses are presented in <xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3B1, B2</bold></xref>. LightGBM achieved ROC curves that were consistently above those of other models in both the training and validation sets, with relatively high AUC values, indicating strong discriminative ability for distinguishing autoimmune diseases alone from AS with autoimmune comorbidities. AUC forest plots further showed that LightGBM demonstrated favorable AUC values with relatively narrow confidence intervals, suggesting robust model performance (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3C1, C2</bold></xref>).</p>
<p>To assess potential clinical applicability, decision curve analysis (DCA) was performed for all models (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3D1, D2</bold></xref>). Across a broad range of threshold probabilities, LightGBM yielded greater net benefit than other models, supporting its potential utility in identifying patients with AS combined with autoimmune diseases.</p>
<p>Confusion matrices are shown in <xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3E1, E2</bold></xref>. LightGBM displayed strong fitting performance in the training set and maintained satisfactory classification performance in the test set, indicating acceptable generalizability. Clinical impact curves (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3F1, F2</bold></xref>) further demonstrated good agreement between the number of patients predicted to be at high risk and the observed outcomes across different risk thresholds.</p>
<p>Calibration curves for the training and validation datasets are presented in <xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3G1, G2</bold></xref>. The curves were generally close to the ideal reference line, indicating good calibration of predicted probabilities generated by the LightGBM model.</p>
<p>After selecting LightGBM as the optimal model, SHapley Additive exPlanations (SHAP) were applied to interpret model predictions (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3H&#x2013;J</bold></xref>). Global feature importance analysis revealed that eGFR, GLOB, ALP, Cr, HCO<sub>3</sub><sup>-</sup>, CysC, PREALB, CHE, ESR, and UA were among the most influential variables for discriminating autoimmune diseases alone from AS with autoimmune comorbidities (<xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3H</bold></xref>).</p>
<p>Integration of SHAP summary plots with the statistical comparisons in <xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>, <xref ref-type="table" rid="T2"><bold>2</bold></xref>, <xref ref-type="table" rid="T3"><bold>3</bold></xref>, <xref ref-type="table" rid="T4"><bold>4</bold></xref> demonstrated good consistency between feature distributions and model-predicted directions. Specifically, compared with patients with autoimmune diseases alone, those with AS and autoimmune comorbidities exhibited more pronounced abnormalities in renal function&#x2013;related parameters, including decreased eGFR and increased levels of Cr, CysC, and UA, which showed positive contributions to predicting AS with autoimmune comorbidities in the SHAP analysis (<xref ref-type="table" rid="T4"><bold>Table&#xa0;4</bold></xref>). In addition, protein metabolism and liver function&#x2013;related variables, such as GLOB, PREALB, CHE, and ALP, also showed substantial contributions in SHAP analysis, consistent with the intergroup differences observed in <xref ref-type="table" rid="T3"><bold>Table&#xa0;3</bold></xref>.</p>
<p>Regarding inflammatory markers, ESR contributed to model discrimination and was generally higher in patients with AS and autoimmune comorbidities, consistent with the statistical differences shown in <xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>. SHAP dependence plots further indicated nonlinear relationships between several key variables and model output, suggesting that the model captured complex feature patterns not fully reflected by conventional statistical comparisons (<xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3I</bold></xref>). Moreover, individual-level SHAP explanations for a representative patient are illustrated using waterfall and force plots (<xref ref-type="fig" rid="f3"><bold>Figures&#xa0;3J1, 2</bold></xref>) to demonstrate the cumulative contribution of individual features to the final prediction. Individual SHAP explanations for additional patients are provided in <xref ref-type="supplementary-material" rid="SM1"><bold>Supplementary Figure</bold></xref>.</p>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<label>4</label>
<title>Discussion</title>
<p>In this multicenter study, we characterized differences in demographic and laboratory features among AS alone, autoimmune diseases alone, and AS with autoimmune comorbidities (<xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>-<xref ref-type="table" rid="T4"><bold>4</bold></xref>). We further built machine-learning models for two classification tasks&#x2014;AS alone vs. AS with autoimmune comorbidities and autoimmune diseases alone vs. AS with autoimmune comorbidities&#x2014;and found that LightGBM yielded the most robust performance across AUC, calibration, and decision-analytic metrics (<xref ref-type="fig" rid="f1"><bold>Figures&#xa0;1</bold></xref>, <xref ref-type="fig" rid="f2"><bold>2</bold></xref>). SHAP analyses highlighted consistent key contributors, with feature directions aligning with the intergroup differences observed in <xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>-<xref ref-type="table" rid="T4"><bold>4</bold></xref>. These results suggest that routinely collected clinical variables may enable earlier recognition and stratified management of autoimmune comorbidity in AS.</p>
<p>Baseline comparisons revealed that patients with AS combined with other autoimmune diseases exhibited a distinct clinical phenotype compared with patients with AS alone or autoimmune diseases alone. From a demographic perspective, patients in the AS comorbidity group were generally older and more frequently female than those in the AS-alone group, reflecting differences in population distribution across autoimmune disease spectra and suggesting that AS-associated immune comorbidity may preferentially occur in individuals with more complex immune backgrounds (<xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>) (<xref ref-type="bibr" rid="B17">17</xref>). These demographic characteristics provide clinically relevant clues for risk stratification and early screening of autoimmune comorbidities in AS.</p>
<p>With respect to inflammatory status, systemic inflammatory markers&#x2014;including ESR and composite indices such as SII, SIRI, NLR, and PLR&#x2014;demonstrated distinct distribution patterns across the three groups (<xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref>). While patients with AS alone showed prominent inflammatory features consistent with axial inflammatory disease, the AS comorbidity group displayed an inflammatory profile that was intermediate between, or distinct from, those observed in AS alone and autoimmune diseases alone. This pattern suggests that immune activity in AS with autoimmune comorbidities is not a simple superposition of individual disease processes but rather reflects a more complex, multisystem inflammatory state (<xref ref-type="bibr" rid="B18">18</xref>, <xref ref-type="bibr" rid="B19">19</xref>).</p>
<p>Differences in hematological parameters and immune cell composition further supported this observation (<xref ref-type="table" rid="T2"><bold>Table&#xa0;2</bold></xref>). Total leukocyte counts and differential cell distributions, including neutrophils, lymphocytes, and monocytes, varied significantly among disease groups, indicating distinct immune cell proportion patterns (<xref ref-type="bibr" rid="B20">20</xref>). Notably, patients with AS and autoimmune comorbidities exhibited hematological features that differed from both comparator groups, consistent with a more heterogeneous and sustained immune-inflammatory milieu (<xref ref-type="bibr" rid="B21">21</xref>).</p>
<p>In addition, liver- and kidney-related functional and metabolic parameters showed pronounced intergroup differences (<xref ref-type="table" rid="T3"><bold>Tables&#xa0;3</bold></xref>, <xref ref-type="table" rid="T4"><bold>4</bold></xref>). Patients with AS and autoimmune comorbidities demonstrated more systemic alterations across multiple indices of hepatic function, protein metabolism, and renal function. These changes may reflect the cumulative burden of chronic inflammation, the coexistence of multiple immune-mediated conditions, and potential effects of long-term pharmacological treatment or organ involvement (<xref ref-type="bibr" rid="B22">22</xref>, <xref ref-type="bibr" rid="B23">23</xref>). Collectively, these findings indicate that AS with autoimmune comorbidities represents a distinct and complex clinical phenotype rather than a simple coexistence of individual diseases, thereby providing a strong clinical rationale for the application of integrative machine learning approaches to facilitate accurate discrimination and risk assessment (<xref ref-type="bibr" rid="B24">24</xref>).</p>
<p>In the classification model distinguishing AS alone from AS with autoimmune comorbidities, SHAP analysis demonstrated that age, gender, renal function&#x2013;related parameters (eGFR, CysC, BUN, and UA), as well as protein metabolism and hepatobiliary indices (ALB and DBIL), were the most influential features contributing to model predictions (<xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref>). Notably, the direction and magnitude of these SHAP contributions were highly consistent with the between-group differences observed in <xref ref-type="table" rid="T1"><bold>Tables&#xa0;1</bold></xref>-<xref ref-type="table" rid="T4"><bold>4</bold></xref>, thereby validating the findings of conventional statistical analyses at the model level.</p>
<p>With respect to demographic characteristics, SHAP results indicated that older age and female sex were more strongly associated with the coexistence of AS and other autoimmune diseases. This observation is consistent with previous epidemiological reports showing a higher prevalence (<xref ref-type="bibr" rid="B25">25</xref>) and greater clinical heterogeneity of autoimmune diseases among females, suggesting that demographic differences may reflect distinct immune backgrounds predisposing to comorbidity (<xref ref-type="bibr" rid="B26">26</xref>).</p>
<p>Among laboratory parameters, renal function&#x2013;related indices ranked prominently in the SHAP analysis. Reduced eGFR together with elevated CysC, BUN, and UA collectively pointed to more pronounced systemic involvement in patients with AS and autoimmune comorbidities. These alterations may be attributable to the cumulative effects of chronic inflammation, immune-mediated microvascular or interstitial injury, and long-term treatment exposure (<xref ref-type="bibr" rid="B27">27</xref>, <xref ref-type="bibr" rid="B28">28</xref>). Collectively, these findings indicate that renal function markers provide important discriminative value in differentiating isolated axial inflammatory disease from conditions characterized by multisystem immune involvement (<xref ref-type="bibr" rid="B29">29</xref>).</p>
<p>In addition, decreased ALB levels and increased DBIL showed stable contributions in the SHAP analysis, reflecting differences in the inflammation&#x2013;nutrition status and hepatobiliary metabolic axis in AS with autoimmune comorbidities patients. As a negative acute-phase reactant, reduced ALB commonly indicates sustained inflammatory burden or increased catabolic demand, whereas abnormalities in bilirubin metabolism may be associated with immune-related hepatobiliary involvement or inflammation-driven metabolic remodeling (<xref ref-type="bibr" rid="B30">30</xref>, <xref ref-type="bibr" rid="B31">31</xref>).</p>
<p>In comparisons between patients with autoimmune diseases alone and those with AS combined with autoimmune diseases (<xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3</bold></xref>), the set of key features identified by SHAP differed markedly from those observed in the analysis of AS alone versus AS with autoimmune comorbidities. This divergence suggests that, in patients already characterized by systemic immune activation, the additional presence of AS is less reflected by further increases in inflammatory intensity and is instead manifested through alterations in metabolic regulation, protein synthetic function, and bone&#x2013;hepatobiliary&#x2013;related pathways (<xref ref-type="bibr" rid="B32">32</xref>, <xref ref-type="bibr" rid="B33">33</xref>).</p>
<p>Specifically, protein metabolism&#x2013;related variables, including GLOB, PREALB, and CHE, ranked prominently in the SHAP analysis, indicating more pronounced global differences in immunoglobulin composition, nutritional status, and hepatic synthetic capacity in patients with AS and autoimmune comorbidities (<xref ref-type="bibr" rid="B34">34</xref>). Previous studies have shown that sustained inflammation and chronic immune activation in immune-mediated diseases can substantially affect hepatic protein metabolism and synthesis, thereby giving rise to metabolic phenotypes distinct from those observed in isolated autoimmune conditions (<xref ref-type="bibr" rid="B35">35</xref>).</p>
<p>In addition, ALP demonstrated a relatively high discriminative contribution in this analysis, suggesting a potential involvement of bone metabolism or biliary-related pathways in AS with autoimmune comorbidities (<xref ref-type="bibr" rid="B36">36</xref>). Given that AS is characterized by pathological bone formation and abnormal bone remodeling, the coexistence of AS with other autoimmune diseases may impose more complex inflammatory and immune regulatory influences on the bone&#x2013;hepatobiliary metabolic axis, resulting in distinctive laboratory signatures (<xref ref-type="bibr" rid="B37">37</xref>).</p>
<p>Meanwhile, the prominent contributions of acid&#x2013;base and metabolic parameters (such as HCO<sub>3</sub>) together with ESR further indicate broader alterations in systemic metabolic regulation and inflammatory activity in patients with AS and autoimmune comorbidities (<xref ref-type="bibr" rid="B38">38</xref>). Taken together, these findings suggest that the coexistence of AS with other autoimmune diseases is not merely associated with a quantitative increase in inflammatory burden but rather represents a distinct systemic inflammatory&#x2013;metabolic phenotype. This phenotypic divergence also provides a plausible explanation for why machine learning models identify different sets of key features across distinct classification tasks.</p>
<p>From a methodological perspective, this study integrated LightGBM with explainable and clinically oriented evaluation frameworks to enhance the robustness and interpretability of the findings. LightGBM effectively captured nonlinear relationships and feature interactions in high-dimensional, heterogeneous clinical data, yielding stable performance across both classification tasks. Model validity was further supported by comprehensive evaluation using ROC/AUC, confusion matrices, calibration curves, decision curve analysis, and clinical impact curves, thereby assessing discrimination, calibration, and potential clinical utility in a unified manner. The application of SHAP enabled both global and individual-level interpretation of model predictions, with representative cases shown in the main figures and additional examples provided in the <xref ref-type="supplementary-material" rid="SM1"><bold>Supplementary Materials</bold></xref>. Moreover, the consistency of results across three independent centers (<xref ref-type="supplementary-material" rid="SF1"><bold>Supplementary Tables&#xa0;1</bold></xref>-<xref ref-type="supplementary-material" rid="SF3"><bold>3</bold></xref>) reduced center-related bias and supported the generalizability of the proposed models.</p>
<p>In clinical practice, the explainable machine learning models developed in this study, based on routinely available clinical and laboratory variables, may serve as an auxiliary tool to identify AS patients at increased risk of autoimmune comorbidities, thereby prompting targeted symptom assessment and appropriate immunological or imaging evaluations. Conversely, the identified feature patterns may also help recognize patients with autoimmune diseases alone who are at potential risk of concomitant AS, supporting earlier assessment of axial involvement and sacroiliac joint abnormalities. Since all variables used are derived from standard clinical tests, this approach offers good scalability and cost-effectiveness. By leveraging multicenter real-world data, our study provides a novel and practical strategy for the early identification of autoimmune comorbidity in AS.</p>
<p>In this study, patients were divided into three groups: AS alone, autoimmune diseases alone, and AS with autoimmune comorbidities. The rationale behind this grouping was to better assess the clinical differences across these distinct disease states. The clinical rationale for these three-group comparisons lies in the following: Firstly, patients with AS and other autoimmune diseases tend to exhibit unique combined characteristics in their clinical presentation and immune markers, which is distinct from the separate manifestations of AS and autoimmune diseases. Comparing these groups helps reveal the distinct features and clinical signals associated with AS comorbid with autoimmune diseases. Secondly, through this comparison, we aim to assist clinicians in identifying whether an AS patient may have additional autoimmune diseases simply by using basic test data, without the need for expensive or complex diagnostic tools. This approach holds significant practical value for clinical practice. Moreover, the grouping allows us to better understand the clinical characteristics of AS with autoimmune comorbidities, providing further evidence for accurate diagnosis and personalized treatment.</p>
<p>The model developed in this study, based on routinely available clinical and laboratory variables, can be integrated into existing clinical workflows to provide real-time alerts for clinicians. By using simple, accessible test data, the model could help identify AS patients at risk of autoimmune comorbidities early in routine practice. This could guide clinicians to conduct targeted follow-up evaluations, such as immunological assessments or imaging, without requiring additional complex or expensive tests. The model&#x2019;s practical integration into clinical decision support systems could ultimately enhance early diagnosis and improve personalized treatment strategies for AS patients with immune comorbidities.</p>
<p>Several limitations of this study should be acknowledged. First, the retrospective design based on multicenter real-world data may introduce unavoidable selection bias. Second, patients with missing values were excluded, which could potentially affect the representativeness of the study population; future studies may benefit from advanced strategies such as multiple imputation or explicit modeling of missing-data mechanisms. Third, the spectrum of autoimmune diseases included was heterogeneous, and disease-specific or organ-based subgroup analyses may further refine model performance and clinical interpretability.</p>
<p>In addition, several potentially informative variables, including HLA-B27 status, ANA (anti-nuclear antibody), RF (rheumatoid factor), anti-CCP (anti-cyclic citrullinated peptide antibody), detailed imaging assessments (such as X-ray and MRI), medication exposure (particularly biologic therapies), and standardized disease activity scores (such as BASDAI, DAS28), were not available in the current study. These biomarkers and clinical parameters are critical for more accurate disease classification and prognostic evaluation, and their absence may limit the depth of our analysis. Due to the broad scope of autoimmune diseases included in the study, collecting these specialized diagnostic markers for every disease would have significantly reduced the sample size and introduced potential bias. Therefore, future studies should consider incorporating these key variables to provide more detailed insights into the comorbidities associated with AS.</p>
<p>It is also important to note that while SHAP analysis provides valuable <italic>post hoc</italic> associative explanations of model predictions, it cannot infer causality. The interpretations derived from SHAP are based on the associations present in the data, and may be influenced by issues such as collinearity among features and unmeasured confounding factors in the original dataset. These factors should be considered when interpreting the model&#x2019;s findings. Prospective validation in independent external cohorts, as well as the development of user-friendly clinical tools, such as online risk calculators, will be important steps toward broader clinical implementation.</p>
</sec>
<sec id="s5" sec-type="conclusions">
<label>5</label>
<title>Conclusion</title>
<p>In this multicenter real-world study, we systematically characterized clinical differences among patients with isolated ankylosing spondylitis, autoimmune diseases alone, and ankylosing spondylitis with autoimmune comorbidities, highlighting a distinct composite phenotype associated with immune comorbidity in AS. Across two clinically relevant classification tasks, LightGBM demonstrated robust discriminative performance, stability, and potential clinical utility. Integration of SHAP-based interpretability further identified both shared and task-specific key features contributing to model predictions. Collectively, these findings support the value of explainable machine learning approaches for early identification and risk stratification of autoimmune comorbidity in AS, with promising implications for clinical translation.</p>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p></sec>
<sec id="s7" sec-type="ethics-statement">
<title>Ethics statement</title>
<p>The studies involving humans were approved by The First Affiliated Hospital of Guangxi Medical University. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.</p></sec>
<sec id="s8" sec-type="author-contributions">
<title>Author contributions</title>
<p>JZ: Writing &#x2013; original draft, Data curation. CH: Writing &#x2013; review &amp; editing, Software, Investigation. YL: Writing &#x2013; review &amp; editing, Methodology, Data curation. TC: Conceptualization, Writing &#x2013; review &amp; editing, Formal Analysis. LR: Writing &#x2013; review &amp; editing, Project administration, Formal Analysis. JC: Project administration, Writing &#x2013; review &amp; editing, Resources. JX: Validation, Writing &#x2013; review &amp; editing. HL: Visualization, Writing &#x2013; review &amp; editing. HC: Writing &#x2013; review &amp; editing, Methodology. XZ: Writing &#x2013; review &amp; editing, Conceptualization. CL: Writing &#x2013; review &amp; editing, Funding acquisition. LY: Methodology, Writing &#x2013; review &amp; editing.</p></sec>
<sec id="s10" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p></sec>
<sec id="s11" sec-type="ai-statement">
<title>Generative AI statement</title>
<p>The author(s) declared that generative AI was not used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p></sec>
<sec id="s12" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p></sec>
<sec id="s13" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fimmu.2026.1775877/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fimmu.2026.1775877/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Table1.xlsx" id="SF1" mimetype="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"><label>Supplementary Table&#xa0;1</label>
<caption>
<p>Inter-center comparison of demographic and laboratory variables among patients with ankylosing spondylitis alone across the three centers.</p>
</caption></supplementary-material>
<supplementary-material xlink:href="Table2.xlsx" id="SF2" mimetype="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"><label>Supplementary Table&#xa0;2</label>
<caption>
<p>Inter-center comparison of demographic and laboratory variables among patients with autoimmune diseases alone across the three centers.</p>
</caption></supplementary-material>
<supplementary-material xlink:href="Table3.xlsx" id="SF3" mimetype="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"><label>Supplementary Table&#xa0;3</label>
<caption>
<p>Inter-center comparison of demographic and laboratory variables among patients with ankylosing spondylitis combined with autoimmune diseases across the three centers.</p>
</caption></supplementary-material>
<supplementary-material xlink:href="Image1.jpeg" id="SM1" mimetype="image/jpeg"/>
<supplementary-material xlink:href="Image2.jpeg" id="SM2" mimetype="image/jpeg"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhu</surname> <given-names>W</given-names></name>
<name><surname>He</surname> <given-names>X</given-names></name>
<name><surname>Cheng</surname> <given-names>K</given-names></name>
<name><surname>Zhang</surname> <given-names>L</given-names></name>
<name><surname>Chen</surname> <given-names>D</given-names></name>
<name><surname>Wang</surname> <given-names>X</given-names></name>
<etal/>
</person-group>. 
<article-title>Ankylosing spondylitis: etiology, pathogenesis, and treatments</article-title>. <source>Bone Res</source>. (<year>2019</year>) <volume>7</volume>:<fpage>22</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41413-019-0057-8</pub-id>, PMID: <pub-id pub-id-type="pmid">31666997</pub-id>
</mixed-citation>
</ref>
<ref id="B2">
<label>2</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>El Maghraoui</surname> <given-names>A</given-names></name>
</person-group>. 
<article-title>Extra-articular manifestations of ankylosing spondylitis: prevalence, characteristics and therapeutic implications</article-title>. <source>Eur J Internal Med</source>. (<year>2011</year>) <volume>22</volume>:<page-range>554&#x2013;60</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ejim.2011.06.006</pub-id>, PMID: <pub-id pub-id-type="pmid">22075279</pub-id>
</mixed-citation>
</ref>
<ref id="B3">
<label>3</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>van der Horst-Bruinsma</surname> <given-names>IE</given-names></name>
<name><surname>Nurmohamed</surname> <given-names>MT</given-names></name>
</person-group>. 
<article-title>Management and evaluation of extra-articular manifestations in spondyloarthritis</article-title>. <source>Ther Adv musculoskeletal Dis</source>. (<year>2012</year>) <volume>4</volume>:<page-range>413&#x2013;22</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/1759720X12458372</pub-id>, PMID: <pub-id pub-id-type="pmid">23227118</pub-id>
</mixed-citation>
</ref>
<ref id="B4">
<label>4</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Navarro-Comp&#xe1;n</surname> <given-names>V</given-names></name>
<name><surname>Sepriano</surname> <given-names>A</given-names></name>
<name><surname>Capelusnik</surname> <given-names>D</given-names></name>
<name><surname>Baraliakos</surname> <given-names>X</given-names></name>
</person-group>. 
<article-title>Axial spondyloarthritis</article-title>. <source>Lancet (London England)</source>. (<year>2025</year>) <volume>405</volume>:<page-range>159&#x2013;72</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/S0140-6736(24)02263-3</pub-id>, PMID: <pub-id pub-id-type="pmid">39798984</pub-id>
</mixed-citation>
</ref>
<ref id="B5">
<label>5</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Hu</surname> <given-names>Q</given-names></name>
<name><surname>Mei</surname> <given-names>M</given-names></name>
<name><surname>Liu</surname> <given-names>R</given-names></name>
<name><surname>Zhang</surname> <given-names>Q</given-names></name>
</person-group>. 
<article-title>The association between ankylosing spondylitis and the risk of venous thromboembolism: a meta-analysis</article-title>. <source>Front Immunol</source>. (<year>2025</year>) <volume>16</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fimmu.2025.1670965</pub-id>, PMID: <pub-id pub-id-type="pmid">41445752</pub-id>
</mixed-citation>
</ref>
<ref id="B6">
<label>6</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Song</surname> <given-names>Y</given-names></name>
<name><surname>Li</surname> <given-names>J</given-names></name>
<name><surname>Wu</surname> <given-names>Y</given-names></name>
</person-group>. 
<article-title>Evolving understanding of autoimmune mechanisms and new therapeutic strategies of autoimmune disorders</article-title>. <source>Signal transduction targeted Ther</source>. (<year>2024</year>) <volume>9</volume>:<fpage>263</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41392-024-01952-8</pub-id>, PMID: <pub-id pub-id-type="pmid">39362875</pub-id>
</mixed-citation>
</ref>
<ref id="B7">
<label>7</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Bosch</surname> <given-names>P</given-names></name>
<name><surname>Zhao</surname> <given-names>SS</given-names></name>
<name><surname>Nikiphorou</surname> <given-names>E</given-names></name>
</person-group>. 
<article-title>The association between comorbidities and disease activity in spondyloarthritis - A narrative review</article-title>. <source>Best Pract Res Clin Rheumatol</source>. (<year>2023</year>) <volume>37</volume>:<fpage>101857</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.berh.2023.101857</pub-id>, PMID: <pub-id pub-id-type="pmid">37541813</pub-id>
</mixed-citation>
</ref>
<ref id="B8">
<label>8</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Topol</surname> <given-names>EJ</given-names></name>
</person-group>. 
<article-title>High-performance medicine: the convergence of human and artificial intelligence</article-title>. <source>Nat Med</source>. (<year>2019</year>) <volume>25</volume>:<fpage>44</fpage>&#x2013;<lpage>56</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41591-018-0300-7</pub-id>, PMID: <pub-id pub-id-type="pmid">30617339</pub-id>
</mixed-citation>
</ref>
<ref id="B9">
<label>9</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Simon</surname> <given-names>BD</given-names></name>
<name><surname>Ozyoruk</surname> <given-names>KB</given-names></name>
<name><surname>Gelikman</surname> <given-names>DG</given-names></name>
<name><surname>Harmon</surname> <given-names>SA</given-names></name>
<name><surname>Turkbey</surname> <given-names>B</given-names></name>
</person-group>. 
<article-title>The future of multimodal artificial intelligence models for integrating imaging and clinical metadata: a narrative review</article-title>. <source>Diagn Interv Radiol</source>. (<year>2025</year>) <volume>31</volume>:<page-range>303&#x2013;12</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.4274/dir.2024.242631</pub-id>, PMID: <pub-id pub-id-type="pmid">39354728</pub-id>
</mixed-citation>
</ref>
<ref id="B10">
<label>10</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Rajkomar</surname> <given-names>A</given-names></name>
<name><surname>Hardt</surname> <given-names>M</given-names></name>
<name><surname>Howell</surname> <given-names>MD</given-names></name>
<name><surname>Corrado</surname> <given-names>G</given-names></name>
<name><surname>Chin</surname> <given-names>MH</given-names></name>
</person-group>. 
<article-title>Ensuring fairness in machine learning to advance health equity</article-title>. <source>Ann Internal Med</source>. (<year>2018</year>) <volume>169</volume>:<page-range>866&#x2013;72</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.7326/M18-1990</pub-id>, PMID: <pub-id pub-id-type="pmid">30508424</pub-id>
</mixed-citation>
</ref>
<ref id="B11">
<label>11</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ramiro</surname> <given-names>S</given-names></name>
<name><surname>Nikiphorou</surname> <given-names>E</given-names></name>
<name><surname>Sepriano</surname> <given-names>A</given-names></name>
<name><surname>Ortolan</surname> <given-names>A</given-names></name>
<name><surname>Webers</surname> <given-names>C</given-names></name>
<name><surname>Baraliakos</surname> <given-names>X</given-names></name>
<etal/>
</person-group>. 
<article-title>ASAS-EULAR recommendations for the management of axial spondyloarthritis: 2022 update</article-title>. <source>Ann rheumatic Dis</source>. (<year>2023</year>) <volume>82</volume>:<fpage>19</fpage>&#x2013;<lpage>34</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1136/ard-2022-223296</pub-id>, PMID: <pub-id pub-id-type="pmid">36270658</pub-id>
</mixed-citation>
</ref>
<ref id="B12">
<label>12</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Collins</surname> <given-names>GS</given-names></name>
<name><surname>Moons</surname> <given-names>KGM</given-names></name>
<name><surname>Dhiman</surname> <given-names>P</given-names></name>
<name><surname>Riley</surname> <given-names>RD</given-names></name>
<name><surname>Beam</surname> <given-names>AL</given-names></name>
<name><surname>Van Calster</surname> <given-names>B</given-names></name>
<etal/>
</person-group>. 
<article-title>TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods</article-title>. <source>BMJ (Clinical Res ed)</source>. (<year>2024</year>) <volume>385</volume>:<elocation-id>e078378</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1136/bmj-2023-078378</pub-id>, PMID: <pub-id pub-id-type="pmid">38626948</pub-id>
</mixed-citation>
</ref>
<ref id="B13">
<label>13</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Wan</surname> <given-names>R</given-names></name>
<name><surname>Pan</surname> <given-names>L</given-names></name>
<name><surname>Wang</surname> <given-names>Q</given-names></name>
<name><surname>Shen</surname> <given-names>G</given-names></name>
<name><surname>Guo</surname> <given-names>R</given-names></name>
<name><surname>Qin</surname> <given-names>Y</given-names></name>
<etal/>
</person-group>. 
<article-title>Decoding gastric cancer: machine learning insights into the significance of COMMDs family in immunotherapy and diagnosis</article-title>. <source>J Cancer</source>. (<year>2024</year>) <volume>15</volume>:<page-range>3580&#x2013;95</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.7150/jca.94360</pub-id>, PMID: <pub-id pub-id-type="pmid">38817875</pub-id>
</mixed-citation>
</ref>
<ref id="B14">
<label>14</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Vickers</surname> <given-names>AJ</given-names></name>
<name><surname>van Calster</surname> <given-names>B</given-names></name>
<name><surname>Steyerberg</surname> <given-names>EW</given-names></name>
</person-group>. 
<article-title>A simple, step-by-step guide to interpreting decision curve analysis</article-title>. <source>Diagn prognostic Res</source>. (<year>2019</year>) <volume>3</volume>:<fpage>18</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1186/s41512-019-0064-7</pub-id>, PMID: <pub-id pub-id-type="pmid">31592444</pub-id>
</mixed-citation>
</ref>
<ref id="B15">
<label>15</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhao</surname> <given-names>S</given-names></name>
<name><surname>Chen</surname> <given-names>S</given-names></name>
<name><surname>Liu</surname> <given-names>W</given-names></name>
<name><surname>Wei</surname> <given-names>S</given-names></name>
<name><surname>Wu</surname> <given-names>X</given-names></name>
<name><surname>Cui</surname> <given-names>D</given-names></name>
<etal/>
</person-group>. 
<article-title>Integrated machine learning and bioinformatic analyses used to construct a copper-induced cell death-related classifier for prognosis and immunotherapeutic response of hepatocellular carcinoma patients</article-title>. <source>Front Pharmacol</source>. (<year>2023</year>) <volume>14</volume>:<elocation-id>1188725</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fphar.2023.1188725</pub-id>, PMID: <pub-id pub-id-type="pmid">37266152</pub-id>
</mixed-citation>
</ref>
<ref id="B16">
<label>16</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Lundberg</surname> <given-names>SM</given-names></name>
<name><surname>Erion</surname> <given-names>G</given-names></name>
<name><surname>Chen</surname> <given-names>H</given-names></name>
<name><surname>DeGrave</surname> <given-names>A</given-names></name>
<name><surname>Prutkin</surname> <given-names>JM</given-names></name>
<name><surname>Nair</surname> <given-names>B</given-names></name>
<etal/>
</person-group>. 
<article-title>From local explanations to global understanding with explainable AI for trees</article-title>. <source>Nat Mach Intell</source>. (<year>2020</year>) <volume>2</volume>:<fpage>56</fpage>&#x2013;<lpage>67</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s42256-019-0138-9</pub-id>, PMID: <pub-id pub-id-type="pmid">32607472</pub-id>
</mixed-citation>
</ref>
<ref id="B17">
<label>17</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ortolan</surname> <given-names>A</given-names></name>
<name><surname>van Lunteren</surname> <given-names>M</given-names></name>
<name><surname>Ramiro</surname> <given-names>S</given-names></name>
<name><surname>Ramonda</surname> <given-names>R</given-names></name>
<name><surname>Landew&#xe9;</surname> <given-names>RBM</given-names></name>
<name><surname>Dagfinrud</surname> <given-names>H</given-names></name>
<etal/>
</person-group>. 
<article-title>Are gender-specific approaches needed in diagnosing early axial spondyloarthritis? Data from the SPondyloArthritis Caught Early cohort</article-title>. <source>Arthritis Res Ther</source>. (<year>2018</year>) <volume>20</volume>:<fpage>218</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1186/s13075-018-1705-x</pub-id>, PMID: <pub-id pub-id-type="pmid">30285842</pub-id>
</mixed-citation>
</ref>
<ref id="B18">
<label>18</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Mottaghi</surname> <given-names>P</given-names></name>
</person-group>. 
<article-title>Polyautoimmunity and multiple autoimmune syndromes: A neglected clinical challenge</article-title>. <source>J Res Med sciences: Off J Isfahan Univ Med Sci</source>. (<year>2025</year>) <volume>30</volume>:<fpage>55</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.4103/jrms.jrms_623_25</pub-id>, PMID: <pub-id pub-id-type="pmid">41306621</pub-id>
</mixed-citation>
</ref>
<ref id="B19">
<label>19</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>G&#xfc;&#xe7;bey T&#xfc;rker</surname> <given-names>&#xd6;</given-names></name>
<name><surname>Kalkan</surname> <given-names>&#xc7;</given-names></name>
<name><surname>Bilican</surname> <given-names>G</given-names></name>
<name><surname>Asfuro&#x11f;u Kalkan</surname> <given-names>E</given-names></name>
<name><surname>Atay</surname> <given-names>A</given-names></name>
<name><surname>Ate&#xfe;</surname> <given-names>&#xcd;</given-names></name>
<etal/>
</person-group>. 
<article-title>Clinical predictors of polyautoimmunity in autoimmune liver diseases: insights into disease complexity</article-title>. <source>J Clin Med</source>. (<year>2025</year>) <volume>14</volume>:<elocation-id>5143</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/jcm14145143</pub-id>, PMID: <pub-id pub-id-type="pmid">40725836</pub-id>
</mixed-citation>
</ref>
<ref id="B20">
<label>20</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Rapapa</surname> <given-names>KA</given-names></name>
<name><surname>Deng</surname> <given-names>Y</given-names></name>
<name><surname>Peng</surname> <given-names>Y</given-names></name>
<name><surname>Ni</surname> <given-names>J</given-names></name>
<name><surname>Pan</surname> <given-names>F</given-names></name>
</person-group>. 
<article-title>The association and clinical significance of hematological biomarkers in ankylosing spondylitis</article-title>. <source>Sci Rep</source>. (<year>2025</year>) <volume>15</volume>:<fpage>15755</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41598-025-99274-4</pub-id>, PMID: <pub-id pub-id-type="pmid">40328909</pub-id>
</mixed-citation>
</ref>
<ref id="B21">
<label>21</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhuang</surname> <given-names>J</given-names></name>
<name><surname>Huang</surname> <given-names>Y</given-names></name>
<name><surname>Liang</surname> <given-names>G</given-names></name>
</person-group>. 
<article-title>Clinical significance of the monocyte:lymphocyte ratio for ankylosing spondylitis patients with thoracolumbar kyphotic deformities</article-title>. <source>J Int Med Res</source>. (<year>2020</year>) <volume>48</volume>:<fpage>300060519893167</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/0300060519893167</pub-id>, PMID: <pub-id pub-id-type="pmid">31939332</pub-id>
</mixed-citation>
</ref>
<ref id="B22">
<label>22</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Choi</surname> <given-names>SJ</given-names></name>
<name><surname>Oh</surname> <given-names>JS</given-names></name>
<name><surname>Hong</surname> <given-names>S</given-names></name>
<name><surname>Lee</surname> <given-names>CK</given-names></name>
<name><surname>Yoo</surname> <given-names>B</given-names></name>
<name><surname>Kim</surname> <given-names>YG</given-names></name>
</person-group>. 
<article-title>Liver enzyme elevation in patients with ankylosing spondylitis treated with tumor necrosis factor inhibitors: a single-center historical cohort study</article-title>. <source>Korean J Internal Med</source>. (<year>2020</year>) <volume>35</volume>:<page-range>723&#x2013;31</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.3904/kjim.2018.407</pub-id>, PMID: <pub-id pub-id-type="pmid">31870134</pub-id>
</mixed-citation>
</ref>
<ref id="B23">
<label>23</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Joaquim</surname> <given-names>AF</given-names></name>
<name><surname>de Oliveira</surname> <given-names>SA</given-names></name>
<name><surname>Appenzeller</surname> <given-names>S</given-names></name>
<name><surname>Patel</surname> <given-names>AA</given-names></name>
</person-group>. 
<article-title>Spine surgery and ankylosing spondylitis: optimizing perioperative management</article-title>. <source>Clin Spine Surg</source>. (<year>2023</year>) <volume>36</volume>:<fpage>8</fpage>&#x2013;<lpage>14</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1097/BSD.0000000000001306</pub-id>, PMID: <pub-id pub-id-type="pmid">35249972</pub-id>
</mixed-citation>
</ref>
<ref id="B24">
<label>24</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Borrego-Yaniz</surname> <given-names>G</given-names></name>
<name><surname>Terr&#xf3;n-Camero</surname> <given-names>LC</given-names></name>
<name><surname>Kerick</surname> <given-names>M</given-names></name>
<name><surname>Andr&#xe9;s-Le&#xf3;n</surname> <given-names>E</given-names></name>
<name><surname>Martin</surname> <given-names>J</given-names></name>
</person-group>. 
<article-title>A holistic approach to understanding immune-mediated inflammatory diseases: bioinformatic tools to integrate omics data</article-title>. <source>Comput Struct Biotechnol J</source>. (<year>2024</year>) <volume>23</volume>:<fpage>96</fpage>&#x2013;<lpage>105</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.csbj.2023.11.045</pub-id>, PMID: <pub-id pub-id-type="pmid">38089468</pub-id>
</mixed-citation>
</ref>
<ref id="B25">
<label>25</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ngo</surname> <given-names>ST</given-names></name>
<name><surname>Steyn</surname> <given-names>FJ</given-names></name>
<name><surname>McCombe</surname> <given-names>PA</given-names></name>
</person-group>. 
<article-title>Gender differences in autoimmune disease</article-title>. <source>Front Neuroendocrinol</source>. (<year>2014</year>) <volume>35</volume>:<page-range>347&#x2013;69</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.yfrne.2014.04.004</pub-id>, PMID: <pub-id pub-id-type="pmid">24793874</pub-id>
</mixed-citation>
</ref>
<ref id="B26">
<label>26</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Fairweather</surname> <given-names>D</given-names></name>
<name><surname>Beetler</surname> <given-names>DJ</given-names></name>
<name><surname>McCabe</surname> <given-names>EJ</given-names></name>
<name><surname>Lieberman</surname> <given-names>SM</given-names></name>
</person-group>. 
<article-title>Mechanisms underlying sex differences in autoimmunity</article-title>. <source>J Clin Invest</source>. (<year>2024</year>) <volume>134</volume>:<elocation-id>e180076</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1172/JCI180076</pub-id>, PMID: <pub-id pub-id-type="pmid">39286970</pub-id>
</mixed-citation>
</ref>
<ref id="B27">
<label>27</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Lee</surname> <given-names>SH</given-names></name>
<name><surname>Lee</surname> <given-names>EJ</given-names></name>
<name><surname>Chung</surname> <given-names>SW</given-names></name>
<name><surname>Song</surname> <given-names>R</given-names></name>
<name><surname>Moon</surname> <given-names>JY</given-names></name>
<name><surname>Lee</surname> <given-names>SH</given-names></name>
<etal/>
</person-group>. 
<article-title>Renal involvement in ankylosing spondylitis: prevalence, pathology, response to TNF-a blocker</article-title>. <source>Rheumatol Int</source>. (<year>2013</year>) <volume>33</volume>:<page-range>1689&#x2013;92</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s00296-012-2624-9</pub-id>, PMID: <pub-id pub-id-type="pmid">23269570</pub-id>
</mixed-citation>
</ref>
<ref id="B28">
<label>28</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Vaglio</surname> <given-names>A</given-names></name>
<name><surname>Gattorno</surname> <given-names>M</given-names></name>
<name><surname>McAdoo</surname> <given-names>S</given-names></name>
<name><surname>Obici</surname> <given-names>LP</given-names></name>
<name><surname>Ghiggeri</surname> <given-names>GM</given-names></name>
</person-group>. 
<article-title>Editorial: The kidney in auto-immune and auto-inflammatory processes: Definitions, mechanisms, and biomarkers</article-title>. <source>Front Med</source>. (<year>2022</year>) <volume>9</volume>:<elocation-id>1129021</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fmed.2022.1129021</pub-id>, PMID: <pub-id pub-id-type="pmid">36703882</pub-id>
</mixed-citation>
</ref>
<ref id="B29">
<label>29</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Champtiaux</surname> <given-names>N</given-names></name>
<name><surname>Liot&#xe9;</surname> <given-names>F</given-names></name>
<name><surname>El Karoui</surname> <given-names>K</given-names></name>
<name><surname>Vigneau</surname> <given-names>C</given-names></name>
<name><surname>Miceli</surname> <given-names>C</given-names></name>
<name><surname>Cornec-Le Gall</surname> <given-names>E</given-names></name>
<etal/>
</person-group>. 
<article-title>Spondyloarthritis-associated igA nephropathy</article-title>. <source>Kidney Int Rep</source>. (<year>2020</year>) <volume>5</volume>:<page-range>813&#x2013;20</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ekir.2020.03.012</pub-id>, PMID: <pub-id pub-id-type="pmid">32518863</pub-id>
</mixed-citation>
</ref>
<ref id="B30">
<label>30</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Levitt</surname> <given-names>DG</given-names></name>
<name><surname>Levitt</surname> <given-names>MD</given-names></name>
</person-group>. 
<article-title>Human serum albumin homeostasis: a new look at the roles of synthesis, catabolism, renal and gastrointestinal excretion, and the clinical value of serum albumin measurements</article-title>. <source>Int J Gen Med</source>. (<year>2016</year>) <volume>9</volume>:<page-range>229&#x2013;55</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.2147/IJGM.S102819</pub-id>, PMID: <pub-id pub-id-type="pmid">27486341</pub-id>
</mixed-citation>
</ref>
<ref id="B31">
<label>31</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ram&#xed;rez-Mej&#xed;a</surname> <given-names>MM</given-names></name>
<name><surname>Castillo-Casta&#xf1;eda</surname> <given-names>SM</given-names></name>
<name><surname>Pal</surname> <given-names>SC</given-names></name>
<name><surname>Qi</surname> <given-names>X</given-names></name>
<name><surname>M&#xe9;ndez-S&#xe1;nchez</surname> <given-names>N</given-names></name>
</person-group>. 
<article-title>The multifaceted role of bilirubin in liver disease: A literature review</article-title>. <source>J Clin Trans Hepatol</source>. (<year>2024</year>) <volume>12</volume>:<page-range>939&#x2013;48</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.14218/JCTH.2024.00156</pub-id>, PMID: <pub-id pub-id-type="pmid">39544246</pub-id>
</mixed-citation>
</ref>
<ref id="B32">
<label>32</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Chen</surname> <given-names>Y</given-names></name>
<name><surname>Lin</surname> <given-names>Q</given-names></name>
<name><surname>Cheng</surname> <given-names>H</given-names></name>
<name><surname>Xiang</surname> <given-names>Q</given-names></name>
<name><surname>Zhou</surname> <given-names>W</given-names></name>
<name><surname>Wu</surname> <given-names>J</given-names></name>
<etal/>
</person-group>. 
<article-title>Immunometabolic shifts in autoimmune disease: Mechanisms and pathophysiological implications</article-title>. <source>Autoimmun Rev</source>. (<year>2025</year>) <volume>24</volume>:<fpage>103738</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.autrev.2024.103738</pub-id>, PMID: <pub-id pub-id-type="pmid">39743123</pub-id>
</mixed-citation>
</ref>
<ref id="B33">
<label>33</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Nayak</surname> <given-names>SS</given-names></name>
<name><surname>Agyeman</surname> <given-names>KB</given-names></name>
<name><surname>Janani</surname> <given-names>KV</given-names></name>
<name><surname>Jafari</surname> <given-names>M</given-names></name>
<name><surname>Lichahi</surname> <given-names>MA</given-names></name>
<name><surname>Biswas</surname> <given-names>P</given-names></name>
<etal/>
</person-group>. 
<article-title>Prevalence of metabolic syndrome in ankylosing spondylitis: a multi national meta-analysis study</article-title>. <source>Diabetol Metab syndrome</source>. (<year>2025</year>) <volume>17</volume>:<fpage>158</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1186/s13098-025-01720-w</pub-id>, PMID: <pub-id pub-id-type="pmid">40380271</pub-id>
</mixed-citation>
</ref>
<ref id="B34">
<label>34</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Yue</surname> <given-names>C</given-names></name>
<name><surname>Zhang</surname> <given-names>C</given-names></name>
<name><surname>Ying</surname> <given-names>C</given-names></name>
<name><surname>Jiang</surname> <given-names>H</given-names></name>
</person-group>. 
<article-title>Reduced serum cholinesterase is an independent risk factor for all-cause mortality in the pediatric intensive care unit</article-title>. <source>Front Nutr</source>. (<year>2022</year>) <volume>9</volume>:<elocation-id>809449</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fnut.2022.809449</pub-id>, PMID: <pub-id pub-id-type="pmid">36505241</pub-id>
</mixed-citation>
</ref>
<ref id="B35">
<label>35</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Mantovani</surname> <given-names>A</given-names></name>
<name><surname>Garlanda</surname> <given-names>C</given-names></name>
</person-group>. 
<article-title>Humoral innate immunity and acute-phase proteins</article-title>. <source>New Engl J Med</source>. (<year>2023</year>) <volume>388</volume>:<page-range>439&#x2013;52</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1056/NEJMra2206346</pub-id>, PMID: <pub-id pub-id-type="pmid">36724330</pub-id>
</mixed-citation>
</ref>
<ref id="B36">
<label>36</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Schini</surname> <given-names>M</given-names></name>
<name><surname>Vilaca</surname> <given-names>T</given-names></name>
<name><surname>Gossiel</surname> <given-names>F</given-names></name>
<etal/>
</person-group>. 
<article-title>Bone turnover markers: basic biology to clinical applications</article-title>. <source>Endocrine Rev</source>. (<year>2023</year>) <volume>44</volume>:<page-range>417&#x2013;73</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1210/endrev/bnac031</pub-id>, PMID: <pub-id pub-id-type="pmid">36510335</pub-id>
</mixed-citation>
</ref>
<ref id="B37">
<label>37</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Lopalco</surname> <given-names>G</given-names></name>
<name><surname>Cito</surname> <given-names>A</given-names></name>
<name><surname>Iannone</surname> <given-names>F</given-names></name>
<name><surname>Diekhoff</surname> <given-names>T</given-names></name>
<name><surname>Poddubnyy</surname> <given-names>D</given-names></name>
<name><surname>Proft</surname> <given-names>F</given-names></name>
</person-group>. 
<article-title>Beyond inflammation: the molecular basis of bone remodeling in axial spondyloarthritis and psoriatic arthritis</article-title>. <source>Front Immunol</source>. (<year>2025</year>) <volume>16</volume>:<elocation-id>1599995</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fimmu.2025.1599995</pub-id>, PMID: <pub-id pub-id-type="pmid">40821851</pub-id>
</mixed-citation>
</ref>
<ref id="B38">
<label>38</label>
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Farwell</surname> <given-names>WR</given-names></name>
<name><surname>Taylor</surname> <given-names>EN</given-names></name>
</person-group>. 
<article-title>Serum anion gap, bicarbonate and biomarkers of inflammation in healthy individuals in a national survey</article-title>. <source>CMAJ: Can Med Assoc J = J l'Association medicale Can</source>. (<year>2010</year>) <volume>182</volume>:<page-range>137&#x2013;41</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1503/cmaj.090329</pub-id>, PMID: <pub-id pub-id-type="pmid">20008503</pub-id>
</mixed-citation>
</ref>
</ref-list>
<fn-group>
<fn id="n1" fn-type="custom" custom-type="edited-by">
<p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1828850">Ken Okamura</ext-link>, Yamgata University, Japan</p></fn>
<fn id="n2" fn-type="custom" custom-type="reviewed-by">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3039553">Runing Fu</ext-link>, Henan Provincial Third People&#x2019;s Hospital, China</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3248056">Vinit Gilvaz</ext-link>, Brown University, United States</p></fn>
</fn-group>
</back>
</article>