Quantifying Domain Shift in Peach Leaf Damage Classification: An Evaluation of Attention Mechanisms and Fine-Tuning Strategies
Leaf damage classifiers are usually trained and evaluated on public images collected elsewhere, and their behaviour in a new orchard is rarely measured. We quantified this gap for peach leaves. Eleven ImageNet-pretrained convolutional backbones, each with and without a Convolutional Block Attention Module (CBAM), were trained on 1415 public leaves (six classes). They were evaluated, with photograph-grouped cross-validation and confidence intervals, on 182 leaves from 122 photographs taken in a commercial orchard (four classes). On the public hold-out set, macro-F1 ranged from 0.670 to 0.772, and the ranking of the best models was not resolved; CBAM brought no improvement (pooled change −0.009 to −0.001). Without retraining, mean orchard macro-F1 was 0.634, against 0.719 on the same four public classes, but only after masking the two classes absent from the orchard; without masking, one-third of the leaves were assigned to them. Label-free normalisation-statistics alignment did not help, whereas fine-tuning raised the mean macro-F1 to 0.72, and a few tens of labelled leaves sufficed to match zero-shot transfer. On the shared public classes, full fine-tuning lost more source performance than linear probing, and joint training preserved it. Light models and a modest site-specific annotation effort are sufficient for this task.
Authors
- J.S. Rubio-Asensio (ORCID: https://orcid.org/0000-0002-2813-601X)
- P. Tortosa
- Adrián Cánovas-Rodríguez (ORCID: https://orcid.org/0009-0002-7986-5615)
- Antonio F. Skarmeta (ORCID: https://orcid.org/0000-0002-5525-1259)
- Juan Antonio Martínez Navarro (ORCID: https://orcid.org/0000-0001-8270-9942)
- Maria Fernanda García-Cruz (ORCID: https://orcid.org/0009-0005-7737-2368)
- Miguel A. González-Illán (ORCID: https://orcid.org/0009-0003-2016-5021)
- Miguel Ángel Zamora Izquierdo
Institutions
- Consejo Superior de Investigaciones Científicas (ES)
- Centro de Edafología y Biología Aplicada del Segura (ES)
- Universidad de Murcia (ES)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-17
- DOI
- https://doi.org/10.3390/app162211400
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- European Commission
- NextGenerationEU