Research indexPreprint
When Does Machine Learning Generalize Geographically? A Spatial Validation Study of Aquifer Hydraulic-Conductivity Prediction in Cedar Valley, Utah
Jimoh
21 Oct 2026
NobleIDark:/48914/w1/20261119/4BE2DA2EDOI10.22541/essoar.15010781/v1
When Does Machine Learning Generalize Geographically? A Spatial Validation Study of Aquifer Hydraulic-Conductivity Prediction in Cedar Valley, Utah
Jimoh · 2026 · Subscription
NobleIDark:/48914/w1/20261119/4BE2DA2EDOI10.22541/essoar.15010781/v1
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Hydraulic conductivity (𝐾) is essential for groundwater-resource characterization, yet direct estimates from aquifer tests and specific-capacity records are often spatially sparse and heterogeneous. This study evaluates whether apparently strong machine-learning fit generalizes geographically when predicting aquifer hydraulic conductivity. We analyzed 101 hydraulicconductivity observations from the Utah Geological Survey’s Special Study 146 for Cedar Valley and the adjacent Cedar Pass area in Utah County, Utah. The response variable was modeled as log10(𝐾), using well-screen depths, lithology class, sand and clay percentages, a grain-size proxy, borehole electrical resistivity, and topographic wetness index as predictors. Random Forest (RF), Support Vector Regression (SVR), and XGBoost (XGB) were evaluated using five spatial crossvalidation folds. RF produced the best spatial-CV performance, with RMSE = 0.8815, MAE = 0.6820, and 𝑅2 = −0.0846 in log10(𝐾) units; however, all three models produced negative spatial-CV 𝑅2 values. In contrast, RF achieved an in-sample RMSE of 0.4157, MAE of 0.3173, and 𝑅2 = 0.7588, revealing a substantial gap between model fit to observed wells and prediction at spatially separated locations. SHAP analysis identified screen depth and TWI as the largest model-based contributors, although these associations should not be interpreted as causal effects. The results demonstrate that favorable in-sample fit does not guarantee geographic reliability, and that spatially structured validation or independent spatial holdout testing is important for credible hydraulic-conductivity mapping. Independent Cedar Valley and cross-basin Tooele Valley tests have been defined but are not evaluated here.