A Long Short-Term Memory Guided Conditional Dynamic Variational Auto-Encoder for Crop Yield Prediction and Crop Type Classification

Authors

  • Nandini Geddlehally Renukaradya Department of Information Science and Engineering, Sri Siddhartha Institute of Technology, SSAHE, Tumakuru, India | Visvesvaraya Technological University, Belagavi, India
  • Kishore Gopala Rao Department of Information Science and Engineering, Jyothy Institute of Technology, Kanakapura, India | Visvesvaraya Technological University, Belagavi, India
Volume: 15 | Issue: 6 | Pages: 29770-29778 | December 2025 | https://doi.org/10.48084/etasr.12586

Abstract

Agriculture plays a significant role in India's economy and directly impacts food security, which faces the difficulties of population growth and rising food demand. The analysis of environmental factors and soil properties data to predict key determinants is difficult due to variability in weather conditions and soil quality, which affects the yield of Jowar and Ragi crops. This research proposes a Long Short-Term Memory (LSTM)-guided Conditional Dynamic Variational Auto-Encoder (LSTM-CDVAE) for crop yield prediction and classification. Using LSTM's ability to obtain temporal patterns and CDVAE's generative modeling capability, this approach provides better feature representation, thereby enhancing generalization for various crop conditions. In this study, two crop datasets, All Crops (Dataset 1) and Filtered Crops (Dataset 2), were considered and preprocessed using a standard scaler and label encoding. The standard scaler normalizes numerical features to uniform scales, while label encoding converts categorical values into numerical representations, thus preserving the integrity of various classes. The Synthetic Minority Oversampling Technique (SMOTE) is applied to balance data by oversampling minority classes. The LSTM-CDVAE achieves 99.85% accuracy and 0.0015 MSE for Dataset 1, which is better than the Weight-Tuned Deep Convolutional Neural Network (WTDCNN).

 

Keywords:

crop type classification, crop yield prediction, feature representation, label encoding, standard scaler

Downloads

Download data is not yet available.

References

F. Mena et al., "Adaptive fusion of multi-modal remote sensing data for optimal sub-field crop yield prediction," Remote Sensing of Environment, vol. 318, Mar. 2025, Art. no. 114547. DOI: https://doi.org/10.1016/j.rse.2024.114547

H. Najjar, M. Miranda, M. Nuske, R. Roscher, and A. Dengel, "Explainability of Subfield Level Crop Yield Prediction Using Remote Sensing," IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, vol. 18, pp. 4141–4161, 2025. DOI: https://doi.org/10.1109/JSTARS.2025.3528068

D. Al-Shammari, B. M. Whelan, C. Wang, R. G. V. Bramley, and T. F. A. Bishop, "Assessment of red-edge based vegetation indices for crop yield prediction at the field scale across large regions in Australia," European Journal of Agronomy, vol. 164, Mar. 2025, Art. no. 127479. DOI: https://doi.org/10.1016/j.eja.2024.127479

M. S. Dhillon et al., "Integrating random forest and crop modeling improves the crop yield prediction of winter wheat and oil seed rape," Frontiers in Remote Sensing, vol. 3, Jan. 2023. DOI: https://doi.org/10.3389/frsen.2022.1010978

L. Jovanovic et al., "Evaluating the performance of metaheuristic-tuned weight agnostic neural networks for crop yield prediction," Neural Computing and Applications, vol. 36, no. 24, pp. 14727–14756, Aug. 2024. DOI: https://doi.org/10.1007/s00521-024-09850-4

H. Zare, T. K. Weber, J. Ingwersen, W. Nowak, S. Gayler, and T. Streck, "Within-season crop yield prediction by a multi-model ensemble with integrated data assimilation," Field Crops Research, vol. 308, Mar. 2024, Art. no. 109293. DOI: https://doi.org/10.1016/j.fcr.2024.109293

J. Lu et al., "Deep Learning for Multi-Source Data-Driven Crop Yield Prediction in Northeast China," Agriculture, vol. 14, no. 6, May 2024, Art. no. 794. DOI: https://doi.org/10.3390/agriculture14060794

J. O. Okesola et al., "Predictive analytics on crop yield using supervised learning techniques," Indonesian Journal of Electrical Engineering and Computer Science, vol. 36, no. 3, Dec. 2024, Art. no. 1664. DOI: https://doi.org/10.11591/ijeecs.v36.i3.pp1664-1673

M. Rajakumaran, G. Arulselvan, S. Subashree, and R. Sindhuja, "Crop yield prediction using multi-attribute weighted tree-based support vector machine," Measurement: Sensors, vol. 31, Feb. 2024, Art. no. 101002. DOI: https://doi.org/10.1016/j.measen.2023.101002

F. M. Talaat, "Crop yield prediction algorithm (CYPA) in precision agriculture based on IoT techniques and climate changes," Neural Computing and Applications, vol. 35, no. 23, pp. 17281–17292, Aug. 2023. DOI: https://doi.org/10.1007/s00521-023-08619-5

S. N. Khan, D. Li, and M. Maimaitijiang, "Using gross primary production data and deep transfer learning for crop yield prediction in the US Corn Belt," International Journal of Applied Earth Observation and Geoinformation, vol. 131, Jul. 2024, Art. no. 103965. DOI: https://doi.org/10.1016/j.jag.2024.103965

D. S. Dhaliwal and M. M. Williams, "Sweet corn yield prediction using machine learning models and field-level data," Precision Agriculture, vol. 25, no. 1, pp. 51–64, Feb. 2024. DOI: https://doi.org/10.1007/s11119-023-10057-1

R. Ed-Daoudi, A. Alaoui, B. Ettaki, and J. Zerouaoui, "Improving Crop Yield Predictions in Morocco Using Machine Learning Algorithms," Journal of Ecological Engineering, vol. 24, no. 6, 2023. DOI: https://doi.org/10.12911/22998993/162769

T. Sudhamathi and K. Perumal, "Ensemble regression based Extra Tree Regressor for hybrid crop yield prediction system," Measurement: Sensors, vol. 35, Oct. 2024, Art. no. 101277. DOI: https://doi.org/10.1016/j.measen.2024.101277

U. Shafi et al., "Tackling Food Insecurity Using Remote Sensing and Machine Learning-Based Crop Yield Prediction," IEEE Access, vol. 11, pp. 108640–108657, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3321020

A. Morales and F. J. Villalobos, "Using machine learning for crop yield prediction in the past or the future," Frontiers in Plant Science, vol. 14, Mar. 2023. DOI: https://doi.org/10.3389/fpls.2023.1128388

S. Vimalkumar and R. Latha, "Advanced Soil Moisture Predictive Methodology in the Maize Cultivation Region," Engineering, Technology & Applied Science Research, vol. 15, no. 1, pp. 19966–19970, Feb. 2025. DOI: https://doi.org/10.48084/etasr.9059

J. Li et al., "TrG2P: A transfer-learning-based tool integrating multi-trait data for accurate prediction of crop yield," Plant Communications, vol. 5, no. 7, Jul. 2024. DOI: https://doi.org/10.1016/j.xplc.2024.100975

M. V. Rao, Y. Sreeraman, S. V. Mantena, V. Gundu, D. Roja, and R. Vatambeti, "Brinjal Crop yield prediction using Shuffled shepherd optimization algorithm based ACNN-OBDLSTM model in Smart Agriculture," Journal of Integrated Science and Technology, vol. 12, no. 1, pp. 710–710.

U. Bhimavarapu, G. Battineni, and N. Chintalapudi, "Improved Optimization Algorithm in LSTM to Predict Crop Yield," Computers, vol. 12, no. 1, Jan. 2023, Art. no. 10. DOI: https://doi.org/10.3390/computers12010010

S. Stiller, K. Grahmann, G. Ghazaryan, and M. Ryo, "Improving spatial transferability of deep learning models for small-field crop yield prediction," ISPRS Open Journal of Photogrammetry and Remote Sensing, vol. 12, Apr. 2024, Art. no. 100064. DOI: https://doi.org/10.1016/j.ophoto.2024.100064

S. R. Gopi and M. Karthikeyan, "Effectiveness of Crop Recommendation and Yield Prediction using Hybrid Moth Flame Optimization with Machine Learning," Engineering, Technology & Applied Science Research, vol. 13, no. 4, pp. 11360–11365, Aug. 2023. DOI: https://doi.org/10.48084/etasr.6092

P. V. D. de Souza, L. P. de Rezende, A. P. Duarte, and G. V. Miranda, "Maize Yield Prediction using Artificial Neural Networks based on a Trial Network Dataset," Engineering, Technology & Applied Science Research, vol. 13, no. 2, pp. 10338–10346, Apr. 2023. DOI: https://doi.org/10.48084/etasr.5664

L. K. Subramaniam and R. Marimuthu, "Crop yield prediction using effective deep learning and dimensionality reduction approaches for Indian regional crops," e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 8, Jun. 2024, Art. no. 100611. DOI: https://doi.org/10.1016/j.prime.2024.100611

P. Sharma, P. Dadheech, N. Aneja, and S. Aneja, "Predicting Agriculture Yields Based on Machine Learning Using Regression and Deep Learning," IEEE Access, vol. 11, pp. 111255–111264, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3321861

D. N. V. Dharwadkar, V. H. Kalmani, and V. Thapa, "Crop yield prediction using deep learning algorithm based on CNN-LSTM with Attention Layer and Skip Connection." Research Square, Oct. 03, 2023. DOI: https://doi.org/10.21203/rs.3.rs-3118781/v1

K. Vignesh, A. Askarunisa, and A. M. Abirami, "Optimized Deep Learning Methods for Crop Yield Prediction," Computer Systems Science and Engineering, vol. 44, no. 2, pp. 1051–1067, 2023. DOI: https://doi.org/10.32604/csse.2023.024475

M. Abdel-Salam, N. Kumar, and S. Mahajan, "A proposed framework for crop yield prediction using hybrid feature selection approach and optimized machine learning," Neural Computing and Applications, vol. 36, no. 33, pp. 20723–20750, Nov. 2024. DOI: https://doi.org/10.1007/s00521-024-10226-x

"Agricultural Crop Yield in Indian States Dataset." Kaggle, [Online]. Available: https://www.kaggle.com/datasets/akshatgupta7/crop-yield-in-indian-states-dataset.

"Filtered Crops." [Online]. Available: https://karnataka.gov.in/new-page/Agriculture/en.

Downloads

How to Cite

[1]
N. G. Renukaradya and K. G. Rao, “A Long Short-Term Memory Guided Conditional Dynamic Variational Auto-Encoder for Crop Yield Prediction and Crop Type Classification”, Eng. Technol. Appl. Sci. Res., vol. 15, no. 6, pp. 29770–29778, Dec. 2025.

Metrics

Abstract Views: 336
PDF Downloads: 258

Metrics Information