Forecasting Soil Moisture Using Domain Inspired Temporal Graph Convolution Neural Networks To Guide Sustainable Crop Management

Muneeza Azmat, Malvern Madondo, Arun Bawa, Kelsey Dipietro, Raya Horesh, Michael Jacobs, Raghavan Srinivasan, Fearghal O'Donncha

Abstract

Accurate soil moisture forecasting is critical for sustainable agriculture, yet traditional physics-based models are computationally expensive and difficult to scale. While deep learning offers a data-driven alternative, standard architectures often fail to capture complex spatial-temporal hydrological relationships. This paper presents a novel "domain-inspired" Temporal Graph Convolutional Network (TGCN) that clusters watersheds based on hydrological behavior rather than geographic proximity. The resulting model achieves a 70–90% reduction in error compared to standard benchmarks, providing a scalable solution for precision irrigation.

Introduction

Soil moisture serves as a vital indicator for agricultural productivity and water resource management. For farmers, it is a "goldilocks" variable: insufficient moisture leads to crop failure, while excess results in wasted water and nutrient runoff. Traditionally, predicting these levels has relied on complex physics-based models like the Soil and Water Assessment Tool (SWAT). However, these models require significant domain expertise and intensive site-specific calibration, limiting their accessibility for many agricultural applications.

Modern Machine Learning (ML) has emerged as a potential alternative, but standard models like Long Short-Term Memory (LSTM) networks often struggle with the spatial nuances of hydrology. Two adjacent fields may exhibit vastly different moisture patterns due to soil composition or slope, while two distant fields might behave as "hydrological twins." This research bridges the gap between rigid physics and "spatial-blind" ML by utilizing graph structures to represent these hidden functional similarities.

Methodology

The proposed framework integrates Dynamic Time Warping (DTW) with Temporal Graph Convolutional Networks (TGCN) to capture both functional similarity and temporal evolution.

  1. Hydrologic Response Units (HRUs): The study area is discretized into HRUs—small land units characterized by homogeneous soil, land use, and slope.
  2. Domain-Inspired Clustering: Rather than connecting HRUs based on physical distance, the researchers use DTW to measure similarity between seasonal moisture time-series. This allows the model to group "look-alike" units into clusters regardless of their geographic location.
  3. TGCN Architecture: Within each cluster, a graph is constructed where nodes represent HRUs and edges represent hydrological similarity. A graph convolution layer enables nodes to share feature information with their functional neighbors, while a Gated Recurrent Unit (GRU) processes the temporal sequence to forecast future moisture levels.
Workflow of the domain-inspired clustering and TGCN forecasting framework.

Datasets and Experimental Setup

The model was trained on a comprehensive 40-year dataset (1980–2019) covering the Mid-Atlantic region of the United States. The data was generated using the Hydrological and Water Quality System (HAWQS), encompassing 3,037 watersheds (HUC12 level) subdivided into over 99,000 individual HRUs. Input features included precipitation, temperature, soil properties, and evapotranspiration. The model was evaluated on both single-step (1 month ahead) and multi-step (12 months ahead) forecasting tasks.

Key Results

The proposed Clustered TGCN (C+TGCN) model demonstrated significant performance gains over baseline LSTM models:

  • Error Reduction: The model achieved a 70% to 90% relative reduction in Mean Squared Error (MSE).
  • Hydrological Accuracy: Performance was measured using the Kling-Gupta Efficiency (KGE) metric, a standard in hydrology where 1.0 represents a perfect match. The model consistently scored between 0.4 and 0.8 across various clusters, significantly exceeding the baseline threshold of -0.41.
  • Temporal Stability: The model maintained high accuracy for both short-term and long-term (12-month) forecasts, indicating a robust understanding of seasonal hydrological cycles rather than simple trend memorization.
Kling-Gupta Efficiency (KGE) scores across ten clusters for single and multi-step forecasting.

Discussion and Future Work

The primary innovation of this work is the shift from geographic proximity to functional similarity. By using DTW to identify "functional neighbors," the TGCN can learn shared patterns across a cluster more effectively than models restricted by physical adjacency. This approach offers high scalability, potentially allowing for deployment in regions with sparse sensor data by leveraging learned patterns from similar hydrological zones.

Future research will focus on validating the framework against real-world ground sensor networks and satellite data (such as SMAP), as the current study relies on simulated SWAT data. Additionally, the team aims to increase temporal resolution to daily time steps to better support real-time irrigation decisions and test the model's generalizability in diverse climates, such as small-holding farms in Central Texas.

Summary updated

BibTeX
@inproceedings{azmat2023forecasting,
  author = {Muneeza Azmat and Malvern Madondo and Arun Bawa and Kelsey Dipietro and Raya Horesh and Michael Jacobs and Raghavan Srinivasan and Fearghal O'Donncha},
  title = {{Forecasting Soil Moisture Using Domain Inspired Temporal Graph Convolution Neural Networks To Guide Sustainable Crop Management}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/654},
}
Figure