Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

17 November 2026

24 Pages

Quantifying Domain Shift in Peach Leaf Damage Classification: An Evaluation of Attention Mechanisms and Fine-Tuning Strategies

,
,
,
,
,
,
and
1
Department of Information and Communication Engineering, University of Murcia, 30100 Murcia, Spain
2
Department of Irrigation, Centro de Edafología y Biología Aplicada del Segura (CEBAS-CSIC), 30100 Murcia, Spain
*
Author to whom correspondence should be addressed.

Abstract

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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.