The identification of grapevine varieties from field images is a challenge, due to the subjectivity of ampelography, the cost of molecular analysis and the limited generalisation of deep learning models trained with transfer learning from natural-image datasets. This study evaluates Masked Autoencoders (MAE) as a self-supervised alternative that learns domain-specific representations directly from unlabelled vineyard images. A public benchmark of 43 grapevine varieties acquired in the field over five growing seasons is presented, divided into a multi-year set (Dataset 1) and a separate 2024 set (Dataset 2). On Dataset 1, a ViT-B/16 pre-trained with MAE on 54,571 unlabelled grapevine images reached a macro F1 score of 0.7776, against 0.7494 for the same architecture initialised from the public MAE ImageNet-1K (IN1K) checkpoint with the same fine-tuning, and 0.6817 for the best supervised IN1K baseline. Domain-specific pre-training benefited from long training and random cropping, outperformed IN1K initialisation for all fractions of labelled data and was only slightly affected by the mask ratio. However, the generalisation to a new season remained the main limitation, since the models trained on Dataset 1 reached F1 scores between 0.4120 and 0.4747 on the 2024 images, regardless of the initialisation, with the worst results in the early phenological stages. A feature-space analysis showed that each acquisition season is distinct, including the seasons used for training, and that the 2024 images of the early phenological stages are the most distant from the training data. When the 2024 images were added to the training data, the F1 score on Dataset 1 increased to 0.7956. Therefore, domain-specific MAE pre-training is a competitive and label-efficient initialisation, but it does not replace labelled data from several seasons.
翻译:暂无翻译