The metabolic-inflammatory axis in chronic heart failure: integrating the NLR and TyG index for recent-onset atrial fibrillation prediction via machine learning and mediation analysis

Introduction: Recent-onset atrial fibrillation (AF) is a common complication of chronic heart failure (CHF), potentially involving both inflammatory and metabolic dysregulation. This study aimed to develop and externally validate an interpretable machine learning (ML) model for predicting recent-onset AF in patients with CHF and to explore the relationships among inflammatory dysregulation, metabolic dysregulation, and recent-onset AF. Methods: In this retrospective multicenter study, 4,872 hospitalized patients with CHF from Guang'anmen Hospital and Xiyuan Hospital were included, with external validation performed in 277 additional patients. Demographic, clinical, and laboratory variables, including the triglyceride-glucose (TyG) index and neutrophil-to-lymphocyte ratio (NLR), were analyzed. Nine ML algorithms were compared for AF prediction. Model interpretability was assessed using SHapley Additive exPlanations (SHAP). Segmented regression was used to examine nonlinear threshold effects, and mediation analysis was performed to explore the immunometabolic pathway linking TyG, NLR, and AF. Results: The Extra Trees model performed best, achieving an area under the receiver operating characteristic curve of 0.853 in the training cohort and 0.766 in the external validation cohort. NLR showed a nonlinear association with AF risk, with a steeper increase below 4.24, whereas TyG showed a threshold-dependent J-shaped relationship, with the risk increasing significantly above 5.91. The combination of TyG and NLR further improved model discrimination. Mediation analysis suggested that the estimated indirect association through NLR accounted for a substantial proportion of the observed association between TyG and AF. Conclusions: An interpretable ML framework identified the immune-metabolic axis as an important predictive component of recent-onset AF in CHF. NLR and TyG are inexpensive, clinically accessible biomarkers that may improve early risk stratification and identify a high-risk phenotype characterized by concurrent metabolic stress and inflammation. Trial registration: ChiCTR (ITMCTR2025001576).

Authors

Institutions

Publication Details

Journal
Frontiers in Endocrinology
Published
2026-08-26
DOI
https://doi.org/10.3389/fendo.2026.1831904
Primary Topic
Inflammatory Biomarkers in Disease Prognosis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The metabolic-inflammatory axis in chronic heart failure: integrating the NLR and TyG index for recent-onset atrial fibrillation prediction via machine learning and mediation analysis

Chenglong Yao, Kai Yang, Jianming Yao, Ling Yao et al.
Frontiers in Endocrinology
Inflammatory Biomarkers in Disease Prognosis
article

The metabolic-inflammatory axis in chronic heart failure: integrating the NLR and TyG index for recent-onset atrial fibrillation prediction via machine learning and mediation analysis

Chenglong Yao, Kai Yang, Jianming Yao, Ling Yao, Hongfan Qiu, Xinmei Liu, Yuerong Jiang, Haixia Li, Xuemei Hou, Dongdong Su, Runjia Liu, Bingjie Wang
article en

Abstract

Introduction: Recent-onset atrial fibrillation (AF) is a common complication of chronic heart failure (CHF), potentially involving both inflammatory and metabolic dysregulation. This study aimed to develop and externally validate an interpretable machine learning (ML) model for predicting recent-onset AF in patients with CHF and to explore the relationships among inflammatory dysregulation, metabolic dysregulation, and recent-onset AF. Methods: In this retrospective multicenter study, 4,872 hospitalized patients with CHF from Guang'anmen Hospital and Xiyuan Hospital were included, with external validation performed in 277 additional patients. Demographic, clinical, and laboratory variables, including the triglyceride-glucose (TyG) index and neutrophil-to-lymphocyte ratio (NLR), were analyzed. Nine ML algorithms were compared for AF prediction. Model interpretability was assessed using SHapley Additive exPlanations (SHAP). Segmented regression was used to examine nonlinear threshold effects, and mediation analysis was performed to explore the immunometabolic pathway linking TyG, NLR, and AF. Results: The Extra Trees model performed best, achieving an area under the receiver operating characteristic curve of 0.853 in the training cohort and 0.766 in the external validation cohort. NLR showed a nonlinear association with AF risk, with a steeper increase below 4.24, whereas TyG showed a threshold-dependent J-shaped relationship, with the risk increasing significantly above 5.91. The combination of TyG and NLR further improved model discrimination. Mediation analysis suggested that the estimated indirect association through NLR accounted for a substantial proportion of the observed association between TyG and AF. Conclusions: An interpretable ML framework identified the immune-metabolic axis as an important predictive component of recent-onset AF in CHF. NLR and TyG are inexpensive, clinically accessible biomarkers that may improve early risk stratification and identify a high-risk phenotype characterized by concurrent metabolic stress and inflammation. Trial registration: ChiCTR (ITMCTR2025001576).

Frontiers in EndocrinologyVol. 17
Shandong University of Traditional Chinese Medicine (CN), Xiyuan Hospital (CN), China Academy of Chinese Medical Sciences (CN), Guang’anmen Hospital (CN)
National Natural Science Foundation of China
Peace, Justice and strong institutions, Reduced inequalities
Openalex Percentile: Top 14%
Inflammatory Biomarkers in Disease Prognosis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.