Optimized soft-voting CNN ensemble using particle swarm optimization for endometrial cancer histopathology classification

Firas Ibrahim AlZobi, Khalid Mansour, Ahmad Nawaf Nasayreh, Ghassan Samara, Neda’a Alsalman, Ayah A. Bashkami, Aseel Smerat, Khalid M.O. Nahar · Computer Methods and Programs in Biomedicine Update · 2025

The heterogeneity of endometrial cancer tissue presents a significant obstacle to accurate automated classification using histopathological images. While ensemble methods are a promising alternative to single Convolutional Neural Networks (CNNs), we introduce PSO-SV (Particle Swarm Optimization–Soft Voting), a novel framework that adaptively fuses the outputs of MobileNetV2, VGG19, DenseNet121, Swin Transformer, and Vision Transformer (ViT). Our key innovation is the use of Particle Swarm Optimization to dynamically determine the optimal contribution of each model in a soft-voting ensemble. We validated PSO-SV on two datasets, the first one consists from 11,977 tiles from 95 whole-slide images (WSIs) obtained from The Cancer Genome Atlas Uterine Corpus Endometrial Carcinoma (TCGA-UCEC) project, the other dataset consists of 3,302 images from 498 patients, which are categorized into four classes. The proposed framework achieved outstanding results, including 99.67% accuracy, a 99.67% F1-score, and an Area Under the Curve (AUC) of 99.9% on the first dataset and 99% for all metrics for the second dataset. It consistently outperformed all three individual CNNs and a traditional hard-voting ensemble, highlighting its ability to synergistically combine complementary model strengths. The PSO-SV framework offers a powerful and clinically promising approach for robust endometrial cancer classification.

Read the paper · More papers on PaperTik