Out-of-year corn yield prediction at field-scale using Sentinel-2 satellite imagery and machine learning methods

Johann Desloires, Dino Ienco, Antoine BotrelComput. Electron. Agric 2023

Abstract

Accurate crop yield prediction is essential for global food security and commodity market stability. However, machine learning models often struggle with "out-of-year" forecasting—predicting yields for a future season using only historical training data. This paper presents a robust framework that improves prediction accuracy by transitioning from calendar-based tracking to "thermal time" (Growing Degree Days) and utilizing biophysical parameters like Leaf Area Index. Testing on 1,164 corn fields across the US Corn Belt from 2017 to 2021, the proposed stacked ensemble model increased predictive power ($R^2$) by up to 0.42 over standard methods, achieving a Mean Absolute Percentage Error of approximately 15.2% for unseen years.

Introduction

While machine learning (ML) has excelled at interpolating yields within known years and regions, extrapolation to future years remains a significant hurdle. The primary obstacle is "domain mismatch": the physiological state of a crop on a specific calendar date varies wildly depending on whether the year is hot and dry or cool and wet. This study, published in Computers and Electronics in Agriculture, explores how to make satellite-based ML models "weather-aware" to ensure reliable forecasts for upcoming seasons.

The Challenge of Inter-annual Variability

Standard ML models trained on calendar dates are often confused by shifts in phenology—the timing of biological cycles. As shown in Figure 1, the number of days required for crops to reach specific stages varies significantly across different years, creating a moving target for traditional algorithms.

Variability in the number of days across the study years (2017–2021), highlighting the challenge of using calendar dates for yield prediction.

To address this, the researchers developed a pipeline integrating Sentinel-2 satellite imagery with ERA-5 temperature data, focusing on two key innovations: thermal time resampling and the use of biophysical parameters.

Methodology

The study utilized data from 1,164 corn fields in Iowa and Nebraska over a five-year period (2017–2021). The methodology involved several critical steps:

  1. Thermal Time Resampling: Instead of 10-day calendar windows, data was aggregated based on Growing Degree Days (GDD). This aligns satellite observations with the cumulative heat the plants actually received, effectively synchronizing growth stages across different weather years.
  2. Feature Engineering: Asymmetric Gaussian (A-G) curve fitting was applied to time-series data to capture essential growth metrics, such as "green-up" and "senescence" (browning) phases.
  3. Biophysical Parameters (BP): The team compared raw satellite bands and standard Vegetation Indices (like NDVI) against biophysical parameters (e.g., Leaf Area Index and Chlorophyll content) derived via the SNAP biophysical processor.
  4. Stacked Ensemble Learning: A Stacked Averaging Ensemble (STACK) combined predictions from Random Forest, Support Vector Regression (SVR), XGBoost, and Multi-Layer Perceptrons (MLP) to ensure predictive stability.

Key Insights and Results

The transition to thermal time proved to be a pivotal "aha" moment. By resampling data onto a thermal timeline, the models became less sensitive to early or late seasons, drastically reducing domain mismatch. Furthermore, biophysical parameters were found to be more robust than raw spectral pixels for extrapolation, as they represent physical plant traits less affected by sensor noise or atmospheric conditions.

The results were substantial:

  • Performance Gain: The use of thermal time and biophysical parameters increased the $R^2$ by an average of 0.25 to 0.42 during out-of-year extrapolation.
  • Predictive Accuracy: The STACK ensemble explained 42% of yield variability in unseen years, with a Mean Absolute Percentage Error (MAPE) of 15.2%.

Conclusion and Future Work

While the framework significantly advances field-scale yield prediction, limitations remain. Satellite data primarily captures visible biomass and chlorophyll, leaving "invisible" factors like soil nutrients, specific seed genetics, and fertilizer timing unaccounted for. Future research may involve integrating traditional crop growth models as "priors" for ML algorithms and exploring temporal architectures like Transformers to further refine these predictions.

Summary updated

BibTeX
@article{desloires2023out,
  author = {Johann Desloires and Dino Ienco and Antoine Botrel},
  title = {{Out-of-year corn yield prediction at field-scale using Sentinel-2 satellite imagery and machine learning methods}},
  journal = {Comput. Electron. Agric.},
  year = {2023},
  doi = {10.1016/j.compag.2023.107807},
}
Figure