Mango-Mamba and VN-MangoLeaf: A lightweight Mamba model and New Dataset for Mango leaf disease classification

IF 4.9 3区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Thien B. Nguyen-Tat, Binh Pham-Thanh
{"title":"Mango-Mamba and VN-MangoLeaf: A lightweight Mamba model and New Dataset for Mango leaf disease classification","authors":"Thien B. Nguyen-Tat,&nbsp;Binh Pham-Thanh","doi":"10.1016/j.compeleceng.2026.111033","DOIUrl":null,"url":null,"abstract":"<div><div>Mango leaf disease represents a significant threat to fruit quality and yield, necessitating highly accurate, real-time detection systems. However, existing Deep Learning approaches, particularly Transformer-based models, often suffer from prohibitive computational complexity (quadratic scaling), limiting their deployment on resource-constrained edge devices. To address this challenge, this study introduces MangoMamba, a novel lightweight hybrid architecture specifically optimized for mobile deployment. The proposed model integrates Multi-Scale Mamba Mixers with Large-Kernel Attention mechanisms within a hierarchical four-stage framework, enabling linear computational complexity while preserving global receptive fields. Experimental evaluations were conducted on the MangoLeafBD dataset and the newly curated VN-MangoLeaf dataset, which comprises 7000 images of Vietnamese mango varieties. Results demonstrate that MangoMamba achieves competitive classification accuracies of 99.75% and 98.71% on the respective datasets. Crucially, the model exhibits exceptional efficiency with only 5.8 million parameters and an inference latency of 1.46 ms per image on T4 GPU, approximately 80 times faster than recent ViX-MangoEFormer architectures. Furthermore, the practical feasibility of the proposed approach is validated through a functional Android application capable of offline inference (100–300 ms latency) on standard smartphones. These findings confirm that MangoMamba establishes a new competitive trade-off between accuracy and efficiency for smart agriculture applications.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"133 ","pages":"Article 111033"},"PeriodicalIF":4.9000,"publicationDate":"2026-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790626001059","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/14 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Mango leaf disease represents a significant threat to fruit quality and yield, necessitating highly accurate, real-time detection systems. However, existing Deep Learning approaches, particularly Transformer-based models, often suffer from prohibitive computational complexity (quadratic scaling), limiting their deployment on resource-constrained edge devices. To address this challenge, this study introduces MangoMamba, a novel lightweight hybrid architecture specifically optimized for mobile deployment. The proposed model integrates Multi-Scale Mamba Mixers with Large-Kernel Attention mechanisms within a hierarchical four-stage framework, enabling linear computational complexity while preserving global receptive fields. Experimental evaluations were conducted on the MangoLeafBD dataset and the newly curated VN-MangoLeaf dataset, which comprises 7000 images of Vietnamese mango varieties. Results demonstrate that MangoMamba achieves competitive classification accuracies of 99.75% and 98.71% on the respective datasets. Crucially, the model exhibits exceptional efficiency with only 5.8 million parameters and an inference latency of 1.46 ms per image on T4 GPU, approximately 80 times faster than recent ViX-MangoEFormer architectures. Furthermore, the practical feasibility of the proposed approach is validated through a functional Android application capable of offline inference (100–300 ms latency) on standard smartphones. These findings confirm that MangoMamba establishes a new competitive trade-off between accuracy and efficiency for smart agriculture applications.
芒果曼巴和VN-MangoLeaf:用于芒果叶片疾病分类的轻量级曼巴模型和新数据集
芒果叶病对果实质量和产量构成重大威胁,需要高度精确的实时检测系统。然而,现有的深度学习方法,特别是基于transformer的模型,通常存在令人望而却步的计算复杂性(二次缩放),限制了它们在资源受限的边缘设备上的部署。为了应对这一挑战,本研究引入了MangoMamba,这是一种专门为移动部署优化的新型轻量级混合架构。该模型将多尺度曼巴混频器与大核注意机制集成在一个分层的四阶段框架内,在保持全局接受域的同时实现线性计算复杂性。对MangoLeafBD数据集和新整理的VN-MangoLeaf数据集进行了实验评估,该数据集包含7000张越南芒果品种的图像。结果表明,MangoMamba在各自的数据集上达到了99.75%和98.71%的竞争分类准确率。至关重要的是,该模型显示出卓越的效率,在T4 GPU上只有580万个参数,每张图像的推理延迟为1.46 ms,比最近的ViX-MangoEFormer架构快约80倍。此外,通过在标准智能手机上能够离线推理(100-300毫秒延迟)的功能Android应用程序验证了所提出方法的实际可行性。这些发现证实,MangoMamba在智能农业应用的准确性和效率之间建立了一种新的竞争性权衡。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers & Electrical Engineering
Computers & Electrical Engineering 工程技术-工程:电子与电气
CiteScore
9.20
自引率
7.00%
发文量
661
审稿时长
47 days
期刊介绍: The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency. Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书