in

A hybrid deep learning approach for winter wheat yield prediction: evidence from leveraging multi-source data


Abstract

Accurate district-level wheat yield forecasts are critical for food security planning, supply-chain management, and agricultural policy in India, the world’s second-largest wheat producer. We benchmark nine model classes for this task on a 23-year (2001–2023) dataset of 275 districts across India’s seven largest wheat-producing states, which together account for (sim)95% of national production. The benchmark covers Random Forest, XGBoost, LightGBM, a 1D-CNN, an LSTM, a BiLSTM, a single-stream Transformer encoder, the recently proposed Parallel CNN-LSTM-Attention design, and our hybrid CNN-BiLSTM-Attention with modality-specific routing (a 1D-CNN over the vertically structured soil profile and a BiLSTM with self-attention over the meteorological and remote-sensing time series). The proposed model is the best entry, achieving a Mean Absolute Error (MAE) of 273.2 kg/ha and an (R^{2}) of 0.795 on the held-out test set — a 43.8% MAE reduction over the Random Forest baseline, a (sim)28% reduction over the gradient-boosted baselines, and a (sim)4% reduction over the next-best deep model. A simple persistence forecast ((hat{y} = text {lagged_yield})) however, achieves an MAE of 274.9 kg/ha, essentially tying the proposed model on average. We show that the architectural value-add concentrates in anomalous years: in the dry 2023 sowing season the model improves MAE by 7.2% and RMSE by 11.2% over persistence, and SHAP attribution localises the temporal contribution to the February–March grain-filling window led by EVI and NDVI signal — consistent with the well-documented sensitivity of wheat grain-filling to moisture and temperature stress in that window. Together, these results position persistence-aware, modality-specific deep learning as a practical framework for stress-sensitive yield forecasting in data-scarce agricultural regions.

Similar content being viewed by others

A novel hybrid NSGA-III and machine learning framework for modeling wheat yield variability using climatic, edaphic, and nutritional drivers

Winter wheat yield prediction using convolutional neural networks from environmental and phenological data

A method for improving winter wheat mapping accuracy based on multi-temporal feature fusion and stacking ensemble learning

Acknowledgements

We acknowledge the contribution of Prof. Shan Balasubramaniam for the conceptual framework of the paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to
Manogna R. L.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendices

Appendix A: List of Features

A.1 Meteorological variables

The following variables were collected from the NASA POWER API at daily temporal resolution and 0.5(^{circ }) (times) 0.625(^{circ }) spatial resolution:

  1. 1.

    Precipitation (PRECTOTCORR)

  2. 2.

    Maximum Temperature (T2M_MAX)

  3. 3.

    Minimum Temperature (T2M_MIN)

  4. 4.

    Average Temperature (T2M)

  5. 5.

    Relative Humidity (RH2M)

  6. 6.

    Solar Radiation (ALLSKY_SFC_SW_DWN)

  7. 7.

    Wind Speed at 10 meters (WS10M)

  8. 8.

    Specific Humidity (QV2M)

  9. 9.

    Surface Pressure (PS)

Maximum and minimum vapor pressure deficit (max_vpd and min_vpd) were derived from the NASA POWER temperature and relative humidity variables as:

$$begin{aligned} e_s(T)&= 0.6108 exp left( frac{17.27T}{T + 237.3}right) end{aligned}$$
(17)
$$begin{aligned} e_a&= frac{textrm{RH2M}}{100} cdot frac{e_s(T_{max }) + e_s(T_{min })}{2} end{aligned}$$
(18)
$$begin{aligned} textrm{VPD}_{max }&= e_s(T_{max }) – e_a end{aligned}$$
(19)
$$begin{aligned} textrm{VPD}_{min }&= e_s(T_{min }) – e_a end{aligned}$$
(20)

A.2 Soil properties

The following soil properties were obtained from the ISRIC SoilGrids250m Web Coverage Service at six standard depths (0-5 cm, 5-15 cm, 15-30 cm, 30-60 cm, 60-100 cm, and 100-200 cm) with 250 m spatial resolution:

  1. 1.

    Soil Organic Carbon

  2. 2.

    Soil pH

  3. 3.

    Bulk Density

  4. 4.

    Sand Content

  5. 5.

    Silt Content

  6. 6.

    Clay Content

  7. 7.

    Cation Exchange Capacity

  8. 8.

    Total Nitrogen

Appendix B: Hyperparameter search space and proposed-model configuration

B.1 Hyperparameter search space

Key hyperparameters and their search spaces for Bayesian optimization (Optuna with TPE sampler):

  • Learning Rate: Log uniform from 1e-5 to 1e-2

  • Number of BiLSTM Layers: Integer from 1 to 5

  • BiLSTM Hidden Cells: Integer from 32 to 128

  • CNN Kernel Size: Integer from 2 to 5

  • CNN Output Channels: Integer from 8 to 64

  • Number of MLP Layers: Integer from 3 to 7

  • Width of MLP Layers: Integer from 16 to 256

  • Dropout Rate: Float from 0.1 to 0.5

B.2 Best hyperparameters — proposed CNN-BiLSTM-attention model

The optimal hyperparameter configuration obtained from Bayesian optimization for the proposed CNN-BiLSTM with self-attention model is summarized in Table 8. The corresponding configuration files for each benchmarked baseline (1D-CNN, LSTM, BiLSTM, Transformer encoder, Parallel CNN-LSTM-Attn, XGBoost, and LightGBM) are catalogued separately in Appendix C.

Table 8 Hyperparameters of the best-performing CNN-BiLSTM-Attention model.
Full size table

Appendix C: Baseline architectures and best hyperparameters

This appendix catalogues the architectural specification and the best-hyperparameter values for every benchmarked baseline reported in Table 2. All baselines were optimised with Optuna using the TPE sampler and trained with the L2/MSE loss; the values reported below correspond to the configuration that minimised validation MSE.

C.1 Per-baseline diagnostic plots

The aggregate metrics in Table 2 are complemented by two per-baseline diagnostic panels that expose error structure the summary statistics alone obscure. Figure 12 plots predicted-versus-observed yields on the held-out 2022–2023 test set, revealing each model’s bias, dispersion, and tail behaviour against the 1:1 line, while Figure 13 maps district-level residuals for the 2023 sowing year to surface any regional patterns of over- or under-prediction. Both figures share the Table 2 ordering (best-to-worst on MAE) to allow direct cross-reference.

Fig. 12

Full size image

Per-baseline predicted-versus-observed scatter plots on the held-out test set (2022–2023, (n = 545)). Subplots are ordered to match Table 2 (best-to-worst on MAE): (top row) CNN-BiLSTM-Attn (proposed), Transformer encoder, LSTM (flat soil); (middle row) 1D-CNN, BiLSTM (flat soil), Parallel CNN-LSTM-Attn (TPCLA); (bottom row) XGBoost, LightGBM, Random Forest. Each panel shows the 1:1 identity line in dashed black; per-panel annotations report best-seed MAE (kg/ha) and (R^{2}) together with the five-seed mean ± standard deviation for both metrics.

Fig. 13

Full size image

Per-baseline spatial residual maps for the 2023 sowing year (winter wheat harvested April–May 2024, (n = 272) districts). Each panel plots actual − predicted yield (kg/ha) on a shared symmetric colour scale capped at the pooled 99th percentile of (|textrm{residual}|). Subplots are ordered to match Table 2, with the proposed CNN-BiLSTM-Attention model in the top-left tile.

C.2 1D-CNN

A two-block 1D convolutional encoder along the temporal axis of the meteorological/RS sequence14,15. Each block applies Conv1D(kernel=3, padding=same) (rightarrow) BatchNorm1d (rightarrow) ReLU; the second block is followed by an AdaptiveMaxPool1d(1) that collapses the time dimension. The pooled vector is concatenated with the flattened 48-D soil vector and the lagged yield scalar before entering the MLP head. Best-configuration values are reported in Table 9.

Table 9 Best hyperparameters for the 1D-CNN baseline.
Full size table

C.3 LSTM

A three-layer unidirectional LSTM following the winter-wheat yield-prediction formulation of Wang et al.26 processes the 11-month temporal sequence; the final hidden state passes through layer normalisation and is concatenated with the flattened 48-D soil vector and the lagged yield scalar before entering the MLP head. Best-configuration values are reported in Table 10.

Table 10 Best hyperparameters for the LSTM baseline with flat-soil input.
Full size table

C.4 BiLSTM

A bidirectional variant of C.3 in which forward and backward LSTM streams are concatenated at each time step before fusion with the flattened soil vector and the lagged yield. Best-configuration values are reported in Table 11.

Table 11 Best hyperparameters for the BiLSTM baseline with flat-soil input.
Full size table

C.5 Transformer encoder

A vanilla nn.TransformerEncoder stack with a learnable additive positional embedding over the 11-month sequence, applied to a per-month projection of the 13-D temporal input vector. We adopt the simplified single-stream encoder formulation of Guo et al.29 (the SLTF method’s transformer core, without the auxiliary LSTM/SSA components); the encoded sequence is mean-pooled across months and concatenated with the flattened 48-D soil vector and the lagged yield scalar before entering the MLP head. Best-configuration values are reported in Table 12.

Table 12 Best hyperparameters for the Transformer-encoder baseline.
Full size table

C.6 Parallel CNN-LSTM-attention (TPCLA)

A two-branch parallel architecture re-implementing the temporal core of Song et al.17. The temporal stream is routed through both a 1D-CNN branch (two Conv1D blocks with adaptive max-pooling) and a stacked LSTM branch (whose hidden states are summarised by a Bahdanau additive attention module); the two branch outputs are concatenated with the flattened 48-D soil vector and the lagged yield scalar before entering the MLP head. The cross-regional transfer-learning component of TPCLA is not applicable in our single-domain setting and is therefore omitted. Best-configuration values are reported in Table 13.

Table 13 Best hyperparameters for the Parallel CNN-LSTM-Attention baseline.
Full size table

C.7 Tree-based baselines: XGBoost, LightGBM, and random forest

The tree-based baselines were fitted on the flattened feature matrix, comprising 143 temporal columns (13 features (times) 11 months), 48 flattened soil columns, and the lagged yield scalar. Best-configuration values for XGBoost are reported in Table 14.

Table 14 Best hyperparameters for the XGBoost baseline (xgb_with_soil).
Full size table

A leaf-wise LightGBM regressor was fitted on the same flattened feature matrix. Best-configuration values are reported in Table 15.

Table 15 Best hyperparameters for the LightGBM baseline (lgbm_with_soil).
Full size table

Finally, the best-configuration values for the Random Forest baseline are reported in Table 16.

Table 16 Best hyperparameters for the Random Forest baseline.
Full size table

Appendix D: Yield distribution and class imbalance

Because yield prediction is a regression task, conventional classification-style mitigations for class imbalance (e.g. SMOTE, inverse-frequency class weights) do not directly apply. We nonetheless characterise the empirical distribution of the training-set target here to verify that no district or year dominates and that the assumptions of the squared-error loss are not violated by extreme tails.

Figure 14 shows a histogram of the per-sample winter-wheat yield in the training split (4368 district-year observations spanning 2001–2018). The distribution is approximately unimodal with a mild right skew, peaks in the 2500–3500 kg/ha range, and exhibits a long tail of higher-yield observations from intensively managed Punjab and Haryana districts. The complementary breakdown into ordinal yield bins across the train, validation, and test splits is reported in Table 5 (Section Final Model Evaluation and Limitations); that table makes explicit that the test split is skewed toward high-yield observations, which underlies the regression-to-the-mean residual pattern discussed in Section Final Model Evaluation and Limitations.

Fig. 14

Full size image

Empirical distribution of winter-wheat yield in the training split (2001–2018, (n = 4368) district-year observations). The distribution is approximately unimodal with a mild right skew; no single district or year dominates the training signal.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Cite this article

R. L, M., Punglia, S. & Joshi, S.T. A hybrid deep learning approach for winter wheat yield prediction: evidence from leveraging multi-source data.
Sci Rep (2026). https://doi.org/10.1038/s41598-026-56576-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1038/s41598-026-56576-5


Source: Ecology - nature.com

Ecological integrity of avoided deforestation projects

Rattus norvegicus and Rattus tanezumi as hub hosts for viral diversity and potential spillover on Hainan Island, China

Back to Top