Deep learning has achieved progress in medical image analysis, yet high computation of CNN and Transformer models limits deployment. This study introduces GEM-Net, a novel ultra-lightweight architecture for histopathological image classification. GEM-Net integrates three key innovations: (i) Ultra-Lightweight Ghost modules, which generate redundant feature maps inexpensively, (ii) a Micro-ECA attention mechanism, which adaptively calibrates channel responses using minimal parameters, and (iii) depthwise separable convolutions within compact residual Micro-Blocks, reducing computation while preserving representational power. Unlike prior lightweight models that apply efficiency modules independently, GEM-Net adopts an attention-regulated feature-economy design that tightly couples lightweight feature generation, capacity-aware channel recalibration, and compensatory multi-stage feature fusion. A knowledge distillation strategy further compresses the model, transferring knowledge from a 972.3K-parameter teacher to a 29.26K-parameter student with negligible accuracy loss. Extensive evaluations on five datasets–HER2-IHC (private), CRC100K, Kather-texture-2016, Chaoyang, and LC25000–demonstrate state-of-the-art or near state-of-the-art performance. GEM-Net achieves perfect accuracy on LC25000 and over 96% accuracy on HER2-IHC, CRC100K, and Kather, while outperforming most models on the challenging Chaoyang dataset. GEM-Net scales different variants for edge and server deployment. In addition, explainable AI techniques, including Grad-CAM++ and Integrated Gradients, provide interpretable visual and attribution-based explanations, enhancing transparency and clinical trust.
Computer-aided systems can assist doctors in detecting cancer at an early stage using medical image analysis. In estrogen receptor immunohistochemistry (ER-IHC)-stained whole-slide images, automated cell identification and segmentation are helpful in the prediction scoring of hormone receptor status, which aids pathologists in determining whether to recommend hormonal therapy or other therapies for a patient. Accurate scoring can be achieved with accurate segmentation and classification of the nuclei. This paper presents two main objectives: first is to identify the top three models for this classification task and establish an ensemble model, all using 10-fold cross-validation strategy; second is to detect recurring misclassifications within the dataset to identify “misclassified nuclei” or “incorrectly labeled nuclei” for the nuclei class ground truth. The classification task is carried out using 32 pre-trained deep learning models from Keras Applications, focusing on their effectiveness in classifying negative, weak, moderate, and strong nuclei in the ER-IHC histopathology images. An ensemble learning with logistic regression approach is employed for the three best models. The analysis reveals that the top three performing models are EfficientNetB0, EfficientNetV2B2, and EfficientNetB4 with an accuracy of 94.37%, 94.36%, and 94.29%, respectively, and the ensemble model’s accuracy is 95%. We also developed a web-based platform for the pathologists to rectify the “faulty-class” nuclei in the dataset. The complete flow of this work can benefit the field of medical image analysis especially when dealing with intra-observer variability with a large number of images for ground truth validation.