KidneyXAI: A Leakage-Free, Explainable Radiomics Pipeline for Multi-Class Kidney CT Pathology Classification and a Grad CAM Deep-Learning Baseline Comparison

Automatedtriageofkidneycomputed-tomography(CT)slicesintoCyst,Normal, Stone,and Tumor categories is complicated in practice by patient-level data leakage, mixed anatomical slice orientations, and severe class imbalance among pathological findings. This paper presents an end-to-end, clinically-oriented pipeline that (i) audits and repairs a public CT-Kidney dataset at the patient-group level to guarantee zero train/validation/test leak- age, (ii) filters scans to standardized 512 ×512 axial slices via a strict dimension-based anatomical gatekeeper, (iii) applies a deterministic preprocessing pipeline (median denoising, CLAHE contrast enhancement, Otsu-based body-silhouette masking, and proportional left/right kidney region-of-interest cropping) to produce 128 ×256 grayscale ROI pairs, and (iv) extracts a 1,565-dimensional classical radiomic feature vector per image combining intensity histograms, Local Binary Pattern (LBP) texture histograms, Gray-Level Co-occurrence Matrix (GLCM) statistics, and shape descriptors. After removing 745 zero- variance features, six to eight classical learners (Linear/RBF SVM, L1/L2-regularized Logistic Regression, Random Forest, XGBoost, and LightGBM) are benchmarked across four experimental trials – a PCA-compressed grid-searched baseline, a SMOTE-free hybrid Se- lectKBest+RFE feature-selection pipeline, an Optuna-tuned probability-threshold pipeline, and a SMOTE-augmented PCA pipeline – as well as a two-stage hierarchical Gatekeeper (Normal-vs-Abnormal)plusSpecialist (Cyst-vs-Stone)architecture anda three-model stacking ensemble. On a strictly patient-disjoint test set of 1,104 images, the best single models reach a macro-F1 of approximately 0.72–0.76 with the minority Stone class remaining the dominant source of error (recall typically 25–44%), while the Gatekeeper stage alone attains 88–99% macro-F1 in separating healthy from pathological tissue. SHAP (SHapley Additive exPlanations) analysis with an exact TreeSHAP explainer shows that GLCM texture featuresdominatethedecisionboundaryforallthreeclasses, with77–100%per-classattribu- tion to the GLCM group. A supplementary Grad-CAM audit of a pretrained DenseNet-121 deep classifier is used purely as a qualitative motivation for anatomical-plane filtering: the heatmap is shown to activate diffusely across a non-axial (coronal) slice, illustrating why plane-agnostic deep pipelines can attend to irrelevant anatomy unless orientation is explicitly controlled. All reported numbers, including negative and borderline results, are taken directly from executed notebook outputs without post-hoc adjustment, in keeping with a policy of honest, reproducible reporting.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-12-02
DOI
https://doi.org/10.21203/rs.3.rs-11879449/v1
Primary Topic
Radiomics and Machine Learning in Medical Imaging
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

KidneyXAI: A Leakage-Free, Explainable Radiomics Pipeline for Multi-Class Kidney CT Pathology Classification and a Grad CAM Deep-Learning Baseline Comparison

Taruna Patel, Aryan Somanna, Ranveer Singh, Jaideep Varma Cherukuri
Research Square
Radiomics and Machine Learning in Medical Imaging
preprint

KidneyXAI: A Leakage-Free, Explainable Radiomics Pipeline for Multi-Class Kidney CT Pathology Classification and a Grad CAM Deep-Learning Baseline Comparison

Taruna Patel, Aryan Somanna, Ranveer Singh, Jaideep Varma Cherukuri
preprint en

Abstract

Automatedtriageofkidneycomputed-tomography(CT)slicesintoCyst,Normal, Stone,and Tumor categories is complicated in practice by patient-level data leakage, mixed anatomical slice orientations, and severe class imbalance among pathological findings. This paper presents an end-to-end, clinically-oriented pipeline that (i) audits and repairs a public CT-Kidney dataset at the patient-group level to guarantee zero train/validation/test leak- age, (ii) filters scans to standardized 512 ×512 axial slices via a strict dimension-based anatomical gatekeeper, (iii) applies a deterministic preprocessing pipeline (median denoising, CLAHE contrast enhancement, Otsu-based body-silhouette masking, and proportional left/right kidney region-of-interest cropping) to produce 128 ×256 grayscale ROI pairs, and (iv) extracts a 1,565-dimensional classical radiomic feature vector per image combining intensity histograms, Local Binary Pattern (LBP) texture histograms, Gray-Level Co-occurrence Matrix (GLCM) statistics, and shape descriptors. After removing 745 zero- variance features, six to eight classical learners (Linear/RBF SVM, L1/L2-regularized Logistic Regression, Random Forest, XGBoost, and LightGBM) are benchmarked across four experimental trials – a PCA-compressed grid-searched baseline, a SMOTE-free hybrid Se- lectKBest+RFE feature-selection pipeline, an Optuna-tuned probability-threshold pipeline, and a SMOTE-augmented PCA pipeline – as well as a two-stage hierarchical Gatekeeper (Normal-vs-Abnormal)plusSpecialist (Cyst-vs-Stone)architecture anda three-model stacking ensemble. On a strictly patient-disjoint test set of 1,104 images, the best single models reach a macro-F1 of approximately 0.72–0.76 with the minority Stone class remaining the dominant source of error (recall typically 25–44%), while the Gatekeeper stage alone attains 88–99% macro-F1 in separating healthy from pathological tissue. SHAP (SHapley Additive exPlanations) analysis with an exact TreeSHAP explainer shows that GLCM texture featuresdominatethedecisionboundaryforallthreeclasses, with77–100%per-classattribu- tion to the GLCM group. A supplementary Grad-CAM audit of a pretrained DenseNet-121 deep classifier is used purely as a qualitative motivation for anatomical-plane filtering: the heatmap is shown to activate diffusely across a non-axial (coronal) slice, illustrating why plane-agnostic deep pipelines can attend to irrelevant anatomy unless orientation is explicitly controlled. All reported numbers, including negative and borderline results, are taken directly from executed notebook outputs without post-hoc adjustment, in keeping with a policy of honest, reproducible reporting.

Research Square
SRM Institute of Science and Technology (IN), Tata Consultancy Services (India) (IN)
Radiomics and Machine Learning in Medical Imaging
AI Navigator

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

Summarize Papers & Methodologies

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

Benchmark Rankings & Visual Analytics

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

Connect Distant Disciplines

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

Laika access coming soon