Related Experiment Video
Updated: Jan 9, 2026

Investigating the Relationship between Sea Surface Chlorophyll and Major Features of the South China Sea with Satellite Information
Published on: June 13, 2020
Explainable and causal machine learning to investigate the spatiotemporal dynamics patterns of coastal water quality
Hanwen Zhang1, Yiyan Li1, Mengyao Li1
1Department of Geography, The University of Hong Kong, Hong Kong, Hong Kong SAR, China; The University of Hong Kong Shenzhen Institute of Research and Innovation, Shenzhen, China.
Abstract:
Coastal marine water quality emerges from complex and dynamic feedbacks between natural processes and human activities, yet disentangling their respective influences remains a persistent challenge. This study proposes an interpretable, data-driven framework that integrates clustering, explainable machine learning (XML), and causal inference to investigate long-term coastal water quality dynamics. Using 36 years of monthly in-situ measurements of ten water quality parameters from 76 monitoring stations across ten water control zones (WCZs) in densely urbanized Hong Kong, we clustered into several representative water quality regimes with distinct spatiotemporal characteristics: low pollution, microbial, and eutrophic. XML-based SHAP analysis revealed regime-specific patterns: microbial pollution was best predicted by urban proximity, clean waters by shipping intensity, and nutrient enrichment by agricultural land use, with salinity and SiO2 consistently ranking as dominant environmental drivers. Building on SHAP results, we applied CausalForestDML to estimate the marginal effects of human drivers while controlling for a comprehensive set of environmental confounders. While SHAP importance generally aligned with causal effects, notable discrepancies underscored the added value of causal modeling. Further, temporal causal analysis revealed attenuated urban and shipping influences on DO, while agricultural impacts on nutrient concentrations have intensified and become more spatially heterogeneous. Although proximity to natural land consistently mitigated Escherichia coli, its buffering capacity on nutrient pollution appears to be weakening under expanding agricultural pressure. The proposed framework demonstrates how combining predictive and causal analytics can integratively reveal mechanistic insights into water quality evolution and regulation, offering transferable tools for sustainability-oriented coastal governance.
More Related Videos
Related Concept Videos
Steps in Outbreak Investigation
Testing Water Quality
Mechanistic Models: Compartment Models in Individual and Population Analysis
Quality of Water

