# BYOL (2020)

> Learned strong image representations without any negative pairs by training an online network to predict a slowly moving copy of itself.

Page: https://mralbu.github.io/ai-datasets/p/byol

## Key facts

- Title: Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning
- Authors: Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, et al.
- Venue: NeurIPS 2020
- Category: Vision
- Paper: https://www.alphaxiv.org/abs/2006.07733

## Why it matters

Everyone assumed contrastive learning needed thousands of negative pairs to stop the encoder from outputting the same vector for every image. BYOL disproved that assumption, kicking off non-contrastive self-distillation and paving the way directly for SimSiam and DINO.

## The idea

Pair an online encoder with a momentum-averaged target encoder and give them two different augmented views of the same image. Add a small prediction MLP only on the online side so it predicts the target network's embedding directly—with no contrastive negatives and no gradient flowing through the target—and rely on that asymmetry to avoid collapsing to a constant output.

## The result

74.3% linear top-1 accuracy on ImageNet with a standard ResNet-50 and 79.6% with a larger ResNet, while matching or beating prior self-supervised methods on PASCAL VOC, CIFAR-10 and NYU Depth V2 transfer.

## The data

- [ImageNet (ILSVRC) (2009)](https://mralbu.github.io/ai-datasets/d/imagenet.md): 1.28 million photos across 1,000 classes, the dataset behind the deep learning boom.
- [PASCAL VOC (2005)](https://mralbu.github.io/ai-datasets/d/pascal-voc.md): The 20-class object-detection challenge that ran every year from 2005 to 2012.
- [NYU Depth V2 (2012)](https://mralbu.github.io/ai-datasets/d/nyu-depth-v2.md): 1,449 indoor photos from a Kinect, each with a depth map and a class for every pixel.
- [CIFAR-10 (2009)](https://mralbu.github.io/ai-datasets/d/cifar10.md): 60,000 tiny 32×32 color images in 10 classes.

## Builds on

- [SimCLR (2020)](https://mralbu.github.io/ai-datasets/p/simclr.md)
- [MoCo (2019)](https://mralbu.github.io/ai-datasets/p/moco.md)
- [ResNet (2015)](https://mralbu.github.io/ai-datasets/p/resnet.md)

## Led to

- [DINO (2021)](https://mralbu.github.io/ai-datasets/p/dino.md)

## Part of

- [Self-supervised vision](https://mralbu.github.io/ai-datasets/t/self-supervised-vision.md) (step 3 of 6)
