Selective Transfer Learning for Groundwater Level Anomaly Forecasting: Accuracy-Risk Trade-offs

Yaxuan Wu, Ali Mohammed Mansoor Alsahag, Seyed Sahand Mohammadi ZiabariarXiv 2026

TL;DR

Transfer learning (TL) is often treated as a "rising tide that lifts all boats," but in heterogeneous systems like groundwater, it can actually degrade performance for a significant number of sites—a phenomenon known as negative transfer. This paper introduces Context-Aware Selective Learning (CASL), a framework that uses a calibration-trained "gate" to dynamically blend predictions from transfer-learning and no-transfer models based on local site context, effectively navigating the trade-off between aggregate accuracy and site-level risk.

What Problem Does This Paper Address?

In hydrology, we often lack long-term, high-quality data for every specific location. Transfer learning offers a solution: pretrain a model on large-scale simulated or regional data and then fine-tune it on specific local wells. While this usually improves average accuracy, the authors highlight a critical gap: it doesn't work for everyone.

Groundwater systems are incredibly diverse. A model that learns general hydroclimatic patterns across Europe might fail miserably when applied to a specific Dutch well located in a peat polder or a densely managed urban environment. When the "source" data (where the model learned) and the "target" data (where it's applied) are poorly aligned, we get negative transfer. The authors argue that for operational early-warning systems, we shouldn't just care about the average error; we need to ensure we aren't making forecasts worse for a large subset of individual wells.

Methods

The authors propose a two-stage framework called Context-Aware Selective Learning (CASL):

  1. Parent Model Training: They train two "parent" LSTM models. The No TL parent is trained only on target well data. The Always TL parent is pretrained on a large European source dataset and then fine-tuned on the target wells. Both use a split-feature architecture: one branch for transferable climate signals and another for local context (like coordinates and pumping proxies).
  2. Selective Blending (The Gate): Instead of picking one model, CASL learns a blending weight ($\gamma$) for every observation. A selector—specifically a Histogram Gradient Boosting (HGB) regressor—is trained on a calibration dataset to predict this weight based on 47 inputs, including recent groundwater states, seasonal context, and source-target similarity metrics.

The final prediction is a convex combination: $$\hat{y}_{CASL} = \gamma \hat{y}_{AlwaysTL} + (1 - \gamma) \hat{y}_{NoTL}$$

The study compares CASL against several baselines, including a Global Convex Blend (which uses a single fixed weight for all wells) and Site-Hard (which makes a discrete binary choice for each well).

Datasets

  • Source Domain: Gridded monthly hydroclimatic anomaly data (TSMP-G2A, COSMO-REA6, and GLEAM) covering 512 cells across Europe.
  • Target Domain: A corrected dataset of 457 Dutch BRO groundwater monitoring wells with 13,718 test windows. The task is to forecast standardized groundwater level anomalies ($wtda$) at a 3-month lead time.

The experimental setup, including the specific data splits and model hyperparameters, is detailed in the paper's configuration table:

Table 1 Main training configuration used in the corrected experiments. Target splits retain the fixed response-date boundaries; the selected CASL gate is histogram gradient boosting (HGB).

Key Insights and Ideas

  • The "Average" is a Lie: Standard transfer learning (Always TL) harmed between 18% and 52% of the wells depending on the random seed used. Relying solely on pooled metrics like RMSE can hide the fact that you are actively degrading the model for nearly half your sites.
  • Structural vs. Contextual Rescue: CASL was highly effective at "rescuing" wells harmed by transfer learning. However, the authors note that "partial rescue" (reducing the harm) can happen just by the nature of convex blending. The real challenge is "full rescue"—making the model better than both parents.
  • No Free Lunch in Model Selection: There is a clear accuracy-risk trade-off. CASL often achieved the lowest pooled RMSE, but the simpler Global Convex Blend was often "safer," protecting more wells from harm. The "best" model depends entirely on whether your priority is the lowest overall error or the lowest risk of local failure.
  • Similarity is a Weak Predictor: Interestingly, simple source-target similarity (how much a well "looks like" the source data) was a weak and inconsistent predictor of whether transfer learning would succeed.

Key Results

  • Accuracy Gains: CASL achieved a small but consistent improvement in aggregate accuracy, with a 0.424–1.084% lower test RMSE than the No TL baseline across five seeds.
  • Risk Mitigation: CASL partially rescued 97.53–99.50% of wells that were harmed by fixed transfer learning and fully rescued 23.46–43.78% of them.
  • Negative Transfer Reduction: The net rate of harmed wells fell by 7.22–17.29 percentage points when using CASL compared to Always TL.
  • Metric Sensitivity: Always TL actually had a slightly lower Mean Absolute Error (MAE) than CASL, emphasizing that model preference is highly dependent on the chosen loss function.

Limitations and Future Work

The authors are transparent about several limitations:

  • Fixed Split vs. Rolling Deployment: The study uses fixed chronological splits. In a real-world deployment, a "rolling" evaluation would be necessary to account for temporal shifts.
  • Source-Target Mismatch: The source data is gridded model output, while the target data is point-based observational data. This inherent mismatch likely contributes to the high rate of negative transfer.
  • Calibration Size: The calibration split used to train the "gate" was relatively small (6,562 observations), which may limit the selector's ability to learn complex contextual relationships.
  • Future Directions: The authors suggest exploring more advanced backbones (like Transformers), incorporating richer anthropogenic features (like more precise pumping data), and moving toward extreme-event validation rather than just anomaly forecasting.

Summary updated

BibTeX
@misc{wu2026selective,
  author = {Yaxuan Wu and Ali Mohammed Mansoor Alsahag and Seyed Sahand Mohammadi Ziabari},
  title = {{Selective Transfer Learning for Groundwater Level Anomaly Forecasting: Accuracy-Risk Trade-offs}},
  year = {2026},
  eprint = {2610.37733},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.37733},
}
Figure