EMP-SSL: Towards Self-Supervised Learning in One Training Epoch

Shengbang Tong, Yubei Chen, Yi Ma, Yann LeCun · DOI

Introduction

Self-supervised learning (SSL) has emerged as a powerful paradigm for learning visual representations without manual labels. Despite its success, a significant "convergence efficiency gap" persists between SSL and supervised learning. While supervised models can achieve high accuracy on benchmarks like CIFAR-10 in fewer than 10 epochs, state-of-the-art SSL methods such as SimCLR or BYOL typically require hundreds or even thousands of epochs to reach comparable performance. This paper introduces EMP-SSL (Extreme-Multi-Patch Self-Supervised Learning), a framework designed to bridge this gap by achieving competitive representation learning in as little as one training epoch.

Methodology

The core hypothesis of EMP-SSL is that the bottleneck in SSL convergence is the limited information extracted from an image in a single training pass. Traditional methods typically compare two augmented "views" or crops of an image. EMP-SSL pushes this to the extreme by extracting a large number of patches (e.g., $n=200$) with random overlapping and standard augmentations.

The EMP-SSL pipeline: multiple patches are extracted from a single image, augmented, and passed through an encoder. The loss function enforces similarity between patch embeddings and their mean while using TCR to prevent representation collapse.

The framework utilizes a standard ResNet-18 backbone followed by a two-layer MLP projector. The training objective consists of two primary components:

  1. Total Coding Rate (TCR): A covariance regularization term that prevents representation collapse without requiring complex heuristics like momentum encoders or stop-gradient operations.
  2. Invariance Loss: A cosine similarity measure that encourages the representations of all $n$ patches from a single image to align with their centroid (mean representation).

For downstream evaluation, the model employs a "Bag-of-Feature" approach, where an image's final representation is the average of its constituent patch embeddings.

Experimental Results

EMP-SSL was evaluated on benchmarks including CIFAR-10, CIFAR-100, Tiny ImageNet, and ImageNet-100. The results demonstrate a dramatic improvement in convergence speed compared to existing state-of-the-art methods.

Accuracy comparison on CIFAR-10 over the first 30 training epochs. EMP-SSL (200 patches) achieves over 80% accuracy in a single epoch, significantly outperforming traditional SSL methods like SimCLR and BYOL.

In just one training epoch, EMP-SSL achieves 85.1% accuracy on CIFAR-10 and 58.5% on ImageNet-100. By the 10th epoch, performance reaches 91.5% and 78.9% respectively—milestones that other SSL methods often take hundreds of epochs to attain. For context, most other SSL methods are still in the 50-60% range at the 10-epoch mark.

Discussion and Insights

The success of EMP-SSL suggests that learning the co-occurrence statistics of local image patches is a critical component of SSL. By processing 200 patches per image per epoch, the model encounters these statistical relationships much earlier in the training process. Furthermore, the use of TCR regularization simplifies the architecture by removing the need for specialized training "tricks."

Interestingly, the rapid convergence of EMP-SSL appears to mitigate overfitting to the training distribution, resulting in superior transferability to out-of-domain datasets compared to models trained for 1000 epochs. While the computational cost per iteration is higher due to the large number of patches, the total wall-clock time required to reach target accuracy is significantly reduced.

Conclusion

EMP-SSL demonstrates that the efficiency gap between self-supervised and supervised learning can be bridged through extreme multi-patching and simplified regularization. By achieving SOTA performance in a fraction of the time required by traditional methods, it opens new avenues for rapid SSL development. Future work includes scaling the method to larger datasets like ImageNet-1k and further exploring the theoretical foundations of the Bag-of-Feature representation.

Summary updated

BibTeX
@misc{tong2023emp,
  author = {Shengbang Tong and Yubei Chen and Yi Ma and Yann LeCun},
  title = {{EMP-SSL: Towards Self-Supervised Learning in One Training Epoch}},
  year = {2023},
  eprint = {2304.03977},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.03977},
}
Figure