Machine Learning, Generalization, and Transfer Learning for Predicting the Exceedance of Fecal Indicator Bacteria Thresholds at Beaches

Beach water testing for fecal indicator bacteria (FIB) is a key element of public health protection for beachgoers. Because the process can be expensive and time-consuming, many beaches are infrequently monitored, putting the health of the public at risk. Machine learning (ML) models using large sets of FIB, weather, and other types of environmental data have been applied to predict FIB levels at beaches. If ML models developed using data from frequently monitored beaches in one location could be effectively applied to another location (referred to as "generalization"), public health protections could be easily extended to those infrequently monitored beaches. We found that source to target generalization augmented by transfer learning (TL) can predict FIB threshold exceedance with a specificity of 0.70 to 0.81 and sensitivity ranging from 0.28 to 0.76, depending on the beaches and TL methods. This degree of specificity and the high end of the sensitivity range are comparable to the performance of regression and ML models developed by using data from a given beach and applied to that same beach. With the addition of TL, we observed statistically significant improvements in model performance over source to target generalization, with increases of 28.3% in WF1 scores and 5.4% in AUC. Future research into optimizing the selection of data-rich source beaches for developing models that can be applied to a given target beach may further improve transfer learning.

Authors

Institutions

Publication Details

Journal
Environmental Science & Technology
Published
2025-10-15
DOI
https://doi.org/10.1021/acs.est.5c02835
Primary Topic
Fecal contamination and water quality
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning, Generalization, and Transfer Learning for Predicting the Exceedance of Fecal Indicator Bacteria Thresholds at Beaches

Megan Kowalcyk, A Abd Elahi, Abhilasha Shrestha, David Shumway et al.
Environmental Science & Technology
Fecal contamination and water quality
article

Machine Learning, Generalization, and Transfer Learning for Predicting the Exceedance of Fecal Indicator Bacteria Thresholds at Beaches

Megan Kowalcyk, A Abd Elahi, Abhilasha Shrestha, David Shumway, Doina Caragea, Samuel Dorevitch, Cornelia Caragea
article en

Abstract

Beach water testing for fecal indicator bacteria (FIB) is a key element of public health protection for beachgoers. Because the process can be expensive and time-consuming, many beaches are infrequently monitored, putting the health of the public at risk. Machine learning (ML) models using large sets of FIB, weather, and other types of environmental data have been applied to predict FIB levels at beaches. If ML models developed using data from frequently monitored beaches in one location could be effectively applied to another location (referred to as "generalization"), public health protections could be easily extended to those infrequently monitored beaches. We found that source to target generalization augmented by transfer learning (TL) can predict FIB threshold exceedance with a specificity of 0.70 to 0.81 and sensitivity ranging from 0.28 to 0.76, depending on the beaches and TL methods. This degree of specificity and the high end of the sensitivity range are comparable to the performance of regression and ML models developed by using data from a given beach and applied to that same beach. With the addition of TL, we observed statistically significant improvements in model performance over source to target generalization, with increases of 28.3% in WF1 scores and 5.4% in AUC. Future research into optimizing the selection of data-rich source beaches for developing models that can be applied to a given target beach may further improve transfer learning.

Environmental Science & TechnologyVol. 59(42)
Chicago Department of Public Health (US), Kansas State University (US), University of Illinois Chicago (US), Institute for Environmental Policy (CZ), Department of Physics, Mathematics and Informatics (BY)
Openalex Percentile: Top 73%
Fecal contamination and water quality
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.