# MangoLeafNet-XAI: an attention-enhanced deep learning architecture for accurate and interpretable mango leaf disease classification

**Authors:** Md. Abdur Rahman, Md. Tofael Ahmed Bhuiyan, Farzan Majeed Noori, Md Zia Uddin, Abdul Kadar Muhammad Masum

PMC · DOI: 10.3389/fpls.2026.1776537 · Frontiers in Plant Science · 2026-03-09

## TL;DR

This paper introduces a lightweight, accurate, and interpretable AI system for detecting mango leaf diseases, suitable for use in resource-limited agricultural settings.

## Contribution

The novel MangoLeafNet-XAI model balances high accuracy with low computational cost and includes interpretability features for reliable disease diagnosis.

## Key findings

- MangoLeafNet-XAI achieved 98.83% accuracy on the MLDID dataset with only 6.9 million parameters.
- The model demonstrated strong generalizability across three diverse mango leaf disease datasets.
- Interpretability tools like Grad-CAM and LIME validate the model's focus on clinically relevant leaf features.

## Abstract

A critical challenge in agricultural automation is the precise detection of mango leaf diseases that compromise crop quality and yield. To address the limitation of existing heavy models in resource-constrained agricultural environments, this study proposes MangoLeafNet-XAI, a novel lightweight deep learning architecture. The model synergistically integrates Efficient Channel Attention (ECA) modules with a DenseNet-121 backbone to adaptively refine features and capture subtle pathological patterns with high precision. The proposed framework was rigorously evaluated using a 5-fold cross-validation and soft-voting ensemble strategy across three public datasets (MLDID, Mango Leaf Disease, and Harumanis). These datasets encompass diverse environmental conditions and distinct disease classes, including Anthracnose, Bacterial Canker, Die Back, Gall Midge, Powdery Mildew, Sooty Mould, and Cutting Weevil. MangoLeafNet-XAI achieved state-of-the-art accuracies of 98.83% on MLDID, 98.09% on the Mango Leaf Disease Dataset, and 98.76% on the Harumanis dataset. A primary contribution of this work is the optimal balance between performance and computational efficiency, utilizing only 6.9 million parameters, making it highly suitable for deployment on edge devices. Moreover, the interpretability of AI methods, such as Grad-CAM and LIME, that are used to explain the rationale behind predictions to offer pathological explanations, also validate the focus on clinically important aspects of the model. The results discuss the key limitations of existing methods, such as computational complexity, inability to interpret the findings, and dataset-dependent overfitting, and demonstrate a high level of resilience and generalizability on diverse datasets. MangoLeafNet-XAI will be a new benchmark of reliable, deployable, as well as accurate disease diagnosis systems, in smart agriculture.

## Full-text entities

- **Diseases:** Mango Leaf Disease (MESH:D004194)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13007606/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13007606/full.md

## References

35 references — full list in the complete paper: https://tomesphere.com/paper/PMC13007606/full.md

---
Source: https://tomesphere.com/paper/PMC13007606