Source-linked AI summary

A critical analysis of self-supervision, or what we can learn from a single image

Yuki M. Asano, Christian Rupprecht, Andrea Vedaldi

arXiv:1904.13132v3cs.CV

TL;DR

The paper asks how much image data current self-supervised methods need to learn different layers of deep convolutional networks without manual labels. It evaluates BiGAN, RotNet, and DeepCluster under controlled data reduction and strong augmentation, finding that one image can suffice for early layers while deeper layers remain behind strong supervision.

  • Problem

    The paper investigates whether self-supervision can exploit large image collections to learn different parts of a neural network, especially given the distinction between low-level and semantic features.

  • Method

    The study evaluates BiGAN, RotNet, and DeepCluster with linear probes across network layers while varying the number of distinct source images and applying strong augmentations.

  • Results

    One augmented image learns the first few layers nearly as well as millions of images and full supervision, whereas deeper layers remain inferior to strong supervision even with millions of unlabeled images.

  • Takeaways & Limitations

    Early-layer representations contain limited natural-image statistics that can be learned through self-supervision and synthetic transformations rather than large image datasets.

  • Takeaways & Limitations

    The results characterize limitations of current self-supervised methods rather than improving self-supervision itself.

Abstract

from arXiv · show

We look critically at popular self-supervision techniques for learning deep convolutional neural networks without manual labels. We show that three different and representative methods, BiGAN, RotNet and DeepCluster, can learn the first few layers of a convolutional network from a single image as well as using millions of images and manual labels, provided that strong data augmentation is used. However, for deeper layers the gap with manual supervision cannot be closed even if millions of unlabelled images are used for training. We conclude that: (1) the weights of the early layers of deep networks contain limited information about the statistics of natural images, that (2) such low-level statistics can be learned through self-supervision just as well as through strong supervision, and that (3) the low-level statistics can be captured via synthetic transformations instead of using a large image dataset.

1 INTRODUCTION

The paper tests whether self-supervision can learn different network layers from limited image data, finding that one augmented image suffices for early layers but not deeper ones.

  • 1 INTRODUCTION: The study asks whether large image collections are necessary for self-supervised learning across different parts of a neural network.The investigation is motivated by the distinction between low-level early features and higher-level semantic representations.
  • 1 INTRODUCTION: A single augmented image can learn the first few network layers nearly as well as millions of images and full supervision.This result holds across BiGAN, RotNet, and DeepCluster, with sufficient data augmentation.
  • 1 INTRODUCTION: The findings suggest that early-layer success reflects limited feature complexity and the importance of image transformations more than supervisory strength or image diversity.The paper relates early features to low-level extractors and emphasizes transformations as an alternative to many images.
  • 1 INTRODUCTION: Self-supervision remains inferior to strong supervision for deeper layers, even when trained on millions of images.A single-image model can reach as much as two thirds of the performance obtained with a million different images.
  • 1 INTRODUCTION: The analysis characterizes limitations of current self-supervised methods rather than improving self-supervision itself.The authors present the results as guidance for focusing on unresolved challenges.

2 RELATED WORK

The paper situates its analysis among self-supervised learning, single-sample learning, and low-level feature extraction, emphasizing that one augmented image can produce strong early representations.

  • 2 RELATED WORK: The study compares self-supervised methods with prior work on learning from single samples and designing low-level feature extractors.These areas provide context for evaluating what current deep networks can learn without manual labels or large image collections.
  • 2 RELATED WORK: BiGAN, RotNet, and DeepCluster extract information through generative learning, photographic orientation bias, and clustering-based proxy labels, respectively.Their differing mechanisms make them representative of several popular self-supervised strategies.
  • 2 RELATED WORK: Prior single-sample methods often rely on negative images or focus on specific applications, whereas this work restricts training to one or a few systematically augmented images.The contrast separates this setup from exemplar-based methods using large negative collections.
  • 2 RELATED WORK: Classical features such as sparse-coding filters, SIFT, HOG, and scattering transforms show that effective low-level representations can be learned or handcrafted.The paper uses this literature to frame questions about the quality, data requirements, and limits of self-supervised deep features.
  • 2 RELATED WORK: The paper reports that self-supervised representations are slightly better than handcrafted scattering features and that one million images provide relatively small gains over one augmented image.This motivates renewed attention to augmentation and prior knowledge in feature extractors.

3 METHODS

The methods control the number of distinct source images while holding training-set size fixed, expanding them with aggressive transformations and evaluating three representative self-supervised approaches layer by layer.

  • 3 METHODS: The protocol varies only the number of source images, replacing the remaining training examples with augmentations so datasets retain a fixed size.The continuum ranges from one source image to the complete original training set.
  • 3 METHODS: The augmentation scheme uses cropping, scaling, rotation, contrast changes, and noise to encode expected invariances and image-manifold priors.The authors describe this as an extreme version of augmentations already used in standard deep-learning protocols.
  • 3 METHODS: The single-image experiments use selected photographic, drawn, and less-crowded images, with each expanded up to 1.2M training examples.The images were chosen for rich texture and diversity rather than optimized performance.
  • 3 METHODS: BiGAN learns representations through an encoding coupled to a generative model, while RotNet predicts upright orientation from rotated images.These methods use different sources of supervisory signal: generation and photographic bias.
  • 3 METHODS: DeepCluster alternates k-means clustering for pseudo-label generation with feature learning to predict cluster assignments under augmentations.Its representation-learning loop uses clustering-derived labels rather than manual annotations.

4 EXPERIMENTS

Experiments evaluate self-supervised representations with linear probes across layers, datasets, augmentation settings, and pretraining regimes. Single-image training with augmentation matches or approaches large-scale training in early layers, while deeper-layer performance remains more dependent on data and method.

  • Effect of augmentations: Strong augmentation is essential: random rescaling adds at least ten points at every depth, while rotation and color jitter improve probes by 12% points.The study evaluates scale, rotation, and jitter combinations with MonoGAN on CIFAR-10.
  • Benchmark evaluation: Single-image training outperforms random initialization and scattering features, with Image A reaching over 30% conv2 accuracy versus 18.9% for scattering.These comparisons use linear probes on features from different network depths.
  • Benchmark evaluation: Method and image content affect deeper representations: RotNet benefits from photographic images, whereas DeepCluster improves deeper layers as the source-image count increases.RotNet performance rises with more images, while DeepCluster requires larger source sets for stronger deeper-layer results.
  • Benchmark evaluation: 33.4 vs 39.4: training conv1–conv3 on over 1M images provides no significant gain over one image for most early-layer features.Within methods, one image matches or surpasses full unsupervised ImageNet training for conv1 and approaches it closely for conv2.
  • Generalization: On CIFAR-10/100, single-image methods perform best in early layers, but their gap from full-data methods grows toward deeper layers.The GAN trained on Image B leads the first layer on CIFAR-10, and the mono variant obtains the best first two layers on CIFAR-100.
  • Qualitative analysis: Single-image conv1 filters resemble supervised Gabor-like edge detectors and color blobs, yet visual appearance alone does not predict linear-probe performance.Some edge detectors are necessary, but BiGAN and DeepCluster achieve similar probe performance despite visibly different filter patterns.

5 CONCLUSIONS

The paper concludes that strong augmentation lets self-supervision learn early convolutional features from one image, while deeper representations remain inferior to supervised learning even with large datasets.

  • Strong augmentation enables self-supervision to learn good, generalizable features from a single source image.
  • Self-supervised methods capture simple image statistics effectively, but deeper layers retain a gap relative to strong supervision.
  • The findings motivate renewed attention to augmentation design and to better leveraging available data.

A.1 IMAGENET TRAINING IMAGES

Figure 4 shows the ImageNet images used in the N =10 experiments.

  • Figure 4 presents the ImageNet images used for the N =10 experiments.

A.2 VISUAL COMPARISON OF FILTERS

The filter visualizations inspect representations learned by a BiGAN trained on one image, comparing activation-maximization inputs with highly activating ImageNet training images across convolutional layers.

  • Figure 5 visualizes four random target filters across conv1–5 of a BiGAN trained on a single image.
  • The visualization combines activation maximization with retrieval of the top 9 ImageNet training images activating each neuron.
  • Early convolutional neurons respond strongly to oriented textures, helping explain the effectiveness of single-image training.

A.3 RETRAINING FROM SINGLE IMAGE INITIALIZATION

Initializing AlexNet with the first two convolutional filters learned from a single image does not prevent full performance recovery after ImageNet retraining.

  • AlexNet models recover their performance fully after ImageNet retraining when initialized with conv1 and conv2 filters learned from a single image.
  • Single-image initialization does not leave the network stuck in a bad local minimum, despite the source image coming from a different distribution.
  • The remaining BiGAN-to-full-supervision difference is likely related to BiGAN’s smaller 112-pixel input resolution versus 224 pixels.

A.4 LINEAR PROBES ON IMAGENET

Linear probes reveal that supervised representations improve with depth, whereas unsupervised representations degrade after conv3; unsupervised performance can slightly exceed supervision at conv1.

  • Unsupervised representations degrade after conv3, while the supervised model improves with depth.
  • Unsupervised performance can slightly surpass supervised performance at conv1.The authors attribute this possibly to training with sometimes very small patches.
  • Figure 6 presents ImageNet linear-classifier accuracies for representations from Table 2 in absolute scale.

A.5 EXAMPLE AUGMENTED TRAINING DATA

The augmentation strategy generates substantially different image patches across dataset sizes, yet the resulting models perform similarly in linear-probe evaluation.

  • The examples illustrate that the augmentation strategy produces varied crops despite the datasets differing in size.
  • Models trained on visually different images and patches learn weights with similar linear-probe performance.The comparison covers differences in both color and shape distributions.
  • The paper shows example augmented patches for datasets containing 1, 10, and 1000 images.
Loading 1904.13132v3…