EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Swarm-Optimized Explainable Attention–Transformer Networks for Bacterial Colony Segmentation and Quantification

Najla Sassi, Moulay Ibrahim El-Khalil Ghembaza

Mathematics · 12.06.2026 · 14 (12) · 2104

DOI: 10.3390/math14122104 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Mathematics, online erschienen am 12.06.2026. Verfasst von Najla Sassi und 1 weiteren Autor:innen. Die Arbeit nennt 35 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: King Faisal University.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

For microbiological diagnostics, accurately counting and segmenting microbial colonies is extremely important. However, manual methods are labor-intensive and yield inconsistent results. We develop a hybrid model using swarm intelligence, combining a convolutional transformer with nested skip connections and global context with channel and spatial attention. Parameter tuning is supported by a variety of swarm optimization algorithms (e.g., Particle Swarm Optimization, Quantum-behaved Particle Swarm Optimization, and Differential Evolution Particle Swarm Optimization). Morphological refinement, including a further watershed transform, an attention graph, and post-processing, enhances colony boundaries by separating them. Grad-CAM++, Integrated Gradients, and temperature scaling provide a transparent and trustworthy model through explainability and post hoc calibration. The proposed model was extensively tested on the Microbial Colony Recognition and Circular Bacterial Colony Datasets, achieving a Dice score of 94.2%, an Intersection over the Union of 88.6%, and a mean absolute counting error of 2.7 colonies. These results significantly outperform several baseline models, including U-Net (88.1%), U-Net++ (89.7%), Attention U-Net (90.6%), and Swin-Unet (91.4%). Statistically significant improvements were confirmed (p < 0.01). A cross-dataset analysis demonstrates the framework’s robustness and cross-domain applicability, and positions it as a trustworthy, explainable automated model for assessing microbial colonies in laboratory and clinical settings.

Förderung

  • King Faisal University

Zitieren

APA

Sassi, N., & Ghembaza, M. I. E. (2026). Swarm-Optimized Explainable Attention–Transformer Networks for Bacterial Colony Segmentation and Quantification. Mathematics, 14(12), 2104. https://doi.org/10.3390/math14122104

Vancouver

Sassi N, Ghembaza MIE. Swarm-Optimized Explainable Attention–Transformer Networks for Bacterial Colony Segmentation and Quantification. Mathematics. 2026;14(12):2104. doi:10.3390/math14122104

BibTeX
@article{Sassi2026,
  author = {Sassi, Najla and Ghembaza, Moulay Ibrahim El-Khalil},
  title = {Swarm-Optimized Explainable Attention–Transformer Networks for Bacterial Colony Segmentation and Quantification},
  journal = {Mathematics},
  year = {2026},
  volume = {14},
  number = {12},
  pages = {2104},
  doi = {10.3390/math14122104}
}
Kostenlos starten →