Skip to main content
QUICK REVIEW

[Paper Review] Self-supervised Pre-training with Hard Examples Improves Visual Representations

Chunyuan Li, Xiujun Li|arXiv (Cornell University)|Dec 25, 2020
Domain Adaptation and Few-Shot LearningComputer Science57 references16 citations
TL;DR

This paper proposes a self-supervised pre-training framework that improves visual representations by generating hard augmented examples—using adversarial training and CutMix—to create more challenging pseudo-label prediction tasks. The resulting models, Hexa_MoCo and Hexa_DCluster, achieve state-of-the-art performance on ImageNet and downstream benchmarks, especially under low-supervision settings, demonstrating that hard examples enhance generalization in self-supervised learning.

ABSTRACT

Self-supervised pre-training (SSP) employs random image transformations to generate training data for visual representation learning. In this paper, we first present a modeling framework that unifies existing SSP methods as learning to predict pseudo-labels. Then, we propose new data augmentation methods of generating training examples whose pseudo-labels are harder to predict than those generated via random image transformations. Specifically, we use adversarial training and CutMix to create hard examples (HEXA) to be used as augmented views for MoCo-v2 and DeepCluster-v2, leading to two variants HEXA_{MoCo} and HEXA_{DCluster}, respectively. In our experiments, we pre-train models on ImageNet and evaluate them on multiple public benchmarks. Our evaluation shows that the two new algorithm variants outperform their original counterparts, and achieve new state-of-the-art on a wide range of tasks where limited task supervision is available for fine-tuning. These results verify that hard examples are instrumental in improving the generalization of the pre-trained models.

Motivation & Objective

  • To improve self-supervised visual representation learning by generating more challenging training examples beyond random data augmentation.
  • To address the gap in existing methods that treat data augmentation as agnostic to the pretext task, by explicitly tailoring augmentation to the learning objective.
  • To investigate whether hard examples—whose pseudo-labels are difficult to predict—can improve the generalization of pre-trained models.
  • To develop a unified framework for self-supervised pre-training as pseudo-label classification, enabling systematic generation of hard examples.
  • To demonstrate the effectiveness of hard examples across diverse self-supervised learning methods, including contrastive and prototype-based learning.

Proposed method

  • The paper formulates self-supervised pre-training as a pseudo-label classification task, where the goal is to predict the pseudo-labels derived from data augmentations.
  • Hard examples are generated using adversarial training to perturb input images in ways that challenge the model's prediction capability.
  • CutMix is applied to create mixed-crop images by pasting patches from different images, producing semantically ambiguous examples that are harder to classify.
  • The framework is integrated into two existing methods: MoCo-v2 (contrastive learning) and DeepCluster-v2 (prototype learning), resulting in Hexa_MoCo and Hexa_DCluster.
  • The proposed method uses standard backbone networks and projection heads, with the key innovation being the use of hard examples in the data augmentation pipeline.
  • The training objective remains the same contrastive or clustering loss, but the improved quality of augmented views leads to better feature learning.

Experimental results

Research questions

  • RQ1Can generating hard examples through targeted data augmentation improve the generalization of self-supervised visual representations?
  • RQ2How does the use of adversarial and CutMix-based hard examples compare to standard random augmentations in self-supervised pre-training?
  • RQ3Does the proposed framework consistently improve performance across different self-supervised learning objectives, such as contrastive learning and prototype learning?
  • RQ4To what extent do hard examples enhance performance in low-supervision fine-tuning scenarios, such as semi-supervised learning with 1% ImageNet labels?
  • RQ5Can hard-example-based pre-training outperform standard supervised pre-training in terms of downstream task accuracy?

Key findings

  • Hexa_DCluster with 8-crop augmentation achieves a Top-1 accuracy of 57.3% on ImageNet with only 1% labeled data, outperforming BYOL pre-trained for 800 epochs.
  • Hexa_DCluster+ with 8-crop augmentation reaches 57.3% Top-1 accuracy on ImageNet with 200 pre-training epochs, surpassing all existing self-supervised methods under the same settings.
  • On the VOC object detection benchmark, Hexa_MoCo outperforms MoCo-v2 pre-trained with standard augmentations, showing consistent gains in downstream detection tasks.
  • In semi-supervised learning, Hexa_DCluster with 1% labels achieves 54.9% Top-1 accuracy, significantly outperforming SwAV pre-trained for 200 epochs (53.9% Top-1).
  • When fine-tuned on 100% ImageNet labels, Hexa achieves 78.6% Top-1 accuracy, exceeding the supervised baseline (76.5%) by 2.1 percentage points.
  • The results demonstrate that hard examples significantly improve model generalization, especially in low-data regimes, and that the proposed framework is generic and effective across different self-supervised learning paradigms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.