A crop recommendation framework in which Multi-Layer Perceptron, XGBoost, and Tab Transformer are first evaluated as baseline prediction models, followed by the proposed Krill Herd Optimization-based explainable framework integrated with Explainable Artificial Intelligence (XAI).
Abstract
Crop recommendation is a vital part of precision agriculture as it helps farmers choose appropriate crops according to the nutrient profile and environmental conditions. This paper presents a crop recommendation framework in which Multi-Layer Perceptron (MLP), XGBoost, and Tab Transformer are first evaluated as baseline prediction models, followed by the proposed Krill Herd Optimization (KHO)-based explainable framework integrated with Explainable Artificial Intelligence (XAI). These eleven parameters are created based on agronomic and environmental aspects, namely: Nitrogen, Phosphorus, Potassium, Copper, Iron, Magnesium, Sulphur, Temperature, Rainfall, pH and Humidity. For better model transparency and to aid informed decision-making, model explanations with SHAP (SHapley Additive Explanations) and LIME (Local Interpretable Model-Agnostic Explanations) are used to identify feature contributions to crop predictions both locally and globally. The experimental results showed that Tab Transformer significantly outperformed the other models, with an accuracy of 0.99, precision of 0.98, recall of 0.99 and F1-score of 0.98. The proposed framework further incorporates Krill Herd Optimization (KHO) to generate optimized nutrient and climate profiles, while Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Simulated Annealing (SA) are used for comparative evaluation of optimization performance. By combining explainable AI with optimization methods, the framework improves crop suitability prediction and provides transparent insights into the factors influencing crop recommendations, ensuring reliable decision support for practical farming applications. The proposed framework supports precision agriculture by enabling data-driven crop selection, reducing unnecessary fertilizer usage, optimizing crop productivity, and promoting sustainable farming practices.
: Climate change and resource shortages threatening global food security; we urgently need to shift toward sustainable, precision farming. While AI and machine learning have done wonders for forecasting rain and crop yields, their opaque, "black-box" nature makes farmers and policymakers hesitant to trust them. To fix...
C. Meghana, C. M. Reddy, B. H. Reddy et al.· Proceedings of the 1st Inter...· 0 citations
By integrating high-accuracy prediction with human-focused explainability in a single lightweight framework, KRISHI.AI advances accessible and trustworthy decision support for technology-driven agriculture, with particular relevance to agricultural decision-support applications serving India's smallholder farming commu...
The proposed framework provides an intelligent, scalable, and data-driven decision support system that can assist farmers, agricultural experts, and policymakers in improving productivity, optimizing resource utilization, and promoting sustainable farming practices under varying climatic conditions.
Choudhuri Saswat Pattnaik, Rojalini Mohanty, Bijaya Laxmi Hazra et al.· International Research Journ...· 0 citations
The findings demonstrate that GeoTab-CRS provides a practical, deployable decision support tool for agricultural planners and state advisory systems, achieving real-time inference at 3.2 ms/sample with uncertainty quantification that enables risk-aware crop recommendations.
L. N. Reddy, Padmaja Kadiri· Discover Computing· 0 citations
This study explores the integration of explainable artificial intelligence (XAI) with machine learning models to enhance transparency in agricultural decision-support systems and provides transparent and reliable insights, supporting data-driven agricultural management and sustainable crop production strategies.
R. Varathan, P. Kumaresan· Agris on-line Papers in Econ...· 0 citations
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduNov 2, 2026
The MIT professors collaborated to identify the first AI-discovered antibiotic, a scientific breakthrough that is widely recognized as a milestone in AI-driven drug discovery.
MIT News · Artificial Intelligence· news.mit.eduOct 30, 2026
MIT professors Adam Berinsky and Chara Podimata discuss a new project to track how AI chatbots are responding to questions about the 2026 U.S. midterm elections.