Uncertainty-Aware Explainable 3D Machine Learning for Automated Pfirrmann Grading
Mohammad R. HassanDepartment of Communications and Computer Engineering, Faculty of Engineering, Al-Ahliyya Amman University, Amman, Jordan mhassan@ammanu.edu.jo0000-0002-2635-2181
Feras AlnaimatDepartment of Medical Engineering, Faculty of Engineering, Al-Ahliyya Amman University, Amman, Jordan. f.alnaimat@ammanu.edu.jo0000-0003-0397-1075
Hamza Abu OwidaDepartment of Medical Engineering, Faculty of Engineering, Al-Ahliyya Amman University, Amman, Jordan. h.abuowida@ammanu.edu.jo0000-0001-6943-6134
Qasem KharmaDepartment of Software Engineering, Faculty of Information Technology, Al-Ahliyya Amman University, Amman, Jordan. q.kharma@ammanu.edu.jo0000-0001-9763-6029
Dr. Basem Abu IZneidRobotics and Artificial Intelligence Engineering, Faculty of Engineering, Al-Ahliyya Amman University, Amman, Jordan. b.izneid@ammanu.edu.jo0000-0001-7086-7003
Raheel AhmadPak-Austria Fachhochschule Institute of Applied Sciences and Technology, Khyber Pakhtunkhwa (KPK), Pakistan. raheel.ah327@gmail.com0009-0002-1294-2903
Automated Pfirrmann grading is difficult because neighboring degeneration grades, especially intermediate grades, can overlap in appearance. The purpose of this study was to propose an uncertainty-aware, explainable, lightweight 3D machine-learning framework for five-grade lumbar disc classification. The public multicenter SPIDER dataset consisted of 218 patients and 1,506 discs, of which 1,194 were used for development and 312 from 45 patients for patient-disjoint internal evaluation. Thirty whole-disc morphological and intensity descriptors were expanded to 123 patient-relative descriptors and modelled with LightGBM, CatBoost, Extra Trees, and patient-relative CatBoost, with development-only out-of-fold ensemble weighting. Performance was assessed using accuracy, macro-F1, MCC, QWK, macro-AUROC, macro-AUPRC, patient-level bootstrap confidence intervals, ordinal error, uncertainty, selective prediction, and SHAP/LIME explainability. The final ensemble achieved macro-AUROC 0.860, QWK 0.728, and 91.99% within ±1 grade; the explainability CatBoost achieved macro-AUROC 0.871. Compared with Patil et al., macro-AUROC was 0.013 lower than the best reported result but numerically 0.0078 and 0.0038 higher than the reported 200-variable and 3,654-variable representations, using 38.5% and 96.6% fewer variables, respectively. Selective prediction improved retained-case accuracy by 18.57 percentage points when coverage was reduced from 100% to 40%. PG3 remained the main difficulty, linking adjacent errors with higher uncertainty and more diffuse explanations. Patient-level bootstrap resampling preserved within-patient dependence, and ordinal analysis distinguished adjacent from larger grading errors. Correct predictions showed higher mean confidence than incorrect predictions, while PG3 showed the highest average predictive entropy. These findings support a reliability-focused decision-support interpretation in which difficult cases can be identified for additional review rather than treating every automated grade as equally certain.