ORIGINAL RESEARCH article
Front. Plant Sci.
Sec. Sustainable and Intelligent Phytoprotection
MangoLeafNet-XAI: An Attention-Enhanced Deep Learning Architecture for Accurate and Interpretable Mango Leaf Disease Classification
Provisionally accepted- 1Southeast University, Dhaka, Bangladesh
- 2Universitetet i Oslo, Oslo, Norway
- 3SINTEF Digital, Trondheim, Norway
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
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 data sets. MangoLeafNet-XAI will be a new benchmark of reliable, deployable, as well as accurate disease diagnosis systems, in smart agriculture.
Keywords: Agricultural automation, attention mechanism, deep learning, Densenet, ensemble learning, Explainable AI, Grad-CAM, Lime
Received: 27 Dec 2025; Accepted: 10 Feb 2026.
Copyright: © 2026 Rahman, Ahmed Bhuiyan, Noori, Uddin and Masum. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Farzan M. Noori
Abdul Kadar Muhammad Masum
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
