HieroBact: clinically coherent hierarchical bacterial classification from Gram-stained images
Gram-stained microscopy provides rapid preliminary evidence for clinical microbiology, but most deep learning systems still classify bacterial species as a flat label set and therefore ignore the Gram-reaction and morphology hierarchy that guides early antimicrobial decisions. This paper presents HieroBact, a hierarchical multi-task learning (MTL) framework that jointly predicts Gram reaction, cellular morphology, and species identity using DIBaS-Tax annotations, an image-only feature-fusion backbone, and a hierarchically conditioned loss (HC-Loss) that reduces species-level supervision when coarse-level confidence is unreliable. Under 5-fold cross validation on DIBaS-Tax, HieroBact achieves 99.1% Gram-level, 97.8% morphology-level, and 97.2% species-level accuracy, while reducing clinically unsafe Gram-level misclassifications from 28.8% to 5.7% compared with a strong flat baseline. The results show that explicitly modelling bacterial taxonomy improves not only recognition accuracy but also the clinical coherence and interpretability of model errors, making HieroBact a practical step toward safer diagnostic-support systems for preliminary laboratory decision making and subsequent confirmation by trained clinical microbiologists.
Authors
- Dianni Yusuf (ORCID: https://orcid.org/0000-0002-3668-8703)
- Lutfi Hakim (ORCID: https://orcid.org/0000-0001-6691-1550)
- Sepyan Purnama Kristanto (ORCID: https://orcid.org/0000-0002-9073-263X)
- Moh. Erdda Habiby
Institutions
- Binus University (ID)
- Politeknik Negeri Banyuwangi (ID)
Publication Details
- Journal
- TELKOMNIKA (Telecommunication Computing Electronics and Control)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.12928/telkomnika.v24i6.28022
- Primary Topic
- Cell Image Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00