收藏切换
Predicting 1-Year Renal Outcomes in Patients with Diabetic Kidney Disease in CKD Stages 3 to 4: A Multimodal Machine Learning Approach Fusing Clinical Composites and Pathology Images
收藏切换
PDF
Xiangmeng Li1, 2, 3, Jinyu Liu1, 4, Erjina Huo5, Peihua Zhang6, Shimin Jiang1, Cheng Zhou1, *, Shunlai Shang1, *, Wenge Li1, 2, 4, *
Research. Vol 9 Article ID 1337
Less
收藏切换
Research. Vol 9 Article ID 1337
• RESEARCH ARTICLE •
Predicting 1-Year Renal Outcomes in Patients with Diabetic Kidney Disease in CKD Stages 3 to 4: A Multimodal Machine Learning Approach Fusing Clinical Composites and Pathology Images
Full
Xiangmeng Li1, 2, 3, Jinyu Liu1, 4, Erjina Huo5, Peihua Zhang6, Shimin Jiang1, Cheng Zhou1, *, Shunlai Shang1, *, Wenge Li1, 2, 4, *
Affiliations
  • 1Department of Nephrology, China-Japan Friendship Hospital, Beijing, China.
  • 2China-Japan Friendship Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China.
  • 3Key Laboratory of Bone Metabolism and Physiology in Chronic Kidney Disease of Hebei Province, Affiliated Hospital of Hebei University, Baoding, Hebei, China.
  • 4Capital Medical University, Beijing, China.
  • 5University of Bristol, Bristol, UK.
  • 6School of Big Data Science, Hebei Finance University, Baoding, Hebei, China.
About Author:

† These authors contributed equally to this work.

Published: 2026-06-20 doi: 10.34133/research.1337
Outline
收藏切换

Patients with diabetic kidney disease (DKD) at chronic kidney disease (CKD) stages 3 to 4 are at high risk for rapid renal function decline within 1 year. However, owing to the multifactorial complexity of the disease, effective prognostic tools that integrate multidimensional clinical and pathological information are currently lacking for this specific population. We conducted a retrospective cohort study involving 322 patients with biopsy-proven DKD (CKD stages 3 to 4) from the China-Japan Friendship Hospital and Hebei University Affiliated Hospital. Their clinical data and 2,576 renal biopsy pathology images were used to develop and validate a multimodal model. Machine learning was applied to integrate clinical composite indices and renal biopsy images to develop a prognostic prediction tool. Four key clinical predictors were identified: estimated glomerular filtration rate, 24-h urinary protein, systemic immune inflammation index, and estimated pulse wave velocity. Among the 6 machine learning algorithms used to develop the prediction models, the random forest algorithm achieved the best performance in the test set, with an area under the receiver operating characteristic (ROC) curve (AUC) of 0.889 and a precision–recall AUC (PR-AUC) of 0.921 for predicting the 1-year composite renal endpoint. The integration of pathological features led to a marked improvement in the performance of the model (ROC-AUC: 0.923 vs. 0.898). External validation demonstrated that incorporating pathological information into the model increased the ROC-AUC from 0.885—achieved when clinical composite indices alone were used as predictors—to 0.930. In this study, machine learning-based automated image analysis of glomerular crescent-shaped changes and renal interstitial fibrosis was integrated with established clinical composite indices to construct an accurate model for predicting short-term renal prognosis of DKD at CKD stages 3 to 4 and to provide a potential tool for improved risk stratification.

Xiangmeng Li, Jinyu Liu, Erjina Huo, Peihua Zhang, Shimin Jiang, Cheng Zhou, Shunlai Shang, Wenge Li. Predicting 1-Year Renal Outcomes in Patients with Diabetic Kidney Disease in CKD Stages 3 to 4: A Multimodal Machine Learning Approach Fusing Clinical Composites and Pathology Images[J]. Research, 2026 , 9 (6) : 1337 - . DOI: 10.34133/research.1337
Diabetic kidney disease (DKD) has become a predominant cause of chronic kidney disease (CKD) and end-stage kidney disease [1]. Notably, upon progression to CKD stages 3 to 4, renal function deterioration accelerates substantially, with a substantial proportion of patients advancing to end-stage kidney disease (ESKD) requiring renal replacement therapy within 1 year. Early identification of high-risk individuals and timely intervention during this critical phase are essential. However, accurate short-term prognosis prediction in this population remains challenging due to dual limitations: existing models primarily rely on unidimensional clinical parameters, failing to capture the disease’s multifactorial complexity, while renal biopsy—often requiring laparoscopic-assisted specialized techniques—carries elevated risks and practical constraints, limiting both pathological data availability and clinical utility. These factors collectively hinder the development of effective prognostic tools, leaving a critical gap in risk stratification for this vulnerable cohort.
In recent years, machine learning has demonstrated important potential in disease prediction, capable of capturing complex nonlinear relationships among multidimensional clinical variables to provide superior risk stratification [2,3]. In particular, multimodal machine learning approaches enhance model robustness and predictive accuracy by integrating diverse data sources, such as clinical indicators, imaging, and pathological data. Deep learning techniques, notably convolutional neural networks (CNNs), have shown remarkable efficacy in processing high-dimensional data and have achieved substantial progress in automated analysis of renal biopsy pathology images [4], thereby offering a viable technical pathway for integrating clinical parameters with pathological information.
Despite advances in machine learning, current DKD prediction models exhibit limitations. Most rely predominantly on single biochemical parameters, focusing on diagnostic rather than prognostic prediction, thereby limiting their clinical translational value. Furthermore, although renal biopsy-derived pathological features—such as Kimmelstiel–Wilson (K-W) nodules, tubular atrophy, and interstitial fibrosis—hold important prognostic relevance, their systematic integration into predictive models remains inadequate due to procedural challenges. Notably, emerging composite indicators offer novel perspectives for risk assessment: the triglyceride–glucose index (TyG) reflecting insulin resistance, the atherogenic index of plasma (AIP) identifying lipid metabolism disorders, the systemic immune-inflammatory index representing inflammatory status, and estimated pulse wave velocity (ePWV) evaluating vascular stiffness [5–8]. These multidimensional parameters collectively delineate DKD progression trajectories through distinct pathophysiological mechanisms and have been independently associated with renal outcomes [9–11].
Our study aims to develop a multimodal machine learning framework integrating CNN-based pathological feature extraction with multidimensional clinical indicators—including emerging composite biomarkers—to establish a prognostic prediction system for DKD patients at CKD stages 3 to 4 (Fig. 1). This pioneering approach systematically combines automated pathological image analysis with clinical composite indicators to overcome existing predictive limitations and enhance risk stratification for this high-risk population.
A total of 185 patients were enrolled in this study (Fig. 2), with a mean age of 53.15 ± 9.59 years. Among them, 133 (71.9%) were male. The baseline demographic, clinical, and pathological characteristics of the patients at the time of renal biopsy are summarized in Table 1. Patients were divided into 2 groups based on whether they reached the composite kidney outcome after 1 year. Significant differences (P < 0.05) were observed between the 2 groups in terms of ePWV, systemic immune inflammation index (SII), estimated glomerular filtration rate (eGFR), 24-h urinary protein (24 h-UP), crescent-shaped changes, proportion of interstitial fibrosis, and degree of mesangial cell hyperplasia. However, no significant differences were found in age, sex, body mass index (BMI), AIP, TyG, or other pathological features (P > 0.05).
Univariate logistic regression analysis was performed, and the results are presented in Table 2. A total of 10 variables showed significant associations with the outcome (P ≤ 0.05), including K-W nodules (P = 0.03), crescent-shaped changes (P < 0.01), Cap lesion (P = 0.07), tubular atrophy (P = 0.01), interstitial fibrosis (P < 0.01), mesangial hypercellularity (P < 0.01), SII (P < 0.01), ePWV (P = 0.01), 24 h-UP (P < 0.01), and eGFR (P < 0.01). However, after adjustment for eGFR, Cap lesion (P = 0.46) and tubular atrophy (P = 0.87) were no longer significantly associated with the outcome and were therefore excluded. Finally, 8 variables—K-W nodules, crescent-shaped changes, degree of interstitial fibrosis, mesangial expansion, SII, ePWV, 24 h-UP, and eGFR—were selected for further screening.
A Least Absolute Shrinkage and Selection Operator (LASSO) logistic regression model was constructed. The optimal alpha (α) value of 0.437 was determined through 5-fold cross-validation, as shown in Fig. 3. Six variables were ultimately retained in the model: crescent-shaped changes (β = 1.33), 24 h-UP (β = 0.69), interstitial fibrosis (β = 0.29), eGFR (β = −1.28), SII (β = 0.22), and ePWV (β = 0.38).
Utilizing the selected features, prediction models were constructed using 6 different machine learning algorithms. Among all models evaluated, the random forest (RF) model demonstrated the best discriminative ability in the test set, with an area under the receiver operating characteristic (ROC) curve (AUC) of 0.967 and a precision–recall AUC (PR-AUC) of 0.967. Its performance remained comparable to that observed in the training set (ROC-AUC = 0.889, PR-AUC = 0.921), indicating strong and stable predictive performance (Fig. 4). Consequently, the RF algorithm was selected to establish the final prediction model (Table 3).
All 3 models demonstrated strong discriminative performance in both the training and internal validation sets. The stage-stratified model achieved the highest AUC values (training set AUC = 1.000; validation set AUC = 0.923), representing the best overall performance. This was followed by the fusion model (training set AUC = 0.942; validation set AUC = 0.912), whereas the clinical model exhibited lower predictive ability (training set AUC = 0.952; validation set AUC = 0.898). These results indicate that pathological image information provides marked complementary value in predicting 1-year renal outcomes for DKD among patients with stage 3 to 4 CKD, as shown in Fig. 5A and B. The superior performance of the stage-stratified model over the fusion model suggests that the multivoting strategy for determining pathological lesion grades is more effective than averaging computed probabilities from image features. This discrepancy may stem from variations in tissue staining intensity in practice, which can arise from repeated use of staining reagents. Based on the shape of the internal validation curves, the stage-stratified model maintained a high true-positive rate even at low false-positive rates, indicating strong sensitivity under stringent threshold settings. Meanwhile, the fusion model converged with the stage-stratified model at moderate-to-high false-positive rates, suggesting that pathological probability continues to provide marginal gains in discrimination. PR curves and the PR-AUC metric focus more on the model’s ability to detect positive samples. The stage-stratified model consistently outperformed both the fusion model and the clinical model across the training and internal validation sets (PR-AUC: 0.922 vs. 0.910 vs. 0.907), suggesting that pathological image information provides greater added value for identifying positive cases under imbalanced data conditions, as shown in Fig. 5C and D.
This multimodal model integrates image and laboratory indicators. Its image component, trained on 2,576 renal biopsy images, extracts pathological features. The model’s attention was visualized using heatmapping techniques, which revealed that its focus areas consistently aligned with regions of known pathological lesions, thereby validating both its interpretability and clinical relevance. These results are illustrated in Fig. 6.
Shapley additive explanations (SHAP) analysis revealed that both pathological predictions and clinical composite indicators contributed to the predictions in the stage-stratified model. Features were ranked by their mean absolute SHAP values in descending order: eGFR (mean |SHAP| = 0.19) was the most important predictor, followed by crescent-shaped changes (mean |SHAP| = 0.15), 24 h-UP (mean |SHAP| = 0.08), ePWV (mean |SHAP| = 0.05), interstitial fibrosis (mean |SHAP| = 0.04), and SII (mean |SHAP| = 0.01) (shown in Fig. 5E). The beeswarm plot further illustrates the directional relationship between feature values and predicted outcomes: lower eGFR was associated with a higher risk of the endpoint event, whereas higher values of crescent-shaped changes, 24 h-UP, ePWV, interstitial fibrosis, and SII were linked to an increased event risk (shown in Fig. 5F). From the overall importance ranking, both pathological probability features and core clinical indicators collectively formed the primary basis for discrimination, suggesting that the model does not rely solely on a single source of information but instead integrates multidimensional clues to form risk assessments. Subsequently, the model randomly generated individualized explanation plots for 2 samples. These plots illustrate the direction and magnitude of each feature’s contribution to the prediction for individual cases, highlighting that the model’s decision stems from the cumulative effect of multiple features and aiding in understanding case-specific risk sources. The individual explanation plots further show that the dominant factors differ across patients, indicating that the model dynamically weights pathological information and clinical status based on the individual case, reflecting the inherent heterogeneity observed in clinical practice (shown in Fig. 5G).
In the external validation, the stage-stratified model was markedly superior to the fusion model (AUC = 0.930 vs. 0.908), and both outperformed the clinical model (AUC = 0.885), suggesting that pathological image features contribute certain discriminative value. In both internal and external validation, AUC values of the stage-stratified model were 0.923 and 0.930, showing no marked decline and even a slight improvement in external validation. This indicates that the model possesses excellent generalization capability and robustness, without overfitting. From the PR curve perspective, a consistent performance hierarchy was observed: the stage-stratified model demonstrated superior predictive utility compared to both the fusion model and the clinical model, with respective PR-AUC values of 0.919, 0.880, and 0.820. Notably, the stage-stratified model maintained excellent discriminative performance in external validation compared to internal validation (PR-AUC: 0.919 vs. 0.922). The PR curve displayed a smooth morphology without erratic fluctuations, and no degradation in performance was observed between validation cohorts, collectively indicating robust generalization capability and an absence of overfitting (shown in Fig. 5H and I). A comparative analysis of the 3 models across internal and external validation sets—evaluated on accuracy, precision, recall, and F1-score—reveals that the stage-stratified model exhibited balanced performance in internal validation. In external validation, it demonstrated notably strong performance in recall, indicating its clinical utility in effectively minimizing missed diagnoses and underscoring its potential for real-world application (shown in Fig. 5J and K and Table 4).
The random split method yielded an AUC of 0.917 ± 0.026, while cross-validation produced an AUC of 0.923 ± 0.032. Bootstrap analysis showed that the stage-stratified model achieved an AUC of 0.932 (95% CI [0.845 to 0.994]) in internal validation and 0.931 (95% CI [0.884 to 0.968]) in external validation. The boxplot derived from K-fold cross-validation exhibits a narrower interquartile range compared to that from random split validation, indicating that performance estimates obtained through repeated data partitioning are more robust and less susceptible to the variability of a single split. The median AUC values under both methods remained closely aligned, with no abrupt decline observed, which provides strong evidence that the model’s performance is reliable and not attributable to overfitting on a particular data partition. Consequently, both the stability assessment boxplot and the bootstrap 95% confidence interval (CI) plot confirm that the stage-stratified model achieves a consistently high AUC with stable and reproducible results (shown in Fig. 5L and M).
Currently, the internationally recognized health outcome prediction models for diabetes complications with strong validation primarily include RECODe (risk equations for complications of type 2 diabetes) [12] and UKPDS-OM2 (United Kingdom prospective diabetes study outcomes model version 2) [13], both of which generally cover major endpoints such as cardiovascular, cerebrovascular, and renal outcomes. On this basis, Quan et al. [14] developed the CHIME (Chinese Hong Kong integrated modeling and evaluation) model targeting the Asian population. However, these models commonly suffer from overly broad coverage and a lack of specificity for patients with advanced DKD. Most existing models focus on screening early-stage DKD risk [15–17] or cover the full spectrum of CKD, lacking refined stratification tailored specifically to patients with CKD stages 3 to 4. Consequently, effective prognostic prediction tools for DKD patients who have progressed to CKD stages 3 to 4 and are at risk of rapid renal function decline are still lacking. Zou et al. [18] developed a risk prediction model for progression to ESKD in type 2 diabetes-related DKD, incorporating 5 key predictors (cystatin C, serum albumin, Hb, 24h-UTP, and eGFR), with the RF model achieving an AUC of 0.90. Our study similarly found that the RF algorithm excels at predicting renal function progression: using only clinical indicators, the AUC was 0.898; after incorporating renal biopsy pathological features, the AUC markedly improved to 0.923 and, in external validation, reached 0.930. This study is the first to adopt a multimodal prediction model strategy integrating pathological features. Notably, this study does not advocate routine kidney biopsy for all patients with CKD stage 3 to 4 DKD. Instead, it focuses on a specific population whose renal pathological data have already been obtained for clinical indications. With the increasing maturity and minimal invasiveness of percutaneous renal biopsy techniques, patients with CKD stage 3 to 4 (eGFR 15 to 60 ml/min) can now safely undergo biopsy via routine minimally invasive approaches in most clinical settings, thereby enhancing the feasibility of implementing our model in real-world practice. Currently, pathological findings in these patients are primarily used for etiological diagnosis, while their prognostic potential remains largely untapped. We selected the 1-year prediction endpoint based on the following considerations: First, we specifically focused on patients with CKD stages 3 to 4 who experience composite renal endpoints within 1 year, aiming to identify individuals at high risk of rapid progression. In real-world clinical practice, these patients experience high rates of hospital readmission and frequently present with severe heart failure, pronounced edema, and an increased risk of serious acid–base disturbances, electrolyte imbalances, and even sudden cardiac death. Early identification of this high-risk population enables timely implementation of more intensive supportive care, which may reduce hospitalization risk and delay dialysis initiation. Second, pathological imaging features—such as crescent formation and interstitial fibrosis—are more strongly associated with short-term renal function decline, making them more suitable as short-term prognostic biomarkers.
From the perspective of clinical indicators, the variables incorporated in the model reveal potential driving mechanisms behind the rapid progression of DKD. Both eGFR and 24 h-UP quantification are key indicators recommended by the Kidney Disease Improving Global Outcomes guidelines for assessing DKD progression. In this study, eGFR demonstrated higher predictive value than urinary protein, which aligns with the pathophysiological evolution across disease stages: proteinuria serves primarily as a key predictor in early-stage CKD [19], whereas in CKD stages 3 to 4, dynamic changes in eGFR more comprehensively reflect renal function status and complication risks [20], thereby offering greater guidance for risk stratification and treatment decisions in mid-to-late stage patients. The SII, which integrates platelet, neutrophil, and lymphocyte counts, provides a comprehensive reflection of the body’s inflammatory and immune status. In the context of DKD, an elevated SII not only holds diagnostic value [11] but also is closely associated with disease incidence, severity, and risks of all-cause and cardiovascular mortality [21,22]. On the other hand, hyperglycemia-induced endothelial injury and microvascular remodeling promote arterial stiffness, further impairing renal autoregulation and accelerating renal function decline [23]. The ePWV, a widely recognized indicator of arterial stiffness calculated based on age and blood pressure, is closely linked to metabolic diseases and cardiovascular events [24–26]. Studies have shown its independent association with the prevalence of DKD [27], and it is higher in CKD populations compared to healthy controls [28], underscoring its important potential as a predictor of renal outcomes.
Furthermore, renal pathological features hold irreplaceable value in prognostic assessment. Renal interstitial fibrosis and glomerular crescent-shaped changes have been established as key histological predictors of DKD progression. Stefan et al. [29] reported that each 1-grade increase in the interstitial fibrosis and tubular atrophy score markedly elevated the risk of ESKD or renal replacement therapy (HR 1.58, 95% CI 1.00 to 2.54), an association that persisted even after adjustment for clinical variables including eGFR and proteinuria. Hu et al. [30] further demonstrated that incorporating interstitial fibrosis and tubular atrophy into prediction models improved the predictive performance for ESKD, with 2-year/5-year AUCs reaching 0.809 and 0.751, respectively. Since Elfenbein and Reyes [31] first described crescentic lesions in DKD, Mottl et al. [32] subsequently identified them as an independent predictor of ESKD in DKD patients with crescents. Subsequent studies, including those by Sun et al. and a recent Korean multicenter investigation by Bae et al. [33,34], have consistently validated crescentic lesions as an independent risk factor for the progression of DKD.
This study has limitations. First, while its retrospective design and the potential for bias due to missing data and loss to follow-up are inherent concerns, we partially addressed these by extending the inclusion period and increasing the sample size, which improved data completeness and cohort representativeness to meet basic model development requirements. Future studies should focus on external validation using multicenter or large-scale prospective cohorts to assess generalizability and robustness. Second, to ensure that the SII reliably reflects the microinflammatory state of DKD, we excluded patients with active infection (procalcitonin above the normal range), autoimmune diseases, tumors, or hematologic disorders. Consequently, our model is not applicable to these excluded populations, which represents another limitation of this study. In addition, incorporating novel predictors such as multi-omics biomarkers along with more advanced modeling techniques may further enhance model performance and advance personalized prognostic assessment.
In this study, machine learning-based automated image analysis of glomerular crescent-shaped changes and renal interstitial fibrosis was integrated with established clinical composite indices to construct an accurate model for predicting short-term renal prognosis of DKD at CKD stages 3 to 4 and to provide a potential tool for improved risk stratification.
Patients who were diagnosed with DKD by renal biopsy in the Department of Nephrology at the China-Japan Friendship Hospital between 2004 July 1 and 2024 June 30 were enrolled in this study. Inclusion criteria were as follows: (a) age between 18 and 75 years; (b) diagnosis of type 2 diabetes mellitus according to the American Diabetes Association 2024 Standards of Care in Diabetes; (c) pathological confirmation of DKD by renal biopsy; and (d) an eGFR ranging from 15 to 60 ml/min/1.73 m2 at the time of renal biopsy. Exclusion criteria were as follows: (a) the presence of other renal diseases or a history of organ transplantation; (b) the presence of active infection (with procalcitonin levels exceeding the normal range); (c) the presence of severe cardiac, hepatic, or cerebral dysfunction; (d) the presence of malignancy, autoimmune diseases, tumors, or hematologic disorders; and (e) a follow-up duration of less than 1 year or incomplete baseline/follow-up data. This study was approved by the Ethics Committee of the China-Japan Friendship Hospital (Approval No. 2024-KY-129).
The data from a total of 185 patients were used for model training and internal validation. The following data were collected at the time of renal biopsy:
•

Demographic characteristics: sex, age, and BMI.

•

Clinical history: history of coronary artery disease, history of stroke, history of diabetic retinopathy, history of diabetic foot ulcer, and history of diabetic peripheral neuropathy.

•

Renal function parameters: eGFR and 24 h-UP.

•

Other clinical and biochemical indicators: neutrophil count, lymphocyte count, platelet count, triglyceride (TG) level, high-density lipoprotein (HDL) level, blood pressure, and fasting blood glucose (FBG).

•

Pathological features from biopsy specimens: the presence or absence of K-W nodules, capillary aneurysmal dilatation, fibrin cap, capsular drop, and crescent-shaped changes; as well as the severity of tubular atrophy, interstitial fibrosis, and arteriolar hyalinosis. All pathological assessments were independently reviewed and confirmed by at least 2 professional pathologists.

The following composite indices were calculated for the study:
AIP=log10TG/HDL
TyGindex=LnTG×FBG/2
ePWVm/swas calculatedas:9.587−0.402×age+0.004560×age2−0.002621×age2×mean blood pressureMBP+0.003176×age×MBP−0.01832×MBP,whereMBP=diastolic blood pressure+0.4×systolic blood pressure−diastolic blood pressure
Systemic immune−inflammation indexSII=platelet count×neutrophil count/lymphocyte count
The primary composite kidney outcome was defined as a sustained decline in eGFR of ≥40% from baseline for over 4 weeks, progression to ESKD, or death from renal causes [35,36]. ESKD was defined as an eGFR of <15 ml/min/1.73 m2, or the need for long-term dialysis or kidney transplantation (either initiated or planned).
A total of 185 patients who met the eligibility criteria were finally included, with a follow-up loss rate of 13.15%. The sample size was estimated using Kendall’s guideline for multivariate analysis, which recommends 5 to 10 events per variable. Given the 17 variables included in this study, the estimated minimum required sample size ranged from 85 to 170. The actual sample size of 185, therefore, meets this common methodological requirement.
All statistical analyses were performed using Python (version 3.13.2). Continuous variables that were normally distributed, as confirmed by tests for homogeneity of variances, are presented as mean ± standard deviation (SD) and were compared between groups using the independent samples t test. Continuous variables that did not follow a normal distribution are expressed as median with interquartile range and were compared using the Mann–Whitney U test. Categorical variables are summarized as frequencies and percentages (n, %) and were analyzed using the chi-square test to assess differences between groups. The primary evaluation metric was AUC, which measures the model’s overall discriminative ability across threshold settings. Additionally, accuracy, precision, recall, F1-score, and PR-AUC were reported to provide a complementary view of classification performance, particularly under class-imbalanced conditions. All probability-based metrics (ROC-AUC and PR-AUC) were computed using the model’s posterior probability outputs, whereas classification metrics were derived from binary predictions obtained at a fixed threshold. The PR-AUC is especially sensitive to model performance when the positive class is underrepresented.
Predictors of the 1-year composite renal outcome in DKD patients were initially identified using univariate logistic regression analysis. Subsequently, the LASSO logistic regression was applied to further refine and compress the feature set identified from the univariate analysis. The optimal regularization parameter (α) was determined through 5-fold cross-validation. Features with nonzero coefficients were retained for the subsequent model development.
Based on the selected features, 6 distinct machine learning models were developed: multivariable logistic regression, RF, XGBoost, LightGBM, naive Bayes, and multilayer perceptron. During the data preprocessing phase, categorical variables were subjected to one-hot encoding, while continuous variables were standardized (Z-score normalization). The dataset was then stratified and randomly partitioned into a training set and a testing set at a ratio of 7:3.
Hyperparameter optimization was performed using 5-fold cross-validation on the training set. The ROC-AUC served as the primary metric for model evaluation. Model performance was comprehensively assessed using multiple additional metrics, including precision, recall, and the F1-score. The final classification threshold was determined based on the optimal F1-score. All analytical procedures incorporated considerations for class imbalance and implemented corresponding strategies to mitigate overfitting. Following a comprehensive evaluation of all metrics, the best-performing algorithm was selected for the final predictive model.
A heatmap for visualizing pathological image recognition features was generated by computing a weighted sum of the activations from the final convolutional layer of the model and the corresponding classification weights.
The final predictive model was developed using the top-performing algorithm identified in the previous step, which was ultimately determined to be the RF algorithm. While maintaining a consistent RF architecture, we constructed 3 distinct modeling workflows: a clinical model, a stage-stratified model (where pathological variables extracted by ResNet18 were input into the RF), and a fusion model (which combined pathological probabilities with clinical variables as inputs to the RF). These models were systematically compared using multidimensional evaluation metrics and stability assessments.
The internal cohort of 185 cases was split at the patient level in an 8:2 stratified ratio (stratified by the occurrence of the 1-year composite renal outcome). From 50 random seeds (1 to 50), the split that yielded the most balanced distribution of key variables—based on the lowest overall standardized mean difference—was selected to mitigate distributional bias introduced by random partitioning. The image model was trained exclusively on the internal training set, while the internal validation set was used for early stopping and selection of optimal weights based on AUC. During the RF training phase, only samples with complete clinical variables and outcome data were retained (cases with missing values were directly excluded) to avoid bias from inconsistent imputation. All features and labels were aligned at the patient level prior to being input into the model for training.
This study involves 2 distinct prediction tasks: (a) image-based prediction of pathological phenotypes: detection of crescent formation (yc) and interstitial fibrosis (yf); (b) clinical/fusion-model prediction of prognostic outcome: prediction of the composite renal outcome. Both tasks are formulated as binary classification problems, with labels derived directly from structured records. The first-level task focuses on evaluating the model’s ability to extract and discriminate morphological information from pathology images, while the second-level task assesses the combined contribution of pathological features and clinical variables in predicting patient prognosis.
The image model employed ResNet18 as the feature encoder, with its original classification head replaced by a 2-layer fully connected network. When available, the model was initialized with ImageNet-pretrained weights; otherwise, training proceeded from random initialization. Let the feature vector from the penultimate layer be denoted as h∈R512. The classification head is defined as follows:
z=W2σW1h+b1+b2
where σ(·) denotes the ReLU activation function, and a dropout rate of p = 0.5 was applied. The class probabilities are obtained via softmax normalization:
p=softmaxz
For the binary classification task, let ŷi = P (yi = 1 | xi) denote the predicted probability of the positive class. The model is optimized using the binary cross-entropy loss function:
Limg=−1N∑i=1Nyilogp̂i+1−yilog1−p̂i
The input image size was set to 224 × 224 pixels. During training, data augmentation was applied using RandomResizedCrop, random horizontal flip, random rotation, and ColorJitter. For the validation phase, images were processed using Resize(256) followed by CenterCrop(224). All image tensors were normalized with the ImageNet mean and standard deviation to maintain statistical consistency with the pretrained weights.
The optimizer used was Adam with a learning rate of 1 × 10−4, a weight decay of 1 × 10−4, and a batch size of 16. Training was run for a maximum of 15 epochs, with early stopping and model selection based on the internal validation AUC (patience = 4). This early stopping strategy helps mitigate overfitting in small-sample settings while avoiding unnecessary iterations.
For each patient, the image model outputs a per-slide probability pi. The patient-level mean probability is defined as:
p̄=1n∑i=1npi
Multiple patient-level aggregation statistics—including the maximum, median, standard deviation, minimum, positive-class ratio, and entropy—were computed to characterize the central tendency, dispersion, and uncertainty of the image-level probability distribution within each patient. These aggregated metrics compress multiple image observations at the patient level, thereby reducing the influence of random error from individual slides on downstream classifiers.
The patient-level binary output for each pathological phenotype was determined via majority voting. The thresholds for crescents (n = 3) and fibrosis (n = 5) were respectively defined as:
ŷc=I∑i=13Ipi≥0.5≥2
ŷf=I∑i=15Ipi≥0.5≥3
Both the stage-stratified model and the fusion model used patient-level probability features for downstream modeling, while the majority-vote binary outputs served only as auxiliary statistics. The above design may introduce variability in internal validation performance in small-sample settings; therefore, the results should be interpreted in conjunction with external validation and stability assessments.
The RF model is composed of multiple decision trees, employing bootstrap aggregation and random feature subset selection to reduce variance. To mitigate the influence of class imbalance on the splitting criterion, “class_weight='balanced'” was applied, and the Gini impurity (the default in scikit-learn) was used as the splitting criterion. The input features for the 3 models were defined as follows:
Xclinical=ePWVSII24h−UPeGFR
Xstage=p̂cp̂fePWVSII24h−UPeGFR
Xfusion=p̄cp̄fePWVSII24h−UPeGFR
For the clinical and fusion models, fixed hyperparameters were used: n_estimators = 300, max_depth = 4, min_samples_leaf = 6, max_features = sqrt, class_weight = balanced, and random_state = 42. To further suppress overfitting, stronger regularization was applied to the fusion model: n_estimators = 60, max_depth = 1, min_samples_leaf = 20, max_features = sqrt, and class_weight = balanced, random_state = 42. The stage-stratified model employed tuned hyperparameters: n_estimators = 200, max_depth = 8, min_samples_leaf = 1, max_features = 0.7, class_weight = balanced, and random_state = 8,410.
Data from 137 patients treated at Hebei University Affiliated Hospital between 2005 June 1 and 2024 May 30, who met the inclusion and exclusion criteria, were selected for external validation. The external validation data were not used in any training or early-stopping procedures. There was no patient-level overlap between the internal and external cohorts; the external set was employed exclusively for final model evaluation.
As suggested by Riley et al. [37], the 95% CI width for the AUC should be kept within 0.10, which translates to a standard error of approximately:
SEC≤0.102×1.96=0.0255
Substituting:
C=0.923,ϕ=0.486
Iterative estimation using the Newcombe formula yielded:
N≈125
To quantify model stability, the stage-stratified, clinical, and fusion models were each evaluated using repeated random splits and cross-validation. For the internal data, 20 different random seeds were used to perform stratified 8:2 splits. Additionally, 5-fold stratified cross-validation was applied to obtain the distribution of AUC values. To further assess robustness, both internal and external validation AUCs were subjected to 2,000 bootstrap resamples, with the corresponding 95% CIs reported.
1.
GBD Chronic Kidney Disease Collaboration. Global, regional, and national burden of chronic kidney disease, 1990-2017: A systematic analysis for the global burden of disease study 2017. Lancet. 2020;395(10225):709–733.
2.
Belur Nagaraj S, Pena MJ, Ju W, Heerspink HL, BEAt-DKD Consortium.Machine-learning-based early prediction of end-stage renal disease in patients with diabetic kidney disease using clinical trials data. Diabetes Obes Metab. 2020;22(12):2479–2486.
3.
Li Y, Jin N, Zhan Q, Huang Y, Sun A, Yin F, Li Z, Hu J, Liu Z.Machine learning-based risk predictive models for diabetic kidney disease in type 2 diabetes mellitus patients: A systematic review and meta-analysis. Front Endocrinol. 2025;16:1495306.
4.
Jayapandian CP, Chen Y, Janowczyk AR, Palmer MB, Cassol CA, Sekulic M, Hodgin JB, Zee J, Hewitt SM, O’Toole J, et al.Development and evaluation of deep learning-based segmentation of histologic structures in the kidney cortex with multiple histologic stains. Kidney Int. 2021;99(1):86–101.
5.
Nayak SS, Kuriyakose D, Polisetty LD, Patil AA, Ameen D, Bonu R, Shetty SP, Biswas P, Ulrich MT, Letafatkar N, et al.Diagnostic and prognostic value of triglyceride glucose index: A comprehensive evaluation of meta-analysis. Cardiovasc Diabetol. 2024;23(1):310.
6.
Hu B, Yang XR, Xu Y, Sun YF, Sun C, Guo W, Zhang X, Wang WM, Qiu SJ, Zhou J, et al.Systemic immune-inflammation index predicts prognosis of patients after curative resection for hepatocellular carcinoma. Clin Cancer Res. 2014;20(23):6212–6222.
7.
Reference Values for Arterial Stiffness’ Collaboration. Determinants of pulse wave velocity in healthy people and in the presence of cardiovascular risk factors: ‘Establishing normal and reference values’. Eur Heart J. 2010;31(19):2338–2350.
8.
Dobiásová M, Frohlich J.The plasma parameter log (TG/HDL-C) as an atherogenic index: Correlation with lipoprotein particle size and esterification rate in apoB-lipoprotein-depleted plasma (FER(HDL)). Clin Biochem. 2001;34(7):583–588.
9.
Zhang J, Liu C, Peng Y, Fang Q, Wei X, Zhang C, Sun L, Hu Z, Hong J, Gu W, et al.Impact of baseline and trajectory of the atherogenic index of plasma on incident diabetic kidney disease and retinopathy in participants with type 2 diabetes: A longitudinal cohort study. Lipids Health Dis. 2024;23(1):11.
10.
Zhang H, Wang L, Zhang Q, Song Y, Cai M, Bao J, Yu Q.Non-linear association of triglyceride-glucose index with cardiovascular and all-cause mortality in T2DM patients with diabetic kidney disease: NHANES 2001-2018 retrospective cohort study. Lipids Health Dis. 2024;23(1):253.
11.
Li J, Wang X, Jia W, Wang K, Wang W, Diao W, Ou F, Ma J, Yang Y.Association of the systemic immuno-inflammation index, neutrophil-to-lymphocyte ratio, and platelet-to-lymphocyte ratio with diabetic microvascular complications. Front Endocrinol (Lausanne). 2024;15:1367376.
12.
Basu S, Sussman JB, Berkowitz SA, Hayward RA, Yudkin JS.Development and validation of risk equations for complications of type 2 diabetes (RECODe) using individual participant data from randomised trials. Lancet Diabetes Endocrinol. 2017;5(10):788–798.
13.
Hayes AJ, Leal J, Gray AM, Holman RR, Clarke PM.UKPDS outcomes model 2: A new version of a model to simulate lifetime health outcomes of patients with type 2 diabetes mellitus using data from the 30 year United Kingdom prospective diabetes study: UKPDS 82. Diabetologia. 2013;56(9):1925–1933.
14.
Quan J, Ng CS, Kwok HHY, Zhang A, Yuen YH, Choi CH, Siu SC, Tang SY, Wat NM, Woo J, et al.Development and validation of the CHIME simulation model to assess lifetime health outcomes of prediabetes and type 2 diabetes in Chinese populations: A modeling study. PLOS Med. 2021;18(6):Article e1003692.
15.
Zou LX, Wang X, Hou ZL, Sun L, Lu JT.Machine learning algorithms for diabetic kidney disease risk predictive model of Chinese patients with type 2 diabetes mellitus. Ren Fail. 2025;47(1):2486558.
16.
Sun L, Wu Y, Hua RX, Zou LX.Prediction models for risk of diabetic kidney disease in Chinese patients with type 2 diabetes mellitus. Ren Fail. 2022;44(1):1454–1461.
17.
Yin M, Dong W, Ren L, Han M, Wang G, Wang Y, Gang X.Development and validation of a risk prediction model for diabetic kidney disease in patients with diabetic retinopathy. Front Endocrinol. 2025;16:1499866.
18.
Zou Y, Zhao L, Zhang J, Wang Y, Wu Y, Ren H, Wang T, Zhang R, Wang J, Zhao Y, et al.Development and internal validation of machine learning algorithms for end-stage renal disease risk prediction model of people with type 2 diabetes mellitus and diabetic kidney disease. Ren Fail. 2022;44(1):562–570.
19.
Inker LA, Levey AS, Pandya K, Stoycheff N, Okparavero A, Greene T.Chronic kidney disease epidemiology collaboration (CKD-EPI). Early change in proteinuria as a surrogate end point for kidney disease progression: An individual patient meta-analysis. Am J Kidney Dis. 2014;64(1):74–85.
20.
Tangri N, Peach EJ, Franzén S, Barone S, Kushner PR.Patient management and clinical outcomes associated with a recorded diagnosis of stage 3 chronic kidney disease: The REVEAL-CKD study. Adv Ther. 2023;40(6):2869–2885.
21.
Wang W, Yao W, Tang W, Li Y, Lv Q, Ding W.Nonlinear associations of systemic immune-inflammation index with all-cause and cardiovascular mortality in US adults with rheumatoid arthritis. Sci Rep. 2024;14(1):16639.
22.
Zhu Y, He H, Qiu H, Shen G, Wang Z, Li W.Prognostic value of systemic immune-inflammation index and NT-proBNP in patients with acute ST-elevation myocardial infarction. Clin Interv Aging. 2023;18:397–407.
23.
Yan P, Yang Y, Zhang X, Zhang Y, Li J, Wu Z, Dan X, Wu X, Chen X, Li S, et al.Association of systemic immune-inflammation index with diabetic kidney disease in patients with type 2 diabetes: A cross-sectional study in Chinese population. Front Endocrinol. 2024;14:1307692.
24.
Liu G, Sha W, Wu Y, Luo J, Cai Y, Zhang T, Yang Y.The association between estimated pulse wave velocity and cardio-cerebrovascular disease risk: A cohort study. Eur J Med Res. 2025;30(1):16.
25.
Li QZ, Tan JX, Qin QZ, Ruan GT, Deng T, Gong YZ.Association between arterial stiffness and MASLD in US young adults: Base on NHANES 2005-2018. Am J Prev Cardiol. 2025;22:Article 101003.
26.
Cui X, Shi H, Hu Y, Zhang Z, Lu M, Wu J, Li C.Association between estimated pulse wave velocity and in-hospital and one-year mortality of patients with chronic kidney disease and atherosclerotic heart disease: A retrospective cohort analysis of the MIMIC-IV database. Ren Fail. 2024;46(2):2387932.
27.
Wei S, Pan X, Xiao Y, Wei J.The unique association between estimated pulse wave velocity and the prevalence of diabetic kidney disease: A cross-sectional study. BMC Cardiovasc Disord. 2025;25(1):46.
28.
Feng XH, Chen Y, Chen XQ, Zhao WH.Estimated pulse wave velocity is associated with all-cause mortality and cardiovascular mortality among adults with chronic kidney disease. J Clin Hypertens. 2025;27(1):Article e14971.
29.
Stefan G, Stancu S, Zugravu A, Petre N, Mandache E, Mircescu G.Histologic predictors of renal outcome in diabetic nephropathy: Beyond renal pathology society classification. Medicine. 2019;98(27):Article e16333.
30.
Hu H, Mu X, Zhao S, Yang M, Zhou H.Development of predictive models for progression from diabetic kidney disease to end-stage renal disease in type 2 diabetes mellitus: A retrospective cohort study. Diabetes Metab Syndr Obes. 2025;18:383–398.
31.
Elfenbein IB, Reyes JW.Crescents in diabetic glomerulopathy. Incidence and clinical significance. Lab Invest. 1975;33(6):687–695.
32.
Mottl AK, Gasim A, Schober FP, Hu Y, Dunnon AK, Hogan SL, Jennette JC.Segmental sclerosis and extracapillary hypercellularity predict diabetic ESRD. J Am Soc Nephrol. 2018;29(2):694–703.
33.
Sun L, Duan T, Zhao Q, Xu L, Han Y, Xi Y, Zhu X, He L, Tang C, Fu X, et al.Crescents, an independent risk factor for the progression of type 2 diabetic kidney disease. J Clin Endocrinol Metab. 2022;107(10):2758–2768.
34.
Bae S, Yun D, Lee SW, Jhee JH, Lee JP, Chang TI, Oh J, Kwon YJ, Kim SG, Lee H, et al.Glomerular crescents are associated with the risk of type 2 diabetic kidney disease progression: A retrospective cohort study. BMC Nephrol. 2024;25(1):172.
35.
Levin A, Agarwal R, Herrington WG, Heerspink HL, Mann JFE, Shahinfar S, Tuttle KR, Donner JA, Jha V, Nangaku M, et al.International consensus definitions of clinical trial outcomes for kidney failure: 2020. Kidney Int. 2020;98(4):849–859.
36.
Bakris GL, Agarwal R, Anker SD, Pitt B, Ruilope LM, Rossing P, Kolkhof P, Nowack C, Schloemer P, Joseph A, et al.Effect of finerenone on chronic kidney disease outcomes in type 2 diabetes. N Engl J Med. 2020;383(23):2219–2229.
37.
Riley RD, Snell KI, Archer L, Ensor J, Debray TP, van Calster B, van Smeden M, Collins GS.Evaluation of clinical prediction models (part 3): Calculating the sample size required for an external validation study. BMJ. 2024;384:Article e074821.
38.
Tervaert TW, Mooyaart AL, Amann K, Cohen AH, Cook HT, Drachenberg CB, Ferrario F, Fogo AB, Haas M, de Heer E, et al.Pathologic classification of diabetic nephropathy. J Am Soc Nephrol.. 2010;21(4):556–63.
Year 2026 volume 9 Issue 6
PDF
65
37
Cite this Article
BibTeX
Article Info
doi: 10.34133/research.1337
  • Receive Date:2026-02-24
  • Online Date:2026-10-16
  • Published:2026-06-20
Article Data
Affiliations
History
  • Received:2026-02-24
  • Revised:2026-05-30
  • Accepted:2026-06-02
Affiliations
    1Department of Nephrology, China-Japan Friendship Hospital, Beijing, China.
    2China-Japan Friendship Hospital, Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China.
    3Key Laboratory of Bone Metabolism and Physiology in Chronic Kidney Disease of Hebei Province, Affiliated Hospital of Hebei University, Baoding, Hebei, China.
    4Capital Medical University, Beijing, China.
    5University of Bristol, Bristol, UK.
    6School of Big Data Science, Hebei Finance University, Baoding, Hebei, China.

Corresponding:

* Address correspondence to: (C.Z.);
* Address correspondence to: (S.S.);
* Address correspondence to: (W.L.)
References
Share
https://castjournals.cast.org.cn/joweb/research/EN/10.34133/research.1337
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT