Skip to content
Open access

Explainable Spatiotemporal Ensemble Modeling Using Knowledge Distillation to Forecast Food Security

2026 · IEEE Access · Vol 14, pp. 112062-112078 · 0 citations · 30 references
Computer Science

TL;DR

This work advances scalable food security analytics by unifying statistical robustness with temporal dependency modelling, setting the stage for hybrid ensemble-GAT architectures in future research.

Abstract

Accurate prediction of food security is crucial for managing climate-induced agricultural hazards, but current approaches struggle to include spatiotemporal complexity while producing interpretable and understandable results. This study fills this gap by conducting a thorough examination of machine learning paradigms for rainfall-driven food security forecasting in Uganda, including the use of baseline models, ensemble approaches, and spatiotemporal graph neural networks. A unifying framework was established, incorporating 15 various models, including linear regressors (Ridge and Lasso), tree-based ensembles (XGBoost and Gradient Boost), and a unique Spatial Graph Attention Network (GAT) with multi-head temporal attention. Temporal-GNN was implemented to model spatiotemporal trends in rainfall-food security interactions by combining graph convolutional networks (GCNs) and gated recurrent units (GRUs). To bridge the transparency gap in AI-driven predictions, SHAP (SHapley Additive exPlanations) and LIME (Local Interpretable Model-agnostic Explanations) are systematically applied across all models, quantifying the influence of climatic drivers such as immediate rainfall intensity (r1h), seasonal fluctuations, and pressure gradients (rfq). Key advancements in this study include: XGBoost achieving state-of-the-art performance ( $\mathrm{R}^{2}=0.9949$ , MAE = 1.4067), surpassing baseline models by 14.3% in predictive accuracy; The Spatial GAT model demonstrating robust temporal dependency capture (MSE = 0.2092, MAE = 0.337), offering granular spatiotemporal insights despite a lower R2 (0.7801) and model-agnostic explainability revealing divergent feature importance. Linear models prioritise temperature, whereas ensembles emphasise atmospheric pressure dynamics. Recognising the practical challenges of deploying complex models, this work successfully implemented Knowledge Distillation (KD) to create a lightweight, efficient model from the best-performing XGBoost. The distilled student model achieved a compression ratio of 37.5% (reducing from 80 to 50 estimators) while maintaining 98.7% of the teacher model’s R2 score (0.9866 vs 0.9949). Despite a moderate increase in error metrics (MAE increased from 1.4067 to 2.3001, MSE from 3.8404 to 10.0075), the student model preserved the same feature importance hierarchy, with r1h and r1h_avg remaining the most influential predictors post-distillation. A reproducible pipeline incorporating spatial cross-validation, CUDA-accelerated training, and interactive XAI visualisation is introduced to enhance methodological rigour. Policymakers benefit from actionable trade-offs: the Voting Regressor (MAE = 2.2880) balances interpretability and performance, while the Spatial GAT enables localised, climate-resilient planning. This work advances scalable food security analytics by unifying statistical robustness with temporal dependency modelling, setting the stage for hybrid ensemble-GAT architectures in future research.

Read PDF

Similar papers

Sep 2026

Explainable Multimodal Artificial Intelligence Framework for Climate Resilient Crop Yield Prediction and Sustainable Farm Decision Sup-port

Forecasting rice yield at the district level is central to agricultural planning and contingency management in India, yet the task is complicated by spatial heterogeneity, weather volatility, and strong temporal persistence in production. This study builds a provenance-audited, leakage-free predictive framework that pa...

Kadar Shereef I · 0 citations
Open access Sep 2026

A Hybrid Model for Crop Yield Prediction Using Recurrent Neural Networks and Explainable Artificial Intelligence

Accurate maize yield prediction is essential for ensuring food security and supporting agricultural planning in Kenya. However, the changes in climate and severe weather are posing more challenges to the stability of yield and food security. While advanced machine learning models, such as Long Short–Term Memory (LSTM)...

Stephen Gitau Ndung'u, Consolata Gakii · 0 citations
Open access Sep 2026

Advancing Near-Term Water Quality Forecasting with Explainable Machine Learning and Probabilistic Uncertainty Quantification

An end-to-end framework integrating an extreme gradient boosting (XGBoost) ML with automated hyperparameter optimization, bootstrap-ensemble uncertainty quantification, and interpretability through SHapley additive exPlanations (SHAP), which was applied to forecast phytoplankton in a water-supply reservoir.

R. Shukla, Cayelan C. Carey, Adrienne Breef-Pilz et al. · 0 citations
Open access Sep 2026

Interpretable Machine Learning for Daily Streamflow Using Gam And Xgboost With Shap-Based Analysis

Predicting and interpreting streamflow changes is critical for the long-term sustainability of water resources under climate variability. This study investigates daily streamflow dynamics in Turkey's Sakarya River Basin using Generalized Additive Models (GAM), Extreme Gradient Boosting (XGBoost), and Explainable AI tec...

M. Güneş · 0 citations
Review Open access Aug 2026

Leveraging Machine Learning to Understand Climate and Extreme Event Impacts on Crop Yields: A Systematic Review (2015–2025)

This systematic review synthesizes evidence from 137 peer-reviewed studies published between 2015 and 2025 that applied ML models to assess the effects of both long-term climate trends and discrete extreme events on crop yields worldwide, highlighting the transformative potential of ML while identifying persistent chal...

Yan-Yan Ren, Deng-Pan Xiao, Yang Lu et al. · 0 citations
Open access Sep 2026

Explainable Water Quality Index Forecasting Framework Using Hybrid Graph Attention and Transformer Networks for Intelligent Early Warning Systems

The importance of water quality monitoring for aquatic ecosystem protection cannot be overemphasized, but the traditional machine learning algorithms used for monitoring data analysis have shortcomings in failing to account for the spatiotemporal interactions of the data. This study seeks to develop a spatiotemporal de...

R. Sarala, R. S. Ponmagal · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.