Advancing Image-Based Grapevine Variety Classification with a New Benchmark and Evaluation of Masked Autoencoders
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Advancing Image-Based Grapevine Variety Classification with a New Benchmark and Evaluation of Masked Autoencoders".
Paper summary: Jane: So we've looked at the paper Advancing Image-Based Grapevine Variety Classification with a New Benchmark and Evaluation of Masked Autoencoders and seen how MAEs, when pre-trained on relevant data, give us solid results compared to traditional methods. What does this all mean for the practical application in agriculture?
Tom: It means we have a strong technique for identifying these varieties that relies less on having massive amounts of perfectly labeled data right away, focusing instead on how well the model learns from natural image patterns.
Lu: The authors found that this approach works especially well in low-data regimes, and they showed that long pre-training between two thousand and two thousand five hundred epochs is beneficial for capturing those deep features.
Jane: It suggests that precision agriculture applications could benefit because we have a model better equipped to handle the variability of different growing seasons.
Meng: But we have to remember their limitation: they mentioned the need for a mechanism to rapidly incorporate new varieties, and they also noted that the worst performance happens at the end of May during leaf development and inflorescence emergence.
Tom: So, while it's a solid step forward using MAEs on domain-specific data, we still have to build systems that can handle adding new grape varieties quickly without needing a full re-training cycle every time.
Jane: It’s about adapting the tool to fit the specific needs of the task, rather than just blindly applying general knowledge from other image sets.
Lu: That's exactly what they are suggesting: capturing features more relevant to the specific classification task, which is visible in their attention maps across leaf features.
Meng: So we see it as a powerful pre-training technique for when the data is scarce, but deployment still requires us to plan for those edge cases like new varieties and seasonal transitions.
Tom: That's the balance: strong performance with specific data versus the ongoing engineering challenge of scaling and adaptability in a diverse agricultural context.
Jane: So that’s where we leave it for this paper on Advancing Image-Based Grapevine Variety Classification with a New Benchmark and Evaluation of Masked Autoencoders.
Conclusion: Tom: So we’ve seen how Masked Autoencoders, or MAEs, can pre-train models on grapevine leaf images to classify those forty-three different varieties. This paper is just wrapping up the evaluation and they are calling it Advancing Image-Based Grapevine Variety Classification with a New Benchmark and Evaluation of Masked Autoencoders.
Jane: It sounds like the authors are showing that by using these MAEs, you get much better results when you’re working with less labeled data compared to older methods. The big question here is what this actually means for someone who just wants to grow grapes or manage a vineyard.
Lu: Basically, they found that long pre-training between two thousand and two thousand five hundred epochs really helps the model capture the right features for the task, especially when you're dealing with limited data regimes. If you’re building a system from scratch, that training time is going to be important.
Meng: From where I sit at the startup level, I’m thinking about deployment cost here. If this method requires such long pre-training on specific datasets like Dataset Three plus, what does that mean for the infrastructure we need to run these classification models? It sounds like a lot of upfront compute before you even get to inference.
Lalam: From my perspective, the results are quite strong because they show that when you use data that lines up well with what you want to do downstream—like this specific grapevine task—the MAE representation is better than just using general knowledge from other datasets like IN1K. I’m confident this direction points toward more practical solutions.
Jane: So, to put it simply, the authors are saying that if you're trying to identify these specific grape types using images, starting with a masked autoencoder and training it on relevant data gives you a much better model than relying on older transfer learning techniques. It’s about getting the features just right for this particular job.
Tom: Exactly. The main implication is that for tasks where you don't have tons of perfectly labeled examples to start, this MAE pre-training approach is a solid way to build a strong foundation for your classifier, as long as you give it enough time to learn those specific patterns.
Lu: And the paper does point out some caveats too. They found that the optimal way to set up the masking ratio depends on both your dataset and the model you choose, so there isn't one perfect setting that works everywhere.
Meng: I’m interested in those limitations, because I’m thinking about scaling this up to cover all five thousand or eight thousand varieties out there globally. How do we handle adding a new variety without re-doing all that long pre-training from scratch?
Jane: That’s the next big hurdle, isn't it? We have a tool that works well for what it was trained on, but we need a way to make it flexible enough to keep up with the thousands of new varieties being discovered or planted.
Tom: Yeah, and they also pointed out that their model performs best when you use simpler augmentation techniques like random cropping rather than heavy things like color jitter. That’s a practical detail for anyone trying to deploy this in the field where you might not have super high-end processing power. (Music swells slightly)
University of Tras-os-Montes and Alto Douro Ó Vila real, Portugal Department of Engineering University of Tras-os-Montes and Alto Douro Ó Vila real, Portugal Coa Parque Fundacėแ ao para a Salvaguarda e ValorizacΧๅao do Vale do C oa Vila Nova de Foz Coa · University of Barcelona
cs.CV
Submitted: 2025-06-16
Updated: 2026-11-27
Code: https://github.com/ultralytics/yolov5
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
Importance score: 75/100
The gist: Grapevine varieties are essential for the economies of many wine-producing countries, influencing the production of wine, juice…
Key concepts
- Masked Autoencoders (MAEs)
- MAEs are a type of self-supervised learning model that learns to reconstruct missing parts of an image. The model is trained by masking portions of the input image and then trying to predict those masked areas. This process helps the model learn rich, general features from unlabeled images without needing manual labels for every part.
- Vision Transformer (ViT)
- A ViT is a powerful deep learning architecture used for image processing. It treats an image as a sequence of patches and uses self-attention mechanisms to understand the relationships between different parts of the image. In this study, ViTs are used as encoders after being pre-trained with MAEs.
- Self-Supervised Learning (SSL)
- SSL is a training paradigm where models learn from unlabeled data by creating their own supervisory signals from the data itself. MAEs utilize SSL to pre-train models on large amounts of unlabeled grapevine leaf images, allowing them to capture meaningful visual patterns before being fine-tuned for the specific classification task.
Terminology
Summary
Grapevine varieties are essential for the economies of many wine-producing countries, influencing the production of wine, juice, and the consumption of fruits and leaves. p. 0 edu
Joaquim Sousa
Engineering Department
University of Tras-os-Montes and Alto Douro ´
Vila real, Portugal 5000-801
jjsousa@utad. pt
June 17, 2025
ABSTRACT
Grapevine varieties are essential for the economies of many wine-producing countries, influencing
the production of wine, juice, and the consumption of fruits and leaves. edu
Joaquim Sousa
Engineering Department
University of Tras-os-Montes and Alto Douro ´
Vila real, Portugal 5000-801
jjsousa@utad. pt
June 17, 2025
ABSTRACT
Grapevine varieties are essential for the economies of many wine-producing countries, influencing
the production of wine, juice, and the consumption of fruits and leaves. In this
context, self-supervised learning (SSL) methods can be a good tool to avoid this performance degradation, since they can learn directly from data, without external labels. This study presents an evaluation of Masked Autoencoders (MAEs) for identifying grapevine varieties based on field-acquired
images. In this
context, self-supervised learning (SSL) methods can be a good tool to avoid this performance degradation, since they can learn directly from data, without external labels. This study presents an evaluation of Masked Autoencoders (MAEs) for identifying grapevine varieties based on field-acquired
images.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Methodology and Datasets
The study introduces two labelled datasets designed to evaluate the efficacy of DL-based models in classifying grapevine varieties along with two additional unlabelled datasets.<ref:2506.13335#pg2, The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the resulting weights #pg4>. p. 3 Given these factors, this study presents an evaluation of MAEs for grapevine variety identification using field-acquired
images. Our main contributions are:
• The introduction of a new benchmark for the classification of 43 grapevine varieties collected over four
growing seasons;
• A deep comparison between MAE pre-training for ViT architectures using two large unlabeled datasets and
supervised pre-training with IN1K as a data source;
• An analysis of seasonal generalisation in grapevine variety classification across three phenological stages;
The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the
resulting weights.Where the paper says it
-
Dataset 1 was created through the acquisition of grapevine leaf images in natural settings over four years (2020–2023). p. 3
<ref:2506.13335#pg5>.Where the paper says it
This approach ensures a comprehensive assessment of MAEs across different data regimes and conditions, thereby enhancing their applicability to precision viticulture. 1 UTAD Grapevine Varieties Dataset 2023 (Dataset 1) Dataset 1 was created through the acquisition of grapevine leaf images in natural settings over four years (2020–2023) at two sites in Vila Real, Portugal: the University of Tras-os-Montes and Alto Douro (UTAD) and Pal ´ acio de Mateus.
-
Dataset 1 is publicly available at https://zenodo. p. 4
org/records/15160944. p. 4Where the paper says it
The number of samples per class can be seen in Fig. 1 Dataset 1 is publicly available at https: //zenodo.
<ref:2506.13335#pg5, The number of varieties per class can be seen in Fig. p. 4Where the paper says it
1 Dataset 1 is publicly available at https: //zenodo. org/records/15160944.
1 #pg6>.Where the paper says it
Category Dataset 1 Dataset 2 Dataset 3 Dataset 3+ Dataset Purpose Baseline dataset capturing grapevine leaf images over multiple years Temporal extension capturing grapevine leaf images during the 2024 growing season Unlabeled dataset for SSL pre-training Extended version of Dataset 3 with additional images for diversity Location Vila Real, Portugal Vila Real, Portugal Various sources Various sources Time Period 2020–2023 2024 Various Various Acquisition Devices Smartphones, Tablets, Cameras Smartphones Various sources, mixed acquisition devices Various sources, mixed acquisition devices Image Distance 20–40 cm from plant 20–40 cm from plant Various distances Various distances Dataset Size Training: 7,939 samples, Validation: 1,508 samples, Testing: 4,032 samples Training: 4,574 samples, Validation: 1,060 samples, Testing: 1,142 samples 33,671 images 54,571 images Number of Varieties 43 Classes 43 Classes Unlabeled (used for SSL pre-training) Unlabeled (used for SSL pre-training) Publicly Available Yes Yes No No 4,032 for testing. The number of samples per class can be seen in Fig.
-
Dataset 2 was designed to serve as a temporal extension of Dataset 1, capturing grapevine leaf images during the 2024 growing season. p. 4
<ref:2506.13335#pg5, This dataset complements Dataset 1 by adding seasonal diversity to the training data #pg5>. p. 4Where the paper says it
2 UTAD Grapevine Varieties Dataset 2024 (Dataset 2) Dataset 2 (samples can be seen in Fig. 2) was designed to serve as a temporal extension of Dataset 1, capturing grapevine leaf images during the 2024 growing season.
Where the paper says it
Dataset 2 was divided into training, validation, and test subsets with 4,574, 1,060, and 1,142 samples, respectively. This dataset complements Dataset 1 by adding seasonal diversity to the training data, allowing for a more robust evaluation of the model’s ability to generalize across different phenological stages and environmental conditions.
-
Dataset 3 consists of unlabeled grapevine leaf images collected from various sources and was used to pre-train models in a SSL context. p. 4
<ref:2506.13335#pg7>.Where the paper says it
3 Unsupervised Grapevine Dataset 2023 (Dataset 3) Dataset 3 (see Fig. 3) consists of unlabeled grapevine leaf images collected from various sources [Hughes and Salathe, 2016, Koklu et al.
Model Training Protocol
The training protocol consists of two main phases: pre-training (pre-text task) and fine-tuning (downstream task).<ref:2506.13335#pg8>.
-
In the pre-text phase, an MAE reconstructs partially masked images using an unlabeled dataset. p. 7
<ref:2506.13335#pg8, The decoder is then discarded and replaced by a classifier in the downstream phase #pg8>. p. 7Where the paper says it
A PREPRINT - JUNE 17, 2025 Figure 4: The study employs a two-phase training approach: pre-text and downstream tasks. In the pre-text phase, a MAE reconstructs masked images using an unlabeled dataset.
Where the paper says it
The decoder is then discarded. In the downstream phase, a classifier is trained on the encoder’s top with an annotated dataset for grape variety classification.
-
The training protocol leverages the self-supervised capabilities of MAEs to reduce dependency on annotated data. p. 7
<ref:2506.13335#pg8, This two-phase approach leverages the self-supervised capabilities of MAEs to reduce dependency on annotated data #pg8>. p. 7Where the paper says it
Futhermore ablation studies on training duration, data availability, augmentation, and mask ratios were carried out. This two-phase approach leverages the self-supervised capabilities of MAEs to reduce dependency on annotated data, aligning with challenges in precision agriculture where labeled data are often limited.
Where the paper says it
Futhermore ablation studies on training duration, data availability, augmentation, and mask ratios were carried out. This two-phase approach leverages the self-supervised capabilities of MAEs to reduce dependency on annotated data, aligning with challenges in precision agriculture where labeled data are often limited.
-
ViT models are used as encoders, and instead of using pre-trained weights from IN1K dataset, MAE is applied to pre-train the models. p. 7
<ref:2506.13335#pg8, After pre-training, the decoder is discarded and replaced by a classifier #pg8>. p. 7Where the paper says it
However, instead of using pre-trained weights from IN1K dataset, MAE [He et al. , 2021b] is applied to pre-train the models.
Where the paper says it
, 2021b] is applied to pre-train the models. After pre-training, the decoder is discarded and replaced by a classifier, keeping the obtained weights, and then the model is completely retrained.
Performance Analysis and Comparison
The performance of ViT models pre-trained with MAEs is compared to baseline models fine-tuned with IN1K weights.<ref:2506.13335#pg9>.
The observed improvements in F1 Score indicate that MAE pre-training enhances feature extraction from unlabeled data, making it especially effective in domains where labeled data are limited. p. 8 , 2020] 16 768 12 12 86. 00
data augmentations, making MAEs an effective pre-training strategy, particularly for datasets with limited labeled
data. Our main contributions are:
• The introduction of a new benchmark for the classification of 43 grapevine varieties collected over four
growing seasons;
• A deep comparison between MAE pre-training for ViT architectures using two large unlabeled datasets and
supervised pre-training with IN1K as a data source;
• An analysis of seasonal generalisation in grapevine variety classification across three phenological stages;
The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the
resulting weights. Models’ performance was assessed quantitatively using metrics such as Precision, Recall, F1-Score,
and feature similarity through Linear Centered Kernel Alignment, as well as qualitatively using Attention Maps.Where the paper says it
Where the paper says it
The ViT-B model pre-trained on Dataset 3+ achieved an F1 Score of 0. p. 1 A PREPRINT - JUNE 17, 2025
a large, unlabeled dataset, followed by transfer learning and fine-tuning for the classification. Our
results show that a ViT-B/16 model pre-trained with MAE and the unlabeled dataset achieved an F1
score of 0. Our
results show that a ViT-B/16 model pre-trained with MAE and the unlabeled dataset achieved an F1
score of 0. 7956, outperforming all other models, including those pre-trained on IN1K.Where the paper says it
Where the paper says it
Key Findings and Implications
The results show that models benefit from long pre-training (between 2000 and 2500 epochs), and models pre-trained on datasets that align closely with downstream tasks perform better when trained in low-data regimes.<ref:2506.13335#pg18, Dataset 3+ consistently outperformed all other models across all proportions of data #pg18>. p. 0 MAE was selected for its ability to perform well with small batch sizes, its robustness to
data imbalance, and its label efficiency, making it an excellent choice for practitioners in precision
viticulture. The main contributions of this study include two benchmarks comprising 43 grapevine
varieties collected across different seasons, an analysis of MAE’s application in the agricultural context, and a performance comparison of trained models across seasons.Where the paper says it
The results also show that random cropping leads to better performance compared to stronger augmentations like color jitter or Gaussian blur. p. 9 , 2020a], which included random cropping,
color jitter, grayscale transformation, and Gaussian blur. Additionally, CutMix and MixUp augmentations (α = 0. , 2022b] and ViT-B with supervised IN1K
weights. These models were chosen based on their extensive utilization in prior studies [De Nart et al. Additionally,
we observed that pre-trained models benefit from long pre-training, perform well under low-data
training regime, and that simple data augmentation methods are more effective than complex ones. The study also found that the mask ratio in MAE impacts performance only marginally.Where the paper says it
Where the paper says it
Where the paper says it
The results also show that varying the mask ratio slightly affects the final classification performance. p. 1 The study also found that the mask ratio in MAE impacts performance only marginally. Keywords grapevine variety classification · self-supervised learning · deep learning · masked autoencoder · precision
viticulture · precision agriculture
1 Introduction
Grapevine varieties are one of the most widely cultivated and economically significant horticultural crop worldwide
[Eyduran et al. The study also found that the mask ratio in MAE impacts performance only marginally. Keywords grapevine variety classification · self-supervised learning · deep learning · masked autoencoder · precision
viticulture · precision agriculture
1 Introduction
Grapevine varieties are one of the most widely cultivated and economically significant horticultural crop worldwide
[Eyduran et al. Additionally,
we observed that pre-trained models benefit from long pre-training, perform well under low-data
training regime, and that simple data augmentation methods are more effective than complex ones. The study also found that the mask ratio in MAE impacts performance only marginally.Where the paper says it
Where the paper says it
Where the paper says it
The findings suggest that MAE pre-training on domain-specific datasets like Dataset 3+ enables the model to capture features more relevant to the specific classification task. p. 9 For data augmentation analysis, ViT-B was pretrained over 500 epochs with varying augmentation strategies to determine its impact on representation quality. In addition to standard evaluation metrics, activation maps and pair-wise similarity between representations were
analyzed to compare the effects of IN1K initialization and task-specific dataset pre-training on grapevine variety
classification. In the downstream
phase, a classifier is trained on the encoder’s top with an annotated dataset for grape variety classification. Evaluation includes classification metrics, similarity between features, and attention maps.Where the paper says it
Where the paper says it
The results in Table 6 further confirm that MAE pre-training on grapevine-specific data allows the model to adapt more effectively to real-world seasonal changes. p. 3 Given these factors, this study presents an evaluation of MAEs for grapevine variety identification using field-acquired
images. Our main contributions are:
• The introduction of a new benchmark for the classification of 43 grapevine varieties collected over four
growing seasons;
• A deep comparison between MAE pre-training for ViT architectures using two large unlabeled datasets and
supervised pre-training with IN1K as a data source;
• An analysis of seasonal generalisation in grapevine variety classification across three phenological stages;
The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the
resulting weights. Our main contributions are:
• The introduction of a new benchmark for the classification of 43 grapevine varieties collected over four
growing seasons;
• A deep comparison between MAE pre-training for ViT architectures using two large unlabeled datasets and
supervised pre-training with IN1K as a data source;
• An analysis of seasonal generalisation in grapevine variety classification across three phenological stages;
The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the
resulting weights. Models’ performance was assessed quantitatively using metrics such as Precision, Recall, F1-Score,
and feature similarity through Linear Centered Kernel Alignment, as well as qualitatively using Attention Maps.Where the paper says it
Where the paper says it
Limitations and Future Work
The results show that, for identifying grapevine varieties through images, the representations obtained with MAE, using a smaller dataset closely aligned with grapevine-related tasks, are more effective than those achieved through IN1K knowledge transfer.<ref:2506.13335#pg20, However, despite the promising results, there are several important factors to consider #pg20>. p. 2 The modification increased the model’s performance for three downstream tasks tested. Despite these applications achieving remarkable results, there are factors that still need to be tested when using MAE
3Where the paper says it
Firstly, there are between 5,000 and 8,000 grapevine varieties spread across the globe [Robinson et al. p. 1 Their importance stems from their use in wine and juice production, as well as the consumption
of fruits and leaves, making them crucial to the economies of various countries [Nascimento et al. It is estimated that between 5,000 and 8,000 grapevine varieties exist under approximately 24,000 different names [Schneider
et al. , ´
2013]. Today, grapevine varieties are primarily identified by ampelography or molecular analysis [Carneiro et al.Where the paper says it
Where the paper says it
To address these challenges, future work could leverage the pre-trained weights obtained from this exploration as initial weights for zero-shot learning [Chen et al. p. 9 For this purpose, models were pre-trained with
IN1K weights as initial values for the MAE-based pre-training phase, and the resulting weights were used as starting
points for the downstream fine-tuning task. To further understand the model’s behavior, tests were conducted on long-duration pre-training, performance in lowdata regimes, and the effects of applying stronger data augmentation during pre-training as proposed by Chen et al. Given these factors, this study presents an evaluation of MAEs for grapevine variety identification using field-acquired
images. Our main contributions are:
• The introduction of a new benchmark for the classification of 43 grapevine varieties collected over four
growing seasons;
• A deep comparison between MAE pre-training for ViT architectures using two large unlabeled datasets and
supervised pre-training with IN1K as a data source;
• An analysis of seasonal generalisation in grapevine variety classification across three phenological stages;
The methodology involves pre-training ViT models with MAEs, followed by transfer learning and fine-tuning the
resulting weights. For images from 2020 to 2022,
subsets were split without regard to acquisition date, while the 2023 data were partitioned with attention to acquisition
dates to ensure each subset represented different phenological stages. To manage class imbalance, each class could
contain at most four times the samples of the smallest class in the training and validation sets; any excess samples
were assigned to the test set.Where the paper says it
Where the paper says it
Where the paper says it
The results indicate that the classifier’s worst performance occurred towards the end of May when plants are in leaf development and inflorescence emergence. p. 6 Each line represents a different
week. Week 1 is composed of images of plants in leaf development and inflorescence emergence.Where the paper says it
Conclusion
The study evaluated the use of masked autoencoders as a replacement for traditional IN1K supervised transfer learning in the identification of 43 grapevine varieties using field-acquired leaf images.<ref:2506.13335#pg26>.
The evaluation demonstrated that models benefit from long pre-training (between 2000 and 2500 epochs), and models pre-trained on datasets that align closely with downstream tasks perform better when trained in low-data regimes. p. 1 7956, outperforming all other models, including those pre-trained on IN1K. Additionally,
we observed that pre-trained models benefit from long pre-training, perform well under low-data
training regime, and that simple data augmentation methods are more effective than complex ones.Where the paper says it
The results also show that varying the mask ratio slightly affects the final classification performance.<ref:2506.13335#pg19>.
The study concludes by stating that for identifying grapevine varieties through images, the representations obtained with MAE, using a smaller dataset closely aligned with grapevine-related tasks, are more effective than those achieved through IN1K knowledge transfer. p. 1 The best performance was achieved by the handcrafted model with an overall accuracy of 97. Moreover,
the results obtained indicate that identifying grapevine varieties using fruit images led to slightly better results than
classifying them using leaf images. The best performance was achieved by the handcrafted model with an overall accuracy of 97. Moreover,
the results obtained indicate that identifying grapevine varieties using fruit images led to slightly better results than
classifying them using leaf images.Where the paper says it
Where the paper says it
Acknowledgements
The authors would like to acknowledge the Portuguese Foundation for Science and Technology (FCT) for financial support through national funds to the projects UIDB/04033/2020 (https://doi.org/10.54499/UIDB/04033/2020) (accessed on 1 December 2024) as well as through Gabriel Carneiro’s doctoral scholarship (PRT/BD/154883/2023), and also the Vine & Wine Portugal Project, co-financed by the RRP—Recovery and Resilience Plan and the European NextGeneration EU Funds, within the scope of the Mobilizing Agendas for Reindustrialization, under ref. C644866286-00000011.<ref:2506.13335#pg27>.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Masked Autoencoders (MAEs) can be used as a self-supervised pre-training strategy to learn representations directly from unlabeled data, which is effective for tasks like grapevine variety classification where labeled data are limited. This allows models to
learn directly from data, without external labels.
-
The AI system can achieve superior performance in fine-grained classification tasks by utilizing MAE pre-training on domain-specific unlabeled datasets (Dataset 3+), as the results show
MAE pre-trained models on Dataset 3+ reached an F1 Score of 0.7956, outperforming all other models.
-
The system can be made robust to seasonal variations by incorporating diverse temporal data during fine-tuning; specifically,
merging Datasets 1 and 2 resulted in improved generalization across both test subsets
when testing on seasonal data (Dataset 2). -
The classification model can be optimized for low-data regimes by leveraging the features learned during pre-training; models
pretrained on Dataset 3+ consistently outperformed all other models across all proportions of data,
indicating high label efficiency. -
The system can be tuned to use simpler data augmentation techniques, as experiments showed that
simple data augmentation methods are more effective than complex ones
and thatstronger augmentations led to worse results compared to random cropping.
Abstract
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.
Sources
- The Hidden Uniform Cluster Prior in Self-Supervised Learning
- A Cookbook of Self-Supervised Learning
- VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learning
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Knowledge-aware Zero-Shot Learning: Survey and Perspective
- A Simple Framework for Contrastive Learning of Visual Representations
- Exploring Simple Siamese Representation Learning
- Improved Baselines with Momentum Contrastive Learning
- CrossTransformers: spatially-aware few-shot transfer
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representations
- Are Large-scale Datasets Necessary for Self-Supervised Pre-training?
- Bootstrap your own latent: A new approach to self-supervised Learning
- TransFG: A Transformer Architecture for Fine-grained Recognition
- Deep Residual Learning for Image Recognition
- Momentum Contrast for Unsupervised Visual Representation Learning
- Masked Autoencoders Are Scalable Vision Learners
- Searching for MobileNetV3
- An open access repository of images on plant health to enable the development of mobile disease diagnostics
- Similarity of Neural Network Representations Revisited
Related papers
- Lightweight Adaptation of General-Purpose VLMs for Multispectral and SAR Image Understanding
- Systematic Evaluation of Underwater Image Reconstruction
- InteracVid: Building a Real Interactive Audio-Visual Response Dataset from Live-Chat Videos
- Count Anything
- Shot-Aware Frame Sampling for Video Understanding
- Reduce Tokens, Refine Semantics: Training-Free Acceleration of Vision-Language Models