Abstract
Background/Objectives: Chronic kidney disease–mineral and bone disorder (CKD-MBD) is characterized by complex interactions between parathyroid hormone (PTH), fibroblast growth factor 23 (FGF23), phosphate, calcium, and vitamin D, yet clinical decisions are often based on static individual values. A trajectory-based approach that considers how longitudinal changes in CKD-MBD biomarkers relate to each other may provide a more integrated understanding. Methods: In 1968 adults with non-dialysis CKD (mean age 68 ± 12 years; 34% female; mean follow-up duration 3.02 ± 0.35 years), annualized slopes of CKD-MBD biomarkers (PTH, FGF23, phosphate, calcium) were derived from mixed-effects models, alongside slopes and intra-individual variability of other key features of CKD—eGFR, hemoglobin, albumin, bicarbonate, 25-hydroxyvitamin D, uric acid, urine albumin creatinine ratio (UACR). These 36 features, including baseline levels, were evaluated using Extreme Gradient Boosting regression with interpretability via SHapley Additive exPlanations (SHAP). Results: Models explained substantial variance in biomarker slopes (R2: 0.86 for PTH, 0.72 for FGF23, 0.71 for phosphate, 0.67 for calcium) without evidence of overfitting. Baseline values and eGFR slopes showed the strongest associations with biomarker trajectories. PTH and FGF23 slopes were positively correlated, while declining hemoglobin and greater hemoglobin variability were associated with steeper FGF23 and phosphate slopes. Phosphate slopes were associated with UACR slopes and bicarbonate slopes. Declining 25(OH)D slopes were linked with rising PTH slopes. Conclusions: This analysis revealed consistent relationships between CKD-MBD biomarker trajectories. Longitudinal changes in kidney function, hemoglobin, bicarbonate, UACR, and vitamin D were also associated with biomarker trajectories. Our findings confirm the multi-system nature of CKD-MBD, and provide a framework for examining potentially modifiable pathways in its progression.
Keywords: CKD-MBD, parathyroid hormone, FGF23, phosphate, calcium, longitudinal modeling, machine learning, SHAP
1. Introduction
Chronic kidney disease–mineral and bone disorder (CKD-MBD) is a multisystem complication of CKD characterized by dysregulation of parathyroid hormone (PTH), fibroblast growth factor 23 (FGF23), phosphate (PO4), calcium, and vitamin D. These abnormalities contribute to skeletal disease, vascular calcification, CKD progression, cardiovascular events, and excess mortality [1,2,3,4,5,6]. Despite its clinical significance, optimal assessment and management remain challenging.
Current guidelines [2,7] emphasize recognizing patients with persistently elevated or progressively rising PTH, and interpreting PTH in conjunction with calcium, phosphate, and vitamin D. However, in clinical practice decisions are often based on intermittent, static laboratory values. This “snapshot” approach overlooks dynamic biomarker trajectories, delaying recognition of progressive biochemical abnormalities that may have prognostic and therapeutic importance. Longitudinal analyses offer a complementary perspective by quantifying trajectories—the annualized slope and intra-individual variability of biomarkers—rather than relying solely on absolute concentrations. Prior studies have shown that elevated baseline levels of PTH, phosphate, or FGF23 are associated with adverse outcomes and that kidney function decline drives worsening mineral profiles [1,2,3,4,5,6,8]. Far less is known, however, about how these trajectories relate to each other—for example, how PTH changes in parallel with FGF23 or vitamin D, or how changes in non-CKD-MBD features such as hemoglobin, albumin, and bicarbonate shape mineral metabolism over time. Addressing this gap may clarify the multisystem cross-talk that characterizes CKD-MBD.
Advances in explainable artificial intelligence permit machine learning models to move beyond risk prediction and contribute to understanding of disease biology. SHapley Additive exPlanations (SHAP) [9] quantify the relative influence of kidney function, mineral markers, and systemic features on biomarker dynamics, offering a transparent bridge between statistical learning and CKD-MBD pathophysiology. Accordingly, we applied interpretable machine learning to a large prospective CKD cohort with repeated longitudinal measurements. Extreme Gradient Boosting (XGBoost) was selected as the machine learning algorithm due to its proven efficacy in handling complex datasets with mixed data types, its robustness to outliers, and its ability to capture non-linear relationships and interactions among predictors without explicit prior specification. Furthermore, its inherent feature importance capabilities align well with the need for interpretability in clinical research [10]. Our objectives were: (1) to identify the strongest determinants of trajectories of PTH, FGF23, calcium and phosphate (2) to assess the relative contributions of baseline values, kidney decline, and variability in other features of CKD; and (3) to use SHAP to reveal physiologically meaningful inter-relationships between mineral metabolism, hematologic, nutritional, and renal pathways.
2. Materials and Methods
2.1. Study Design and Population
This study used data from the CAN-AIM to PREVENT Trial, a prospective, observational cohort study conducted in Toronto, Ontario, Canada, between 2010 and 2015 (ClinicalTrials.gov Identifier: NCT01974713). The original trial followed 2254 patients with pre-dialysis CKD clinics to identify predictive markers for progression to dialysis. Eligible participants for the original trial were aged 18 years or older, had an estimated glomerular filtration rate (eGFR) < 60 mL/min/1.73 m2, and were either under the care of a nephrologist or awaiting a nephrology consultation. Key exclusion criteria included active renal replacement therapy (including prior organ transplantation), a projected life expectancy of less than 12 months, the use of or contraindications to an erythropoietin-stimulating agent, and an anticipated need for renal replacement therapy within six months of enrollment. This study was conducted in strict accordance with the ethical principles outlined in the Declaration of Helsinki. Ethical approval for the research protocol was obtained prior to participant recruitment, and written informed consent was obtained from all individual participants included in the study. We included a subset of 1968 patients with a baseline estimated glomerular filtration rate (eGFR) greater than 15 and up to 59 mL/min/1.73 m2.
2.2. Data Collection
Demographic, clinical, and laboratory variables were prospectively collected every six months across the 3-year follow-up period. Laboratory tests included serum creatinine used to calculate eGFR with the 2009 CKD-EPI equation [11], albumin, calcium, phosphate, bicarbonate, uric acid, hemoglobin, 25-hydroxyvitamin D (25(OH)D), PTH, and FGF23, as well as urine albumin-to-creatinine ratio (UACR). Medication use (calcium-based binders and vitamin D analogs) and comorbidities (e.g., diabetes) were also recorded.
2.3. Statistics
Prior to analysis, variables with right-skewed distributions (PTH, FGF23, 25(OH)D, uric acid and UACR) were natural log-transformed to stabilize variance and approximate normality. Missing covariate data, which accounted for <10% of all observations, were handled using multiple imputation by chained equations (MICE), generating 20 complete datasets under the missing-at-random assumption. MICE was selected because it iteratively imputes missing variables using robust regression models conditional on all other available data. This approach preserves statistical power, properly accounts for imputation uncertainty, and significantly reduces selection bias compared to traditional methods such as complete-case analysis or single mean imputation.
The primary outcomes were the annualized slopes of four key CKD-MBD biomarkers: phosphate, calcium, log-transformed PTH, and log-transformed FGF23. To capture broader longitudinal disease dynamics, annualized slopes were also estimated for eGFR, hemoglobin, albumin, bicarbonate, log-transformed 25(OH)D, log-transformed uric acid, and log-transformed UACR. For each participant, these slopes were derived from linear mixed-effects models with a fixed effect for time and random intercepts and slopes, allowing estimation of both population-level trends and individual-level trajectories. Within-person standard deviations (SD) of these longitudinal measures were also calculated and used as indicators of temporal variability. These slope and variability estimates were subsequently used as explanatory features in the machine learning analyses.
Annualized slopes of four key CKD–MBD biomarkers, log-PTH, log-FGF23, serum calcium, and phosphate, served as primary outcomes. To characterize broader disease dynamics, additional slopes were estimated for eGFR, hemoglobin, albumin, bicarbonate, log-25(OH)D, log-uric acid, and log-UACR. Each participant’s slope was derived from a linear mixed-effects model with a fixed effect for time and random intercepts and slopes, providing both population-level trends and within-person variability. These auxiliary trajectories were subsequently used as explanatory features in later modeling.
A fixed set of the explanatory variables was then defined for each participant, combining:
Baseline characteristics: age, sex, diabetes history, calcium-based drug use, vitamin D use, and baseline laboratory values (eGFR, calcium, phosphate, albumin, bicarbonate, log uric acid, and hemoglobin, log UACR, log 25(OH)D, log PTH, log FGF23).
Dynamic features: annualized slopes and within-person standard deviations (SDs) of clinically relevant measures (eGFR, hemoglobin, albumin, bicarbonate, phosphate, calcium, log uric acid, log UACR, log PTH, log FGF23, and log 25(OH)D).
Four separate explanatory machine learning models were then fitted using XGBoostRegressor 3.0.5, with the annualized slope of phosphate, calcium, log-transformed PTH, or log-transformed FGF23 specified as the outcome in turn. The same baseline characteristics was included in all four models. Dynamic features were incorporated according to a prespecified rule. When a given biomarker slope was the outcome, that biomarker’s baseline value was included in the model to account for initial status, whereas its own within-person SD was excluded to avoid self-correlation. In contrast, the slopes and within-person SDs of the remaining longitudinal biomarkers were included as predictors. This standardized, rule-based specification was applied uniformly across all four models to ensure consistency, improve comparability, and reduce the risk of circular inference.
Data for each biomarker model were randomly partitioned into training (70%) and testing (30%) sets. Five-fold cross-validation within the training data guided hyperparameter tuning and internal model evaluation. Analyses were repeated across all imputed datasets, and pooled results reflected model stability and uncertainty. To test robustness and mitigate spurious associations, 1000-iteration permutation tests were performed per outcome. Model performance was summarized using the coefficient of determination (R2) and root-mean-square error (RMSE) on the test set, with 95% confidence intervals obtained via bootstrap resampling.
Model interpretability was achieved using SHapley Additive exPlanations (SHAP) [9], an interpretable machine learning framework that decomposes model predictions into additive contributions from individual predictors. Based on cooperative game theory, SHAP quantifies the average marginal contribution of each variable across all possible model combinations. SHAP values were used to identify and visualize the strength, direction, and nonlinearity of associations between systemic predictors and biomarker trajectory slopes. SHAP summary plots were averaged across imputations, while dependence plots explored individualized and nonlinear feature effects. These analyses identified the most influential predictors of biomarker trajectories, clarifying their roles in dynamic CKD-MBD progression.
The overall study design is shown in Supplementary Figure S1. All mixed-effects slope models and descriptive statistics were performed using Stata Statistical Software (Release 19; StataCorp, College Station, TX, USA, 2025), while all machine learning analyses and SHAP visualizations were conducted in Python 3.13.
3. Results
3.1. Cohort Characteristics
We analyzed 1968 adults with CKD (mean age 68 ± 12 years; 34% female; 47% diabetes). Mean baseline eGFR was 41 ± 13 mL/min/1.73 m2. The mean follow-up duration was 3.02 ± 0.35 years, yielding 11,354 observations. Baseline demographics and laboratory results are shown in Table 1, while longitudinal slopes and intra-individual variability are summarized in Table 2. The study flow and cohort selection are summarized in Supplementary Figure S1.
Table 1.
Baseline characteristics of the study population.
| Characteristic | Value |
|---|---|
| Age, years, mean (SD) | 68.4 ± 12.2 |
| Sex, female (%) | 666 (33.8%) |
| Diabetes history, Yes (%) | 927 (47.1%) |
| Calcium-based drug use, Yes (%) | 45 (2.3%) |
| Vitamin D use, Yes (%) | 447 (22.7%) |
| Hemoglobin, g/L, mean (SD) | 129.73 ± 16.64 |
| eGFR, mL/min/1.73 m2, mean (SD) | 41.5 ± 13.3 |
| UACR, mg/mmol, median (IQR) | 7.9 (1.7–42.1) |
| Calcium, mmol/L, mean (SD) | 2.37 ± 0.12 |
| PO4, mmol/L, mean (SD) | 1.16 ± 0.19 |
| Albumin, g/L, mean (SD) | 43.5 ± 3.1 |
| Bicarbonate, mmol/L, mean (SD) | 25.5 ± 3.2 |
| Uric acid, µmol/L, median (IQR) | 440.8 ± 109.2 |
| 25(OH)D, nmol/L, median (IQR) | 65.0 (45.0–85.0) |
| PTH, pmol/L, median (IQR) | 5.0 (3.5–7.6) |
| FGF23, pg/mL, median (IQR) | 123.0 (85.1–168.7) |
Abbreviations: eGFR: estimated glomerular filtration rate; UACR: urine albumin-to-creatinine ratio; PO4: phosphate; 25(OH)D: 25-hydroxyvitamin D; PTH: parathyroid hormone; FGF23: fibroblast growth factor-23; log: natural logarithm (base e); SD: Standard Deviation, IQR: Interquartile Range.
Table 2.
Longitudinal slopes (annual change) and intra-individual variability across 20 imputed datasets.
| Variable | Annually Slopes Value (Mean ± SD) |
Variability (SD) Value (Mean ± SD) |
|---|---|---|
| Hemoglobin (g/L) | −0.85 ± 15.07 | 6.37 ± 3.93 |
| eGFR (mL/min/1.73 m2/year) | −1.32 ± 12.86 | 5.02 ± 2.99 |
| Log UACR (log-unit) | 0.10 ± 1.34 | 54.10 ± 38.38 |
| Calcium (mmol/L) | −0.005 ± 0.083 | 0.0073 ± 0.038 |
| PO4 (mmol/L) | 0.01 ± 0.13 | 0.13 ± 0.09 |
| Albumin (g/L) | −0.28 ± 2.44 | 1.59 ± 0.80 |
| Bicarbonate (mmol/L) | −0.34 ± 2.26 | 1.99 ± 0.84 |
| Log uric acid (log-unit) | −0.02 ± 0.21 | 0.72 ± 0.43 |
| Log 25(OH)D (log-unit) | 0.08 ± 0.38 | 0.23 ± 0.15 |
| Log PTH (log-unit) | 0.03 ± 0.42 | 0.22 ± 0.14 |
| Log FGF23 (log-unit) | −0.06 ± 0.36 | 0.46 ± 0.22 |
The values represent pooled estimates across 20 multiply imputed datasets slope values indicate the rate of change annually for each variable. SD: Standard deviation values reflect the variability of each measure. Abbreviations: eGFR: estimated glomerular filtration rate; PTH: parathyroid hormone; UACR: urine albumin-to-creatinine ratio; 25(OH)D: 25-hydroxyvitamin D; PO4: phosphate; FGF23: fibroblast growth factor-23; SD: standard deviation; log: natural logarithm (base e).
3.2. Model Performance
The SHAP analysis applied to the XGBoost models demonstrated consistently strong and stable predictive performance across all biomarker trajectories (Table 3). Cross-validated coefficients of determination (R2) were 0.86 ± 0.01 for the log PTH slope, 0.72 ± 0.02 for the log FGF23 slope, 0.67 ± 0.05 for the phosphate slope, and 0.67 ± 0.02 for the calcium slope. Corresponding root-mean-square errors (RMSE ± SD) were 0.14 ± 0.01, 0.21 ± 0.02, 0.076 ± 0.01, and 0.048 ± 0.005, respectively, indicating small residual variance and reliable model calibration. All permutation tests produced significant results (p < 0.01), confirming that each model captured genuine, non-random predictive structure. Learning curves exhibited nearly parallel declines in training and validation RMSE that plateaued around 80 boosting iterations, demonstrating strong regularization and the absence of overfitting (Supplementary Figures S2–S5).
Table 3.
Performance metrics of XGBoost models predicting biomarker slopes.
| Biomarker Model | Mean R2 ± SD | 95% CI for R2 | RMSE ± SD | 95% CI for RMSE | Permutation p |
|---|---|---|---|---|---|
| Calcium slope | 0.67 ± 0.02 | [0.64–0.69] | 0.048 ± 0.005 | [0.044–0.054] | <0.001 |
| Phosphate slope | 0.67 ± 0.05 | [0.60–0.75] | 0.076 ± 0.01 | [0.067–0.087] | <0.001 |
| Log FGF23 slope | 0.72 ± 0.02 | [0.70–0.74] | 0.21 ± 0.02 | [0.18–0.23] | <0.001 |
| Log PTH slope | 0.86 ± 0.01 | [0.84–0.87] | 0.14 ± 0.010 | [0.13–0.16] | 0.005 |
Each slope model estimates the longitudinal rate of change in the respective serum marker. Metrics represent pooled cross-validation results across multiply imputed datasets. Abbreviations: R2: coefficient of determination; RMSE: root-mean-square error; CI: bootstrap confidence interval; FGF23: Fibroblast growth factor; PTH: Parathyroid hormone; Log: natural logarithm (base e).
3.3. Phosphate Trajectories
SHAP analysis of the phosphate slope model identified six key variables, baseline phosphate, eGFR slope, hemoglobin slope, log FGF-23 slope, log UACR slope, and bicarbonate slope, as the strongest associates of phosphate change. Dependence plots showed that faster eGFR decline and higher baseline phosphate predicted steeper phosphate increases. Declining hemoglobin slope was negatively related to phosphate change, whereas increases in log FGF-23 slope, log UACR slope, and decreases in bicarbonate were linked with greater phosphate rises (Figure 1 and Figure 2).
Figure 1.
SHAP summary plot of the top 15 features ranked by mean absolute contribution to the model output (A). PO4 slope, (B). Calcium slope, (C). Log FGF23 slope, (D). Log PTH slope. Within each panel, features are ordered on the y-axis by mean absolute SHAP value, which represents overall feature importance, whereas the x-axis displays the SHAP value, reflecting the direction and magnitude of each feature’s effect on the model output. Abbreviations: eGFR: Estimated Glomerular Filtration Rate; 25(OH)D: 25-hydroxyvitamin D; FGF23: Fibroblast Growth Factor 23; PO4: Phosphate; PTH: Parathyroid Hormone; SD: Standard Deviation; UACR: Urine Albumin-to-Creatinine Ratio; log: natural logarithm (base e).
Figure 2.
SHAP dependence plots for six key variables associated with phosphate slope model. (A). Baseline PO4; (B). eGFR slope; (C). Hemoglobin slope; (D). Log-FGF23 slope; (E). Log-UACR slope; (F). Bicarbonate slope. Each dot represents an observation. The x-axis shows the feature value, and the y-axis displays its SHAP value, indicating its contribution (direction and magnitude) to the predicted phosphate slope. Dot color reflects an interacting feature’s value, with the color bar showing its range. Positive SHAP values denote a positive contribution, while negative values denote a negative contribution. Abbreviations: eGFR: Estimated Glomerular Filtration Rate; FGF23: Fibroblast Growth Factor 23; PO4: Phosphate; UACR: Urine Albumin-to-Creatinine Ratio; log: natural logarithm (base e).
3.4. Calcium Trajectories
According to SHAP analysis of the calcium model, six principal variables, baseline calcium, albumin slope, sex, baseline albumin, PTH slope, and eGFR slope, were most associated with calcium slope. Baseline calcium, albumin slope, male sex, and baseline albumin showed positive association with calcium slope, whereas PTH slope and eGFR slope exhibited negative associations (Figure 1 and Figure 3).
Figure 3.
SHAP dependence plots for six key variables associated with calcium slope model (A). Baseline calcium, (B). Albumin slope (C). Sex, (D). PTH slope, (E). Baseline albumin and (F). Baseline eGFR. Each dot represents an observation. The x-axis shows the feature value, and the y-axis displays its SHAP value, indicating its contribution (direction and magnitude) to the predicted calcium slope. Dot color reflects an interacting feature’s value, with the color bar showing its range. Positive SHAP values denote a positive contribution, while negative values denote a negative contribution. Abbreviations: eGFR: Estimated Glomerular Filtration Rate; PTH: Parathyroid Hormone; log: natural logarithm (base e).
3.5. FGF-23 Trajectories
SHAP analysis of the log FGF-23 model highlighted six main variables: baseline log FGF-23, eGFR slope, hemoglobin variability, albumin slope, log PTH slope, and hemoglobin slope. Dependence plots demonstrated that faster eGFR decline and greater hemoglobin variability were associated with steeper log FGF-23 increases, while declining albumin and hemoglobin slopes were both linked to higher FGF-23 slopes. A positive correlation between log FGF-23 and log PTH slopes was also evident (Figure 1 and Figure 4).
Figure 4.
SHAP dependence plots for six key variables associated with log FGF23 slope model (A). Baseline log-FGF23, (B). Baseline eGFR (C). Hemoglobin variability, (D). Albumin slope, (E). Log-PTH slope and (F). Hemoglobin slope. Each dot represents an observation. The x-axis shows the feature value, and the y-axis displays its SHAP value, indicating its contribution (direction and magnitude) to the predicted log FGF23 slope. Dot color reflects an interacting feature’s value, with the color bar showing its range. Positive SHAP values denote a positive contribution, while negative values denote a negative contribution. Abbreviations: eGFR: Estimated Glomerular Filtration Rate; FGF23: Fibroblast Growth Factor 23; PTH: Parathyroid Hormone; SD: Standard Deviation; log: natural logarithm (base e).
3.6. PTH Trajectories
SHAP analysis identified six key predictors of PTH slope; baseline PTH, eGFR slope, log 25(OH)D slope, log FGF-23 slope, calcium slope, and baseline eGFR. Steeper PTH increases were associated with higher baseline PTH and faster eGFR decline. Dependence plots further showed that a declining log 25(OH)D slope was associated with an accelerated rise in PTH, particularly in the context of concurrent kidney function decline (Figure 1 and Figure 5).
Figure 5.
SHAP dependence plots for six key variables associated with log PTH slope model (A). Baseline log-PTH, (B). Baseline eGFR (C). 25(OH)D slope, (D). Log-FGF23 slope, (E). Calcium slope and (F). Baseline eGFR. Each dot represents an observation. The x-axis shows the feature value, and the y-axis displays its SHAP value, indicating its contribution (direction and magnitude) to the predicted log PTH slope. Dot color reflects an interacting feature’s value, with the color bar showing its range. Positive SHAP values denote a positive contribution, while negative values denote a negative contribution. Abbreviations: eGFR: Estimated Glomerular Filtration Rate; 25(OH)D: 25-hydroxyvitamin D; FGF23: Fibroblast Growth Factor 23; PTH: Parathyroid Hormone; log: natural logarithm (base e).
Supplementary Figure S6 presents SHAP analysis identifying the top 15 features contributing to the prediction of PO4, calcium, Log FGF23, and Log PTH slopes.3.2.
4. Discussion
In this study, we evaluated associations between longitudinal trajectories of key CKD-MBD biomarkers (PTH, FGF23, and phosphate) and other parameters of CKD using interpretable machine learning applied to a large prospective CKD cohort. Our approach incorporated baseline levels, variability, and slopes of these biomarkers, and allowed us to identify consistent patterns of associations across mineral, renal, hematologic, and metabolic domains. Three main findings emerged: (i) baseline biomarker levels were strongly associated with subsequent slopes, (ii) decline in kidney function was consistently associated with worsening trajectories, and (iii) non-traditional factors such as slopes of hemoglobin, albumin, urine protein, and bicarbonate showed independent associations with biomarker slopes.
Baseline levels of PTH, FGF23, and phosphate had the strongest associations with their respective slopes. Patients with higher baseline concentrations tended to show steeper subsequent increases, an observation that supports the notion of “biomarker momentum.” This finding is consistent with earlier cohort work demonstrating that once abnormalities in mineral metabolism appear, they often persist and intensify [1,12]. Our results suggest that elevated baseline values may mark individuals at higher risk for progressive biochemical changes, although they should be understood primarily as indicators of disease burden and prior exposures rather than causal factors.
Declining kidney function, summarized as eGFR slope, was strongly associated with the worsening of all three biomarkers. Faster eGFR loss was related to higher rates of increase in PTH, FGF23, and phosphate, and decrease in calcium echoing longstanding evidence that kidney decline is closely tied to disturbances in mineral metabolism [1,13]. However, it also suggests that these metabolic abnormalities might further accelerate CKD progression and underscore the importance of conducting additional interventional trials to evaluate how CKD-MBD modulation affects the course of CKD. In addition, worsening albuminuria was associated specifically with steeper phosphate slopes, indicating that proteinuria and glomerular injury may provide additional signals of altered phosphate handling [14]. Together, these findings reinforce the close link between renal deterioration and the trajectory of mineral metabolism abnormalities in CKD.
We observed a positive association between PTH and FGF23 slopes. While FGF23 normally suppresses PTH secretion and PTH stimulates FGF23 production [15,16,17,18], CKD is characterized by disruption of these regulatory loops [18,19,20,21,22]. The parallel increases in our cohort suggest that endocrine resistance and parathyroid hyperplasia may attenuate normal feedback, resulting in simultaneous upward trajectories. Our results therefore align with the concept of reciprocal dysregulation, though the direction of influence cannot be determined from these associations.
Vitamin D slopes also showed clear associations with parathyroid trajectories. Declining 25(OH)D slopes were correlated with steeper rises in PTH, consistent with the pathophysiology of secondary hyperparathyroidism, where reduced vitamin D availability impairs calcium absorption and stimulates parathyroid hormone secretion [23]. The dependence plots further indicated that this association was accentuated in patients with faster eGFR decline, highlighting an interaction between kidney function deterioration and vitamin D metabolism [24]. These results underscore the importance of considering not only baseline 25(OH)D levels but also their longitudinal trend, as progressive vitamin D decreasing may signal greater risk for worsening parathyroid activity. Clinically, this supports the potential adjunctive role of vitamin D repletion strategies as part of broader CKD management.
Calcium and PTH slopes showed inverse associations, consistent with expected negative feedback. However, the magnitude of this inverse relationship appeared attenuated at lower eGFR, suggesting possible partial uncoupling of the calcium–PTH axis in moderate CKD. This pattern is consistent with prior evidence that reduced renal function may diminish calcium-sensing receptor activity and calcitriol synthesis, potentially weakening feedback control [25,26,27,28]. Experimental studies indicate that PTH normally enhances urinary phosphate excretion and calcium retention [29], while CKD-related down-regulation of nephron pathways and reduced FGF-23/Klotho signaling could contribute to feedback impairment [30]. Together, these findings are compatible with, but do not prove, weakening of physiological feedback control during CKD progression.
Beyond renal decline, biomarker trajectories were also associated with systemic parameters. Declining hemoglobin slopes and greater within-person hemoglobin variability were statistically associated with steeper phosphate and FGF-23 slopes. While these associations are observational, previous experimental and clinical studies have described bidirectional links between anemia, disordered iron handling, phosphate retention, and FGF23 dysregulation [31,32,33,34,35,36,37,38], often conceptualized within a multi-component kidney-bone marrow-bone axis [22]. For example, phosphate loading and elevated FGF23 can impair erythropoiesis [37,38], while iron deficiency and anemia aggravate FGF23 abnormalities [34]. Future work should test whether improving hematologic parameters modifies mineral biomarker trajectories.
Similarly, declining albumin slopes were associated with rising FGF23 slopes, a finding that may be compatible with an influence of nutritional status on FGF23 dynamics [39]. Declining bicarbonate slopes were likewise associated with increasing phosphate slopes, which is biologically plausible given the known links between metabolic acidosis, bone buffering, and disordered mineral metabolism in CKD [40,41]. These associations demonstrate that CKD-MBD progression is shaped by multiple systemic domains and not only mineral metabolism itself.
Our findings highlight the value of examining biomarker trajectories rather than isolated static measurements. Patients with higher baseline values and steeper kidney function decline were more likely to show worsening slopes, indicating an opportunity for earlier risk identification. The associations with hemoglobin, albumin, bicarbonate, and vitamin D suggest that management of anemia, nutritional decline, metabolic acidosis, and vitamin D insufficiency may be relevant not only for general CKD health but also for moderating mineral metabolism abnormalities. Importantly, these observations should be viewed as hypothesis-generating, with future intervention studies required to test whether modifying these domains can alter biomarker trajectories or clinical outcomes.
Key strengths of this study include use of a large, longitudinally followed CKD cohort, robust slope estimation via mixed-effects models, and the application of interpretable machine learning to clarify associations. This approach provided flexible modeling of nonlinear effects and interactions while maintaining interpretability. The good predictive performance (R2 0.67–0.86), the robustness of the methodology involving XGBoost and SHAP interpretability, along with the biological plausibility, are the key strengths of these findings.
Limitations include that exposures and outcomes derived from the same time window limit causal inference. Slopes were assumed to be linear, which may underestimate acceleration in later CKD. Data on diet, and iron status were unavailable or not analyzed and may have contributed to observed associations. Finally, replication of these findings in other CKD populations is warranted to increase generalizability.
5. Conclusions
In summary, interpretable machine learning applied to longitudinal CKD data revealed consistent associations between CKD-MBD biomarker trajectories. Associations of biomarker slopes with concurrent changes in hemoglobin, albumin, bicarbonate, and albuminuria indicate that mineral metabolism evolves in concert with other abnormalities seen in CKD. These findings emphasize the interconnected nature of CKD-MBD and illustrate the value of trajectory-based analyses for uncovering integrated patterns that merit further mechanistic and interventional investigation. Further validation and outcome studies are essential before trajectory-based monitoring can be recommended for practice.
Acknowledgments
All machine learning analyses and SHAP visualizations were conducted in Python 3.13.
Abbreviations
| 25(OH)D | 25-hydroxyvitamin D |
| Ca | Calcium |
| CI | Confidence Interval |
| CKD | Chronic Kidney Disease |
| CKD-EPI | Chronic Kidney Disease Epidemiology Collaboration |
| CKD-MBD | Chronic Kidney Disease–Mineral and Bone Disorder |
| eGFR | Estimated Glomerular Filtration Rate |
| FGF23 | Fibroblast Growth Factor 23 |
| IQR | Interquartile Range |
| log | Natural logarithm |
| MICE | Multiple Imputation by Chained Equations |
| PO4 | Phosphate |
| PTH | Parathyroid Hormone |
| R2 | Coefficient of Determination |
| RMSE | Root Mean Square Error |
| SD | Standard Deviation |
| SHAP | SHapley Additive exPlanations |
| UACR | Urine Albumin-to-Creatinine Ratio |
| XGBoost | Extreme Gradient Boosting |
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/jcm15103690/s1, Figure S1. Analytic Workflow for Machine Learning Models and SHAP Interpretability in the CAN-AIM Cohort, Figure S2. Gradient boosting model performance for predicting phosphate (PO4) slope, Figure S3. Gradient boosting model performance for predicting calcium slope, Figure S4. Gradient boosting model performance for predicting log-FGF23 slope, Figure S5. Gradient boosting model performance for predicting log-PTH slope. Figure S6. SHAP bar plot of the top 15 features ranked by mean absolute contribution to the model output.
Author Contributions
Conceptualization, T.T., T.S., P.T. and H.T.; methodology, T.T. and H.T.; software, T.T.; validation, T.T., S.M., T.S., A.B. and H.T.; formal analysis, T.T.; investigation, T.T., H.T.; resources, T.S., H.M. and P.T.; data curation, T.T.; writing-original draft preparation, T.T. and H.T.; writing-review and editing, T.T., T.S., H.T., A.B., P.T., H.M. and S.M.; visualization, T.T.; supervision, H.T. and T.S.; project administration, T.S. and H.T. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
The study was conducted in accordance with the Declaration of Helsinki and adhered to the ethical guidelines set by the committee overseeing patient data management. Approval was granted by the Optimum Clinical Research Inc. Ethical Review Board, Approval code: 648; Initial Approval Date: 10 December 2009, Subsequent Annual Approval Dates: 16 December 2010, 7 December 2011, 23 January 2013, 4 December 2013, 12 November 2014, 7 October 2015.
Informed Consent Statement
Prior to any study-related procedures, written informed consent was obtained from all individual participants included in the study, which encompassed consent for the future publication of anonymized findings.
Data Availability Statement
The data that support the findings of this study are available from the corresponding author, [T.S.], upon reasonable request.
Conflicts of Interest
The authors have no conflicts of interest to declare.
Funding Statement
The CAN AIM to PREVENT was sponsored by Janssen Inc. which had no role in the design, conduct, or analysis of that or the current study.
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Isakova T., Cai X., Lee J., Mehta R., Zhang X., Yang W., Nessel L., Anderson A.H., Lo J., Porter A., et al. Longitudinal Evolution of Markers of Mineral Metabolism in Patients With CKD: The Chronic Renal Insufficiency Cohort (CRIC) Study. Am. J. Kidney Dis. 2020;75:235–244. doi: 10.1053/j.ajkd.2019.07.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Ketteler M., Block G.A., Evenepoel P., Fukagawa M., Herzog C.A., McCann L., Moe S.M., Shroff R., Tonelli M.A., Toussaint N.D., et al. Executive summary of the 2017 KDIGO Chronic Kidney Disease–Mineral and Bone Disorder (CKD-MBD) Guideline Update: What’s changed and why it matters. Kidney Int. 2017;92:26–36. doi: 10.1016/j.kint.2017.04.006. [DOI] [PubMed] [Google Scholar]
- 3.Isakova T., Wahl P., Vargas G.S., Gutiérrez O.M., Scialla J., Xie H., Appleby D., Nessel L., Bellovich K., Chen J., et al. Fibroblast growth factor 23 is elevated before parathyroid hormone and phosphate in chronic kidney disease. Kidney Int. 2011;79:1370–1378. doi: 10.1038/ki.2011.47. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Bellasi A., Mandreoli M., Baldrati L., Corradini M., Di Nicolò P., Malmusi G., Santoro A. Chronic Kidney Disease Progression and Outcome According to Serum Phosphorus in Mild-to-Moderate Kidney Dysfunction. Clin. J. Am. Soc. Nephrol. 2011;6:883–891. doi: 10.2215/CJN.07810910. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Salera D., Merkel N., Bellasi A., de Borst M.H. Pathophysiology of chronic kidney disease–mineral bone disorder (CKD-MBD): From adaptive to maladaptive mineral homeostasis. Clin. Kidney J. 2025;18:i3–i14. doi: 10.1093/ckj/sfae431. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Bellasi A., Di Lullo L., Russo D., Ciarcia R., Magnocavallo M., Lavalle C., Ratti C., Fusaro M., Cozzolino M., Di Iorio B.R. Predictive Value of Measures of Vascular Calcification Burden and Progression for Risk of Death in Incident to Dialysis Patients. J. Clin. Med. 2021;10:376. doi: 10.3390/jcm10030376. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Kidney Disease: Improving Global Outcomes (KDIGO) CKD-MBD Update Work Group. KDIGO 2017 Clinical Practice Guideline Update for the Diagnosis, Evaluation, Prevention, and Treatment of Chronic Kidney Disease–Mineral and Bone Disorder (CKD-MBD) Kidney Int. Suppl. 2017;7:1–59. doi: 10.1016/j.kisu.2017.04.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Komaba H. Roles of PTH and FGF23 in kidney failure: A focus on nonclassical effects. Clin. Exp. Nephrol. 2023;27:395–401. doi: 10.1007/s10157-023-02336-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Lundberg S.M., Erion G., Chen H., DeGrave A., Prutkin J.M., Nair B., Katz R., Himmelfarb J., Bansal N., Lee S.-I. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2020;2:56–67. doi: 10.1038/s42256-019-0138-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Moore A., Bell M. XGBoost, A Novel Explainable AI Technique, in the Prediction of Myocardial Infarction: A UK Biobank Cohort Study. Clin. Med. Insights Cardiol. 2022;16:1–6.. doi: 10.1177/11795468221133611. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Levey A.S., Stevens L.A., Schmid C.H., Zhang Y.L., Castro A.F., 3rd, Feldman H.I., Kusek J.W., Eggers P., Van Lente F., Greene T., et al. A New Equation to Estimate Glomerular Filtration Rate. Ann. Intern. Med. 2009;150:604–612. doi: 10.7326/0003-4819-150-9-200905050-00006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Moe S.M., Drüeke T., Lameire N., Eknoyan G. Chronic Kidney Disease–Mineral-Bone Disorder: A New Paradigm. Adv. Chronic Kidney Dis. 2007;14:3–12. doi: 10.1053/j.ackd.2006.10.005. [DOI] [PubMed] [Google Scholar]
- 13.Tsao H.-M., Lai T.-S., Chou Y.-H., Lin S.-L., Chen Y.-M. Predialysis trajectories of estimated GFR and concurrent trends of Chronic Kidney Disease-relevant biomarkers. Ther. Adv. Chronic Dis. 2023;14 doi: 10.1177/20406223231177291. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.De Nicola L., Provenzano M., Chiodini P., Borrelli S., Russo L., Bellasi A., Santoro D., Conte G., Minutolo R. Epidemiology of low-proteinuric chronic kidney disease in renal clinics. PLoS ONE. 2017;12:e0172241. doi: 10.1371/journal.pone.0172241. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Riminucci M., Collins M.T., Fedarko N.S., Cherman N., Corsi A., White K.E., Waguespack S., Gupta A., Hannon T., Econs M.J., et al. FGF-23 in fibrous dysplasia of bone and its relationship to renal phosphate wasting. J. Clin. Investig. 2003;112:683–692. doi: 10.1172/JCI18399. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Canalejo R., Canalejo A., Martinez-Moreno J.M., Rodriguez-Ortiz M.E., Estepa J.C., Mendoza F.J., Munoz-Castaneda J.R., Shalhoub V., Almaden Y., Rodriguez M. FGF23 Fails to Inhibit Uremic Parathyroid Glands. J. Am. Soc. Nephrol. 2010;21:1125–1135. doi: 10.1681/ASN.2009040427. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Meir T., Durlacher K., Pan Z., Amir G., Richards W.G., Silver J., Naveh-Many T. Parathyroid hormone activates the orphan nuclear receptor Nurr1 to induce FGF23 transcription. Kidney Int. 2014;86:1106–1115. doi: 10.1038/ki.2014.215. [DOI] [PubMed] [Google Scholar]
- 18.Ben-Dov I.Z., Galitzer H., Lavi-Moshayoff V., Goetz R., Kuro-O M., Mohammadi M., Sirkis R., Naveh-Many T., Silver J. The parathyroid is a target organ for FGF23 in rats. J. Clin. Investig. 2007;117:4003–4008. doi: 10.1172/JCI32409. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Kazama J.J., Sato F., Omori K., Hama H., Yamamoto S., Maruyama H., Narita I., Gejyo F., Yamashita T., Fukumoto S., et al. Pretreatment serum FGF-23 levels predict the efficacy of calcitriol therapy in dialysis patients. Kidney Int. 2005;67:1120–1125. doi: 10.1111/j.1523-1755.2005.00178.x. [DOI] [PubMed] [Google Scholar]
- 20.Kawakami K., Takeshita A., Furushima K., Miyajima M., Hatamura I., Kuro-O M., Furuta Y., Sakaguchi K. Persistent fibroblast growth factor 23 signalling in the parathyroid glands for secondary hyperparathyroidism in mice with chronic kidney disease. Sci. Rep. 2017;7:40534. doi: 10.1038/srep40534. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Samadfam R., Richard C., Nguyen-Yamamoto L., Bolivar I., Goltzman D. Bone Formation Regulates Circulating Concentrations of Fibroblast Growth Factor 23. Endocrinology. 2009;150:4835–4845. doi: 10.1210/en.2009-0472. [DOI] [PubMed] [Google Scholar]
- 22.Carullo N., Sorbo D., Faga T., Pugliese S., Zicarelli M.T., Costa D., Ielapi N., Battaglia Y., Pisani A., Coppolino G., et al. Anemia and Mineral Bone Disorder in Kidney Disease Patients: The Role of FGF-23 and Other Related Factors. Int. J. Mol. Sci. 2024;25:12838. doi: 10.3390/ijms252312838. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Mehrotra R., Kermah D., Budoff M., Salusky I.B., Mao S.S., Gao Y.L., Takasu J., Adler S., Norris K. Hypovitaminosis D in Chronic Kidney Disease. Clin. J. Am. Soc. Nephrol. 2008;3:1144–1151. doi: 10.2215/CJN.05781207. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.De Boer I.H., Thadhani R. Vitamin D Deficiency: Consequence or cause of CKD? Clin. J. Am. Soc. Nephrol. 2013;8:1844–1846. doi: 10.2215/CJN.09480913. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Habas E., Eledrisi M., Khan F., Elzouki A.-N.Y. Secondary Hyperparathyroidism in Chronic Kidney Disease: Pathophysiology and Management. Cureus. 2021;13:e16388. doi: 10.7759/cureus.16388. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Mazzaferro S., Tartaglione L., Cohen-Solal M., Tran M.H., Pasquali M., Rotondi S., Torres P.U. Pathophysiology and therapies of CKD-associated secondary hyperparathyroidism. Clin. Kidney J. 2025;18:i15–i26. doi: 10.1093/ckj/sfae423. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Portales-Castillo I., Simic P. PTH, FGF-23, Klotho and Vitamin D as regulators of calcium and phosphorus: Genetics, epigenetics and beyond. Front. Endocrinol. 2022;13:992666. doi: 10.3389/fendo.2022.992666. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Pazianas M., Miller P.D. The CKD-MBD Syndrome: Hysteresis in PTH Involvement and PTH Administration for Its Management. J. Bone Miner. Res. 2020;35:2313–2317. doi: 10.1002/jbmr.4155. [DOI] [PubMed] [Google Scholar]
- 29.Alexander R.T., Dimke H. Effects of parathyroid hormone on renal tubular calcium and phosphate handling. Acta Physiol. 2023;238:e13959. doi: 10.1111/apha.13959. [DOI] [PubMed] [Google Scholar]
- 30.Murray S.L., Wolf M. Calcium and Phosphate Disorders: Core Curriculum. Am. J. Kidney Dis. 2024;83:241–256. doi: 10.1053/j.ajkd.2023.04.017. [DOI] [PubMed] [Google Scholar]
- 31.Navarro-González J.F., Mora-Fernández C., Diaz-Tocados J.M., Bozic M., Bermúdez-López M., Martín M., Valdivielso J.M. Serum Phosphate Levels Modify the Impact of FGF23 Levels on Hemoglobin in Chronic Kidney Disease. Nutrients. 2022;14:4842. doi: 10.3390/nu14224842. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Kato K., Nakashima A., Ohkido I., Kasai K., Yokoo T. Association between serum phosphate levels and anemia in non-dialysis patients with chronic kidney disease: A retrospective cross-sectional study from the Fuji City CKD Network. BMC Nephrol. 2023;24:244. doi: 10.1186/s12882-023-03298-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Tran L., Batech M., Rhee C.M., Streja E., Kalantar-Zadeh K., Jacobsen S.J., Sim J.J. Serum phosphorus and association with anemia among a large diverse population with and without chronic kidney disease. Nephrol. Dial. Transplant. 2016;31:636–645. doi: 10.1093/ndt/gfv297. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Park M.Y., Agoro R., Jankauskas S.S., Le Henaff C., Sitara D. Phosphorus-independent role of FGF23 in erythropoiesis and iron homeostasis. PLoS ONE. 2024;19:e0315228. doi: 10.1371/journal.pone.0315228. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Tsai M.-H., Leu J.-G., Fang Y.-W., Liou H.-H. High Fibroblast Growth Factor 23 Levels Associated with Low Hemoglobin Levels in Patients with Chronic Kidney Disease Stages 3 and 4. Medicine. 2016;95:e3049. doi: 10.1097/MD.0000000000003049. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Nam K.H., Kim H., An S.Y., Lee M., Cha M.-U., Park J.T., Yoo T.-H., Lee K.-B., Kim Y.-H., Sung S.-A., et al. Circulating Fibroblast Growth Factor-23 Levels are Associated with an Increased Risk of Anemia Development in Patients with Nondialysis Chronic Kidney Disease. Sci. Rep. 2018;8:7294. doi: 10.1038/s41598-018-25439-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Agoro R., Montagna A., Goetz R., Aligbe O., Singh G., Coe L.M., Mohammadi M., Rivella S., Sitara D. Inhibition of fibroblast growth factor 23 (FGF23) signaling rescues renal anemia. FASEB J. 2018;32:3752–3764. doi: 10.1096/fj.201700667R. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Coe L.M., Madathil S.V., Casu C., Lanske B., Rivella S., Sitara D. FGF-23 Is a Negative Regulator of Prenatal and Postnatal Erythropoiesis. J. Biol. Chem. 2014;289:9795–9810. doi: 10.1074/jbc.M113.527150. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Afsar R.E., Afsar B., Ikizler T.A. Fibroblast Growth Factor 23 and Muscle Wasting: A Metabolic Point of View. Kidney Int. Rep. 2023;8:1301–1314. doi: 10.1016/j.ekir.2023.04.027. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Taskapan H., Mahdavi S., Bellasi A., Taskapan B., Tam P., Sikaneta T. Prospective associations between the CKD-mineral bone disorder and metabolic acidosis. Int. Urol. Nephrol. 2025 doi: 10.1007/s11255-025-04902-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Kuhn C., Mohebbi N., Ritter A. Metabolic acidosis in chronic kidney disease: Mere consequence or also culprit? Pflüg. Arch. Eur. J. Physiol. 2024;476:579–592. doi: 10.1007/s00424-024-02912-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data that support the findings of this study are available from the corresponding author, [T.S.], upon reasonable request.





