Effect of training sample size, image resolution and epochs on filamentous and floc-forming bacteria classification using machine learning

Computer vision techniques can expedite the detection of bacterial growth in wastewater treatment plants and alleviate some of the shortcomings associated with traditional detection methods. In recent years, researchers capitalized on this potential by developing segmentation algorithms that were specifically tailored to identify the overgrowth of filamentous bacteria and the risk of sludge bulking. This study investigated the optimization of an artificial intelligence (AI) segmentation model in terms of accuracy metrics and computational requirements. Specifically, three model variables were tested, including training sample size, image resolution, and number of training epochs. The results indicated that larger sample sizes resulted in higher output accuracy up to a certain limit (300 images), beyond which no significant improvements were observed. High image resolution (788 × 530) provided more details for the deep learning model to detect the fine edges between bacteria albeit with significant additional computational requirements. The addition of more training epochs resulted in a minor increase in segmentation accuracy, particularly for thin interconnected filamentous bacteria. Overall, high resolution and epochs did not have a major effect when the sample size was large (300 and 500 images). The findings highlight the optimal balance between model accuracy and computational demands, emphasizing the importance of prioritizing diverse training samples with sufficient sample size. This approach is critical for large-scale implementation, as it enhances the potential of AI to deliver timely and accurate predictions, leading to early warnings of wastewater treatment issues such as sludge bulking.

Authors

Institutions

Publication Details

Journal
Journal of Environmental Management
Published
2025-03-08
DOI
https://doi.org/10.1016/j.jenvman.2025.124803
Citations
6
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
10.50

Funders

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

Effect of training sample size, image resolution and epochs on filamentous and floc-forming bacteria classification using machine learning

Sama Alani, Zebo Long, Sylvain Donnaz, Younggy Kim et al.
6 citations
Journal of Environmental Management
Smart Agriculture and AI
10.50
article

Effect of training sample size, image resolution and epochs on filamentous and floc-forming bacteria classification using machine learning

Sama Alani, Zebo Long, Sylvain Donnaz, Younggy Kim, Hui Guo, Sheila Fyfe
article en
6 citations

Abstract

Computer vision techniques can expedite the detection of bacterial growth in wastewater treatment plants and alleviate some of the shortcomings associated with traditional detection methods. In recent years, researchers capitalized on this potential by developing segmentation algorithms that were specifically tailored to identify the overgrowth of filamentous bacteria and the risk of sludge bulking. This study investigated the optimization of an artificial intelligence (AI) segmentation model in terms of accuracy metrics and computational requirements. Specifically, three model variables were tested, including training sample size, image resolution, and number of training epochs. The results indicated that larger sample sizes resulted in higher output accuracy up to a certain limit (300 images), beyond which no significant improvements were observed. High image resolution (788 × 530) provided more details for the deep learning model to detect the fine edges between bacteria albeit with significant additional computational requirements. The addition of more training epochs resulted in a minor increase in segmentation accuracy, particularly for thin interconnected filamentous bacteria. Overall, high resolution and epochs did not have a major effect when the sample size was large (300 and 500 images). The findings highlight the optimal balance between model accuracy and computational demands, emphasizing the importance of prioritizing diverse training samples with sufficient sample size. This approach is critical for large-scale implementation, as it enhances the potential of AI to deliver timely and accurate predictions, leading to early warnings of wastewater treatment issues such as sludge bulking.

Journal of Environmental ManagementVol. 379
Suez (Canada) (CA), McMaster University (CA)
Natural Sciences and Engineering Research Council of Canada, Global Water Futures
Openalex Percentile: Top 2%
Smart Agriculture and AI
10.50
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.