Meta-Learning Guided Pruning for Few-Shot Plant Pathology on Edge Devices
About
Farmers in remote areas need quick and reliable methods for identifying plant diseases, yet they often lack access to laboratories or high-performance computing resources. Deep learning models can detect diseases from leaf images with high accuracy, but these models are typically too large and computationally expensive to run on low-cost edge devices such as Raspberry Pi. Furthermore, collecting thousands of labeled disease images for training is both expensive and time-consuming. This paper addresses both challenges by combining neural network pruning, removing unnecessary parts of the model, with few-shot learning, which enables the model to learn from limited examples. This paper proposes Disease-Aware Channel Importance Scoring (DACIS), a method that identifies which parts of the neural network are most important for distinguishing between different plant diseases, integrated into a three-stage Prune-then-Meta-Learn-then-Prune (PMP) pipeline. Experiments on PlantVillage and PlantDoc datasets demonstrate that the proposed approach reduces model size by 78% while maintaining 92.3% of the original accuracy, with the compressed model running at 7 frames per second on a Raspberry Pi 4, making real-time field diagnosis practical for smallholder farmers.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Few-shot classification | PlantVillage 5-Way | 1-Shot Accuracy89.4 | 9 | |
| 5-way Few-shot Classification | PlantVillage Under Visual Domain Shift | 1-shot Accuracy68.9 | 8 | |
| Image Classification | Meta-Learning Dataset (test) | Accuracy83.2 | 5 | |
| Few-shot classification | PlantDoc In-the-Wild | 1-Shot Accuracy45.8 | 4 | |
| Few-shot classification | PlantVillage (Early-to-Late) | Cross-Stage Gen.0.83 | 3 |