Explainable and causal machine learning to investigate the spatiotemporal dynamics patterns of coastal water quality in Hong Kong

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 SiO<sub>2</sub> 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.

Authors

Institutions

Publication Details

Journal
Water Research
Published
2025-11-23
DOI
https://doi.org/10.1016/j.watres.2025.125026
Primary Topic
Water Quality and Pollution Assessment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable and causal machine learning to investigate the spatiotemporal dynamics patterns of coastal water quality in Hong Kong

Hanwen Zhang, Mengyao Li, Yiyan Li, Shan Wei
Water Research
Water Quality and Pollution Assessment
article

Explainable and causal machine learning to investigate the spatiotemporal dynamics patterns of coastal water quality in Hong Kong

Hanwen Zhang, Mengyao Li, Yiyan Li, Shan Wei
article en

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 SiO<sub>2</sub> 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.

Water ResearchVol. 290
City University of Hong Kong, Shenzhen Research Institute (CN), Chinese University of Hong Kong, Shenzhen (CN), University of Hong Kong - Shenzhen Hospital (CN), Institut de Recherche et d’Innovation (FR), University of Hong Kong (HK)
Openalex Percentile: Top 67%
Water Quality and Pollution Assessment
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.