Enhancing AI microscopy for foodborne bacterial classification using adversarial domain adaptation to address optical and biological variability

AI-enabled microscopy is emerging for rapid bacterial classification, yet its utility remains limited in dynamic or resource-limited settings due to imaging variability. This study aims to enhance the generalizability of AI microscopy using domain adaptation techniques. Six bacterial species, including three Gram-positive (<i>Bacillus coagulans, Bacillus subtilis, Listeria innocua</i>) and three Gram-negative (<i>Escherichia coli, Salmonella</i> Enteritidis, <i>Salmonella</i> Typhimurium), were grown into microcolonies on soft tryptic soy agar plates at 37°C for 3-5 h. Images were acquired under varying microscopy modalities and magnifications. Domain-adversarial neural networks (DANNs) addressed single-target domain variations and multi-DANNs (MDANNs) handled multiple domains simultaneously. EfficientNetV2 backbone provided fine-grained feature extraction suitable for small targets, with few-shot learning enhancing scalability in data-limited domains. The source domain contained 105 images per species (<i>n</i> = 630) collected under optimal conditions (phase contrast, 60 × magnification, 3-h incubation). Target domains introduced variations in modality (brightfield, BF), lower magnification (20 × ), and extended incubation (20x-5h), each with < 5 labeled training images per species (<i>n</i> ≤ 30) and test datasets of 60-90 images. DANNs improved target domain classification accuracy by up to 54.5% for 20 × (34.4% to 88.9%), 43.3% for 20x-5h (40.0% to 83.3%), and 31.7% for BF (43.4% to 73.3%), with minimal accuracy loss in the source domain. MDANNs further improved accuracy in the BF domain from 73.3% to 76.7%. Feature visualizations by Grad-CAM and t-SNE validated the model's ability to learn domain-invariant features across conditions. This study presents a scalable and adaptable framework for bacterial classification, extending the utility of microscopy to decentralized and resource-limited settings where imaging variability often challenges performance.

Authors

Institutions

Publication Details

Journal
Frontiers in Artificial Intelligence
Published
2025-08-12
DOI
https://doi.org/10.3389/frai.2025.1632344
Citations
2
Primary Topic
Image Processing Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.27

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing AI microscopy for foodborne bacterial classification using adversarial domain adaptation to address optical and biological variability

Nitin Nitin, J. Mason Earles, Jiyoon Yi, Siddhartha Bhattacharya et al.
2 citations
Frontiers in Artificial Intelligence
Image Processing Techniques and Applications
2.27
article

Enhancing AI microscopy for foodborne bacterial classification using adversarial domain adaptation to address optical and biological variability

Nitin Nitin, J. Mason Earles, Jiyoon Yi, Siddhartha Bhattacharya, Aarham Wasit
article en
2 citations

Abstract

AI-enabled microscopy is emerging for rapid bacterial classification, yet its utility remains limited in dynamic or resource-limited settings due to imaging variability. This study aims to enhance the generalizability of AI microscopy using domain adaptation techniques. Six bacterial species, including three Gram-positive (<i>Bacillus coagulans, Bacillus subtilis, Listeria innocua</i>) and three Gram-negative (<i>Escherichia coli, Salmonella</i> Enteritidis, <i>Salmonella</i> Typhimurium), were grown into microcolonies on soft tryptic soy agar plates at 37°C for 3-5 h. Images were acquired under varying microscopy modalities and magnifications. Domain-adversarial neural networks (DANNs) addressed single-target domain variations and multi-DANNs (MDANNs) handled multiple domains simultaneously. EfficientNetV2 backbone provided fine-grained feature extraction suitable for small targets, with few-shot learning enhancing scalability in data-limited domains. The source domain contained 105 images per species (<i>n</i> = 630) collected under optimal conditions (phase contrast, 60 × magnification, 3-h incubation). Target domains introduced variations in modality (brightfield, BF), lower magnification (20 × ), and extended incubation (20x-5h), each with < 5 labeled training images per species (<i>n</i> ≤ 30) and test datasets of 60-90 images. DANNs improved target domain classification accuracy by up to 54.5% for 20 × (34.4% to 88.9%), 43.3% for 20x-5h (40.0% to 83.3%), and 31.7% for BF (43.4% to 73.3%), with minimal accuracy loss in the source domain. MDANNs further improved accuracy in the BF domain from 73.3% to 76.7%. Feature visualizations by Grad-CAM and t-SNE validated the model's ability to learn domain-invariant features across conditions. This study presents a scalable and adaptable framework for bacterial classification, extending the utility of microscopy to decentralized and resource-limited settings where imaging variability often challenges performance.

Frontiers in Artificial IntelligenceVol. 8
University of California, Davis (US), Michigan State University (US)
National Science Foundation, U.S. Department of Agriculture, Michigan State University, National Institute of Food and Agriculture, College of Engineering, Michigan State University
Responsible consumption and production
Openalex Percentile: Top 10%
Image Processing Techniques and Applications
2.27
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.