Back to search

Memorial University of Newfoundland

A transformer-integrated ensemble learning approach for automated classification of medical images

Abstract

dc:description.abstract

Medical image analysis has become an essential component of modern clinical decision support systems, particularly for cancer diagnosis, where early and accurate detection plays a critical role in improving patient outcomes. Breast cancer and melanoma are among the most prevalent and life-threatening cancers worldwide, and medical imaging modalities such as ultrasound and dermoscopic imaging are widely used for their diagnosis due to their non-invasive nature and accessibility. Despite recent advances in deep learning (DL), many existing automated diagnostic systems rely on singlemodel architectures or simple ensemble learning (EL) strategies, which often fail to fully exploit complementary feature representations and global contextual information present in medical images. This thesis proposes a transformer-integrated stacking EL framework for automated medical image classification. The core contribution is a feature-enhanced stacked generalization architecture that integrates heterogeneous DL models, including global context vision transformers (GCViT) and state-of-the-art convolutional neural networks (CNNs) such as ResNet, ConvNeXt, and EfficientNet. Unlike conventional ensemble learning methods that aggregate only prediction probabilities, the proposed framework incorporates high-dimensional deep feature embeddings extracted from a dedicated CNN-based feature extractor and fuses them with base model predictions. These combined representations are subsequently learned by a multi-layer perceptron (MLP) meta-learner to produce the final classification decision. Extensive experiments are conducted on the BreastMNIST ultrasound dataset to evaluate the effectiveness of the proposed approach under class imbalance conditions. The ensemble model achieves superior performance compared to individual CNN and transformer models, attaining an accuracy of 94.23% and an AUC-ROC of 95.47%, with notably improved recall for malignant cases. To assess robustness and generalizability across imaging modalities and cancer types, the framework is further evaluated on a melanoma dermoscopic image dataset, where it achieves an accuracy of 95.4% and an AUC-ROC of 98.71%. Additional ablation studies investigate the impact of feature embedding dimensionality and different feature extractors, demonstrating that feature-level fusion significantly enhances ensemble performance. To improve model transparency and clinical interpretability, this thesis incorporates comprehensive explainable artificial intelligence (XAI) analysis using SHAP, permutation feature importance, and saliency maps. These analyses reveal how the meta-learner adaptively weights base model predictions and feature embeddings, highlighting the dominant contribution of transformer-based global context while leveraging complementary CNN-based local representations. Overall, this research demonstrates that transformer-integrated, feature-enhanced stacking ensembles provide a robust and interpretable solution for automated medical image classification. The findings effectively suggest that combining global contextual understanding with deep feature-level fusion offers a promising direction for developing reliable AI-assisted diagnostic systems suitable for real-world clinical deployment.

Degree

thesis:*
Name thesis:degree_name
M. Eng.
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Grantor dc:publisher
Memorial University of Newfoundland
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Vo, Nghia Trong
Advisors dc:contributor.advisor
  • Duong,Trung Q.
  • Dobre, Octavia A.

Subjects

dc:subject × 10

Rights

Language dc:language.iso
en_ca

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Memorial University of Newfoundland
Base URL
memorial.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Vo, Nghia Trong. A transformer-integrated ensemble learning approach for automated classification of medical images. masters thesis, Memorial University of Newfoundland, 2026. https://doi.org/10.48336/375