Application of few-shot learning and transfer learning based on YOLOv6 in the recognition of bacteria in sputum M-ROSE

Background: Rapid pathogen identification is essential for guiding timely and appropriate antimicrobial therapy in severe pulmonary infections. Microbiological rapid on-site evaluation (M-ROSE) can provide preliminary etiological information at the bedside, but its interpretation is labor intensive and highly dependent on experienced clinicians or microbiologists. This study aimed to develop and evaluate a deep learning framework for bacterial identification in sputum M-ROSE smears under limited annotated data conditions. Methods: A total of 161 Gram-stained sputum M-ROSE images containing Acinetobacter baumannii, Klebsiella pneumoniae, and Pseudomonas aeruginosa were collected using a digital scanner. Thirty annotated images were used to construct Dataset N, which was divided into a training set and a validation set at a ratio of 8:2. A deep learning model based on the YOLOv6 architecture was developed using transfer learning and few-shot learning. In addition to conventional data augmentation, two customized strategies-rotation cutting and image fusion-were introduced to enhance the detection of extremely small bacterial targets. The remaining 131 images were used as an independent testing set. Model performance was evaluated using recall, precision, F1 score, mean average precision (mAP), accuracy, and diagnostic time. Results: The best-performing model achieved 89.31% recall, 84.23% precision, an F1 score of 0.8670, and an mAP of 0.817 on the validation set. On the independent test set, the model achieved 93.89% accuracy. In addition, the model required substantially less time for image interpretation than the participating clinicians. Conclusion: The proposed YOLOv6-based framework showed good performance for bacterial identification in sputum M-ROSE smears under limited annotated data conditions. These findings support the feasibility of applying data-efficient deep learning strategies to real-world clinical microbiological images and suggest potential utility in rapid microbiological diagnosis.

Authors

Institutions

Publication Details

Journal
Frontiers in Cellular and Infection Microbiology
Published
2026-04-22
DOI
https://doi.org/10.3389/fcimb.2026.1791986
Primary Topic
Image Processing Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Application of few-shot learning and transfer learning based on YOLOv6 in the recognition of bacteria in sputum M-ROSE

M Zhang, Xiaoping Huang, Long Cao, Ying Liu et al.
Frontiers in Cellular and Infection Microbiology
Image Processing Techniques and Applications
article

Application of few-shot learning and transfer learning based on YOLOv6 in the recognition of bacteria in sputum M-ROSE

M Zhang, Xiaoping Huang, Long Cao, Ying Liu, Yan Huang, An Liu, Hongchen Xue
article en

Abstract

Background: Rapid pathogen identification is essential for guiding timely and appropriate antimicrobial therapy in severe pulmonary infections. Microbiological rapid on-site evaluation (M-ROSE) can provide preliminary etiological information at the bedside, but its interpretation is labor intensive and highly dependent on experienced clinicians or microbiologists. This study aimed to develop and evaluate a deep learning framework for bacterial identification in sputum M-ROSE smears under limited annotated data conditions. Methods: A total of 161 Gram-stained sputum M-ROSE images containing Acinetobacter baumannii, Klebsiella pneumoniae, and Pseudomonas aeruginosa were collected using a digital scanner. Thirty annotated images were used to construct Dataset N, which was divided into a training set and a validation set at a ratio of 8:2. A deep learning model based on the YOLOv6 architecture was developed using transfer learning and few-shot learning. In addition to conventional data augmentation, two customized strategies-rotation cutting and image fusion-were introduced to enhance the detection of extremely small bacterial targets. The remaining 131 images were used as an independent testing set. Model performance was evaluated using recall, precision, F1 score, mean average precision (mAP), accuracy, and diagnostic time. Results: The best-performing model achieved 89.31% recall, 84.23% precision, an F1 score of 0.8670, and an mAP of 0.817 on the validation set. On the independent test set, the model achieved 93.89% accuracy. In addition, the model required substantially less time for image interpretation than the participating clinicians. Conclusion: The proposed YOLOv6-based framework showed good performance for bacterial identification in sputum M-ROSE smears under limited annotated data conditions. These findings support the feasibility of applying data-efficient deep learning strategies to real-world clinical microbiological images and suggest potential utility in rapid microbiological diagnosis.

Frontiers in Cellular and Infection MicrobiologyVol. 16
Soochow University (TW), Soochow University (CN), First Affiliated Hospital of Soochow University (CN)
Decent work and economic growth
Openalex Percentile: Top 19%
Image Processing Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.