Indian Journal of Agricultural Research

Indian Journal of Agricultural Research cover
Volume 59 · Issue 8 · 2024/12/26

Crop Yield Prediction using Deep Learning Algorithm based on CNN-LSTM with Attention Layer and Skip Connection

Vijay H. Kalmani
Nagaraj V. Dharwadkar
Vijay Thapa
1032 Views

Submitted

2024/08/21

First Online

2024/12/26

doi

10.18805/IJARe.A-6300

Cite article - Vijay H. Kalmani, Nagaraj V. Dharwadkar, Vijay Thapa. (2024). Crop Yield Prediction using Deep Learning Algorithm based on CNN-LSTM with Attention Layer and Skip Connection. Indian Journal of Agricultural Research. 59(8): 1303–1311. doi: 10.18805/IJARe.A-6300

Abstract

Background: Accurate prediction of crop production is essential for efficient agricultural resource planning. Factors such as weather, soil moistureand temperature have a direct impact on crop yields, making precise forecasting vital.

Methods: This study presents a hybrid model that enhances crop production prediction by integrating a 1D Convolutional Neural Network (CNN) with a Long Short-Term Memory (LSTM) network and an attention layer. The model is specifically applied to wheat and rice, major crops in India. The model evolves into a CNN-LSTM hybrid, designed to improve prediction accuracy by incorporating modifications, including multi-head attention and a multiplication skip connection.

Result: When compared with conventional methods like Support Vector Regressor, Decision Tree Regressor and Random Forest Regressor, the proposed hybrid model shows significantly better performance. It achieves a Root Mean Square Error (RMSE) of 0.017, indicating low prediction error, a Mean Absolute Error (MAE) of 0.09 and a strong correlation between predicted and actual yields, with an R² of 0.967.

References

  1. Ahmad, I., Saeed, U., Fahad, M., Ullah, A., Rahman, M.H.U., Ahmad, A. and Judge, J. (2018). Yield forecasting of spring maize using remote sensing and crop modeling in Faisalabad-Punjab Pakistan. Journal of the Indian Society of Remote Sensing . 46(10): 1701–1711. https://doi.org/ 10.1007/s12524-018-0825-8 Baek, S.S., Pyo, J. and Chun, J.A. (2020). Prediction of water level and water quality using a CNN-LSTM combined deep learning approach. Water . 12(12): 3399. https:// doi.org/10.3390/w12123399. Batra, K. and Gandhi, P. (2021). Prediction of nematode population dynamics using weather variables in leguminous crops. Indian Journal of Agricultural Research . 55(3): 383-386. doi: 10.18805/IJARe.LR-4572 . Bheemabai S. Mulage, (2017). History of agriculture system in India: A legal perspective. International Journal of Humanities Social Sciences and Education . 4(7): 25-30. Dwivedi, A.K., Upreti, H. and Ojha, C.S.P. (2022). Wheat yield modelling using infocrop and DSSAT crop simulation models. Indian Journal of Agricultural Research . 56(6): 646-652. doi: 10.18805/IJARe.A-5981 . Durai, S.K.S. and Shamili, M.D. (2022). Smart farming using Machine Learning and Deep Learning techniques. Decision Analytics Journal . 3: 100-041. https://doi.org/10.1016/ j.dajour.2022.100041. Elavarasan, D. and Vincent, P.M.D. (2020). Crop yield prediction using deep reinforcement learning model for sustainable agrarian applications. IEEE Access. 8: 86886-86901. https://doi.org/10.1109/access.2020.2992480. Filippi, P., Jones, E. J., Wimalathunge, N.S., Somarathna, P.D., Pozza, L.E., Ugbaje, S.U. and Bishop, T.F. (2019). An approach to forecast grain crop yield using multi-layered, multi- farm data sets and machine learning. Precision Agriculture . 20: 1015-1029. Gopal, P.M. and Bhargavi, R. (2019). A novel approach for efficient crop yield prediction. Computers and Electronics in Agriculture . 165: 104968. https://doi.org/10.1016/j. compag .2019.104968. Howlett, Peter. (2008). Travelling in the social science community: assessing the impact of the Indian Green Revolution across disciplines, Economic History Working Papers 22513, London School of Economics and Political Science. Department of Economic History. Iniyan, S., Varma, V.A. and Naidu, C.T. (2023). Crop yield prediction using machine learning techniques. Advances in Engineering Software . 175: 103-326. https://doi.org/ 10.1016/j.advengsoft.2022.103326. Jhajharia, K. and Pratistha, M. (2022). Machine learning approaches to predict crop yield using integrated satellite and climate data. International Journal of Ambient Computing and Intelligence . 13(1): 1-17. Kaggle, (2024). Crop Production Prediction Kaggle, www.kaggle. com/code/milan400/crop-production-prediction/input? select=crop_production.csv. Keerthana, T., Kaviya, K., Deepthi Priya, S. and Suresh Kumar, A. (2021). “AI Enabled Smart Surveillance System.” Journal of Physics: Conference Series, vol. 1916, , IOP Publishing Ltd. International Conference on Computing, Communication Electrical and Biomedical Systems (ICCCEBS). 25-26 Mar. Coimbatore, India. Khaki, S., Wang, L. and Archontoulis, S.V. (2020). A CNN-RNN framework for crop yield prediction. Frontiers in Plant Science . 10: 1750. Khosla, E., Dharavath, R. and Priya, R. (2020). Crop yield prediction using aggregated rainfall-based modular artificial neural networks and support vector regression. Environment Development and Sustainability . 22(6): 5687–5708. https://doi.org/10.1007/s10668-019-00445-x. Kiranyaz, S., Avci, O., Abdeljaber, O., Ince, T., Gabbouj, M. and Inman, D.J. (2021). 1D convolutional neural networks and applications: A survey. Mechanical Systems and Signal Processing . 151: 107398. https://doi.org/10.1016/ j.ymssp.2020.107398. Majeed, A., Niaz, A., Sameen, A., Ahmad, H.B., Younus, M., Aftab, M. and Arif, M. (2021). Bed planting techniques improved crop yield by efficient use of added nitrogen fertilizer. Indian Journal of Agricultural Research . 55(5): 542-548. doi: 10.18805/IJARe.A-599 . Mahdi, M.D., Mrittika, N.J., Shams, M., Chowdhury, L. and S. Siddique. (2020). A deep gaussian process for forecasting crop yield and time series analysis of precipitation based in Munshiganj, Bangladesh, IGARSS-IEEE International Geoscience and Remote Sensing Symposium, Waikoloa, HI, USA. pp. 1331-1334. doi: 10.1109 /IGARSS39084.2020.9323423. Nigam, A., Garg, S., Agrawal, A. and Agrawal, P. (2019). Crop yield prediction using machine learning algorithms. Fifth International Conference on Image Information Processing (ICIIP), Shimla, India. pp. 125-130. doi: 10.1109/ICIIP47207.2019.8985951. Nevavuori, P., Narra, N. and Lipping, T. (2019). Crop yield prediction with deep convolutional neural networks. Computers and Electronics in Agriculture . 163: 104-859. https:// doi.org/10.1016/j.compag.2019.104859. Panigrahi, Bharati, Kathalaand, K.C.R., Sujatha, M. (2023). A machine learning-based comparative approach to predict the crop yield using supervised learning with regression models. Procedia Computer Science . 218: 2684-2693. Science Direct. https://doi.org/10.1016/ j.procs.2023.01.241. Saini, P. and Nagpal, B. (2022). Deep-LSTM model for wheat crop yield prediction in India. Fifth International Conference on Computational Intelligence and Communication Technologies (CCICT). https://doi.org/10.1109/ccict 56684.2022.00025. Satpathi, A., Setiya, P., Das, B., Nain, A.S., Jha, P.K., Singh, S. and Singh, S. (2023). Comparative analysis of statistical and machine learning techniques for rice yield forecasting for Chhattisgarh, India. Sustainability . 15(3): 2786. https:/ /doi.org/10.3390/su15032786. Shen, D., Wu, G. and Suk, H. I. (2017). Deep learning in medical image analysis. Annual Review of Biomedical Engineering . 19(1): 221-248. https://doi.org/10.1146/annurev-bioeng- 071516-044442. Shobanadevi, C., Elangaimannan, R. and Vadivel, K. (2023). Stability analysis for yield and Its component characters in blackgram [ Vigna mungo (L.) Hepper]. Indian Journal of Agricultural Research . 57(6): 737-739. doi: 10.18805/ IJARe.A-5638 Shook, J., Gangopadhyay, T., Wu, L., Ganapathysubramanian, B., Sarkar, S. and Singh, A.K. (2021). Crop yield prediction integrating genotype and weather variables using deep learning. PLoS ONE . 16(6): e0252402. https://doi.org/ 10.1371/journal.pone.0252402. Sivanantham, V., Sangeetha, V., Alnuaim, A.A., Hatamleh, W.A., Anilkumar, C., Hatamleh, A.A. and Sweidan, D. (2022). Quantile correlative deep feedforward multilayer perceptron for crop yield prediction. Computers and Electrical Engineering. 98. Published. https://doi.org/ 10.1016/j.compeleceng.2022.107696. Srivastava, A.K., Safaei, N., Khaki, S., Lopez, G., Zeng, W., Ewert, F., Gaiser, T. and Rahimi, J. (2022). Winter wheat yield prediction using convolutional neural networks from environmental and phenological data. Scientific Reports . 12(1). https://doi.org/10.1038/s41598-022-06249-w. Zhang, W., Quan, H., Gandhi, O., Rajagopal, R., Tan, C.W. and Srinivasan, D. (2020). Improving probabilistic load forecasting using quantile regression NN with skip connections. IEEE Transactions on Smart Grid . 11(6): 5442-5450. https://doi.org/10.1109/tsg.2020.2995777.
EDITORIAL BOARD

Guided by Experienced Academic Leadership

Distinguished scholars and subject experts committed to editorial excellence, scientific integrity and rigorous peer review.

View Full Board
V. Geethalakshmi
Chief Editor

V. Geethalakshmi

Ex-Vice ChancellorTamil Nadu Agricultural University Coimbatore, INDIA

R. Sarada Jaya Lakshmi
Associate chief editor

R. Sarada Jaya Lakshmi

Ex-Vice ChancellorCoordinator, DAATTC Kurnool, Acharya N.G. Ranga Agricultural University, Andhra Pradesh, INDIA

Neetu Sharma
Editor

Neetu Sharma

ProfessorSher-e-Kashmir University of Agricultural Sciences & Technology of Jammu and Kashmir, INDIA

S. Alarmelu
Editor

S. Alarmelu

Principal ScientistICAR-Sugarcane Breeding Institute, Coimbatore, Tamil Nadu, INDIA.