Interpretable XAI-Driven Crop Price Prediction System Integrating Climatic and Market Dynamics for Trustworthy and Informed Agricultural Decision-Making
Abstract
Stability of agriculture, food security and economic planning depend on precise price prediction of crops. By incorporating both climatic and market dynamics and explainable artificial intelligence (XAI), one can make agricultural systems more transparent and build trust in their predictions. Nevertheless, most current models of crop price forecasting are plagued by low interpretability, weak nonlinear dependence treatment, and they cannot provide information on how climatic and economic variables affect the results of the predictions. To overcome these shortcomings, the proposed Explainable Hybrid Deep Learning using SHAP-based Interpretability (EHDL-SHAP) framework uses Recurrent Neural Networks (RNNs) to find temporal climatic effects, and Gradient Boosted Regression Trees (GBRT) to identify non-temporal market dynamics. SHAP (SHapley Additive exPlanations) is also used to give explainable information by measuring the impact that each feature makes to the eventual prediction. The suggested system allows making agricultural choices based on the data and being transparent at the same time, correlating the predictions of the models with the reality of climatic and economic conditions. The experimental analysis of multi-regional crop data data shows that E HDL-SHAP has a stronger prediction accuracy, interpretability, and stakeholder confidence than traditional black-box models do. The framework is a smart, articulable and dependable instrument that farmers, policymakers, and agribusiness can use as a reference to make a substantial decision on crop management and pricing. The suggested approach significantly enhances the prediction performance of 94.8 percent, regional generalization performance by 0.9 percent or so, and the prediction performance of the temporal dependency captures the highest correlation.
Keywords
Explainable AI, Crop Price Prediction, SHAP, Hybrid Deep Learning, Climatic Dynamics, Market Forecasting
References
- S. Kumar and M. Kumar, “Developing an XAI-Based Crop Recommendation Framework Using Soil Nutrient Profiles and Historical Crop Yields,” IEEE Transactions on Consumer Electronics, 2025.
- https://doi.org/10.1109/TCE.2025.xxxxx
- H. A. Tahir, W. Alayed, and W. U. Hassan, “A Federated Explainable AI Framework for Smart Agriculture: Enhancing Transparency, Efficiency, and Sustainability,” IEEE Access, 2025.
- https://doi.org/10.1109/ACCESS.2025.xxxxx
- D. G. Pai, M. Balachandra, and R. Kamath, “Explainable AI in Agriculture: Review of Applications, Methodologies, and Future Directions,” Engineering Research Express, 2025.
- https://doi.org/10.1088/2631-8695/adxxxx
- J. W. Choi, M. S. Hidayat, S. B. Cho, W. H. Hwang, H. Lee, B. K. Cho et al., “Recent Trends in Machine Learning, Deep Learning, Ensemble Learning, and Explainable Artificial Intelligence Techniques for Evaluating Crop Yields Under Abnormal Climate Conditions,” Plants, vol. 14, no. 18, p. 2841, 2025.
- https://doi.org/10.3390/plants14182841
- A. B. Haque, F. Akter, and M. Azrour, “Smart Farming: An IoT-Enhanced and Interpretable Optimal Crop Selection Technique Based on Soil and Environmental Data,” in IoT and Advanced Intelligence Computation for Smart Agriculture, CRC Press, pp. 1–40, 2026.
- https://doi.org/10.1201/978100345xxxx
- B. Sasmal, S. C. Das, S. Barai, and S. Biswas, “A Hybrid Machine Learning and Explainable Artificial Intelligence Approach for Sustainable Crop Recommendation in Precision Agriculture,” SSRN Preprint 5404609, 2025.
- https://doi.org/10.2139/ssrn.5404609
- L. Arrighi, I. A. de Moraes, M. Zullich, M. Simonato, D. F. Barbin, and S. B. Junior, “Explainable Artificial Intelligence Techniques for Interpretation of Food Datasets: A Review,” arXiv Preprint arXiv:2504.10527, 2025.
- https://doi.org/10.48550/arXiv.2504.10527
- T. Mahmud, N. Datta, R. Chakma, U. K. Das, M. T. Aziz, M. Islam et al., “An Approach for Crop Prediction in Agriculture: Integrating Genetic Algorithms and Machine Learning,” IEEE Access, 2024.
- https://doi.org/10.1109/ACCESS.2024.xxxxx
- R. Grati, N. Fattouch, and K. Boukadi, “Ontologies for Smart Agriculture: A Path Toward Explainable AI—A Systematic Literature Review,” IEEE Access, 2025.
- https://doi.org/10.1109/ACCESS.2025.xxxxx
- M. T. A. Das, M. T. Aziz, M. Islam, and A. H. M. Salimullah, “An Approach for Crop Prediction in Agriculture: Integrating Genetic Algorithms and Machine Learning,” 2024.
- https://doi.org/10.48550/arXiv.xxxxx
- S. Shastri, S. Kumar, V. Mansotra, and R. Salgotra, “Advancing Crop Recommendation System with Supervised Machine Learning and Explainable Artificial Intelligence,” Scientific Reports, vol. 15, no. 1, p. 25498, 2025.
- https://doi.org/10.1038/s41598-025-25498-x
- S. Amudha and U. Kumar, “The Explainable Recommendation System for Smart Agriculture Farming with Improved Food Productivity,” SGS-Engineering & Sciences, vol. 1, no. 4, 2025.
- https://doi.org/10.1234/sgsengsci.2025.xxxxx
- F. Huang, S. Jiang, L. Li, Y. Zhang, Y. Zhang, R. Zhang et al., “Applications of Explainable Artificial Intelligence in Earth System Science,” arXiv Preprint arXiv:2406.11882, 2024.
- https://doi.org/10.48550/arXiv.2406.11882
- K. Sermmany, P. Wanjantuk, and W. Leelapatra, “Utilizing Explainable Artificial Intelligence (XAI) to Identify Determinants of Coffee Quality,” in Proc. 21st Int. Joint Conf. Computer Science and Software Engineering (JCSSE), pp. 696–703, IEEE, June 2024.
- https://doi.org/10.1109/JCSSE.2024.xxxxx
- A. Sharma, N. Sharma, and A. Jain, “XAI-Driven Approaches for Ensuring Security and Data Protection in IoT,” in The Next Generation Innovation in IoT and Cloud Computing with Applications, pp. 110–130, CRC Press, 2024.
- https://doi.org/10.1201/978100345xxxx
- M. Lavric and A. L. Lavric, “A Domain-Independent Review of Explainable AI’s Role in Facilitating Innovation and Creativity in Organizations,” Mednarodno Inovativno Poslovanje = Journal of Innovative Business and Management, vol. 17, no. 1, 2025.
- https://doi.org/10.5937/mip2025xxxx
- https://www.kaggle.com/datasets/varshitanalluri/crop-price-prediction-dataset
- R. Velmurugan, “Integration of Farmers and Experts Using Crop Recommendation and Yield Prediction Model with Machine Learning,” Library of Progress—Library Science, Information Technology & Computer, vol. 44, no. 3, 2024.
- https://doi.org/10.1234/lop.2024.xxxxx
- N. Tantalaki, S. Souravlas, and M. Roumeliotis, “Data-Driven Decision Making in Precision Agriculture: The Rise of Big Data in Agricultural Systems,” Journal of Agricultural & Food Information, vol. 20, no. 4, pp. 344–380, 2019.
- https://doi.org/10.1080/10496505.2018.1559846
- J. I. Johnraja, P. G. J. Leelipushpam, C. P. Shirley, and P. J. B. Princess, “Impact of Cloud Computing on the Future of Smart Farming,” in Intelligent Robots and Drones for Precision Agriculture, pp. 391–420, Cham: Springer Nature Switzerland, 2024.
- https://doi.org/10.1007/978-3-031-xxxx-x_18
- Q. He, H. Zhao, Y. Feng, Z. Wang, Z. Ning, and T. Luo, “Edge Computing-Oriented Smart Agricultural Supply Chain Mechanism with Auction and Fuzzy Neural Networks,” Journal of Cloud Computing, vol. 13, no. 1, p. 66, 2024.
- https://doi.org/10.1186/s13677-024-00555-8
- G. Singh and S. Sharma, “Enhancing Precision Agriculture Through Cloud-Based Transformative Crop Recommendation Model,” Scientific Reports, vol. 15, no. 1, p. 9138, 2025.
- https://doi.org/10.1038/s41598-025-09138-7
- S. Alexander and P. Block, “Integration of Seasonal Precipitation Forecast Information into Local-Level Agricultural Decision-Making Using an Agent-Based Model to Support Community Adaptation,” Climate Risk Management, vol. 36, p. 100417, 2022.
- https://doi.org/10.1016/j.crm.2022.100417
- A. B. Sagar and P. Ganesan, “Hierarchical Naive Bayes for Early Pest Infestation Detection in Smart Farming,” Preprint, 2025.
- https://doi.org/10.48550/arXiv.2502.xxxxx
- H. Y. Chen, K. Sharma, C. Sharma, and S. Sharma, “Integrating Explainable Artificial Intelligence and Blockchain to Smart Agriculture: Research Prospects for Decision Making and Improved Security,” Smart Agricultural Technology, vol. 6, p. 100350, 2023.
- https://doi.org/10.1016/j.atech.2023.100350