[KongchangAI]
· 1 min read· 867 words

LSTM Deep Learning Model Accurately Predicts Agricultural Subsurface Drainage and Water Table Depth

LSTM Deep Learning Model Accurately Predicts Agricultural Subsurface Drainage and Water Table Depth

LSTM deep networks significantly outperform DRAINMOD in agricultural drainage flow and water level prediction, with multi-field learning and noise augmentation improving robustness.

This study constructed LSTM-based deep neural networks using meteorological and field observation data from four farm fields in southeastern Michigan to perform 1-, 3-, and 7-day short-term predictions of drainage flow and water table depth (WTD), systematically comparing them with the process model DRAINMOD. Using cross-validation, the study evaluated direct multi-step and sliding prediction forms, introduced maximum mean discrepancy regularization to improve average performance, and simulated real forecast uncertainty by adding weather forecast errors and noise-augmented training. Results show that the DNN's advantage is particularly pronounced for WTD prediction (NSE 0.70-0.91 vs. 0.29-0.60), with flow prediction also improved. Pooled multi-field training can mitigate data scarcity, approaching the performance of field-specific models trained on long records, providing a feasible path for adaptive drainage management.

Research Background and Problem

Short-term prediction of flow and water table depth (WTD) in agricultural subsurface drainage systems is essential for adaptive water resources management. Traditional process-based models such as DRAINMOD are somewhat effective but have limitations in accuracy and robustness. A recent study explored long short-term memory (LSTM)-based deep neural networks (DNNs) across four farm fields in southeastern Michigan, using meteorological information and field observations to perform 1-day, 3-day, and 7-day predictions of flow and WTD, and compared them with the DRAINMOD model.

Research source screenshot

DRAINMOD is a field hydrology process model widely used in the design of agricultural subsurface drainage systems, developed in the 1970s by R. Wayne Skaggs and colleagues at North Carolina State University. Based on the water balance principle, it simulates drainage flow, water table depth, evapotranspiration, and other elements on a daily basis, with inputs including meteorological data, soil hydraulic parameters, crop parameters, and drainage system design parameters. DRAINMOD is a mechanistic (physical process) model with parameters of clear physical meaning, but it requires considerable localized parameter calibration and has limited accuracy in responding to short-term weather fluctuations and extreme events, which provides a reference benchmark for comparison with data-driven models.

Model Construction and Experimental Design

The study adopted cross-validation, using observed future weather inputs, and evaluated two forms: direct multi-step prediction and sliding DNN. Under ideal conditions, the two had comparable accuracy; maximum mean discrepancy regularization further improved the average performance of the DNN. To simulate real forecast uncertainty, the study also introduced weather forecast errors and tested the effect of noise-augmented training.

Key Methodological Details

  • Direct multi-step vs. sliding DNN: The two multi-step prediction strategies performed similarly under ideal conditions.
  • Maximum mean discrepancy regularization: Improved the average prediction performance of the DNN.
  • Noise-augmented training: Enhanced the model's robustness to forecast uncertainty.

Maximum Mean Discrepancy (MMD) is a non-parametric distribution distance metric that determines whether two distributions are consistent by mapping samples into a reproducing kernel Hilbert space and comparing their mean embeddings. In deep learning, MMD is often added to the loss function as a regularization term, constraining the model's internal feature representations to be as close as possible across different data subsets (e.g., different fields, different years), thereby improving generalization and reducing overfitting to a specific data distribution. This paper uses it to improve the average prediction performance of the DNN, essentially a distribution-alignment-style domain adaptation strategy.

Noise-augmented training is a data augmentation and regularization technique: during training, random perturbations are injected into the inputs (such as weather forecast variables), so that the model learns to produce stable outputs even when inputs contain errors, making it more robust when facing real forecast uncertainty at inference time. A related concept is the distinction between direct multi-step prediction and sliding (recursive) prediction—the former outputs multiple future time steps at once, so errors do not accumulate but each step is independent; the latter feeds the single-step prediction result back as input for the next step, so errors gradually accumulate and amplify over longer lead times, making it more sensitive to input noise. This also explains the observed phenomenon in the paper that weather forecast uncertainty has a greater impact on sliding prediction.

Performance Comparison: DNN Significantly Outperforms DRAINMOD

For WTD prediction, the DNN achieved a mean Nash-Sutcliffe efficiency (NSE) of 0.70-0.91 and a Kling-Gupta efficiency (KGE) of 0.83-0.92, whereas DRAINMOD achieved only an NSE of 0.29-0.60 and a KGE of 0.57-0.76. For flow prediction, the DNN achieved an NSE of 0.64-0.78 and a KGE of 0.68-0.75, while DRAINMOD achieved an NSE of 0.58-0.71 and a KGE of 0.54-0.70. The DNN's advantage is particularly pronounced for WTD.

Impact of Weather Uncertainty

Weather forecast uncertainty degrades model performance, especially for sliding prediction and longer lead times. Noise-augmented training can effectively mitigate this degradation.

Nash-Sutcliffe efficiency (NSE) is one of the most commonly used metrics in hydrological model evaluation, defined as 1 minus the ratio of the sum of squared residuals to the variance of observations. NSE=1 indicates perfect prediction, NSE=0 indicates the model's prediction is equivalent to simply using the observed mean, and NSE<0 means the model performs worse than taking the mean. Kling-Gupta efficiency (KGE) was proposed by Gupta et al. in 2009 and decomposes NSE into three components: correlation, bias ratio, and variability ratio, more balancedly reflecting the model's errors in mean, variance, and temporal pattern. Using both together avoids the one-sidedness of a single metric, which also explains why this paper reports both NSE and KGE.

Multi-Field Learning under Data Scarcity

With only two years of observational data, increasing the amount of training data generally improves performance. Training on pooled data from multiple fields further improves predictions, approaching the performance of field-specific models trained on longer records. This indicates that multi-field learning and noise-augmented training can effectively address data scarcity and forecast uncertainty, supporting adaptive drainage management.

Practical Significance and Outlook

This study demonstrates that LSTM-based DNNs have significant advantages in short-term prediction of agricultural drainage, especially for WTD prediction. Multi-field data fusion and noise-augmented training strategies provide a feasible path for robust prediction under data-limited conditions. Future work could further explore real-time forecast integration and broader geographic validation.

#LSTM#deep learning#DRAINMOD#subsurface drainage#water table depth#agricultural hydrology#NSE#multi-field learning
Share:

Related articles