StackLiverNet: A Novel Stacked Ensemble Model for Accurate and Interpretable Liver Disease Detection

  • 2025-08-04 09:05:52
  • Md. Ehsanul Haque, S. M. Jahidul Islam, Shakil Mia, Rumana Sharmin, Ashikuzzaman, Md Samir Morshed, Md. Tahmidul Huque
  • 0

Abstract

Liver diseases are a serious health concern in the world, which requiresprecise and timely diagnosis to enhance the survival chances of patients. Thecurrent literature implemented numerous machine learning and deep learningmodels to classify liver diseases, but most of them had some issues like highmisclassification error, poor interpretability, prohibitive computationalexpense, and lack of good preprocessing strategies. In order to address thesedrawbacks, we introduced StackLiverNet in this study; an interpretable stackedensemble model tailored to the liver disease detection task. The framework usesadvanced data preprocessing and feature selection technique to increase modelrobustness and predictive ability. Random undersampling is performed to dealwith class imbalance and make the training balanced. StackLiverNet is anensemble of several hyperparameter-optimized base classifiers, whosecomplementary advantages are used through a LightGBM meta-model. The providedmodel demonstrates excellent performance, with the testing accuracy of 99.89%,Cohen Kappa of 0.9974, and AUC of 0.9993, having only 5 misclassifications, andefficient training and inference speeds that are amenable to clinical practice(training time 4.2783 seconds, inference time 0.1106 seconds). Besides, LocalInterpretable Model-Agnostic Explanations (LIME) are applied to generatetransparent explanations of individual predictions, revealing highconcentrations of Alkaline Phosphatase and moderate SGOT as importantobservations of liver disease. Also, SHAP was used to rank features by theirglobal contribution to predictions, while the Morris method confirmed the mostinfluential features through sensitivity analysis.

 

Quick Read (beta)

loading the full paper ...