HB-MSTE for Spatial-Temporal Water Deficit Prediction in Regional Distribution Networks
Year: 2026
Type: preprint
Abstract: Accurate prediction of municipal water deficits across high-cardinality distribution zones is critical for maintaining supply security in hyper-arid regions. However, spatial-temporal machine learning models encounter two major methodological obstacles: (1) spatial aggregation bias, where regional macro�features mask localized micro-zone consumption dynamics, while naive micro-zone indicators overfit due to small sample sizes; and (2) target leakage, where unstratified encoding and standard cross-validation inadvertently contaminate training representations with validation statistics. In this study, we develop Hierarchical Bayesian Multi-Scale Target Encoding (HB-MSTE), an end-to-end probabilistically grounded tabular representation framework. HB-MSTE establishes three-tier partial pooling (Global → Macro-Emirate → Micro-Zone) where shrinkage intensity is determined adaptively through closed�form Restricted Maximum Likelihood (REML). We provide an analytical proof of admissibility demonstrating that HB-MSTE strictly dominates flat target encoding in mean squared error when zone sample sizes are constrained. Furthermore, we develop a strict Leakage-Free Nested Spatial-Temporal Cross-Fitting Protocol evaluated across four distinct operational generalization scenarios (Temporal, Spatial, Regional, and Spatio-Temporal). We demonstrate that standard Diebold-Mariano tests fail on cross-validation outputs due to cross-fold covariance, and we rectify forecast evaluation using Harvey- Leybourne-Newbold (HLN) adjustments and Space-Time Block Bootstrapping. In empirical benchmarks across 100 distribution zones and 7 Emirates, HB-MSTE combined with gradient tree boosting achieves superior global predictive accuracy (RMSE = 2.3748) and eliminates spatial residual clustering (Moran's I = −0.0036, p = 0.207). Crucially, under the most stringent operational test (unobserved future zones), HB-MSTE reduces Worst-Group RMSE from 4.6761 (flat encoding) to 2.8716—a 38.6% error reduction that enhances regional predictive equity. All data generators, estimators, and test suites are released in an open-source, Scikit-learn-compliant Python pipeline.
Source: Research Square
Author: Zulman Arif
Language: English
Subfield: Water Science and Technology
Field: Environmental Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7241978113
Cites:
Cited by:
Related to:
