Explainable machine learning approaches for climate‑driven forecasting of global Arabica coffee prices

• Climate-informed ML framework predicts global monthly Arabica coffee prices. • Random Forest outperformed linear and boosting models in price prediction. • SHAP analysis reveals production and SOI as dominant drivers. • Forecast skill remains robust up to a 3-month lead time. • Explainable AI (SHAP) enhances interpretability for market decisions. Coffee is one of the world’s most important agricultural commodities; yet its market prices are highly volatile due to the combined influence of supply-demand interactions, climate variability and change, and macroeconomic conditions. This study evaluates the predictability of global Arabica coffee prices by integrating climate information, particularly the El Niño Southern Oscillation (ENSO), with advanced machine learning techniques. Monthly production data from leading Arabica coffee-producing countries, Brazil, Colombia, Ethiopia, and Honduras, together with rainfall, temperature, and Southern Oscillation Index (SOI) data for 1990–2023 were used to develop and compare multiple predictive models. Results in model testing phase showed that tree-based models and multi-model ensembles consistently outperformed linear approaches. The Random Forest model achieved the strongest overall performance, with RMSE of 18.67 cents/lb, MAE of 13.47 cents/lb, MAPE of 10.99%, correlation coefficient r of 0.91, and Nash–Sutcliffe efficiency of 0.82. XGBoost and Gradient Boosting also delivered high predictive accuracy, with RMSE of 19.13 cents/lb and 20.78 cents/lb, respectively, and ENS values of 0.81 and 0.78, respectively. Short-term price forecasting at a three-month lead time demonstrated high reliability, whereas predictive skill declined beyond six months. SHAP-based feature attribution analysis indicates that total production and SOI exerted the strongest influence on model outputs, followed by rainfall and temperature, confirming the transmission pathway from climate anomalies to global price fluctuations. These results demonstrate that integrating climate drivers within ensemble machine learning frameworks enhances commodity price predictability and provides a robust, interpretable foundation for climate-informed market intelligence and risk management in coffee-dependent economies.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2026-04-22
DOI
https://doi.org/10.1016/j.atech.2026.102146
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable machine learning approaches for climate‑driven forecasting of global Arabica coffee prices

Utsav Bhattarai, Vivekananda M. Byrareddy, Shahbaz Mushtaq, Thanveer Shaik et al.
Smart Agricultural Technology
Explainable Artificial Intelligence (XAI)
article

Explainable machine learning approaches for climate‑driven forecasting of global Arabica coffee prices

Utsav Bhattarai, Vivekananda M. Byrareddy, Shahbaz Mushtaq, Thanveer Shaik, Louis Kouadio, Thong Nguyen‐Huy
article en

Abstract

• Climate-informed ML framework predicts global monthly Arabica coffee prices. • Random Forest outperformed linear and boosting models in price prediction. • SHAP analysis reveals production and SOI as dominant drivers. • Forecast skill remains robust up to a 3-month lead time. • Explainable AI (SHAP) enhances interpretability for market decisions. Coffee is one of the world’s most important agricultural commodities; yet its market prices are highly volatile due to the combined influence of supply-demand interactions, climate variability and change, and macroeconomic conditions. This study evaluates the predictability of global Arabica coffee prices by integrating climate information, particularly the El Niño Southern Oscillation (ENSO), with advanced machine learning techniques. Monthly production data from leading Arabica coffee-producing countries, Brazil, Colombia, Ethiopia, and Honduras, together with rainfall, temperature, and Southern Oscillation Index (SOI) data for 1990–2023 were used to develop and compare multiple predictive models. Results in model testing phase showed that tree-based models and multi-model ensembles consistently outperformed linear approaches. The Random Forest model achieved the strongest overall performance, with RMSE of 18.67 cents/lb, MAE of 13.47 cents/lb, MAPE of 10.99%, correlation coefficient r of 0.91, and Nash–Sutcliffe efficiency of 0.82. XGBoost and Gradient Boosting also delivered high predictive accuracy, with RMSE of 19.13 cents/lb and 20.78 cents/lb, respectively, and ENS values of 0.81 and 0.78, respectively. Short-term price forecasting at a three-month lead time demonstrated high reliability, whereas predictive skill declined beyond six months. SHAP-based feature attribution analysis indicates that total production and SOI exerted the strongest influence on model outputs, followed by rainfall and temperature, confirming the transmission pathway from climate anomalies to global price fluctuations. These results demonstrate that integrating climate drivers within ensemble machine learning frameworks enhances commodity price predictability and provides a robust, interpretable foundation for climate-informed market intelligence and risk management in coffee-dependent economies.

Smart Agricultural TechnologyVol. 14
Queensland University of Technology (AU), University of Southern Queensland (AU), Central Queensland University (AU), Africa Rice Center (CI)
Department of Industry, Science, Energy and Resources, Australian Government
Climate action
Openalex Percentile: Top 16%
Explainable Artificial Intelligence (XAI)
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.