Machine learning-based in-situ detection of toxic petroleum hydrocarbons in groundwater

Monitored natural attenuation is commonly used to manage petroleum hydrocarbon-contaminated groundwater. However, it requires periodic, costly grab sampling. We propose a cost-effective, real-time groundwater monitoring proof-of-concept machine learning (ML) framework using in-situ sensors-pH, dissolved oxygen, electrical conductivity, and redox potential-to detect benzene, ethylbenzene, and xylenes (BEX). We built upon the established correlations between hydrocarbon concentrations and in-situ water quality parameters (iWQPs). Due to limited field data, we validated the framework using datasets at virtual wells within a simulated aquifer from our previously developed reactive transport model. In this application, we detected the spreading of pollution downstream of the established pollution plume. The used framework is a binary classification system that flags contamination at virtual downstream wells. We compared five ML classifiers, i.e. Logistic Regression, Random Forest, XGBoost, Multi-layer Perceptron, and Support Vector Classifier, for early warning when BEX reached or exceeded the regulatory threshold of 5 μg/L. The models were trained on virtual wells at and near the source zone and predicted contamination before BEX reached the threshold at downstream virtual wells. This reflects the spatial variability in flow and reaction dynamics that altered BEX-iWQP relationships. Scenario analyses revealed the ML models' sensitivity to aquifer properties, i.e., hydraulic conductivity, electrical conductivity, and electron acceptor availability. We also assessed the impact of sensor noise and seasonal fluctuations on iWQPs. We found that even moderate levels of noise (10-20 %) can significantly affect model accuracy, particularly when the noise was introduced into the test data. Therefore, we recommended to combine hardware stabilization with adaptive smoothing techniques. With these approaches, our proposed framework remains promising for providing early warnings of plume migration toward sensitive receptors.

Authors

Institutions

Publication Details

Journal
Journal of Contaminant Hydrology
Published
2025-11-03
DOI
https://doi.org/10.1016/j.jconhyd.2025.104771
Primary Topic
Groundwater flow and contamination studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-based in-situ detection of toxic petroleum hydrocarbons in groundwater

C Wu, R. Martijn Wagterveld, Boris M. van Breukelen, L.C. Rietveld
Journal of Contaminant Hydrology
Groundwater flow and contamination studies
article

Machine learning-based in-situ detection of toxic petroleum hydrocarbons in groundwater

C Wu, R. Martijn Wagterveld, Boris M. van Breukelen, L.C. Rietveld
article en

Abstract

Monitored natural attenuation is commonly used to manage petroleum hydrocarbon-contaminated groundwater. However, it requires periodic, costly grab sampling. We propose a cost-effective, real-time groundwater monitoring proof-of-concept machine learning (ML) framework using in-situ sensors-pH, dissolved oxygen, electrical conductivity, and redox potential-to detect benzene, ethylbenzene, and xylenes (BEX). We built upon the established correlations between hydrocarbon concentrations and in-situ water quality parameters (iWQPs). Due to limited field data, we validated the framework using datasets at virtual wells within a simulated aquifer from our previously developed reactive transport model. In this application, we detected the spreading of pollution downstream of the established pollution plume. The used framework is a binary classification system that flags contamination at virtual downstream wells. We compared five ML classifiers, i.e. Logistic Regression, Random Forest, XGBoost, Multi-layer Perceptron, and Support Vector Classifier, for early warning when BEX reached or exceeded the regulatory threshold of 5 μg/L. The models were trained on virtual wells at and near the source zone and predicted contamination before BEX reached the threshold at downstream virtual wells. This reflects the spatial variability in flow and reaction dynamics that altered BEX-iWQP relationships. Scenario analyses revealed the ML models' sensitivity to aquifer properties, i.e., hydraulic conductivity, electrical conductivity, and electron acceptor availability. We also assessed the impact of sensor noise and seasonal fluctuations on iWQPs. We found that even moderate levels of noise (10-20 %) can significantly affect model accuracy, particularly when the noise was introduced into the test data. Therefore, we recommended to combine hardware stabilization with adaptive smoothing techniques. With these approaches, our proposed framework remains promising for providing early warnings of plume migration toward sensitive receptors.

Journal of Contaminant HydrologyVol. 276
Water Technology (Australia) (AU), Delft University of Technology (NL)
Openalex Percentile: Top 70%
Groundwater flow and contamination studies
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.