[Paper Review] Are Large-scale Datasets Necessary for Self-Supervised Pre-training?
This paper demonstrates that denoising autoencoders like BEiT and a proposed variant, SplitMask, achieve competitive performance in self-supervised pre-training without requiring large-scale datasets like ImageNet. By pre-training directly on target task data—such as COCO, Stanford Cars, or Sketch—these models surpass ImageNet-supervised pre-training in downstream detection and segmentation tasks, proving that large-scale curated datasets are not necessary for effective vision representation learning when using masked image modeling.
Pre-training models on large scale datasets, like ImageNet, is a standard practice in computer vision. This paradigm is especially effective for tasks with small training sets, for which high-capacity models tend to overfit. In this work, we consider a self-supervised pre-training scenario that only leverages the target task data. We consider datasets, like Stanford Cars, Sketch or COCO, which are order(s) of magnitude smaller than Imagenet. Our study shows that denoising autoencoders, such as BEiT or a variant that we introduce in this paper, are more robust to the type and size of the pre-training data than popular self-supervised methods trained by comparing image embeddings.We obtain competitive performance compared to ImageNet pre-training on a variety of classification datasets, from different domains. On COCO, when pre-training solely using COCO images, the detection and instance segmentation performance surpasses the supervised ImageNet pre-training in a comparable setting.
Motivation & Objective
- To investigate whether large-scale datasets like ImageNet are essential for self-supervised pre-training in vision transformers.
- To evaluate the robustness of self-supervised methods—particularly denoising autoencoders—when pre-training on small or non-object-centric datasets.
- To compare the performance of denoising autoencoders (e.g., BEiT, SplitMask) against contrastive learning and supervised pre-training when using only target task data for pre-training.
- To determine if pre-training on the target dataset itself can yield better downstream performance than pre-training on ImageNet, especially in low-data regimes.
- To assess the sample efficiency and domain generalization of masked image modeling (MIM) compared to instance discrimination methods in self-supervised learning.
Proposed method
- The authors use a masked image modeling (MIM) approach, where patches of an image are masked and the model reconstructs the original patches, functioning as a denoising autoencoder.
- They introduce SplitMask, a variant of BEiT that uses random block masking with a 50% masking ratio and a two-branch decoder to reconstruct masked and unmasked patches.
- For pre-training, they employ Vision Transformers (ViT) with sinusoidal positional encoding and standard data augmentations such as random cropping and horizontal flipping.
- They compare models pre-trained on ImageNet, target task datasets (e.g., COCO, Stanford Cars, Sketch), and uncurated data, using the same backbone and training schedule.
- For downstream tasks, they fine-tune on classification, detection (Mask R-CNN), and instance segmentation using a 3x training schedule and standard hyperparameters.
- They evaluate performance using standard metrics such as top-1 accuracy, box AP, and mask AP, and compare against supervised ImageNet pre-training and contrastive learning baselines (e.g., MoCoV3, DINO).
Experimental results
Research questions
- RQ1Is it possible to achieve competitive performance in self-supervised pre-training without relying on large-scale datasets like ImageNet?
- RQ2How does the performance of denoising autoencoders compare to contrastive learning methods when pre-training on small or non-object-centric datasets?
- RQ3Can pre-training directly on the target task’s training data lead to better downstream performance than pre-training on ImageNet?
- RQ4How robust are denoising autoencoders to variations in data distribution and size, especially when the data is not object-centric?
- RQ5Does masked image modeling (MIM) offer better sample efficiency and domain generalization than instance discrimination-based self-supervised learning?
Key findings
- Pre-training with SplitMask on COCO images alone yields a +0.5 box AP gain in object detection compared to ImageNet-supervised pre-training, demonstrating superior performance on the same downstream task.
- On multiple classification datasets from diverse domains (e.g., Stanford Cars, Sketch, Paintings), models pre-trained solely on target task data with denoising autoencoders achieve performance competitive with ImageNet pre-training.
- Denoising autoencoders like BEiT and SplitMask show significantly better robustness to data size and distribution shifts than contrastive learning methods, which degrade substantially on small or uncurated datasets.
- SplitMask outperforms both BEiT and MoCoV3 on ImageNet pre-training, achieving performance on par with DINO while being simpler and more efficient to train.
- On COCO, pre-training using only COCO images leads to better detection and instance segmentation performance than both supervised ImageNet pre-training and self-supervised ImageNet pre-training in a comparable setting.
- The study shows that large-scale datasets like ImageNet are not necessary for effective self-supervised pre-training when using masked image modeling, especially in low-data or domain-shifted scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.