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

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. · 0 citations
Open access Aug 2026

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

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 · 0 citations
Open access Sep 2026

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

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 · 0 citations

Related blog posts

Google DeepMind Blog Nov 18, 2026

Genie 4 is now available

We are rolling out a new Project Genie experience to eligible Google AI Ultra subscribers, opening access to our new Genie 4 world model.

MIT News · Artificial Intelligence Nov 17, 2026

Putting a spotlight on AI, society, and humanity

Supported by the MIT Human Insight Collaborative, scholars are exploring how AI is impacting the human experience and reshaping higher education.

Microsoft Research Blog Nov 17, 2026

Can AI help build a healthier future?

What can AI enable in medicine, and how do we get there? Microsoft Research lead Doug Burger, Microsoft Principal Research Manager Ava Amini, Microsoft Chief Scientific Officer Eric Horvitz, and physician-scientist Eric Topol of Scripps Research explore these questions and more. The post Can AI help build a healthier future? appeared first on Microsoft Research.

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