Seedlabs
Source research

From laboratory to field: cross-domain few-shot learning for crop disease identification in the field

Sen Yang, Quan Feng, Jianhua Zhang, Wanxia Yang, Wenwei Zhou, Wenbo Yan · 2024 · 25 citationsRead the paper

Few-shot learning (FSL) methods have made remarkable progress in the field of plant disease recognition, especially in scenarios with limited available samples. However, current FSL approaches are usually limited to a restrictive setting where base classes and novel classes come from the same domain such as PlantVillage. Consequently, when the model is generalized to new domains (field disease datasets), its performance drops sharply. In this work, we revisit the cross-domain performance of existing FSL methods from both data and model perspectives, aiming to better achieve cross-domain generalization of disease by exploring inter-domain correlations. Specifically, we propose a broader cross-domain few-shot learning(CD-FSL) framework for crop disease identification that allows the classifier to generalize to previously unseen categories and domains. Within this framework, three representative CD-FSL models were developed by integrating the Brownian distance covariance (BCD) module and improving the general feature extractor, namely metric-based CD-FSL(CDFSL-BDC), optimization-based CD-FSL(CDFSL-MAML), and non-meta-learning-based CD-FSL (CDFSL-NML). To capture the impact of domain shift on model performance, six public datasets with inconsistent feature distributions between domains were selected as source domains. We provide a unified testbed to conduct extensive meta-training and meta-testing experiments on the proposed benchmarks to evaluate the generalization performance of CD-FSL in the disease domain. The results showed that the accuracy of the three CD-FSL models improved significantly as the inter-domain similarity increased. Compared with other state-of-the-art CD-FSL models, the CDFSL-BDC models had the best average performance under different domain gaps. Shifting from the pest domain to the crop disease domain, the CDFSL-BDC model achieved an accuracy of 63.95% and 80.13% in the 1-shot/5-shot setting, respectively. Furthermore, extensive evaluation on a multi-domain datasets demonstrated that multi-domain learning exhibits stronger domain transferability compared to single-domain learning when there is a large domain gap between the source and target domain. These comparative results suggest that optimizing the CD-FSL method from a data perspective is highly effective for solving disease identification tasks in field environments. This study holds promise for expanding the application of deep learning techniques in disease detection and provides a technical reference for cross-domain disease detection.

What the full text shows

Working prototype
  • The CDFSL-BDC model achieved the highest accuracy when shifting from the Pest source domain to the FCDD target domain. — 80.13% accuracy (5-shot) and 63.95% accuracy (1-shot) (5-way tasks, Pest source domain to FCDD target domain)
  • CDFSL-BDC outperformed the baseline ProtoNet in cross-domain scenarios. — 10.81% to 15.26% improvement (Pest→FCDD) and 10.98% to 17.45% improvement (Cars→FCDD) (5-way 1-shot and 5-shot settings)
  • Integration of the CBAM module into ResNet-18/12 improved accuracy across different domain gaps. — 3.08% to 3.69% increase for Cars dataset; 1.79% to 2.37% increase for Pest dataset (Across CDFSL-BDC, CDFSL-NML, and CDFSL-MAML models)
  • Multi-domain learning improves generalization over single-domain learning when domain differences are large. — CDFSL-NML improved by 8.95%, 5.58%, and 2.38% (5-shot) compared to single-domain Cars, Leaves, and CUB200 (Multi-domain A (low-similarity set) as source domain)
  • Model performance correlates positively with inter-domain similarity. — Accuracy improved by 6.52% to 21.01% when moving from Cars (low similarity) to Pest (high similarity) source domains (5-way 5-shot configuration)
Setup
Target domain: Field Crop Disease Dataset (FCDD) with 43 disease categories across 9 crops. Source domains: 9 public datasets (including PlantVillage, Pest, Cars, CUB200). Evaluation: 600 randomly sampled 5-way 1-shot and 5-shot tasks per target domain.
How
The researchers developed a cross-domain few-shot learning (CD-FSL) framework using a ResNet-18+CBAM backbone and a Brownian distance covariance (BDC) module. They evaluated three model types (metric-based, optimization-based, and non-meta-learning) across single and multi-domain source datasets to identify crop diseases in a target field dataset.
Limitations
Difficulty separating disease features from complex backgrounds (lighting, shadows, texture). · Poor performance when inter-domain distribution differences are very large. · Difficulty distinguishing early-stage disease from natural leaf aging or injuries. · Challenges in learning cross-scale features for disease spots of varying sizes.

Summarized by Gemma 4 from the open-access full text · 28 Oct 2026. Read it