{"title":"Mango-Mamba and VN-MangoLeaf: A lightweight Mamba model and New Dataset for Mango leaf disease classification","authors":"Thien B. Nguyen-Tat, 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.
期刊介绍:
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.