Automated microbial recognition from gram-stained micrographs via CNN and metadata decision support
Azime Erarslan, Fatih Ciftci, Javad Rahebi
Bioengineering Center · Fatih Sultan Mehmet Waqf University
Key points
From the paper's conclusion- This study presents an automated species-level bacterial classification pipeline that couples deep learning analysis of Gram-stained microscopy images with a clinical decision-support framework fueled by a curated microbiological metadata repository.
Abstract
Introduction Accurate and timely identification of microorganisms is critical for guiding clinical decision-making, ensuring biosafety, and supporting microbiological research. Standard morphological assessments often require significant manual effort and specialized expertise, underscoring the need for automated, high-throughput diagnostic tools. This study presents an automated species-level bacterial classification pipeline that couples deep learning analysis of Gram-stained microscopy images with a clinical decision-support framework fueled by a curated microbiological metadata repository. Methods A convolutional neural network (CNN) was trained on 2,034 brightfield microscopy images representing 33 bacterial species of clinical and industrial relevance across diverse taxa and imaging conditions. Preprocessing protocols included intensity normalization, spatial resizing, and on-the-fly data augmentation to ensure generalization. The preprocessed inputs were evaluated using a sequential CNN architecture optimized for multiscale feature extraction. The pipeline subsequently linked visual model predictions to an integrated repository containing eight laboratory-relevant metadata attributes per species, including Gram status, cellular morphology, oxygen requirement, biosafety level, and pathogenicity profiles. Results On an independent test set, the classification model demonstrated balanced diagnostic capability, achieving an accuracy of 0.84, a weighted F1-score of 0.84, and a Matthews correlation coefficient of 0.84 across all target classes. Morphologically distinctive species, including Actinomyces israelii, Candida albicans , and Neisseria gonorrhoeae , were classified with perfect precision and recall (1.00). Conversely, species exhibiting high intra-genus morphological overlap, particularly within the Lactobacillus genus, demonstrated comparatively lower classification metrics due to shared phenotypic traits under light microscopy. Discussion Coupling deep learning classification with contextual microbiological metadata yields standardized, interpretable diagnostic reports that bridge the gap between pure image recognition and actionable clinical intelligence. While morphological convergence remains a limitation for certain closely related taxa, the integration of structured metadata offers a reliable decision-support mechanism for laboratory and educational environments. This automated framework establishes a foundation for multimodal diagnostic pipelines that can incorporate biochemical assays, spectroscopic data, and expanded clinical cohorts in prospective validation studies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- State-of-the-art in automated image-based species identification systems.Frontiers in cellular and infection microbiology · 2026
- SC-MAPS: Image-based deep learning for bacterial identification and antibiotic-susceptibility testingmedRxiv · 2026
- Development of a clinical microbiology web application for Gram-positive and Gram-negative bacteria classificationSHS Web of Conferences · 2026
- Bridging Clinical Microbiology and Artificial Intelligence: An Image-Based Deep Learning Framework for Automated Antimicrobial Susceptibility TestingBiomedical Journal · 2026
- Rapid Bacterial Typing via Fluorescence Differential Staining and Deep Learning.Analytical chemistry · 2026
- Interpretable detection-based image classification for differential diagnosis of vaginal discharge using smartphone-assisted microscopy.Frontiers in artificial intelligence · 2026