Machine Learning Algorithms in Cereal Yield Prediction: An Analytical Review

Document Type : Review

Authors

Crop and Horticultural Science Research Department, Fars Agricultural and Natural Resources Research and Education Center, Agricultural Research, Education and Extension Organization (AREEO), Shiraz, Iran.

Abstract

Introduction: Accurate crop yield prediction, particularly for cereal crops as the primary source of global food energy, plays a critical role in food security management, production planning, agricultural trade, and climate change adaptation. Although traditional approaches based on linear regression and classical statistical methods have been widely applied, they often face limitations when dealing with complex, nonlinear, multi-dimensional, and heterogeneous datasets. Recent advances in remote sensing technologies, field-based sensors, geographic information systems (GIS), and the rapid growth of agricultural data have accelerated the adoption of machine learning techniques in crop yield prediction. By capturing hidden patterns and nonlinear interactions among climatic, management, soil, and genetic factors, machine learning algorithms have emerged as powerful tools for predictive modeling in agriculture. This review aims to examine the application of the most widely used machine learning algorithms for predicting the yield of major cereal crops, including wheat, barley, rice, and maize, while analyzing the key stages of model development and highlighting current challenges and future research opportunities.
Materials and methods: This review synthesizes published studies on crop yield prediction using machine learning approaches. Commonly applied algorithms include multiple regression, regression trees, random forests, support vector machines (SVM), multilayer perceptrons (MLP), artificial neural networks (ANN), and deep learning architectures such as deep neural networks (DNN) and long short-term memory (LSTM) networks. The development of predictive models typically involves several sequential stages, including data acquisition, preprocessing, feature selection, model training, validation, and performance evaluation. In most studies, datasets are divided into training and testing subsets, and model performance is assessed using appropriate statistical and machine learning evaluation metrics.
Results: The reviewed studies indicate that input data quality, feature selection strategies, and validation procedures are among the most influential factors affecting prediction accuracy. Frequently used predictors include temperature, precipitation, soil moisture, soil physicochemical properties, remotely sensed vegetation indices, crop management practices, and plant genetic information. Data preprocessing procedures, including missing-value treatment, outlier detection, normalization, and dimensionality reduction, substantially improves model robustness and predictive performance. Furthermore, feature selection methods based on filter, wrapper, and embedded approaches help eliminate redundant variables and enhance model efficiency. Comparative analyses across studies revealed that tree-based algorithms, particularly Random Forest and Gradient Boosting methods, consistently achieve strong predictive performance under diverse environmental conditions. Deep learning models demonstrate superior capability in capturing complex nonlinear relationships when large-scale datasets are available. Model performance is commonly evaluated using metrics such as the coefficient of determination (R²), root mean square error (RMSE), mean absolute error (MAE), accuracy, recall, and F1-score. In addition, cross-validation techniques, especially K-fold cross-validation, are widely employed to assess model stability and generalizability.
Conclusion: Machine learning offers substantial potential for improving crop yield prediction accuracy and supporting data-driven decision-making in precision agriculture. However, several challenges remain, including the limited availability of standardized long-term datasets, data heterogeneity, the high cost of data acquisition technologies, and the limited interpretability of complex predictive models. Future research should focus on the development of large-scale multi-source databases, the integration of climatic, soil, genetic, and remote sensing information, the adoption of advanced deep learning and explainable artificial intelligence (XAI) frameworks, and the validation of predictive models across diverse environmental and management conditions. Addressing these challenges will enhance the robustness, scalability, and practical applicability of machine learning-based crop yield prediction systems.

Keywords


Akcapinar, M.C., & Apaydin, H. 2025. Early yield estimation in wheat using open access global datasets and artificial intelligence. Computers and Electronics in Agriculture, 237, 110486. https://doi.org/10.1016/j.compag.2025.110486
Arrieta, A.B., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., García, S., Gil-López, S., Molina, D., Benjamins, R. & Chatila, R. 2020. Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information fusion, 58, pp.82-115. https://doi.org/10.1016/j.inffus.2019.12.012De Clercq, D., & Mahdi, A. 2025. Modern computational approaches for rice yield prediction: A systematic review of statistical and machine learning-based methods. Computers and Electronics in Agriculture, 231, 109852. https://doi.org/10.1016/j.compag.2024.109852
de Myttenaere, A., Golden, B., Le Grand, B., & Rossi, F. 2016. Mean absolute percentage error for regression models. Neurocomputing, 192, 38-48. https://doi.org/10.1016/j.neucom.2015.12.114
Fawcett, T. 2006. An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861-874. https://doi.org/10.1016/j.patrec.2005.10.010
Hastie, T., Tibshirani, R., & Friedman, J. 2009. The Elements of Statistical Learning: Data Mining, Inference, and Prediction (2nd ed.). Springer, New York, NY. https://doi.org/10.1007/978-0-387-84858-7
Jabed, M.A., & Murad, M.A.A. 2024. Crop yield prediction in agriculture: A comprehensive review of machine learning and deep learning approaches, with insights for future research and sustainability. Heliyon, 10(24): e40836. https://doi.org/10.1016/j.heliyon.2024.e40836
Kamilaris, A. & Prenafeta-Boldú, F.X. 2018. Deep learning in agriculture: A survey. Computers and Electronics in Agriculture, 147, 70–90. https://doi.org/10.1016/j.compag.2018.02.016
Khaki, S., & Wang, L. 2019. Crop yield prediction using deep neural networks. Frontiers in Plant Science, 10, 621. https://doi.org/10.3389/fpls.2019.00621
Li, J., Cheng, K., Wang, S., Morstatter, F., Trevino, R.P., Tang, J., & Liu, H. 2017. Feature selection: A data perspective. ACM Computing Surveys, 50(6), 94. https://doi.org/10.1145/3136625
Liakos, K.G., Busato, P., Moshou, D., Pearson, S. & Bochtis, D. 2018. Machine learning in agriculture: A review. Sensors, 18(8), 2674. https://doi.org/10.3390/s18082674
Mohan, R. N. V. J., Rayanoothala, P. S., and Sree, R. P. 2025. Next-gen agriculture: Integrating AI and XAI for precision crop yield predictions. Frontiers in Plant Science, 15, 1451607. https://doi.org/10.3389/fpls.2024.1451607
Mohapatra, S.K., Asmare, B., Kekeba, K., & Deferisha, A.D. 2025. Cereal crop yield prediction using machine learning techniques. In: Singh, S., Sood, V., Srivastav, A.L., & Ampatzidis, Y. (Eds.), Hyperautomation in Precision Agriculture (pp. 97–112). Academic Press. ISBN: 9780443241390.
Montesinos-López, O.A., Crespo-Herrera, L., Pierre, C.S., Cano-Paez.0, B., Huerta-Prado, G.I., Mosqueda-González, B.A., Ramos-Pulido, S., Gerard, G., Alnowibet, K., Fritsche-Neto, R., Montesinos-López, A. & Crossa, J. 2024. Feature engineering of environmental covariates improves plant genomic-enabled prediction. Frontiers in Plant Science, 15, 1349569. https://doi.org/10.3389/fpls.2024.1349569
Nazari, L., & Zinati, Z. 2023. Gene expression classification for biomarker identification in maize subjected to various biotic stresses. IEEE/ACM Transactions on Computational Biology and Bioinformatics, 20(3), 2170-2176. https://doi.org/10.1109/TCBB.2022.3233844
Nazari, L., Aslan, M.F., Sabanci, K., & Ropelewska, E. 2023. Integrated transcriptomic meta-analysis and comparative artificial intelligence models in maize under biotic stress. Scientific Reports, 13(1), 1-12. https://doi.org/10.1038/s41598-023-42984-4
Nazari, L., Khazaei, A., & Ropelewska, E. 2022. Prediction of tannin, protein, and total phenolic content of grain sorghum using image analysis and machine learning. Cereal Chemistry, 99(4), 843-849. https://doi.org/10.1002/cche.10542
Nazari, L., Shaker, M., Karimi, A., & Ropelewska, E. 2021. Identification of sorghum genotypes using a machine vision system. Journal of Food Process Engineering, 44 (5), e13673. https://doi.org/10.1111/jfpe.13673
Okupska, E., Gozdowski, D., Pudełko, R., & Wójcik-Gront, E. 2025. Cereal and rapeseed yield forecast in Poland at regional level using machine learning and classical statistical models. Agriculture, 15(9), 984. https://doi.org/10.3390/agriculture15090984
Pudjihartono, N., Fadason, T., Kempa-Liehr, A.W. & O’Sullivan, J.M. 2022. A review of feature selection methods for machine learning-based disease risk prediction. Frontiers in Bioinformatics, 2:927312. https://doi.org/10.3389/fbinf.2022.927312
Ropelewska, E. & Nazari, L. 2021. The effect of drought stress of sorghum grains on the textural features evaluated using machine learning. European Food Research and Technology, 247, 2787-2798. https://doi.org/10.1007/s00217-021-03832-9
Sokolova, M., & Lapalme, G. 2009. A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4), 427-437. https://doi.org/10.1016/j.ipm.2009.03.002
Van Klompenburg, T., Kassahun, A., & Catal, C. 2020. Crop yield prediction using machine learning: A systematic literature review. Computers and Electronics in Agriculture, 177, 105709. https://doi.org/10.1016/j.compag.2020.105709
Zeinalzadeh-Tabrizi, H., & Nazari, L. 2025. Machine learning-based transcriptome mining to discover key genes for density stress in sweet corn. Ecological Genetics and Genomics, 35(100349), 1-17. https://doi.org/10.1016/j.egg.2025.100349