MARATTO

article · Scientific Reports

Deep learning framework for mapping nitrate pollution in coastal aquifers under land use pressure

20257 citationsOpen accessAbdelmalek Essaâdi University

Abstract

Diffuse nitrate (NO₃−) contamination is a critical environmental concern threatening the quality of coastal groundwater resources, particularly in regions undergoing agricultural intensification and rapid land use changes. This study presents an explainable deep learning framework for predicting nitrate concentrations and identifying areas at risk of elevated contamination. The framework integrates key hydrochemical parameters electrical conductivity (EC), chloride (Cl−), organic matter (OM), and fecal coliforms (FC) with remote-sensing derived indicators, including the Normalized Difference Vegetation Index (NDVI) and land use/land cover (LU/LC). Two deep learning models were evaluated in this study: a Multilayer Perceptron (MLP) and TabNet, a novel attention-based architecture for interpretable tabular data. TabNet outperformed MLP, achieving an overall accuracy of 81.60% and a Macro-averaged recall of 84.13%, while providing transparent feature attribution. LASSO regression identified FC (0.52) and EC (0.48) as dominant predictors, highlighting the combined influence of domestic wastewater and agricultural runoff on nitrate contamination. The output risk maps revealed spatially heterogeneous contamination patterns, with hotspots concentrated in agricultural and peri-urban areas. This research highlights the importance of integrating explainable AI with geospatial analysis to guide targeted groundwater monitoring and management strategies. This approach is transferable to other vulnerable coastal aquifers, supporting sustainable groundwater governance under diffuse pollution conditions.

Research topics

  • Hydrological Forecasting Using AI
  • Groundwater and Isotope Geochemistry
  • Water Quality Monitoring Technologies

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1038/s41598-025-18996-7

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.