Year: 2026
Type: article
Abstract: Weed detection is crucial for precision agriculture, directly impacting crop productivity and sustainability. However, deep learning systems for plant recognition face challenges, including severe class imbalance and lack of interpretability. This work proposes an explainable AI (XAI) approach to address these issues. Using a ResNet-50 Convolutional Neural Network (CNN) backbone optimized with Focal Loss, the model mitigates class imbalance by focusing on hard-to-classify weed samples. Gradient-weighted Class Activation Mapping (Grad-CAM) enhances interpretability by generating saliency heatmaps, helping users verify that the model focuses on biologically relevant plant structures. The framework aims to provide reliable, transparent crop–weed discrimination across diverse environments, promoting trust in AI-driven farming systems. This research contributes to responsible, reproducible AI in agriculture, with potential applications for real-time weed mapping, disease detection, and crop stress monitoring. By integrating XAI, the approach supports sustainable farming and the transition to human-centered AI in agricultural decision-making.
Source: Universum Technical sciences
Institution: Kazakh-British Technical University
Language: English
Topic: Smart Agriculture and AI
Subfield: Plant Science
Domain: Life Sciences
SDG: Zero hunger
Open Access status: green
OpenAlex ID: W7165312245
