Predicting global cereal and legume crop yields under climate change using ensemble machine learning

Climate change threatensfood security through rising temperatures, precipitation variability, and elevated CO₂ levels, directly affecting the yields of wheat, maize, rice, and soybean. This study applied ensemble machine learning to a harmonized dataset of 3,420 simulations from 202 studies across 91 countries, using climate and adaptation variables after removing metadata and leakage-prone variables. Eleven algorithms were evaluated using five-fold cross-validation. Random Forest achieved the highest predictive accuracy (CV R² = 0.871 ± 0.027), substantially outperforming linear baselines (R² ≈ 0.20) and neural network approaches (R² = 0.385). Permutation importance confirmed precipitation and temperature as the dominant climate predictors. Scenario-stratified evaluation revealed a systematic decline in accuracy with increasing emission severity, from R² = 0.974 under the low-emission Representative Concentration Pathway (RCP2.6) to R² = 0.892 under the high-emission pathway (RCP 8.5). Rice demonstrated the greatest yield resilience across scenarios, while soybeans showed the highest vulnerability. Fertilizer applications and optimized planting dates produced statistically significant yield improvements ( p < 0.001). However, group-aware validation (GroupKFold by study and by country) revealed substantially weaker predictive performance for unseen studies and unseen countries than the near-perfect fit implied by the random-split results, indicating that strong performance on the random-split test is not sufficient evidence of the models’ ability to generalize beyond their respective studies. Results demonstrate that ensemble machine learning is a practical and viable approach for climate-resilient agriculture decision support, but it is not yet widely applicable to all climate conditions and needs to be further tested by appropriate independent datasets.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-12-01
DOI
https://doi.org/10.1007/s44163-026-02810-y
Primary Topic
Climate change impacts on agriculture
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Predicting global cereal and legume crop yields under climate change using ensemble machine learning

Sunil Gupta, Sonali Vyas, N.N. Pathak, Adnène Arbi et al.
Discover Artificial Intelligence
Climate change impacts on agriculture
article

Predicting global cereal and legume crop yields under climate change using ensemble machine learning

Sunil Gupta, Sonali Vyas, N.N. Pathak, Adnène Arbi, Shashikant Rai
article en

Abstract

Climate change threatensfood security through rising temperatures, precipitation variability, and elevated CO₂ levels, directly affecting the yields of wheat, maize, rice, and soybean. This study applied ensemble machine learning to a harmonized dataset of 3,420 simulations from 202 studies across 91 countries, using climate and adaptation variables after removing metadata and leakage-prone variables. Eleven algorithms were evaluated using five-fold cross-validation. Random Forest achieved the highest predictive accuracy (CV R² = 0.871 ± 0.027), substantially outperforming linear baselines (R² ≈ 0.20) and neural network approaches (R² = 0.385). Permutation importance confirmed precipitation and temperature as the dominant climate predictors. Scenario-stratified evaluation revealed a systematic decline in accuracy with increasing emission severity, from R² = 0.974 under the low-emission Representative Concentration Pathway (RCP2.6) to R² = 0.892 under the high-emission pathway (RCP 8.5). Rice demonstrated the greatest yield resilience across scenarios, while soybeans showed the highest vulnerability. Fertilizer applications and optimized planting dates produced statistically significant yield improvements ( p < 0.001). However, group-aware validation (GroupKFold by study and by country) revealed substantially weaker predictive performance for unseen studies and unseen countries than the near-perfect fit implied by the random-split results, indicating that strong performance on the random-split test is not sufficient evidence of the models’ ability to generalize beyond their respective studies. Results demonstrate that ensemble machine learning is a practical and viable approach for climate-resilient agriculture decision support, but it is not yet widely applicable to all climate conditions and needs to be further tested by appropriate independent datasets.

Discover Artificial IntelligenceVol. 6(1)
University of Carthage (TN), Indian Institute of Information Technology Allahabad (IN), Jadara University (JO), Tunisia Polytechnic School (TN), COER University (IN), JK Lakshmipat University (IN)
Climate change impacts on agriculture
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon