Skip to content
#explainable ai Open access

Smart crop recommendation: fusing nutrient and climate data with Krill Herd Optimization and explainable AI

Sep 2026 · Frontiers in Artificial Intelligence · Vol 9 · 0 citations · 41 references
Medicine

TL;DR

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.

Read PDF

Similar papers

Conference Open access 2025

Explainable AI for Crop Recommendation, Yield Forecasting and Rainfall Prediction in Smart Agriculture

: 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. · 0 citations
#artificial intelligence Open access Sep 2026

KRISHI.AI: an explainable machine learning framework for data-driven crop recommendation

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...

Bhavya Dhingra, Saarang Agarwal, Rishi Gupta · 0 citations
Open access Sep 2026

Ai Based Smart Crop Recommendation and Yield Prediction Using Ml and Weather Analytics

Agriculture plays a vital role in ensuring global food security; however, unpredictable climatic conditions, changing soil characteristics, and inefficient crop selection continue to affect agricultural productivity. Accurate crop recommendation and yield prediction are essential for supporting farmers in making inform...

Choudhuri Saswat Pattnaik, Rojalini Mohanty, Bijaya Laxmi Hazra et al. · 0 citations
Open access Aug 2026

Enhancing crop recommendation through graph attention and tabular deep learning on soil–climate datasets

Crop recommendation is a critical challenge in modern agriculture of any day and age because of the enormous variation in the soil properties, climatic variations and different management methods. To solve this, the current research comes out with a new model of hybrid crop recommendations created and tested on the lat...

L. N. Reddy, Padmaja Kadiri · 0 citations
Open access Sep 2026

Evaluation of AI Predictability on Crop Yield using XAI - An Experimental Approach

Accurate crop yield prediction is essential for improving agricultural planning and sustainability. This study explores the integration of explainable artificial intelligence (XAI) with machine learning models to enhance transparency in agricultural decision-support systems. A comparative evaluation of multiple regress...

R. Varathan, P. Kumaresan · 0 citations

Related blog posts

Google DeepMind Blog Sep 30, 2026

Introducing SynthID Bio

Proof of concept for watermarking AI-generated proteins while preserving biological function.

MIT News · Artificial Intelligence Sep 30, 2026

This game-playing AI is the new champ at Stratego

Able to defeat top-ranked human players and more efficient than other models, the new system could help decision-makers in military maneuvers or business negotiations.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.