Bootstrap your own latent: A new approach to self-supervised Learning
Paper · 2020 · Jean-Bastien Grill, Florian Strub, Florent Altché et al.
Summary
A collection of photographs can teach a computer to recognize objects even before anyone labels them. The difficulty is finding a task that makes the computer learn features worth keeping. Bootstrap Your Own Latent, abbreviated BYOL, uses a feature prediction task. Given a crop or another transformed version of a photograph, a network predicts features computed from a different view of that photograph. The authors ask whether this can produce useful visual representations without the negative pairs that leading contrastive approaches use to distinguish one image from others.
BYOL divides the work between an online branch and a target branch. Both encode and project an image view. An extra head on the online branch turns its projection into a prediction of the target projection. The prediction error trains the online branch, while the target weights follow the corresponding online weights through an exponential moving average. The procedure also exchanges the views and scores the prediction in the other direction. Agreement alone would allow every photograph to receive the same features. In the main experiments, the learned features retain information that distinguishes images. The authors propose that a slowly changing target gives the prediction head time to keep up with the task.
On the public ImageNet validation split, used as the test set for the paper’s protocol, a linear classifier reading fixed BYOL features reaches 74.3% top-1 accuracy with a standard ResNet-50. With a wider ResNet-200, the best result is 79.6%. BYOL also improves on the reported self-supervised comparisons when labeled ImageNet examples are scarce and the encoder can be adapted. Its features transfer to other classification datasets and to systems trained for segmentation, object detection, and depth estimation. On classification transfer, BYOL beats SimCLR across the reported benchmarks and beats ImageNet-supervised pretraining on several of them.
Controlled experiments help identify which conditions make the result possible. BYOL loses less accuracy than SimCLR when training batches shrink or when random cropping is the sole transformation. Its own accuracy still falls when the view transformations are reduced. The predictor experiments also show that useful learning can survive immediate target updates if the predictor is fitted differently. The paper establishes a successful way to learn visual features without negatives, with empirical support for its account of why predictor fitting and target speed matter.
Deep dive: Bootstrap your own latent: A new approach to self-supervised Learning
BYOL learns visual features without negative pairs by training a network to predict what a slowly updated copy sees in another view of an image. · about 86 minutes to read
The problem and its context
What pretraining should leave behind
Recognizing what a photograph depicts, finding an object within it, and estimating how far away its surfaces are all depend on extracting structure from an array of pixels. An encoder turns that array into numerical features. The task that uses the encoder can then learn which of those features matter for its own decisions. A category classifier may need a description of the image as a whole. A detector can make use of features that still record where content appears. In the earlier recognition and transfer work the authors cite, learning features in advance provides a way to make subsequent visual tasks easier to train. Rich Feature Hierarchies
In supervised training, examples come with answers that give the encoder a reason to preserve some distinctions. A category label can connect photographs of the same kind of object even when lighting or viewpoint makes them look different. A different label can call for a different decision even if two photographs look superficially similar. A pretraining collection without labels supplies the images and leaves open the question of what kind of error could teach useful features.
Self-supervised learning defines that error using the observations and the procedure that presents them. For instance, a program can select image patches and keep track of their relative locations. A network can then be asked to recover the relationship between the patches. The correct answer comes from how the input was constructed. The network will encounter other visual problems after pretraining, so what matters is whether the features it develops to answer these questions are helpful elsewhere.
That last condition distinguishes the learning problem from the pretext task that implements it. A pretext task is the problem the network solves to acquire a representation. Solving an image puzzle can require sensitivity to shape and arrangement, but the puzzle also admits any reliable cue that gives the correct answer. Ease of learning the pretext task gives little information by itself about the value of the features it leaves behind. The paper uses separate tasks to examine the result of pretraining because the intended product is an encoder that can be reused.
From reconstructing an image to distinguishing its views
The authors describe earlier unsupervised work in terms of generative and discriminative approaches. A generative approach can learn how latent variables relate to images and use those variables as a representation. A latent variable is an internal quantity inferred from observations. An autoencoder gives such an internal description a job by training the system to reconstruct its input. The paper also describes adversarial approaches that learn about the data and their representations together. Auto-Encoding Variational Bayes and Generative Adversarial Nets
A reconstruction task values the ability to account for visual details. This can make it demanding. A system that generates pixels has to deal with details of color, texture, and position that may be incidental to the use for which the representation is eventually chosen. The authors point to the expense of operating in pixel space and ask how far pretraining can get by working with relationships between features. In such a procedure, the features under comparison determine which information the training task values.
The discriminative approaches described in the paper give the learner a decision to make about observations. Several define the answer by choosing a particular visual task. Previous work has asked networks to restore color to grayscale images, infer the contents of a missing region, identify a geometric change, or arrange the pieces of an image. Such tasks can yield reusable features, but the authors describe contemporary contrastive approaches as more successful. Contrastive learning makes the relationship between observations the basis of the decision. Contrastive Predictive Coding
In the image setting, the program constructs that relationship by taking transformed views. Two crops drawn from the same photograph form a positive pair. A crop from that photograph and a crop taken from another form a negative pair. A contrastive learner is encouraged to assign the positive pair greater similarity. The positive relation comes from the source image, so it remains known even if the two crops show visibly different things. A negative pair can come from different photographs of the same category, since the decision during pretraining concerns which photograph supplied each view. SimCLR
The negatives make a difference when agreement offers too little guidance. If the feature extractor returns the same vector for every view, the score for the corresponding crop is indistinguishable from the scores for the alternatives. With competition in the learning objective, a feature that helps pick out the matching view can improve the score. That creates an incentive for the encoder to capture distinctions between images, even though no one has marked which distinctions should count as categories.
This way of creating a training signal brings decisions about where to obtain the alternatives. A group of examples processed together can furnish them directly. A larger group offers more possible comparisons and a better chance that some will be difficult. Other methods keep previously computed vectors available or select negatives deliberately. The paper treats the need to supply informative comparisons as a practical dependency of contrastive training. BYOL investigates whether a different kind of prediction can make the negative part of the task dispensable. MoCo
Why the choice of views matters
The training task also depends on what the positive views have in common. A photograph with a distinctive palette can produce separate crops with similar distributions of colors. A color histogram records those proportions while discarding which colors occur next to each other. When other photographs differ in palette, the histogram can help a learner identify the source of a crop with little need to encode the shapes visible within it.
The authors use this example from SimCLR to explain why an augmentation can improve the features. Random changes to color make a palette less reliable as a means of identifying the related crop. A learner then has a greater reason to exploit other similarities that survive the changes. The crop and the appearance transformations help determine the difficulty of the task and the kinds of evidence available to solve it. Given the same photographs, a different rule for presenting views can change what information is worth learning.
Predicting a target feature vector creates a different role for a shared cue. The cue can account for part of the vector, leaving other predictable variation that reducing the error could still reward. This possibility is central to the authors’ motivation. It makes the contents of the target vector consequential. A network has a reason to learn about a visual property through prediction only to the extent that the task makes that property useful. If the target contains very little useful variation, changing the way predictions are compared will accomplish little on its own.
How agreement can be satisfied by a trivial answer
An encoder could return a single vector for all photographs. If this happens on both sides of a comparison, the vectors always agree. A prediction head can also return that constant every time. The resulting error can be small while the encoder gives a later task no information with which to tell images apart. The paper calls this failure representation collapse.
The danger comes from allowing a learned quantity to define the answer. In a spatial patch task, for example, the relative locations are known from how the patches were taken. The system can discover an easier route to the answer, but changing its own features cannot change the locations that count as correct. When one encoder predicts features made by another, the procedure that sets the answer is itself capable of changing. A training rule can make the task easier by removing the very distinctions that pretraining is supposed to capture.
Negatives address this problem by giving the learner a reason to make outputs different for different images. BYOL approaches it through the rules that update the learner and the target. During a prediction, its target acts as an answer already selected for the current inputs. The error changes the weights that made the prediction. Another operation moves the weights that computed the answer. The change to each set of weights therefore has to be understood as part of the whole feedback process.
This is why the quality of the representation cannot be inferred from the agreement score alone. A later classifier has to separate images that belong to different categories. A segmentation system has to recover information about where regions begin and end. If a reader can extract such information from the learned features, that demonstrates something the prediction loss does not measure. The paper uses the training objective to acquire features and uses independent benchmarks to ask what survived the process.
Earlier systems that produced targets from their own learning
One precedent is DeepCluster. In the authors’ account, it groups observations using their existing representations. The group assignments then teach a subsequent encoder. This repeats a familiar pattern of bootstrapping, in which what has already been learned becomes a source of supervision for further learning. Obtaining the next set of targets requires a clustering stage, and the procedure needs safeguards to keep the groups from becoming trivial.
Other approaches described in the paper use predicted categories as targets or combine data-derived targets with a small amount of supervision. A category assignment supplies a discrete answer. BYOL uses a vector whose coordinates can vary continuously with the input. The task can express changes within the feature space without taking a separate pass over the dataset to derive cluster assignments. The resulting prediction can only be as informative as the projections that come to occupy that space.
The authors also discuss Predictions of Bootstrapped Latents, a method in reinforcement learning. It learns a representation of an agent’s history together with an encoding of subsequent observations. These two forms of information provide targets for each other. BYOL likewise relates inputs through prediction in a learned space. Its source of targets is a copy that follows the online weights gradually, so it obtains its reference without independently optimizing another representation from a separate learning objective.
An averaged network can serve different purposes
In reinforcement learning, a prediction used to teach an agent can depend on estimates made by the learning system. A change to those estimates then changes what the learner is supposed to fit. The authors draw on target networks that make this process more stable. A reference can be held fixed between replacements or updated by averaging. Averaging allows each new set of online weights to influence the current reference a little at a time. Continuous Control with Deep Reinforcement Learning
Mean Teacher uses an averaged network in a semisupervised setting. An online student learns from a classification loss and from a consistency term that asks it to agree with the teacher. The classification loss comes from the labeled examples. It establishes distinctions that the student has to preserve while it learns to agree on predictions. BYOL asks how an averaged network can supply targets when the cross-view feature error is the learning signal. It places an additional predictor between the online projection and that error, giving the learner a component specifically responsible for estimating the target.
MoCo had already used a momentum encoder in self-supervised vision. There, an averaged encoder makes representations of stored negatives more consistent with the newer vectors against which they are compared. BYOL gives the resulting stability a different job. The averaged weights generate the answer for the corresponding view in a regression problem. A regression problem defines success by the accuracy of a numerical prediction. Here the thing being estimated is a learned vector, and any improvement in the learner can enter the targets through subsequent weight updates. The preceding work motivates both the possibility of teaching with internally generated targets and the need to control how those targets come to change.
The method, step by step
How a training example passes through BYOL
Take a photograph from the training collection. Draw a crop and a series of appearance transformations. Draw another crop and another set of transformations for the same photograph. A crop might give the first view more of an object and leave more of its surroundings in the second. The program can relate the views through their origin even though the arrays it gives the network differ.
The online encoder turns its view into a vector. This is the representation the authors eventually retain for reuse. A projector maps it into a feature space in which the pretraining comparison will take place. An online predictor then uses that projection to estimate a vector obtained from the other view. To produce the vector being estimated, the target branch encodes and projects its own view with weights that follow the online branch. Its computation ends at the projection.
The comparison uses vector directions. Predictions are scored with either view on the online side, and the two errors contribute to a common update. The prediction gradients act on the online encoder, projector, and predictor. When that optimizer step is complete, the target encoder and projector are moved toward the new online weights. As this repeats, an improvement on the online side can influence the targets that will teach it on future examples. The word bootstrap refers to this use of previous learning to support further learning.
How BYOL learns from paired image views
The steps in order.
The motivating experiment starts with a target that never changes. Its weights are drawn at random and used to give a separate encoder and predictor a cross-view task. Even a random target can have outputs that vary by image. Predicting those outputs from another view gives the learner an opportunity to discover structure shared across views. When evaluated on ImageNet with a linear classifier, the representation learned this way reaches 18.8% test top-1 accuracy. The unchanged random representation yields 1.4% under the same form of evaluation. The result gives the authors a reason to take a representation trained by prediction and let it become a new source of targets. The moving average implements that idea without interrupting training to replace one fixed teacher with another.
Sampling the inputs
The authors denote the image collection by D and sample source images uniformly from it. Each of the two transformation distributions describes ways to construct a view from a source image. Both can use the same repertoire of operations while assigning different application probabilities. A draw produces a particular composition of operations for the current image.
v = t(x), with x ∼ D and t ∼ T
Here D is the image collection, x is the sampled image, T is the first transformation distribution, and t is the sampled transformation. The sign ∼ indicates a draw from the collection or distribution that follows it. Applying t to x gives the view v, which goes to the online branch in the first directional comparison.
v′ = t′(x), with t′ ∼ T′
Here T′ is the other transformation distribution, t′ is a draw from it, and v′ is the resulting view of x. The prime marks the quantities associated with the second view. The transformations are drawn independently even though the views produced by them are related through their common source.
Both distributions govern which parts of an image can contribute to the task. When a crop obscures an object, the learner can only make use of evidence that remains visible or of relationships it has learned from other examples. The same image can generate another pair in which the missing information is available. The expectation over possible views matters even for a fixed source image because the prediction task changes with the evidence in each crop.
The transformations that make a view
The first operation selects a patch whose area is sampled uniformly between 8% and 100% of the original image area. The aspect ratio is sampled logarithmically between 3/4 and 4/3. Bicubic interpolation resizes the patch to 224 × 224 pixels. The resulting array has the dimensions expected by the encoder, even though a patch might cover most of a scene or concentrate on a small part of it. An optional horizontal flip can reverse its left and right sides.
Color jitter adjusts brightness, contrast, saturation, and hue. The draw for an adjustment is used throughout the patch, so it changes the appearance of the view as a whole. The adjustments are applied in a randomly selected order. A separate operation may replace the colors with grayscale values.
luma = 0.2989 r + 0.5870 g + 0.1140 b
The symbols r, g, and b denote the red, green, and blue channels of an input pixel. The quantity luma is the resulting grayscale intensity. The written coefficients determine how much of each channel enters it. Color differences that give equal luma yield equal intensities under this transformation.
The pipeline also includes Gaussian blur. At the stated image size, it uses a 23 × 23 kernel with standard deviation drawn uniformly from [0.1, 2.0]. The kernel determines how neighboring values contribute to the blurred value, with the standard deviation setting the strength of the spreading. Solarization makes a separate change to the intensities.
s(a) = a · 𝟙{a < 0.5} + (1 − a) · 𝟙{a ≥ 0.5}
The input a is a pixel value in [0, 1], and s(a) is its value under solarization. The indicator 𝟙 is 1 when the condition in braces is true and 0 otherwise. The first term preserves a value below 0.5. The second replaces a value at or above the threshold with its complement to 1.
The view distributions are defined by compositions of these operations in the order described, with specified application probabilities. After augmentation, the program subtracts the mean of each color channel and divides by its standard deviation, using ImageNet statistics. This standardization acts on pixel inputs. The architecture also performs batch normalization internally, and the prediction error has another normalization of its own. Each operates on different quantities, with a different reason for introducing a scale.
Augmentations specify an aspect of the task that the moving target cannot determine. Crops affect which spatial evidence is available, and appearance changes affect the reliability of color and texture features. The target decides what numerical description of its view enters the loss. Whether a target feature can be estimated from the online input depends on both choices. Even a well-trained predictor faces uncertainty if the available view contains little evidence about a feature measured on the other side.
Encoding, projecting, and predicting
The online weights are denoted by θ, and the target weights by ξ. The encoder is f, the projector is g, and the predictor is q. When a parameter symbol accompanies one of these functions, it identifies the branch that supplies the function’s weights. Each function uses the part of that parameter set belonging to its layers.
yθ = fθ(v)
The function fθ applies the online encoder to the transformed image v. Its output yθ is the online representation. The standard encoder gives this as the output of its final average-pooling operation, which combines spatial activations into an image-level vector.
zθ = gθ(yθ)
The function gθ uses the online projector’s weights to turn yθ into the projection zθ. The projection is the input to the prediction head. Giving the training objective a separate feature space lets the encoder retain a representation for downstream use while the projector supplies the coordinates of the comparison. The authors draw on the use of projection heads in SimCLR when making this choice.
p = qθ(zθ)
The symbol qθ is the online predictor, and p is the vector it computes from the projection zθ. A target coordinate can be estimated using a combination of online coordinates, with the mapping learned from the prediction error. The online encoder and projector can both change the inputs to this mapping while the head is learning it.
y′ξ = fξ(v′)
Here the target encoder fξ uses its part of the weights ξ to produce y′ξ from v′. The target encoder corresponds in structure to the online encoder, so their weights can be averaged by matching parameter positions. Their outputs can differ because their parameters and inputs can differ.
z′ξ = gξ(y′ξ)
The function gξ maps the target representation y′ξ into the target projection z′ξ. The vector z′ξ gives the answer used to score p. The target pathway has no prediction head applied to this vector.
Separating these stages gives the learner several ways to respond to an error. The predictor can learn a different mapping from the coordinates already available. The projector can make suitable combinations easier to form. The encoder can change which visual features enter the projection in the first place. On the other side, the numerical description used as a target comes from a branch that does not make these changes in response to the current prediction gradient.
Scoring normalized vectors and exchanging the views
BYOL normalizes each output at the point of comparison by dividing it by its Euclidean length. A non-zero vector then has unit length and keeps its direction. For example, a prediction that points the right way receives the same normalized score if its unnormalized magnitude increases. This makes the loss responsive to how the coordinates align.
p̄ = p / ‖p‖₂
Here p is the output of the online predictor, and ‖p‖₂ is its Euclidean length. The bar on p̄ indicates that it is the prediction after normalization. The subscript ₂ on the norm distinguishes Euclidean length from other ways to measure a vector’s size.
z̄′ξ = z′ξ / ‖z′ξ‖₂
The vector z′ξ is the other view’s projection from the target branch with parameters ξ. The denominator ‖z′ξ‖₂ is the length of that vector. The bar identifies z̄′ξ as the version used in the loss. Both vectors are scaled by the same kind of operation, with each denominator computed from the vector it scales.
ℒθ,ξ = ‖p̄ − z̄′ξ‖₂² = 2 − 2 · ⟨p, z′ξ⟩ / (‖p‖₂ · ‖z′ξ‖₂)
The symbol ℒθ,ξ denotes the error with v on the online side and v′ on the target side. On the left, the squared Euclidean norm adds the squared differences between the coordinates of p̄ and z̄′ξ. On the right, the brackets ⟨p, z′ξ⟩ give the dot product of the original prediction and target, and the denominator is the product of their lengths. The fraction is their cosine similarity. The factors of 2 arise by expanding the distance between vectors that each have unit length.
No similarity to a view of another photograph enters this calculation. Across a batch, each photograph contributes its own prediction problem. Some computations within the encoder still use statistics obtained from a batch of examples. The absence of negatives concerns the loss’s comparisons, leaving this architectural dependence on other examples intact.
For the other direction, the online pathway takes v′ and the target pathway takes v. Both are evaluated with the same branch weights used before. Exchanging inputs lets the two views each serve as evidence for one online prediction. The difference between the stages on each side stays in place. The online branch predicts in each direction, and the target branch supplies the reference.
ℒBYOLθ,ξ = ℒθ,ξ + ℒ̃θ,ξ
Here ℒBYOLθ,ξ is the combined loss, and θ and ξ remain the online and target parameter sets. The first term ℒθ,ξ is the directional error already defined. The tilde on ℒ̃θ,ξ identifies the corresponding calculation with the view assignments reversed. The sum gives the two directional errors equal weight.
Applying the two parameter updates
The implementation uses a stop-gradient operation on the target. This leaves the value of the target projection available to compute an error and treats it as fixed when taking derivatives. An error in predicting a target coordinate can therefore alter the online predictor and the features that feed it. There is no accompanying gradient update to the target encoder or projector.
θ ← optimizer(θ, ∇θ ℒBYOLθ,ξ, η)
The arrow specifies the replacement of the current online weights θ. The operator ∇θ takes the gradient with respect to those weights. Its argument ℒBYOLθ,ξ is the combined loss evaluated with the target detached. The variable η is the learning rate, and optimizer denotes the stochastic optimization procedure that uses the gradient to update the online network.
Once that step is finished, the stored target parameters are updated. The corresponding pieces of the just-updated encoder and projector are included in a weighted average.
ξ ← τξ + (1 − τ)θ
On the right, ξ is the old target parameter set, and θ gives the new online values for its corresponding parameters. On the left, ξ receives the result of the update. The target decay τ belongs to [0, 1]. It specifies how much weight stays with the previous target, with 1 − τ supplying the share from the latest online parameters. The online predictor has no corresponding prediction operation in the target pathway.
At τ equal to 1, the target retains its initialization throughout training. At τ equal to 0, the target immediately takes the online values after each optimizer step. With a decay near 1, the contribution of an individual online update is small. Applying the average repeatedly means that the target reflects many earlier online states, with each older contribution progressively discounted. A training image is always passed through the current target computation to obtain its vector. The average is taken over weights and requires no archive of previous vectors for that image.
Stopping the derivative and smoothing the target concern two different aspects of the learning rule. A current online projection can be used as a detached target. Its numerical value is then computed from the current weights, even though the path through which it was computed is excluded from the derivative. Averaged weights also change that numerical reference as training progresses. BYOL’s choice uses the detached comparison together with the average, which gives the predictor a reference whose parameters move more gradually.
The authors point out that the two update rules do not follow the gradient of the displayed prediction loss jointly over θ and ξ. They hypothesize more generally that the full training dynamics need not correspond to descent on a single objective over both sets of weights. As a result, minimizing the displayed loss over both sets tells a different story from following the actual sequence of updates. A constant solution is compatible with agreement, and the question is what makes the real update procedure maintain variation.
The architecture and the main schedule
The base encoder is a post-activation ResNet-50 v1 with width 1×. Its convolutional stages use residual connections, which let a block modify a representation carried into it through a shortcut. At the standard width, the final average pooling gives the image representation 2048 features. The experiments also vary depth and width. The paper uses depths of 50, 101, 152, and 200 layers and width multipliers from 1× to 4×. The online and target encoders are matched within each configuration. Deep Residual Learning for Image Recognition and Wide Residual Networks
The projector is a multilayer perceptron. Its first linear layer produces 4096 values. Batch normalization adjusts those activations, and a rectified linear unit suppresses negative responses while passing positive ones. A final linear layer produces 256 coordinates. There is no batch normalization at that final output. The online predictor uses the same layer arrangement as the projector and starts from the projection as its input. Its output can thus be compared coordinate by coordinate with the target projection.
The standard pretraining source is the ImageNet ILSVRC-2012 training split. Category annotations do not enter the BYOL objective. The optimizer is LARS, which applies layerwise adaptation to eligible weight updates. Pretraining lasts 1000 epochs, with 10 epochs of learning-rate warm-up, followed by cosine decay without restarts. An epoch here is a pass through the training data. The authors set the scale for the schedule by multiplying a base rate by a factor determined by batch size. ImageNet Large Scale Visual Recognition Challenge and SGDR
LearningRate = 0.2 × BatchSize / 256
The quantity BatchSize counts training images in a batch. LearningRate denotes the batch-adjusted scale for the schedule, with 0.2 as the base rate and 256 as the reference batch size. The warm-up and decay specify how the rate used by the online optimizer varies around this scale over the run. Accurate, Large Minibatch SGD
The recipe uses weight decay of 1.5 · 10⁻⁶. Weight decay restrains the growth of the parameters to which it is applied. Biases and batch-normalization parameters are excluded from weight decay and LARS adaptation. Their treatment is relevant when comparing losses with different numerical scales, because the adaptation offsets multiplicative scaling for the covered weights and leaves other updates sensitive to it.
The target decay also follows a schedule. Its base value is 0.996, and it increases towards 1 as training proceeds. Thus the schedule gradually reduces the share of the latest online parameters incorporated at each target update.
τ = 1 − (1 − τbase) · (cos(πk / K) + 1) / 2
The symbol τ is the decay used at the current step, and τbase sets its initial value. The variable k is the current step and K is the maximum number of steps. The function cos is cosine, and π is the circular constant. The ratio k / K locates the current update in the schedule. The remaining factors change the contribution from the online weights from its initial share towards zero.
The main recipe uses batches of 4096 images distributed over 512 Cloud TPU v3 cores. For a standard-width ResNet-50, the authors report about 8 hours under that allocation. There is also a separately tuned run with a smaller batch. Its optimizer settings and computational allocation form part of that reported training condition.
After pretraining, the authors retain the online encoder. The training heads and the target branch have already influenced its weights through the prediction task. A later classifier can now take its features from the encoder without computing either the prediction or the target. The paper consequently uses the retained encoder for inference parameter counts. It names JAX and Haiku in its implementation material and makes the official BYOL code and pretrained weights available.
Why the predictor might favor informative features
The authors analyze a simpler problem to understand what the online branch is encouraged to learn. They set aside output normalization and the exchange of views. They then consider a predictor that gives the best possible squared-error prediction for the current online and target projections. The thought experiment keeps the target weights fixed while examining the error as a function of what the online side represents.
q★ = argmin_q E[‖q(zθ) − z′ξ‖₂²]
Here q★ is an optimal predictor and argmin_q asks for a prediction function q that minimizes the expression. The expectation E is over images and their sampled transformations. The vector zθ is the online projection used as evidence, and z′ξ is the target to be estimated. The norm ‖ · ‖₂ measures Euclidean distance before it is squared. In this calculation, the prediction and target have their original magnitudes.
q★(zθ) = E[z′ξ | zθ]
The expression q★(zθ) is the ideal prediction for the given online projection. The bar inside the expectation means conditioning on zθ. The right side averages the target values associated with that online evidence. The conditional mean minimizes the expected squared error when several possible targets are consistent with what the predictor sees.
Suppose two kinds of views have the same online projection but systematically differ in a target coordinate. The predictor has to give them the same estimate, so the difference will appear as residual error. An online projection that distinguishes those kinds of views can give a predictor enough evidence to make separate estimates. This helps the prediction to the extent that the distinction explains real variation in the target. The mathematical quantity expressing the remaining variation is conditional variance.
∇θ E[‖q★(zθ) − z′ξ‖₂²]
= ∇θ E[‖E[z′ξ | zθ] − z′ξ‖₂²]
= ∇θ E[Σᵢ Var(z′ξ,ᵢ | zθ)]
The operator ∇θ differentiates with respect to the online weights, holding ξ fixed. The first expression uses the optimal predictor q★, and the middle one substitutes its conditional mean. On the right, Var is conditional variance, and z′ξ,ᵢ denotes coordinate i of the target projection. The sum Σᵢ includes every target coordinate, and E averages the resulting conditional variance over the data and views.
The statement about extra information concerns the expected error. A predictor with additional evidence can always ignore it, so the best expected prediction error cannot rise just because the evidence is available. Conditioning on a constant online projection is equivalent to making the same prediction everywhere. The best common prediction is the overall mean of the target, and its error reflects the remaining target variation across inputs. An online representation that preserves useful variation can give an optimal predictor a way to reduce this error.
The same account reveals why the target update matters. When the target varies, the learner can try to explain its variability. If the target were itself optimized directly to lower that uncertainty, making it constant would bring the error to its minimum. Averaging lets the target take up changes from the online network under a different rule. The authors propose that useful variation captured online can thereby enter the targets used in subsequent prediction problems.
There is an additional dependency in the calculation. The optimal function changes if the representation on either side changes. Its output depends on the function that is currently optimal and on the particular projection fed to it. When differentiating the minimized error with respect to θ, it is therefore possible to write a term for the direct change of the optimal function and a term for the change arriving through the input zθ. The paper uses the envelope theorem to show why the former contributes nothing in expectation under the optimality assumption.
∂E[ℓ(q★(θ, ξ, zθ), z′ξ)] / ∂θ
= E[(∂ℓ / ∂q) · (∂q★ / ∂θ)
+ (∂ℓ / ∂q) · (∂q★ / ∂z) · (∂zθ / ∂θ)]
The symbol ℓ is the squared prediction error of a sample. Its inputs are the ideal prediction q★ and the target z′ξ. The notation q★(θ, ξ, zθ) makes explicit both parameter sets and the projection argument zθ. In ∂ℓ / ∂q, q denotes the vector supplied as the prediction. The partial derivative ∂q★ / ∂θ gives the change of the optimal function at a fixed input, while ∂q★ / ∂z gives the derivative through that input, where z denotes the projection argument. The factor ∂zθ / ∂θ describes how the projection depends on the online parameters, and the dots indicate multiplication of the corresponding derivatives. The expectation E averages the two contributions.
E[(∂ℓ / ∂q) · (∂q★ / ∂θ)] = 0
This is the first contribution in the previous formula. The expected product involving the direct dependence of q★ on θ vanishes at the optimum. The remaining derivative passes through the input to the predictor, which is the route by which the online representation learns from a prediction error in the simplified problem.
The actual head is trained as the projections change. Its fit at a particular step may be imperfect. The authors propose that slow movement of the reference helps it stay close to the mapping that would be best at that time. A hard copy of the online weights would also propagate online variability to the target. Under that rule, the fit may have to adapt to larger changes in the target and to continuing movement of the online features. The argument connects the dynamics of the two branches to a measurable question about how the predictor is fitted.
Expressing BYOL and SimCLR through a common criterion
To examine how the methods differ, the authors write a family of scores in which the negative comparison and the branch computations can be varied. For an augmented view u, zθ(u) means its online projection after encoding and projecting. The corresponding zξ(u) is obtained from the target encoder and projector. The comparison can use those outputs directly or take its online vector after the prediction head.
Sθ(u₁, u₂) = ⟨φ(u₁), ψ(u₂)⟩ / (‖φ(u₁)‖₂ · ‖ψ(u₂)‖₂)
The augmented views are u₁ and u₂. The mappings φ and ψ specify the pathways used to obtain vectors from them. The numerator is their dot product, and the norms in the denominator give their Euclidean lengths. The score Sθ expresses their directional similarity. It depends on θ through the online computation and can also depend on ξ when ψ uses the target branch.
InfoNCEθ^(α,β) = (2/B) Σᵢ Sθ(vᵢ, v′ᵢ)
− (2αβ/B) Σᵢ ln(Σⱼ≠ᵢ exp(Sθ(vᵢ, vⱼ)/α)
+ Σⱼ exp(Sθ(vᵢ, v′ⱼ)/α))
The score InfoNCEθ^(α,β) is written so that larger values are preferred. The batch size B supplies the number of source images, and i and j are their indices. The views vᵢ and v′ᵢ come from image i. The unprimed sum inside the logarithm excludes the anchor itself, while the primed sum includes the corresponding view and the other primed views. The functions ln and exp are the natural logarithm and exponential. Temperature α is positive and controls the scale of the similarities inside the exponential. The coefficient β lies in [0, 1] and determines the weight of the logarithmic term. The factors containing B establish the scale of the sums across anchors.
The first term favors agreement between the corresponding views. The subtracted term penalizes a large pool of similarities. Since the pool contains the corresponding view too, the contrastive comparison can reward a positive score relative to its alternatives. A high score for another image can make it harder to improve the criterion simply by pushing the corresponding views closer.
InfoNCEθ = (1/B) Σᵢ Sθ(vᵢ, v′ᵢ)/α
− (1/B) Σᵢ ln(Σⱼ≠ᵢ exp(Sθ(vᵢ, vⱼ)/α)
+ Σⱼ exp(Sθ(vᵢ, v′ⱼ)/α))
Here InfoNCEθ gives the criterion in the ordinary SimCLR scaling used for comparison. The symbols B, i, j, vᵢ, v′ᵢ, and α retain their meanings as batch size, indices, views, and temperature. Both pathways of Sθ give online projections. The functions exp and ln pool the similarities in the same manner as before. In the extended expression, taking β equal to 1 and dividing by 2α gives this scaling. The appendix obtains the logarithmic form by factoring a ratio of the matching score to the pooled scores. A term ln B depends only on the batch size and can be dropped when examining gradients with respect to θ.
Taking β equal to 0 removes the pooled comparison. With φ supplying an online prediction and ψ supplying a target projection, increasing the remaining similarity lowers the normalized squared error used by BYOL. The common criterion thus separates a question about which images enter the loss from a question about which pathways make the vectors. A negative-free objective can be evaluated with different branch arrangements, and a contrastive objective can be tested with the predictor or averaged weights present. The parameter choices specify distinct parts of the training system even when the similarity formula is shared.
Experiments and results
Measuring the features before and after adaptation
The main experiments begin with self-supervised pretraining on the ImageNet training images. The evaluations then establish where those weights are useful. A fixed-feature test asks a classifier to make decisions from features the encoder already supplies. An adaptation test permits task gradients to change the encoder. Other image datasets and spatial prediction tasks ask for information beyond the categories used in the main ImageNet benchmark. Taken together, these experiments assess both what is directly accessible and what can be done by starting a new task from the learned weights.
SimCLR is a comparison to a strong contrastive training approach. For transfer, the authors also use a representation obtained by training with ImageNet class labels, which they call Supervised-IN. Both comparisons are relevant when evaluating another dataset. The first changes how views teach the encoder without category annotations. The second asks how features prepared using direct class supervision on the source dataset serve the destination task.
The paper reports two uses of supervised ImageNet results as well. A supervised baseline provides a recognition score on the same broad classification problem. Additional supervised recipes establish how much the strength of that reference can vary when the architecture and image treatment receive attention. It matters whether a result is described as approaching a specific baseline or attaining a performance level associated with supervised learning under particular conditions.
ImageNet recognition from a fixed encoder
During linear evaluation, the weights of the encoder are frozen, as are the batch statistics it uses. The trainable part is a classifier that assigns category scores by combining the outputs linearly. Labels teach it which combination of features goes with each category. An encoder that already exposes useful distinctions makes this job easier because the newly fitted classifier has no opportunity to change the representation.
Training inputs for the linear classifier receive a random resized crop of 224 × 224 and a possible horizontal flip. For scoring, images are resized with bicubic resampling to 256 pixels along the shorter side, and a central crop of 224 × 224 is extracted. Both kinds of input are standardized by the ImageNet channel statistics. The training procedure therefore supplies some spatial variation to the classifier before assessing it with the fixed crop rule.
The classifier is fitted by minimizing cross-entropy, which gives a penalty for assigning low probability to the correct class. The authors use stochastic gradient descent with Nesterov momentum of 0.9 and a batch size of 1024. The fit lasts 80 epochs, without weight decay or the other readout regularizers discussed in the paper. These settings specify the procedure that turns the frozen features into categories.
The rate is chosen from 0.4, 0.3, 0.2, 0.1, and 0.05 using a local validation set of 10,009 images held out from the ImageNet training set. The public validation split of the original dataset serves as the test set for the final report. Thus the paper’s local validation data guide a training choice and the original public validation data supply the score. Keeping these sets distinct matters when reading the paper’s use of the word test.
The standard-width BYOL ResNet-50 yields 74.3% top-1 and 91.6% top-5 on this test split. A top-1 result counts a correct decision when the highest-ranked category is the labeled one. A top-5 result counts an example when its category is among the five highest-ranked. The authors report gains of 1.3% for top-1 and 0.5% for top-5 over the preceding self-supervised reference. These are gains for the corresponding measures in the ImageNet linear evaluation.
A standard ResNet-50 supervised baseline cited from SimCLR reaches 76.5% top-1 on ImageNet. The paper also gives a stronger supervised benchmark of 78.9% for this comparison. The category labels teach the features directly in those supervised systems. BYOL reaches its score with features learned by predicting across views and category supervision applied only to the readout for this evaluation.
ImageNet test top-1 accuracy with standard-width ResNet-50
BYOL's frozen features come closer to the supervised reference cited from SimCLR than to the stronger supervised recipe.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| BYOL with frozen features and a linear readout (this paper) | 74.3 |
| Supervised reference cited from SimCLR | 76.5 |
| Stronger supervised reference | 78.9 |
The restriction on the readout gives the result a focused interpretation. A category distinction has to be present in a form that a linear combination of features can use. An encoder can also contain information that requires a different readout or is more readily available in an earlier spatial layer. The standard score describes the usefulness of the selected representation to this classifier, with the data preparation and training choices of the protocol.
What changes when the linear classifier is trained differently
The appendix changes two aspects of the linear protocol while keeping the representation fixed. It replaces the training crops and flips with the richer augmentations of pretraining. It also clips the logits and adds a penalty to the classifier’s objective. Logits are the category scores from which the class probabilities are calculated. The clipping uses a smooth function so the effect increases as a score becomes large.
tclip(x) = α · tanh(x / α)
Here x is a logit, and tclip(x) gives its clipped value. The positive scalar α sets the scale of the clipping. The function tanh is the hyperbolic tangent, which makes the output grow more slowly for large positive or negative inputs. In the full loss the function is applied to each relevant score.
Loss(x, y) = cross_entropy(tclip(x), y) + β · average(tclip(x)²)
The variable x now denotes the collection of logits and y the target labels. The cross_entropy term compares the class predictions based on the clipped scores with the labels. The operation average gives the mean of the squared clipped scores in the penalty, and β determines its weight. The authors use 20 for α and 1e-2 for β in this experiment.
The standard ResNet-50 BYOL encoder gives 74.8% test top-1 on ImageNet under the modified protocol. Its 74.3% result uses the main protocol shared with the earlier comparisons. Because the encoder stays frozen, the score change shows what can happen when the way of fitting the readout changes. The alternative protocol is a measured result for the same features and a different evaluator. The main score retains its value for the comparison with methods assessed under the standard procedure.
What larger residual encoders achieve
Increasing the depth or width of the encoder gives BYOL another opportunity to represent distinctions in the images. The paper reports its highest ImageNet linear-evaluation test top-1 accuracy, 79.6%, for a ResNet-200 with width 2×. The conclusion compares this with a previous self-supervised result of 76.8% and reports using 30% fewer parameters in that comparison. These parameters belong to the network retained to compute features. The online training heads and the moving target are additional components of the learning procedure.
The ResNet-50 at 4× width gives a comparison with an architecture-matched supervised result. BYOL reaches 78.6% ImageNet test top-1 with the linear readout. The supervised baseline cited from SimCLR reaches 78.9% at the same width. For the 2× and 4× ResNet-50 architectures, the appendix describes BYOL as coming within 0.4 accuracy points of the respective supervised references. The architecture pairs show how closely the training approaches can score on the same benchmark with encoders of corresponding size.
ImageNet test top-1 accuracy with ResNet-50 at 4× width
A linear readout of BYOL features approaches the supervised result for the same encoder architecture.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| BYOL with frozen features and a linear readout (this paper) | 78.6 |
| Supervised reference cited from SimCLR | 78.9 |
The authors also train their own supervised references for the larger residual architectures. They use RandAugment to vary the training images, together with a schedule of up to 200 epochs, stochastic gradient descent with Nesterov momentum of 0.9, and cosine annealing after a 5-epoch warm-up. Weight decay is 1e-4, and the label smoothing value is 0.1. Label smoothing changes the distribution the classifier is trained to predict for a labeled example. These runs test the strength of the supervised reference under a deliberately stronger recipe. RandAugment
The best overall BYOL result establishes that the method can take advantage of increased encoder capacity within the architecture family studied. The matched comparisons establish how BYOL measures up against particular supervised runs at given widths. These are separate uses of the scaling experiments. A result from a larger encoder may improve on the previous self-supervised record while the comparison with a particular supervised recipe still depends on which architectural configuration was used.
Adapting the ImageNet encoder with limited labels
A classifier trained on frozen features asks what the encoder already exposes. The semisupervised experiment starts from the same kind of pretrained encoder and lets labeled examples change it. This is fine-tuning. The learned weights can help by exposing categories already or by putting the network in a state from which useful new distinctions are easier to learn. The outcome measures an initialization used together with the supervised adaptation procedure. Fine-tuning
For the main comparison, the authors use the fixed 1% and 10% subsets of ImageNet training labels used by SimCLR. Reusing the selections gives both methods labeled examples from the same images. The source of unlabeled pretraining is still the training collection. The fraction refers to the labels supplied during adaptation. Accuracy is subsequently measured as top-1 and top-5 on the ImageNet test split. The paper reports that BYOL consistently improves on the comparisons across the tested architectures in this protocol.
Fine-tuning uses random resized crops and flips for training. At test time it uses the usual central crop. Optimization minimizes cross-entropy with stochastic gradient descent and Nesterov momentum of 0.9 in batches of 1024. The learning-rate candidates are 0.01, 0.02, 0.05, 0.1, and 0.005, and the proposed run lengths are 30 and 50 epochs. The authors select a configuration on local validation data and report its performance on the test split.
An appendix experiment follows the effect of label availability across a wider range. It examines selections of 1%, 2%, and 5%, together with 10%, 20%, 50%, and 100%. The researchers construct balanced labeled selections for this experiment. Because the exact identities of labeled images can matter, those results have to be read as a separate protocol from the comparison with the fixed SimCLR subsets. With a standard ResNet-50, the BYOL initialization given to the adaptation procedure beats the supervised from-scratch reference at every tested fraction in the balanced study.
Increasing encoder capacity has a different effect when relatively few labels can alter the features. Some of the widest encoders are outperformed by narrower ones with the same number of layers. The authors observe that those larger encoders can have lower training losses and higher validation losses than their slimmer counterparts. This is evidence of overfitting in the adaptation step. A wide encoder that gives a very strong fixed representation can still fit the available labels too closely when the destination optimizer can change its weights.
Adapting with the full set of ImageNet labels
The authors also fine-tune the standard ResNet-50 using 100% of the ImageNet training labels. The BYOL initialization gives 77.7% top-1 on the ImageNet test split. The random-initialization reference is reported at 76.5 top-1. In the authors’ reproduction, starting from the SimCLR checkpoint does not improve the result beyond that reference. A BYOL initialization therefore helps under the reported adaptation procedure even when the whole training set has category annotations in that stage.
The resulting 77.7% is reported as matching the cited AutoAugment supervised reference and falling 1.2 points below the stronger supervised baseline. These figures apply to the entire adapted classifier and encoder. The main 74.3% score describes a classifier whose training leaves the encoder fixed. The two results trace different benefits of pretraining. One shows what a linear score can recover immediately from the representation, and the other how the pretrained weights respond to subsequent category supervision throughout the encoder.
What transfers to other classification datasets
The transfer experiments change the destination while retaining the source of pretraining. CIFAR-10 and CIFAR-100 provide tasks involving small images. SUN397 asks which kind of scene appears, and DTD, the Describable Textures Dataset, gives a task organized around texture. A range of more specific visual distinctions comes from Birdsnap, Stanford Cars, and FGVC Aircraft. These tasks can reward features sensitive to degrees of detail or properties of a scene that differ from those emphasized by the ImageNet readout.
The benchmark suite also includes Food-101, Oxford-IIIT Pets, Caltech-101, and Oxford 102 Flowers. The PASCAL VOC 2007 classification task is another destination. The paper follows the transfer setup used by SimCLR and earlier representation studies. Each destination uses its established metric, its own training examples, and a separate basis for choosing hyper-parameters and reporting final performance. Food-101
For FGVC Aircraft, VOC 2007 classification, DTD, and Oxford 102 Flowers, the designated validation examples guide hyper-parameter selection. When labeled examples from an official test split are unavailable, the official validation set can be used for final scoring, with local validation examples drawn from the training set. The distinction between these roles is the same as on ImageNet, even when the splits available at the outset differ.
There are further choices for individual datasets. The authors take the first of the 10 train and test splits for SUN397. They retain 40 training images per class in that split for fitting and hold out 10 per class for validation. For DTD they use the first of the 10 pre-defined partitions. For Birdsnap, they choose a validation set at random with the same counts per category as the test set. In Oxford-IIIT Pets, the validation selection consists of 20 random images per class.
Caltech-101 has no pre-defined partition in the setup described by the authors. They follow the approach used in DeCAF and work with 5 random splits. Each uses 25 training images per category and 5 for validation, with the remaining examples used to test. These rules identify what data are available to each destination classifier. The shared procedure lets representations face the same readout task before their scores are compared. DeCAF
The meaning of the score varies by destination. Ordinary top-1 accuracy gives equal weight to individual examples, while mean per-class accuracy first measures each category separately and then gives those category results equal weight. The PASCAL classification task uses point 11-mAP, which summarizes ranked predictions by average precision. The numerical scales of these measures have different interpretations. The transfer evidence comes from comparisons between methods on a given benchmark, under the same metric and split.
Fitting a readout or adapting the encoder in transfer
The fixed-feature transfer procedure trains multinomial logistic regression. The classifier uses a linear score for each class and fits probabilities for the labeled outcomes. Both the encoder weights and its batch-normalization statistics stay fixed. Images are resized with bicubic interpolation to 224 pixels along the shorter side and standardized with ImageNet channel statistics. There is no additional image augmentation in this procedure.
The objective is cross-entropy with Euclidean weight regularization, fitted using LBFGS. The grid contains 45 logarithmically spaced regularization values from 10⁻⁶ to 10⁵. The authors choose a value based on the validation examples and refit the classifier using the combined training and validation images. Its score then comes from the test split. This gives each frozen representation the opportunity to work with a regularization setting suited to the destination task without using the final reporting examples to choose it.
In fine-tuning, the BYOL weights initialize the encoder and destination labels can adjust its features. During training, the images are randomly cropped and resized to 224 × 224 and may be flipped. At test time, the shorter side is resized to 256 pixels before extracting a central crop of 224 × 224. The same ImageNet statistics are used to normalize the channels after the transformations.
The adaptation protocol uses 20,000 optimization steps with batches of 256 images, and stochastic gradient descent has Nesterov momentum of 0.9. The updates to batch-normalization statistics use a separate momentum. The paper adjusts it according to the number of steps that make up an epoch on the destination dataset.
m = max(1 − 10 / s, 0.9)
Here m denotes the momentum for the running normalization statistics, and s is the number of optimizer steps in an epoch. The function max returns the larger of its arguments. The constants 1 and 10 enter the epoch-length adjustment, while 0.9 sets a lower bound. This schedule belongs to the downstream fine-tuning procedure.
The authors consider seven logarithmically spaced learning rates from 0.0001 to 0.1. They try 7 weight-decay settings spaced on a logarithmic scale from 10⁻⁶ to 10⁻³, with no decay as another option. The weight-decay values are divided by the learning rate. Once the validation performance determines the settings, the authors retrain on the combined training and validation images and score on the held-out test set.
BYOL exceeds SimCLR on every reported classification transfer benchmark. Compared with Supervised-IN, it performs better on 7 of the 12 benchmarks and slightly worse on the remaining 5. This result uses the standard measure for each dataset and the destination evaluation procedures just described. It shows that features learned through cross-view prediction can serve a variety of categories beyond the ones used for evaluation on ImageNet. The result against ImageNet-supervised pretraining also shows that the relative usefulness of the two feature sources depends on the destination.
Semantic segmentation on PASCAL VOC
A segmentation task requires the destination network to place category boundaries and assign a label to each pixel. This creates a demand for spatial detail that a classifier taking the pooled encoder output does not face. The authors use a fully convolutional architecture with the convolutional layers of ResNet-50 as the backbone. The transferred weights supply spatial features to a system trained to recover category regions. Fully Convolutional Networks
The last backbone stage uses 3 × 3 filters with dilation 2 and stride 1. Dilation increases the spacing between locations sampled by a filter, increasing the region it can draw on. Stride determines the spacing between its outputs. The destination network adds 3 × 3 convolutions of 256 channels with dilation 6, followed by a 1 × 1 convolution for pixelwise classification. The full architecture has total stride 16, retaining a spatial grid at the end of the network.
Training uses train aug2012 and the report uses val2012. A held-out subset of 2119 images is used for hyper-parameter choice. Training draws scale factors between 0.5 and 2.0 and applies cropping and horizontal flips. The crop size is 513, and the inference crop is centered with dimensions [513, 513]. A pixelwise softmax cross-entropy loss teaches the network to assign the correct labels at the corresponding locations.
During training, the authors use batches of 16 and set weight decay to zero.0001. They consider 5 base learning rates from 10⁻³ to 10⁻¹ on a logarithmic scale. The learning rate is multiplied by 0.1 at the 70-th and 90-th percentiles of the run. The schedule lasts 30,000 iterations, and results are averaged over 5 seeds. These settings describe the training done for segmentation using the selected pretrained backbone.
The score is mean intersection-over-union, or mIoU. For a category, the intersection is the area shared by the predicted and labeled regions, and the union is the full area belonging to either one. The benchmark averages the overlap scores across categories. On val2012, BYOL gains +1.9 mIoU over Supervised-IN and +1.1 mIoU over SimCLR. The result concerns a destination architecture that can use the spatial feature maps. It adds evidence about the convolutional features beyond the image-level decisions tested with a pooled vector.
Object detection on PASCAL VOC
Detection requires a system to assign categories and output boxes for the objects it finds. The experiment uses a Faster R-CNN detector with a ResNet-50 backbone that ends at conv4. The box prediction head uses conv5 and global pooling. The destination training uses trainval2007 and the reported comparison uses test2007. This makes the localization question measurable under the detector and data splits used by the authors. Faster R-CNN
The main account refers to the destination training as fine-tuning, and the detailed implementation specifies a frozen representation in the detection backbone. The performance figures apply to that stated detector setup. The training algorithm can learn how to use the spatial backbone features to identify and place objects. The head and the features it receives both participate in determining the final result.
The detector preprocessing rescales images so that their longest edge falls between 480 and 1024 pixels. The authors train with asynchronous stochastic gradient descent and 9 workers for 1.5M steps. The initial learning rate is 10⁻³. It falls to 10⁻⁴ at 1M steps and to 10⁻⁵ at 1.2M steps. These settings govern the detector optimization on the destination examples.
The metric AP50 gives average precision under the benchmark’s box-overlap criterion. It summarizes how well the ranked detections recover objects while meeting the required localization condition. On test2007, BYOL improves on Supervised-IN by +3.1 AP50 and on SimCLR by +2.3 AP50. The improvements demonstrate usefulness for the reported combination of backbone and detector training, where a category decision is evaluated together with the location of the predicted object.
Depth estimation from a single image
The NYU Depth v2 benchmark asks for the distance to visible surfaces from an RGB image. An output depth map requires estimates that remain associated with positions in the input. The ResNet-50 supplies conv5 features to 4 up-projection blocks, whose filter sizes are 512, 256, 128, and 64. These blocks turn the spatial features into a denser prediction. The destination network is trained with a reverse Huber loss.
The authors downsample frames of size [640, 480] by a factor of 0.5 and take a center crop of [304, 228] pixels. During training, images can receive a horizontal flip. The grayscale probability is 0.3, and the maximum brightness difference is 0.1255. The saturation factor is sampled from [0.5, 1.5], and the hue adjustment comes from [−0.2, 0.2]. The run lasts 7500 steps with batches of 256, weight decay of 0.0005, and a learning rate of 0.16.
On the test subset of 654 images the authors report relative error, root mean squared error, and the percentage of pixels satisfying several depth tolerances. Relative error takes account of the size of the reference depth. Root mean squared error gives large deviations extra weight by squaring discrepancies before averaging them and taking the root. The threshold measure asks how frequently the estimated depth falls close enough to the reference under a multiplicative criterion.
error = max(d_gt / d_p, d_p / d_gt)
The quantity d_gt is the reference depth for a pixel, and d_p is the predicted depth. The function max takes the larger of the two ratios. That makes the measure responsive to an estimate that is too large or too small. The quantity error is compared with thresholds of the form 1.25ⁿ, where n identifies the threshold setting. The reported percentage counts pixels below the selected threshold.
For the test-set percentage below 1.25, the BYOL initialization improves the score by +3.5 points relative to Supervised-IN and +1.3 points relative to SimCLR. The main comparisons give matching or stronger performance for BYOL across the reported depth metrics. With the larger set of published references considered in the appendix, root mean squared error is an exception to the generally strong results. The authors leave its cause open and suggest that greater variability in the depth predictions could play a part. The metrics can produce different rankings because an increase in the number of estimates within tolerance can coexist with some large deviations.
Pretraining on a scene dataset
The Places365 experiment changes the collection from which the representations are initially learned. Places365-Standard contains 1.80 million training images and 36,500 labeled validation images. The paper repeats the BYOL pretraining procedure and its SimCLR reproduction on that source for 1000 epochs using the main settings. This makes it possible to compare the approaches with the same scene photographs available during pretraining.
ImageNet and Places365 use the ImageNet-style linear readout protocol, while the other destinations use the classification transfer readout. When both representations are pretrained on Places365, BYOL consistently outperforms the SimCLR reproduction in the reported linear evaluations. The result extends the evidence beyond pretraining on the principal ImageNet collection. The problem of estimating target features is defined by the images and views available in the new source.
The authors also compare Places365-pretrained BYOL with ImageNet-pretrained BYOL. The scene-trained representation falls behind on the evaluated tasks except Places365 and SUN397, both scene-recognition destinations. A supervised reference trained from scratch with a ResNet-50v2 reaches 55.2% top-1 on Places365 according to the result cited in the paper. The cross-source comparison shows that the choice of training images can change the relative strength of the resulting features across destinations, even when the representation-learning procedure is the same.
A full run with fewer examples per batch
The main recipe processes 4096 images in each batch. The paper also reports a full 1000-epoch run with batches of 512, distributed across 64 TPU cores. The authors use a base learning rate of 0.4 before adjustment for batch size and a starting decay of 0.9995 for the target. Weight decay remains 1.5 · 10⁻⁶. Under this recipe, a linear classifier on the standard ResNet-50 features reaches 73.7% top-1 on the ImageNet test split.
The paper gives a training time of approximately 4 days for that setup. The result establishes that the standard frozen-feature evaluation can approach the main accuracy using a smaller batch and a different hardware allocation. Its settings also describe how the authors made that change work: alongside the number of images processed together, they adjusted both the scale of the online update and the starting rate at which changes entered the target.
What the ablations show
Choosing when to measure an intervention
A change to BYOL can alter the training problem long after it first affects the loss. For example, an update that changes the online projection also changes what the target branch can express after those weights enter its moving average. An intervention can therefore help early in training and have a different effect once the learner has spent more time predicting from the altered features. The authors found that the relative gains they saw at 100 epochs sometimes failed to carry through to longer runs. They used 300 epochs for the main ablations because the comparisons at that duration agreed more closely with what they saw in the 1000-epoch experiments.
The default ablation setup uses 64 TPU v3 cores and a batch of 4096 images. The starting learning rate is 0.3, the weight decay is 10⁻⁶, and the base decay for the target average is 0.99. The authors vary these settings when a particular comparison calls for it. They assess the completed runs with a linear classifier reading a frozen encoder and report test top-1 accuracy on ImageNet. A result from this suite therefore measures the effect of an intervention through later category recognition. It does not measure how accurately the training head predicts any particular target coordinate.
The authors average the results across three random seeds. When half the distance between the highest and lowest run scores exceeds 0.25 accuracy points, they report that quantity too. The half-range records the size of the spread they actually saw. A reversal between two closely ranked settings deserves a different interpretation from a variant repeatedly producing very weak features. The former can be small relative to the variation between runs. The latter identifies a consequential change to what the encoder learns under the tested conditions.
Several comparisons address different meanings of whether a component is necessary. Taking a component away and training the rest as usual tests the dependence of the existing recipe on that component. Removing it and changing how another component learns tests whether there is a way to compensate. These questions are especially important for the target average. Immediate copying is a poor substitution when the predictor trains as usual. The authors also find immediate-copying runs that learn useful features once they intervene in the predictor. Both outcomes help explain the dependence of the standard procedure on target averaging.
What changes when fewer images share a batch
For a contrastive method that draws negatives from the current batch, the batch determines the comparisons available to each example. Each view retains its positive counterpart as the batch shrinks, but the pool of alternatives gets smaller. This can change the difficulty of identifying which view came from the same photograph. A distinctive cue might separate the correct view from a small set of alternatives. With more candidates, there are more opportunities for another image to share that cue and make a richer representation useful.
Reducing the batch would ordinarily also change the number of examples whose gradients contribute to each step of the optimizer. The authors use gradient accumulation to control this aspect of the comparison. If a batch is reduced by a factor N, they average gradients from N smaller computations for each online update. They carry out those computations in parallel. The target is updated after the accumulated online step. Here N denotes the factor by which the batch is reduced and the number of smaller gradient calculations that supply an update.
Accumulation preserves the use of multiple examples in the eventual weight step. It cannot restore a contrastive comparison that was missing when a gradient was computed. Suppose that a view in one smaller batch would have been a challenging negative for a view in another. No similarity between them enters either batch’s loss. Combining the resulting gradients consequently gives the optimizer evidence from both batches without having confronted either view with that particular alternative. This is the reason the physical computation group still matters to the contrastive objective.
For BYOL, the reference needed by the loss remains available as long as the paired views are processed. Partitioning the other photographs removes no explicit terms from the error for that pair. The authors compare BYOL and their reproduction of SimCLR in a main sweep from batch size 128 to 4096. BYOL stays broadly stable across batch sizes from 256 to 4096 in the ImageNet linear evaluation. SimCLR’s accuracy deteriorates more quickly as batches shrink. The authors see the dwindling supply of negatives as the likely reason for the steeper decline.
The appendix extends the comparison down to a batch size of 64. BYOL also loses accuracy at that end of the sweep. The authors point to batch normalization, which uses values computed from the examples that share a forward calculation. Those values have already influenced the features by the time the optimizer accumulates any gradients. An update made from several smaller groups still uses features calculated with the normalization statistics of those groups. This provides a route for batch size to affect BYOL even when the explicit prediction target for every image remains available.
The conclusion is specific to the way the experiment divides the work. The relatively flat range shows that useful frozen features survive a considerable reduction in the number of examples processed together under gradient accumulation. At the smallest sizes, the change in normalization statistics is a plausible contributor to the decline. The sweep leaves the normalization mechanism in place, so it cannot apportion the decline to that mechanism independently. The authors also suggest that tuning the accumulation setup at 256 might bring its performance closer to that at 4096. That possibility is distinct from the measured comparison under the chosen settings.
This study helps explain how two procedures can make updates from the same amount of accumulated data and still respond differently to the number of images processed at once. The contrastive objective exploits information about relationships among images within a computation group. BYOL uses the group to compute many cross-view predictions, with an additional dependence through its normalization layers. The ablation exposes where the group size enters each training system and shows the consequences in a common recognition test.
What happens when views keep their colors
The augmentation experiments vary the evidence available in a pair of views. Color distortion is particularly informative because it can disrupt a cue that survives cropping. For instance, separate patches of a photograph can have similar proportions of light and dark colors even when they depict different parts of a scene. A histogram captures those proportions without keeping the location of each value. When alternative images have different palettes, such a statistic can make a same-image comparison relatively easy.
The authors use SimCLR’s account of this shortcut to motivate the intervention. A contrastive learner can benefit from a feature that places the corresponding view ahead of the other views. Once a palette provides a strong basis for that ranking, a separate feature describing the shapes in a scene may contribute relatively little to the decision. Color distortion makes the palette less dependable across the paired views. Structures that survive the distortion can become more valuable for solving the training task.
A prediction error offers a reason to keep another cue when that cue supplies information the target expresses. Consider a target that varies both with color and with the shape of an object visible in a crop. An estimate based on color may account for one part of the target and still leave a systematic error associated with shape. The online pathway can improve the estimate if it also makes evidence about shape available. The explanation depends on the target developing features beyond the easy cue. The ablation tests the consequences of changing the available cues through later recognition accuracy, leaving their individual roles inside the target projection unmeasured.
Removing color distortion changes ImageNet linear-evaluation test top-1 accuracy by −9.1 points for BYOL and −22.2 points for SimCLR in the 300-epoch comparisons. Each change uses the corresponding method with the fuller augmentation procedure as its reference. The direction is the same for both methods. The larger effect for SimCLR is consistent with the authors’ expectation that its task benefits more from disrupting the shared color statistic. The loss of accuracy for BYOL shows that the appearance changes are helpful to its learned features as well.
The authors make a more extensive change by retaining random crops as the sole transformation. This still gives the prediction task meaningful spatial variation. A crop can include a different part of an object or eliminate a background cue available to the other view. The experiment removes the other appearance and spatial changes, so crop selection alone determines which version of the photograph each branch receives. The paper reports changes of −13.1 points for BYOL and −27.6 points for SimCLR in ImageNet test top-1 against their respective full-transformation runs.
ImageNet linear-evaluation test top-1 accuracy after 300 epochs with full augmentation or random crops
Both methods lose accuracy with crops alone, and BYOL shows the smaller decline.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| SimCLR with full augmentation | 67.9 |
| SimCLR with random crops | 40.3 |
| BYOL with full augmentation (this paper) | 72.5 |
| BYOL with random crops | 59.4 |
The crop experiment makes the robustness result concrete. A classifier can recover meaningful category information from the BYOL encoder even after a large change to the view generator. Its accuracy remains substantially below that of the corresponding full-augmentation run. The useful scope of the comparison is therefore the ability to tolerate these particular removals. Each remaining crop still defines a view of the same photograph, and the errors the learner sees continue to depend on what the two crops share.
An additional comparison investigates the unequal application probabilities used for some transformations. The authors give both view distributions a Gaussian blur probability of 0.5 and a solarization probability of 0.2. The result is close to the default. Equal probabilities still allow different results for the two views because the draws are separate. A view can be blurred while its counterpart escapes blurring, even though both had the same chance of receiving the operation. This experiment concerns symmetry in the sampling distributions. The predictor and the separate update rules retain their distinct roles.
The transformation comparisons also sharpen the distinction between an explanation and a measured effect. The histogram example identifies a way to solve a matching task with a narrow source of information. Removing color distortion changes the distribution of image appearances in more ways than one. The downstream scores show how the complete training systems respond, and the reported difference favors BYOL under those interventions. Establishing how much each encoder relies on palette, spatial layout, or other cues would require measuring those features directly.
How quickly a useful target can change
A decay sweep lets the authors vary what the target inherits from the learner. The two endpoints separate the presence of a target from the effects of updating it gradually. At decay 1, every new target is generated by the same randomly initialized encoder and projector. That network can supply different outputs for different photographs, so stability in its weights does not make the prediction problem uniform across inputs. The learner can develop useful features by estimating these varying outputs across views, as the fixed-target experiment shows. The target has no way to acquire the new distinctions the learner develops.
At decay 0, the target instead becomes an immediate copy of the corresponding online weights after every update. The reference for the prediction remains detached when gradients are calculated. Nevertheless, its answer to a particular input can change as soon as the online optimizer moves the encoder or projector. Under the ordinary predictor recipe, the paper reports unstable training and very poor eventual ImageNet linear accuracy with this rule. Passing new information to the target is evidently insufficient when the pace at which that information enters leaves the rest of the procedure unable to learn useful features.
The tested decay values between 0.9 and 0.999 all give more than 68.4% ImageNet test top-1 with a linear readout at 300 epochs. That band of results is evidence that the effect extends across several choices of slowly moving reference. The fixed endpoint offers the predictor a stable task but cannot develop into a better teacher. The immediate-copy endpoint provides fresh targets whose mapping from image to projection changes much more readily. The ordinary BYOL procedure works well across the tested settings that allow both persistence and change.
A weight average combines two properties relevant to this result. It keeps the target behind the latest learner, and it reduces the influence of any individual online update on the current reference. Delay can prevent a new online feature from immediately entering the thing to be predicted. Smoothing can make a temporary change have less effect on the estimate required for a given input. The sweep changes both properties together, so its successful interval establishes the effect of the averaging rule as a whole. It leaves room for more than one account of how smoothing and delay contribute within that rule.
The sweep also connects target speed to variation in a way that a training loss alone would obscure. A stationary target has a constant mapping across steps, yet its outputs can still vary across photographs. A rapidly updated target can change substantially from step to step while feeding the learner projections with very little useful diversity. Movement of the weights and variation of the output across examples describe different things. What the linear evaluation establishes is whether the final encoder retains distinctions that serve ImageNet recognition after training at each tested setting.
Changing the prediction head and the contrastive term
The comparison with SimCLR changes multiple features of the training system. The shared criterion in the paper allows the authors to intervene on these features without inventing a new similarity measure for every experiment. They vary whether an online head predicts the comparison vector, whether an averaged branch supplies the reference, and whether other images enter the pooled contrastive term. This gives them intermediate cases between the usual contrastive reproduction and BYOL.
When the pooled term is removed, the ordinary variant that learns useful representations combines the predictor with the averaged target. In the corresponding configurations leaving out either ingredient leads to collapse. Since a constant answer can satisfy a feature agreement loss, the settings differ in the behavior induced by the update rules. The experiment makes a case for the combination used in standard BYOL. Later changes to predictor fitting show how far that dependence can be altered.
The variant without a predictor is also a test of what averaging can achieve by itself. The online projection matches the projection from the averaged branch directly. The authors compare it to Mean Teacher with its classification term removed and with transformations of the images supplying perturbations. In the original semisupervised arrangement, labels give the student an external basis for learning distinctions while it also fits the teacher. Here a pair of related views and the teacher’s response supply the learning problem. This variant collapses under the authors’ comparison, so the presence of a stable teacher does not by itself account for BYOL’s success.
A prediction head changes the relationship between what the encoder represents and what its loss requires. A target coordinate can depend on several quantities available in the online projection. A learned head can combine those quantities, and the path through the head determines how the resulting error reaches the encoder. Direct matching gives each output coordinate a particular coordinate to agree with. Removing the head changes the family of mappings available and the derivatives through which learning can develop them. The ablation identifies the importance of this whole change. It motivates studying the fit of the predictor alongside the architectural fact that it is present.
In the SimCLR-like setting, the paper finds that adding a predictor alone has only a mild effect. The role of the extra component therefore varies with the rest of the objective. Views from other images still contribute to the contrastive learning signal. Its effect on the representation can persist when the mapping that forms the comparison vector changes. With that term absent, the behavior of the predictor becomes much more consequential in the tests with bootstrapped targets.
Introducing an averaged target into the contrastive comparison raises ImageNet linear-evaluation test top-1 by +1.6 points. The authors keep the number of available negatives the same. This gives the averaged network a role even in a system that continues to use negatives and gets no additional comparisons from the intervention. There is a benefit to changing the source of the reference vectors under the settings used for that contrastive variant.
The appendix separates two ways of changing that source. Both sides of a comparison can be generated by the current online network, with gradients flowing through both. The current projection on one side can also be detached, so the forward computation supplies the same values at a given set of weights while differentiation takes a different path. With an averaged branch, the reference can have different values as well, because its weights follow earlier online updates. The comparisons attribute most of the measured benefit to obtaining a stable, delayed reference. The detached calculation alone offers less of the improvement.
This result clarifies how to read an ablation described simply as adding a target network. It can change the gradient used for the current optimizer step and also change the answer that the learner sees at later steps. A detached current projection isolates the gradient change from the use of temporally averaged weights. The improvement in the reported comparison is principally associated with the latter. The contrastive case is informative here because it exposes that effect with the pool of negative comparisons still present.
How temperature affects the comparison with negatives
The pooled contrastive term involves exponentiating similarities after dividing by a temperature. A lower temperature makes differences in those similarities matter more to the weights in the pool. Particularly similar views can then have greater influence on the error. A setting that produces a useful level of competition with one pair of feature pathways may produce a different effect when the pathways have been changed. The predictor and target supply vectors whose similarities need not have the same distribution as similarities computed directly from the online projections.
The authors initially reintroduce the contrastive term with the temperature at 0.1, the setting selected in the SimCLR-like configuration. The predictor and the averaged target are both retained. This addition reduces the ImageNet linear-evaluation accuracy under that choice of settings. The result establishes what happens when the original temperature is carried over. It leaves open how well the additional term can work once its parameters are chosen for the altered system.
The sweep that follows varies temperature alongside the coefficient on the pooled term. Temperature changes the way each similarity contributes within the pool. The coefficient changes how much the entire pool matters relative to the direct reward for agreement. Using both the predictor and the target, the best temperature is higher than 0.3. Some tested combinations with negatives match BYOL, and the authors find no run that significantly surpasses it. These results support the narrower, consequential claim that the negative term can be omitted without giving up the strongest performance seen in this comparison. With suitable tuning, the same architecture can also learn well from an objective that includes that term.
Another detail is that the SimCLR reproduction used in the intermediate comparisons differs from the reproduction in the transformation study. For the common criterion, the authors scale the contrastive objective by 2α, with α denoting the temperature. They also enlarge the projector to a hidden size of 4096 and an output dimension of 256. Together those choices move the reproduction from 67.9% to 69.2% ImageNet test top-1 with the linear evaluation at 300 epochs. The reported difference belongs to the package of changes. It does not assign a separate effect to the objective scale or either width.
There is a practical reason to report an apparently simple multiplicative change to the loss. Multiplying an objective by a positive constant preserves the preference it expresses between two candidate solutions. An optimizer still has to turn a gradient of that objective into an actual weight step. The authors explain that preconditioning in LARS offsets this multiplication for the weights to which the adaptation applies. The updates to biases and batch-normalization parameters remain sensitive to the scale. Similar mathematical criteria can consequently produce different training trajectories under the same named optimizer. The separate SimCLR scores attached to the comparisons give the reader the baseline appropriate to each intervention.
Whether a faster predictor can compensate for immediate copying
If the average helps the predictor keep up, another way to recover useful learning might be to change how quickly the predictor fits. The authors test this by keeping the target decay at 0 throughout pretraining and giving the predictor its own learning-rate multiplier. The rest of the network follows its existing learning-rate schedule. Since the target is copied immediately after each update, any recovery happens without temporal smoothing of the weights that generate the reference.
The version with an increased predictor rate reaches ImageNet test top-1 accuracy of 66.5% in linear evaluation. The appendix uses λ to denote the predictor’s multiplier and reports 0.01% when λ is 0. In that case the predictor’s parameters are held at their initial values by its zero learning rate. Its computation can still pass a derivative to the features it receives, but the mapping it applies cannot adapt to the changing prediction problem. The weak result makes the ability to fit the predictor especially consequential under the immediate-copy rule.
A higher learning rate could help through changes that have little to do with tracking a target. To investigate whether the improved outcome is specific to the predictor, the authors also vary the projector’s learning rate independently. The multiplier for this other head is denoted by μ. The representation usually collapses or performs poorly if the predictor’s rate is at most the projector’s rate. The main discussion reports roughly 25% ImageNet linear test top-1 for an experiment that raises the rates of both heads in the absence of averaging. Giving both components larger steps does not reproduce the useful behavior of accelerating the predictor alone.
This comparison makes sense in terms of what the heads do. The projector sets the coordinates presented to the prediction head. After a hard copy, the corresponding target projector also determines the coordinates of the answer supplied for the other view. Moving the online projector more quickly can thus change the evidence for the next prediction as well as the reference used to score it. A faster learner facing a faster-changing mapping may gain little ground. The relative rate gives the paper a more pointed intervention than simply increasing all the learning rates.
The measured outcome is still the accuracy of the final encoder. The experiments do not give a series of measurements of how close the head came to its theoretical optimum during training. A rate change can also affect which solutions are found by stochastic optimization. What the result establishes is that the ordinary need for slow target updates can be relaxed under a different predictor schedule. Its specificity to changes in the predictor gives support to the idea that fitting the prediction well is part of the role played by averaging.
Fitting the current batch by regression
The paper also changes predictor fitting in a way that makes optimality explicit for a limited problem. On the current batch, the online projections are put in one matrix and the matching target projections in another. A linear map is chosen to minimize the discrepancy between the mapped online projections and those targets. The map is fitted before the error is propagated through the online pathway. The target again takes the online weights by immediate copying.
Q★ = argmin_Q ‖Zθ Q − Z′ξ‖F² = (Zθᵀ Zθ)⁻¹ Zθᵀ Z′ξ
Here Zθ is the matrix of online projections obtained using θ, and Z′ξ is the matrix of corresponding target projections obtained using ξ. Each has shape (B, F), with B examples and F features. The prime marks the targets for the paired views. The candidate map Q has shape (F, F). The operator argmin_Q selects the map Q★ that minimizes the stated error. The Frobenius norm ‖ · ‖F combines all entries of the error matrix, and its square is the sum of their squared differences. The superscript ᵀ transposes a matrix, and ⁻¹ is the inverse used in the closed form, which requires the matrix being inverted to be nonsingular.
This optimum concerns a different object from the conditional mean in the paper’s theoretical analysis. The regression finds the best linear map for the pairs actually present in a batch. It can be exact for that problem and give a less accurate estimate for different pairs. The ideal conditional mean concerns all outcomes generated by the training distribution and does not impose this linear restriction. A closed-form batch fit is nonetheless a useful diagnostic because it lets the authors remove uncertainty about whether an ordinary learned head took enough steps to solve the stated batch regression.
The main ablation discussion reports 52.5% ImageNet test top-1 for the encoder obtained with this fitted predictor and the linear evaluation. Useful features can thus emerge with immediately copied targets when the prediction is solved this way. The performance remains below that of the usual BYOL arrangement. It supports a role for how well the predictor fits and provides a second form of evidence after the learning-rate intervention.
The experiments have complementary strengths. The rate intervention preserves the learned nonlinear predictor and alters how it responds to a moving problem. The regression changes the class of predictors and provides a direct fit within that class. Both make useful recognition possible under a target update that performs poorly with the usual head training. The shared outcome places predictor responsiveness alongside target movement in an explanation of the working procedure. The score for either variant is a result for the specified combination of fitting rule and reference, with no implication that the two interventions are interchangeable.
Capacity and regularization in the training heads
In its architecture sweep, the paper varies the depth of the projector and the predictor and examines the number of coordinates in the projection. The depth counts linear layers, and the final linear layer in these comparisons has neither a following activation nor batch normalization. A head of depth 1 is consequently a linear transformation. The default depth of 2 for the projector and predictor gives the strongest reported performance among the architectural choices tested.
The findings are specific to how these components fit within the training system. A different projector can change which information enters the loss and how much of it a predictor must recover. A different predictor can change which mappings are available from the online projection and how the loss responds when the encoder changes a feature. The result for the ordinary heads and the success of the linear batch fit address different conditions. Fitting a linear map exactly to current data can provide a useful diagnostic even when a pair of deeper heads works better when learned through the main optimizer.
The learning-rate and weight-decay sweeps show tolerance to small changes within the useful range. The authors observe that which initial learning rate works best depends on how long training runs. Consequently, a value that does well within the ablation duration has a particular relationship to the schedule and endpoint used there. The paper also observes divergence when weight decay is removed in BYOL and in SimCLR. This is a separate failure from the convergence of otherwise stable training to an uninformative representation. The optimization has to remain well behaved before the resulting features can be judged on what they preserve.
The paper varies the scaling used at initialization and reports ImageNet linear-evaluation top-1 above 72% across those changes. This gives some evidence that the main behavior survives the tried changes to the initial weight scale. It leaves the path taken from any particular random initialization a separate question. Together, the tests give a picture of a training recipe with useful ranges for ordinary optimization settings and identifiable points of failure when a regularizer or a crucial part of the prediction arrangement is removed.
Normalizing the outputs in the loss
The authors compare ways of preparing the prediction and target for squared-error scoring. The usual BYOL loss divides each vector by its Euclidean length. The alternatives include non-trainable normalization over the batch, non-trainable normalization over the coordinates of an example, and the identity operation, which returns its input unchanged. The ablation substitutes the operation at the loss. Internal normalization layers still participate in producing the vectors that reach it.
ℒn = (1/B) Σᵢ ‖n(pᵢ) − n(zᵢ)‖₂²
The loss ℒn uses the selected normalization n. Each index i denotes an example in a batch of B. The vector pᵢ is the prediction, and zᵢ stands for its target in this batch notation. The norm ‖ · ‖₂ measures Euclidean length. The square combines coordinate discrepancies, and the sum divided by B averages them across the batch. The paper also uses the Euclidean operation on each individual vector as described for the standard method.
In the batch-based alternative, it is useful to picture a row for each example and a column for each feature. The centering and rescaling of a coordinate use statistics from its column. A particular coordinate of a prediction therefore depends on the values of that coordinate in other predictions when this operation is chosen.
μBNʲ(x) = (1/B) Σᵢ xᵢʲ
The array x contains the vectors to be transformed. Its entry xᵢʲ is feature j of example i. The function μBNʲ gives the mean of column j by summing the entries over the B rows and dividing by B.
σBNʲ(x) = √((1/B) Σᵢ (xᵢʲ)² − μBNʲ(x)²)
Here σBNʲ gives the standard deviation of that column. The expression under the square root subtracts the squared column mean μBNʲ(x) from the batch average of the squared entries xᵢʲ. The batch size B and row index i have the same meanings as for the mean.
nBNᵢʲ(x) = (xᵢʲ − μBNʲ(x)) / (σBNʲ(x) · √d)
The quantity nBNᵢʲ(x) is the new entry for instance i and feature j. The numerator centers xᵢʲ around the column mean, and σBNʲ(x) scales it by the column spread. The additional factor √d uses d, the feature dimension, to bring the transformed vectors onto a scale comparable to that of Euclidean normalization.
The layer-based alternative uses the same idea of centering and rescaling within each example. Its statistics come from the row rather than the column. This changes which values determine the rescaling for a particular feature.
μLNᵢ(x) = (1/d) Σⱼ xᵢʲ
The function μLNᵢ is the mean of the features of example i. The sum runs over the feature index j, taking entry xᵢʲ from each of the d columns of row i.
σLNᵢ(x) = ‖xᵢ − μLNᵢ(x)‖₂ / √d
Here xᵢ denotes the entire feature vector for row i. The subtraction centers each coordinate by μLNᵢ(x). The Euclidean norm gives the length of the centered row, and dividing by the square root of the feature count d gives σLNᵢ(x), its feature standard deviation.
nLNᵢʲ(x) = (xᵢʲ − μLNᵢ(x)) / (σLNᵢ(x) · √d)
The result nLNᵢʲ(x) gives the transformed feature j for example i. The mean μLNᵢ(x) and standard deviation σLNᵢ(x) now belong to that example’s own vector. The factor √d again makes its scale comparable to the Euclidean choice. All these statistics describe the operations used on the vectors at the comparison, with no trained scales or offsets in these alternatives.
Euclidean normalization performs best among the reported choices. Omitting the output normalization still gives 67.4% ImageNet test top-1 in the 300-epoch linear evaluation. In the unnormalized run, the projection lengths rise steeply during the first 100 epochs and eventually settle near 3 · 10⁶. The growth shows how differently the network can use the scale of its projection when the loss is sensitive to magnitude. At the same time, a classifier can still recover useful category distinctions from the final encoder. The size of the projected outputs and the predictive usefulness of the retained features measure different aspects of the run.
This experiment is also relevant to the mathematical simplification that gives the conditional-mean argument. An unnormalized squared error has a direct optimum expressed through a conditional expectation. The empirical comparison shows that setting aside length normalization still leaves a procedure capable of substantive learning, though the standard directional loss has the stronger reported result. The success of the unnormalized variant supplies context for the idealized analysis while keeping the evidence about loss normalization separate from the remaining use of batch statistics inside the networks.
Limitations
Limits identified by the authors
The authors identify view construction as a continuing dependency. The image transformations draw on operations whose effects are understood in visual terms. A crop changes how much of the scene is visible, and a color adjustment can break a relationship in appearance while preserving spatial structure. Applying the same learning idea to speech, video, or text would require decisions about what two inputs should share and which changes should leave them related. The authors expect that developing suitable transformations for other modalities can require substantial effort and expertise.
They propose automating the search for such transformations as a direction for extending the method. The BYOL experiments compare procedures built from an existing collection of image operations. A general search would have to select transformations in a setting where the useful relationships among observations may be harder to identify. An operation that makes prediction easy can do so by preserving a narrow cue. One that makes it difficult can remove nearly all evidence about the target. Neither ease nor difficulty alone establishes that the resulting learning problem will produce features suitable for the intended use.
The authors also treat the account of collapse as provisional. They identify undesirable equilibria and reason about an ideal predictor in a version of the procedure without output normalization or the reverse prediction. They then suggest that slow target movement keeps the training head close enough to a good fit for this reasoning to apply. The actual optimizer moves the projection and predictor together and modifies the target through a separate rule. The idealized calculation explains a possible incentive acting on the online features. The stability of the full training dynamics remains a hypothesis informed by experiments.
The wide encoders reveal another limit identified in the paper. When the destination labels can adjust the representation, some wider architectures fit the training examples with lower loss and do worse on validation than slimmer encoders of corresponding depth. The authors interpret this as overfitting and point to regularization during adaptation. The capacity that helps produce a strong frozen representation can also give supervised fine-tuning more freedom to fit idiosyncrasies of a restricted labeled set. Scaling the encoder and choosing how to adapt it are therefore separate experimental decisions.
The broader-impact discussion identifies a dependence on what is represented in the source images. A collection can embody biases through its contents, and a representation learned from that collection can reproduce them. The authors also acknowledge that a visual encoder can serve applications with different consequences. The recognition and transfer experiments measure the designated task outcomes. Evaluation of the effects of a particular use would require information about the application and its data that these benchmarks do not supply. Bias, fairness & safety
What the mathematical argument covers
A limit visible in the setup concerns the quantity whose uncertainty is reduced. The online projection helps predict the target projection of another transformed view. It can gain from a distinction when that distinction explains target variation. A visual detail that the target never expresses provides no direct benefit through this argument. Even an ideal prediction of the target could omit information a downstream task values. The conditional-variance reasoning gives an account of what evidence can improve a squared-error prediction. It does not specify a complete record of the source image that an encoder must keep.
The comparison after conditioning on more evidence applies to expected prediction error. If a distinction enriches the information available to the predictor, the best expected error can stay the same or fall because the predictor can choose whether to use that distinction. This leaves room for additional variations that do nothing for the optimal estimate. It also brings out the assumption required to learn anything when the target varies. The online projection has to retain, or be able to acquire, a distinction that has predictive value for that target under the view distribution. A detail removed by the crop cannot help merely because it was in the original photograph.
For a constant target, the ideal-predictor argument gives a common answer with no remaining target variation to explain. The authors’ intuition about avoiding collapse comes from the incentive to explain useful variation, together with a rule that propagates the learner’s parameters into later targets. A stability proof would have to follow the behavior of the two branches near an undesirable equilibrium and show what happens to small changes in the features and the predictor. The fact that an informative online feature can improve prediction of a varying target does not settle what happens near every constant solution of the coupled updates.
The predictor experiments offer evidence at the end of training. The output of a batch regression can be optimal in the linear class for that batch. The population calculation deals with a different optimum. A large learning rate for the nonlinear head, meanwhile, changes its path through parameter space without measuring its error relative to either optimum at intermediate steps. The recovery of linear accuracy in these experiments is consistent with the tracking account. How close the ordinary head stays to an optimum, and whether some directions in the target matter much more than others for avoiding collapse, remain open.
There is a similar boundary around what can be inferred about the target average. The detached-current-weight comparison helps establish a benefit from using averaged reference values in the contrastive variant. That intervention changes the degree of smoothing and the age of the weights influencing the target at the same time. The paper can point to the advantage of that package. Establishing an independent effect for the lag of a target would require a comparison controlling the fluctuations of its outputs as well.
What the scores reveal about the representation
A useful linear readout is direct evidence against complete collapse of the evaluated image representation. If every image supplies the same feature vector, the readout has no basis in its input for treating categories differently. The reported accuracy therefore demonstrates meaningful variation in the features used by the classifier. Many other questions about the representation can remain open alongside this result. Some feature coordinates can carry redundant evidence. Some visual distinctions can be available in early layers and disappear after pooling. A single category score leaves their distribution through the encoder unresolved. Interpretability
The transfer experiments give evidence about more than the pooled feature. The segmentation system makes use of spatial maps inside the convolutional backbone and learns a destination computation that can assign pixel categories. Its success establishes a use for the pretrained convolutional layers under that arrangement. The detector also has a specific division of labor between backbone and head. The main discussion describes destination training as fine-tuning, while the implementation specifies a frozen representation in the detection backbone. The measured margin concerns the reported detector. It does not supply the result of a separate experiment in which all its initial features can change during training.
The depth comparisons illustrate how the result depends on the evaluation measure. A threshold can give credit when the predicted distance is sufficiently close to the reference for a given pixel. A root mean squared error can be strongly affected by relatively large deviations elsewhere. In the expanded comparison with published baselines, the authors identify root mean squared error as an exception to the general pattern of strong BYOL transfer. They propose greater variability of the estimates as one possible reason. The metrics make that explanation plausible, but they leave the source of the larger errors undetermined.
The alternative linear readout makes a different dependency visible. A classifier fitted under different transformations and score regularization recovers a different level of accuracy from the same frozen encoder. The main comparison controls the readout with a specified protocol. It gives a strong measure of how accessible category information is under that procedure. The alternative result demonstrates why the value cannot be attached to a feature vector independently of which data and training rule the evaluator uses. Evaluation & benchmarks
The strength of a supervised reference likewise depends on its recipe. The paper compares with supervised performance reported alongside SimCLR and with stronger ways to use category labels. Those results set different reference points even when a comparison matches the size of an encoder. The performance gap concerns that particular use of supervision and that choice of training conditions. Matching one supervised result through a fixed encoder and linear classifier leaves the question of what another supervised procedure could achieve under comparable conditions.
How far the pretraining evidence extends
The experiments establish breadth within vision. The authors change the depth and width of a residual convolutional encoder, train on different image sources, and put the weights to use in tasks with quite different outputs. The pretraining comparisons remain concentrated on a shared architecture family and a shared repertoire of image transformations. A different family could change how spatial information enters the predictor, how statistics are calculated, or how independently the branches can evolve. The paper provides no controlled variation of such architectures from which to infer equivalent behavior.
The Places365 experiment also shows why the ability to train on another collection and the ability to reuse its features equally well are distinct. BYOL learns useful representations from the scene dataset and improves on the compared contrastive procedure there. The relative strengths of those learned features across destination tasks still depend on the source. Scene recognition includes the exceptions where the scene-trained BYOL encoder does better relative to its ImageNet-trained counterpart. That result makes the composition of the pretraining collection part of what an experiment must specify when it calls a representation transferable.
For limited-label adaptation, the restricted quantity is the availability of category annotations during the labeled training stage. The encoder has already been exposed to the training collection through the self-supervised task. An image whose annotation is withheld can therefore have influenced the mapping used to extract features. The evidence is especially relevant to a situation in which images are available and only a fraction of them can be labeled. Restricting the number of unlabeled images as well would change the pretraining problem and is a separate condition from withholding annotations.
A nominal label fraction is also an incomplete description of the labeled evidence. The paper uses fixed subsets from SimCLR for the main comparison and balanced selections of its own for the wider sweep. The same fraction can contain different photographs and cover categories differently under the two selection rules. Comparing methods that receive the same labeled examples makes an initialization comparison more informative. Comparing values across different subset constructions requires keeping track of which evidence each optimizer actually received.
Labels contribute to evaluation even when the encoder stays frozen. A linear classifier has to associate its inputs with the categories used for scoring. The held-out local validation labels help select the setting under which that association is learned. On a transfer task, additional supervision can select the readout or adjust the backbone as well. This tells the reader exactly where the method saves on annotations: the prediction targets used to acquire the encoder do not require category labels. Completing and assessing a task from its features can still involve whatever supervision the destination protocol supplies.
What the resource and variation reports can establish
The number of weights retained for inference is an appropriate measure for the size of an encoder a downstream system receives. Pretraining also uses the projector, predictor, and reference branch, and processes more than one view of a photograph. Moving the target weights and computing the second pathway consume resources even without a pooled comparison across other images. The comparison of retained parameters therefore cannot by itself establish the compute or memory required to produce the features.
The elapsed times describe runs with different hardware allocations and settings. The smaller-batch result shows that useful features can be obtained with a revised combination of batch size, learning rate, and decay schedule. It does not isolate a speed penalty due to the batch change, since the parallel allocation differs too. Accumulating gradients in a controlled ablation answers which elements of the loss and normalization depend on the group that shares a calculation. That control would serve a different purpose from equalizing total computation in an efficiency comparison.
The ablations give some indication of repeatability through observed spreads over the tested seeds. Half a range is easy to interpret as a description of a few completed runs. It is not a probability that the ranking would persist after repeating the entire experiment. Some results, such as successful recognition after a predictor intervention with immediate copying, mark a substantial qualitative difference. Small differences between settings present a finer question about training variation and the conditions under which they recur.
Taken together, these boundaries locate the paper’s claim at the level its tests can support. The authors establish that a specific visual pretraining procedure can learn useful features without a negative-pair objective. They give experiments linking that success to the prediction head, the evolving reference, and the views on which both operate. The benchmarks measure the usefulness of the resulting encoder for particular readouts and adaptations. Explaining its whole training trajectory or extending the same combination to a new setting calls for evidence about that trajectory or setting.
What came after
Predicting visual features under a different architecture
Later work on self-supervised vision transformers takes the question of what emerges from visual pretraining into a different architectural family. BYOL tests what a residual convolutional encoder learns by asking how well downstream systems can use its pooled and spatial features. Emerging Properties in Self-Supervised Vision Transformers makes the properties of learned features a subject of study in the transformer setting. That is a continuation of the question about what visual structure can emerge from a task built without category labels. The link concerns the architecture and the question studied. How the later system’s particular training rule relates to BYOL’s predictor or weight averaging is a further matter. Transformer and attention and Emerging Properties in Self-Supervised Vision Transformers
DINOv2 puts the robustness of visual features learned without supervision at the center of the problem. The relation to BYOL is clearest in what the learner is meant to leave behind. Success at pretraining is valuable because the encoder can be used to solve problems other than the one that generated its training targets. BYOL tested that proposition with frozen classifiers, adaptation, and spatial tasks. DINOv2 continues the investigation of robust features as an outcome of unsupervised visual learning. This aim is the common ground across the works, independent of which components are used to produce the features. DINOv2
Visual probing gives the assessment of learned features a more explicit focus. An ImageNet readout answers whether the features carry useful class distinctions in a form a particular classifier can use. An investigation organized around probing asks how a representation itself can be explained by tests of that kind. The later visual probing study takes this explanatory problem as its subject. Its question follows naturally from a result such as BYOL’s, where recognition establishes that useful variability survives and leaves open what the encoder represents throughout its layers. Explaining Self-Supervised Image Representations with Visual Probing
What a visual prediction is asked to recover
Masked autoencoding makes the reconstruction problem begin with a masked observation. Parts of the input are withheld, and reconstruction supplies a task for the information still available. BYOL also exposes its learner to a partial or altered observation, since one crop can conceal content that the other view includes. Its score measures a prediction in the coordinates of a projection made by an evolving encoder. The masked-autoencoding direction returns to the question of what an observation contains, making the response to missing input part of the route to scalable visual learning. This connects the works at the level of a design decision about what a useful encoder should learn to predict. Masked Autoencoders
SimMIM also makes masking the organizing choice in a visual framework. A mask can determine which evidence remains available while keeping the prediction problem associated with the original image. For BYOL the transformation distributions determine what each branch can see, and the target network determines the feature description the learner must estimate. SimMIM takes up the question of how to build a simple visual learning framework around information withheld through masking. The relationship illustrates how changing the presentation of the input changes the pretraining problem, even before a researcher decides how the representations should be compared. SimMIM
The joint-embedding predictive approach places the space of learned features directly in the description of its prediction problem. This is a close point of contact with BYOL. The answer to a BYOL prediction is a projection computed for another view, so a predictor can be evaluated through the information those coordinates express. A joint-embedding predictive architecture likewise makes a learned space part of the task definition. This continues the investigation of visual pretraining through prediction in a representation space. The resulting question is how the choice of evidence and the choice of features to predict determine what the encoder has a reason to learn. Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture
These approaches bring out two decisions implicit in BYOL’s view construction. A system has to define which information reaches the predicting pathway. It also has to define the target against which the prediction is scored. Partial inputs can make either reconstruction or feature prediction demanding, while the answer in each case gives the learner a different reason to preserve information. The cited works pursue those decisions in different visual prediction problems. Their relation to BYOL is more precise when described through the evidence and target each problem specifies.
Supervision from text and targets for speech
Natural-language supervision changes what can supply a training relationship for visual learning. BYOL links its inputs through a fact the view generator knows directly: they came from the same photograph. Language can name or describe aspects of visual content and thereby provide a different basis for acquiring transferable features. The citing study on natural-language supervision pursues visual transfer using that source of information. The point of connection is the goal of an encoder whose features can serve more than the immediate learning task. The source of supervision gives the later work a different way to pursue that goal. Learning Transferable Visual Features from Natural Language Supervision
The work on scaling visual and vision-language representation learning with noisy text supervision brings the quality of that signal into the stated problem. A textual description can convey information about some aspects of an image while supplying weak evidence about others. BYOL’s source identity is known, yet the transformations can still leave different amounts of usable information in the views. The later setting makes the usefulness of a heterogeneous supervision signal part of the scaling question. It extends the study of how transferable visual features depend on the relation used to teach them. Vision & language and Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
HuBERT takes up a prediction task in speech, using masking together with hidden-unit prediction. Masking defines what information is withheld, and the hidden units give the learner a target associated with the speech signal. BYOL had identified appropriate view construction as a condition for taking its broader approach beyond images. The speech work addresses the general problem of how to derive a useful prediction task from the structure of the modality. Its shared question with BYOL is how an internally specified target can teach a reusable representation when the input supplies incomplete evidence. The use of hidden units and masking describes a speech-specific choice for both sides of that problem. Speech & spoken language and HuBERT
Giving localization a role during learning
DETReg places region priors in unsupervised pretraining for object detection. A region prior gives the training problem information about parts of the image that can be treated as candidate regions. BYOL establishes a relation between views at the level of a source photograph and subsequently tests localization through a destination detector. DETReg brings the importance of regions into the pretraining problem itself. Its stated focus continues the question of how unsupervised learning can prepare useful detection features while giving the spatial structure of the destination task a more direct role in the way the learner is trained. DETReg
Pixel-level contrastive segmentation locates the learning relationship at another spatial scale. The later work names a class-wise memory bank and uses a contrastive task during semisupervised segmentation. This gives comparisons a local role and makes category membership part of how stored information is organized. BYOL’s segmentation experiment tests whether a backbone trained through image-view prediction can be useful when the destination learner has to label pixels. The later work addresses how learning at those locations can itself take advantage of contrastive comparisons. It thereby pursues a different point at which to make spatial structure matter to the training signal. Pixel-Level Contrastive Learning for Semi-Supervised Segmentation
These spatial directions help explain why BYOL’s negative-free result does not settle the broader choice of supervision for vision. An image-level task can produce a backbone with features useful for localization, as the transfer results show. A training problem that starts from regions or pixels can give the learner information specific to those units. What a procedure should compare, and which details should be carried through to the resulting features, depends on the structure of the task. BYOL contributes a tested case in which a changing feature target is enough to teach a useful image encoder. The later work continues to examine what can be learned when the unit of prediction, the source of supervision, or the feature space itself changes.
Cite
Cite as Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Ávila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Rémi Munos and Michal Valko. 2020. Bootstrap your own latent: A new approach to self-supervised Learning. arXiv (Cornell University).
@misc{grill2020bootstrap,
title = {{Bootstrap your own latent: A new approach to self-supervised Learning}},
author = {Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre H. Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Ávila Pires, Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Koray Kavukcuoglu, Rémi Munos and Michal Valko},
year = {2020},
doi = {10.48550/arxiv.2006.07733},
eprint = {2006.07733},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2006.07733}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/grill-2020-bootstrap-your-own-latent-new/
References
- Kunihiko Fukushima. Neocognitron: A self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biological Cybernetics, 36(4):193–202, 1980. OpenAlex ↗ · Scholar ↗
- Laurenz Wiskott and Terrence J Sejnowski. Slow feature analysis: Unsupervised learning of invariances. Neural Computation, 14(4), 2002. OpenAlex ↗ · Scholar ↗
- Geoffrey E Hinton, Simon Osindero, and Yee-Whye Teh. A fast learning algorithm for deep belief nets. Neural Computation, 18(7):1527–1554, 2006. OpenAlex ↗ · Scholar ↗
- Maxime Oquab, Leon Bottou, Ivan Laptev, and Josef Sivic. Learning and transferring mid-level image representations using convolutional neural networks. In Computer Vision and Pattern Recognition, 2014. OpenAlex ↗ · Scholar ↗
- Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. our card
- Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In Computer Vision and Pattern Recognition, 2014. our card
- Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Computer Vision and Pattern Recognition, 2015. our card
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. arXiv preprint arXiv:2002.05709, 2020. our card
- Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. arXiv preprint arXiv:1911.05722, 2019. our card
- Aäron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. our card
- Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. arXiv preprint arXiv:1906.05849v4, 2019. OpenAlex ↗ · Scholar ↗
- Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan, Cordelia Schmid, and Phillip Isola. What makes for good views for contrastive learning. arXiv preprint arXiv:2005.10243, 2020. OpenAlex ↗ · Scholar ↗
- Nikunj Saunshi, Orestis Plevrakis, Sanjeev Arora, Mikhail Khodak, and Hrishikesh Khandeparkar. A theoretical analysis of contrastive unsupervised representation learning. In International Conference on Machine Learning, 2019. our card
- R. Manmatha, Chao-Yuan Wu, Alexander J. Smola, and Philipp Krähenbühl. Sampling matters in deep embedding learning. In International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- Ben Harwood, Vijay B. G. Kumar, Gustavo Carneiro, Ian Reid, and Tom Drummond. Smart mining for deep metric learning. In International Conference on Computer Vision, 2017. OpenAlex ↗ · Scholar ↗
- Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In International Conference on Machine Learning, 2013. OpenAlex ↗ · Scholar ↗
- Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In European Conference on Computer Vision, 2018. OpenAlex ↗ · Scholar ↗
- Philip Bachman, Ouais Alsharif, and Doina Precup. Learning with pseudo-ensembles. In Advances in neural information processing systems, pages 3365–3373, 2014. our card
- Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. arXiv preprint arXiv:1610.02242, 2016. OpenAlex ↗ · Scholar ↗
- Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, pages 1195–1204, 2017. OpenAlex ↗ · Scholar ↗
- Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 115(3):211–252, 2015. our card
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition, 2016. our card
- Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Computer Vision and Pattern Recognition, 2015. OpenAlex ↗ · Scholar ↗
- Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In International Conference on Machine Learning, 2008. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. our card
- Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic back-propagation and variational inference in deep latent gaussian models. arXiv preprint arXiv:1401.4082, 2014. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Neural Information Processing Systems, 2014. OpenAlex ↗ · Scholar ↗
- Jeff Donahue, Philipp Krähenbühl, and Trevor Darrell. Adversarial feature learning. arXiv preprint arXiv:1605.09782, 2016. OpenAlex ↗ · Scholar ↗
- Vincent Dumoulin, Ishmael Belghazi, Ben Poole, Alex Lamb, Martín Arjovsky, Olivier Mastropietro, and Aaron C. Courville. Adversarially learned inference. arXiv preprint arXiv:1606.00704, 2017. OpenAlex ↗ · Scholar ↗
- Jeff Donahue and Karen Simonyan. Large scale adversarial representation learning. In Neural Information Processing Systems, 2019. OpenAlex ↗ · Scholar ↗
- Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018. our card
- Olivier J. Hénaff, Aravind Srinivas, Jeffrey De Fauw, Ali Razavi, Carl Doersch, S. M. Ali Eslami, and Aäron van den Oord. Data-efficient image recognition with contrastive predictive coding. In International Conference on Machine Learning, 2019. OpenAlex ↗ · Scholar ↗
- R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2019. OpenAlex ↗ · Scholar ↗
- Philip Bachman, R Devon Hjelm, and William Buchwalter. Learning representations by maximizing mutual information across views. In Neural Information Processing Systems, 2019. our card
- Ishan Misra and Laurens van der Maaten. Self-supervised learning of pretext-invariant representations. arXiv preprint arXiv:1912.01991, 2019. OpenAlex ↗ · Scholar ↗
- Junnan Li, Pan Zhou, Caiming Xiong, Richard Socher, and Steven CH Hoi. Prototypical contrastive learning of unsupervised representations. arXiv preprint arXiv:2005.04966, 2020. OpenAlex ↗ · Scholar ↗
- Rishabh Jain, Haoqi Fan, Ross B. Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020. OpenAlex ↗ · Scholar ↗
- Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big self-supervised models are strong semi-supervised learners. arXiv preprint arXiv:2006.10029, 2020. OpenAlex ↗ · Scholar ↗
- Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In Computer Vision and Pattern Recognition, 2018. OpenAlex ↗ · Scholar ↗
- Carl Doersch and Andrew Zisserman. Multi-task self-supervised visual learning. In International Conference on Computer Vision, 2017. our card
- Richard Zhang, Phillip Isola, and Alexei A. Efros. Colorful image colorization. In European Conference on Computer Vision, 2016. OpenAlex ↗ · Scholar ↗
- Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Learning representations for automatic colorization. In European Conference on Computer Vision, 2016. OpenAlex ↗ · Scholar ↗
- Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A. Efros. Context encoders: Feature learning by inpainting. In Computer Vision and Pattern Recognition, 2016. OpenAlex ↗ · Scholar ↗
- Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, 2016. OpenAlex ↗ · Scholar ↗
- Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image super-resolution using a generative adversarial network. In Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. In Neural Information Processing Systems, 2014. OpenAlex ↗ · Scholar ↗
- Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv preprint arXiv:1803.07728, 2018. OpenAlex ↗ · Scholar ↗
- Alexander Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. In Computer Vision and Pattern Recognition, 2019. our card
- Daniel Guo, Bernardo Avila Pires, Bilal Piot, Jean-Bastien Grill, Florent Altché, Rémi Munos, and Mohammad Gheshlaghi Azar. Bootstrap latent-predictive representations for multitask reinforcement learning. In International Conference on Machine Learning, 2020. OpenAlex ↗ · Scholar ↗
- Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin A. Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen. King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 518:529–533, 2015. OpenAlex ↗ · Scholar ↗
- Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016. OpenAlex ↗ · Scholar ↗
- Matteo Hessel, Joseph Modayil, Hado Van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Dan Horgan, Bilal Piot, Mohammad Gheshlaghi Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. In AAAI Conference on Artificial Intelligence, 2018. OpenAlex ↗ · Scholar ↗
- Hado Van Hasselt, Yotam Doron, Florian Strub, Matteo Hessel, Nicolas Sonnerat, and Joseph Modayil. Deep reinforcement learning and the deadly triad. Deep Reinforcement Learning Workshop NeurIPS, 2018. OpenAlex ↗ · Scholar ↗
- Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. our card
- Olivier Chapelle, Bernhard Scholkopf, and Alexander Zien. Semi-supervised learning. IEEE Transactions on Neural Networks, 20(3):542–542, 2009. OpenAlex ↗ · Scholar ↗
- Xiaojin Zhu and Andrew B Goldberg. Introduction to semi-supervised learning. Synthesis lectures on artificial intelligence and machine learning, 3(1):1–130, 2009. OpenAlex ↗ · Scholar ↗
- Durk P Kingma, Shakir Mohamed, Danilo Jimenez Rezende, and Max Welling. Semi-supervised learning with deep generative models. In Advances in neural information processing systems, 2014. OpenAlex ↗ · Scholar ↗
- Antti Rasmus, Mathias Berglund, Mikko Honkala, Harri Valpola, and Tapani Raiko. Semi-supervised learning with ladder networks. In Advances in neural information processing systems, 2015. OpenAlex ↗ · Scholar ↗
- David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems, 2019. our card
- Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 41(8):1979–1993, 2018. OpenAlex ↗ · Scholar ↗
- David Berthelot, N. Carlini, E. D. Cubuk, Alex Kurakin, Kihyuk Sohn, Han Zhang, and Colin Raffel. Remixmatch: Semi-supervised learning with distribution matching and augmentation anchoring. In ICLR, 2020. OpenAlex ↗ · Scholar ↗
- Kihyuk Sohn, David Berthelot, Chun-Liang Li, Zizhao Zhang, Nicholas Carlini, Ekin D Cubuk, Alex Kurakin, Han Zhang, and Colin Raffel. Fixmatch: Simplifying semi-supervised learning with consistency and confidence. arXiv preprint arXiv:2001.07685, 2020. OpenAlex ↗ · Scholar ↗
- Suzanna Becker and Geoffrey E. Hinton. Self-organizing neural network that discovers surfaces in random-dot stereograms. Nature, 355(6356):161–163, 1992. OpenAlex ↗ · Scholar ↗
- James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, and Skye Wanderman-Milne. JAX: composable transformations of Python+NumPy programs, 2018. OpenAlex ↗ · Scholar ↗
- Tom Hennigan, Trevor Cai, Tamara Norman, and Igor Babuschkin. Haiku: Sonnet for JAX, 2020. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672–2680, 2014. OpenAlex ↗ · Scholar ↗
- Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. OpenAlex ↗ · Scholar ↗
- Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning, 2015. OpenAlex ↗ · Scholar ↗
- Vinod Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In International Conference on Machine Learning, 2010. OpenAlex ↗ · Scholar ↗
- Yang You, Igor Gitman, and Boris Ginsburg. Scaling SGD batch size to 32k for imagenet training. arXiv preprint arXiv:1708.03888, 2017. OpenAlex ↗ · Scholar ↗
- Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with warm restarts. In International Conference on Learning Representations, 2017. our card
- Priya Goyal, Piotr Dollár, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch sgd: Training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. our card
- Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. Transactions on Pattern Analysis and Machine Intelligence, 2017. OpenAlex ↗ · Scholar ↗
- Simon Kornblith, Jonathon Shlens, and Quoc V Le. Do better ImageNet models transfer better? In Computer Cision and Pattern Recognition, 2019. our card
- Chengyue Gong, Tongzheng Ren, Mao Ye, and Qiang Liu. Maxup: A simple way to improve generalization of neural network training. arXiv preprint arXiv:2002.09024, 2020. OpenAlex ↗ · Scholar ↗
- Xiaohua Zhai, Joan Puigcerver, Alexander I Kolesnikov, Pierre Ruyssen, Carlos Riquelme, Mario Lucic, Josip Djolonga, André Susano Pinto, Maxim Neumann, Alexey Dosovitskiy, Lucas Beyer, Olivier Bachem, Michael Tschannen, Marcin Michalski, Olivier Bousquet, Sylvain Gelly, and Neil Houlsby. A large-scale study of representation learning with the visual task adaptation benchmark. arXiv: Computer Vision and Pattern Recognition, 2019. OpenAlex ↗ · Scholar ↗
- Xiaohua Zhai, Avital Oliver, Alexander Kolesnikov, and Lucas Beyer. S4L: Self-supervised semi-supervised learning. In International Conference on Computer Vision, 2019. OpenAlex ↗ · Scholar ↗
- Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. OpenAlex ↗ · Scholar ↗
- Jianxiong Xiao, James Hays, Krista A. Ehinger, Aude Oliva, and Antonio Torralba. Sun database: Large-scale scene recognition from abbey to zoo. In Computer Vision and Pattern Recognition, 2010. OpenAlex ↗ · Scholar ↗
- Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The Pascal visual object classes (VOC) challenge. International Journal of Computer Vision, 88(2):303–338, 2010. OpenAlex ↗ · Scholar ↗
- Mircea Cimpoi, Subhransu Maji, Iasonas Kokkinos, Sammy Mohamed, and Andrea Vedaldi. Describing textures in the wild. In Computer Vision and Pattern Recognition, 2014. OpenAlex ↗ · Scholar ↗
- Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In Neural Information Processing Systems, 2015. our card
- I. Laina, C. Rupprecht, V. Belagiannis, F. Tombari, and N. Navab. Deeper depth prediction with fully convolutional residual networks. In International Conference on 3D Vision, 2016. OpenAlex ↗ · Scholar ↗
- Ben Poole, Sherjil Ozair, Aaron van den Oord, Alexander A Alemi, and George Tucker. On variational bounds of mutual information. arXiv preprint arXiv:1905.06922, 2019. OpenAlex ↗ · Scholar ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision, 2015. OpenAlex ↗ · Scholar ↗
- Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. In International Conference on Machine Learning, 2013. OpenAlex ↗ · Scholar ↗
- Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. arXiv preprint arXiv:1909.13719, 2019. our card
- Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Computer Vision and Pattern Recognition, pages 2818–2826, 2016. OpenAlex ↗ · Scholar ↗
- Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In European Conference on Computer Vision, 2014. our card
- Thomas Berg, Jiongxin Liu, Seung Woo Lee, Michelle L. Alexander, David W. Jacobs, and Peter N. Belhumeur. Birdsnap: Large-scale fine-grained visual categorization of birds. In Computer Vision and Pattern Recognition, 2014. OpenAlex ↗ · Scholar ↗
- Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3D object representations for fine-grained categorization. In Workshop on 3D Representation and Recognition, Sydney, Australia, 2013. OpenAlex ↗ · Scholar ↗
- Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew B. Blaschko, and Andrea Vedaldi. Fine-grained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013. OpenAlex ↗ · Scholar ↗
- O. M. Parkhi, A. Vedaldi, A. Zisserman, and C. V. Jawahar. Cats and dogs. In Computer Vision and Pattern Recognition, 2012. OpenAlex ↗ · Scholar ↗
- Li Fei-Fei, Rob Fergus, and Pietro Perona. Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories. Computer Vision and Pattern Recognition Workshop, 2004. OpenAlex ↗ · Scholar ↗
- Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Indian Conference on Computer Vision, Graphics and Image Processing, 2008. OpenAlex ↗ · Scholar ↗
- Jeff Donahue, Yangqing Jia, Oriol Vinyals, Judy Hoffman, Ning Zhang, Eric Tzeng, and Trevor Darrell. Decaf: A deep convolutional activation feature for generic visual recognition. In International Conference on Machine Learning, 2014. our card
- Art B Owen. A robust hybrid of lasso and ridge regression. Contemporary Mathematics, 443(7):59–72, 2007. OpenAlex ↗ · Scholar ↗
- Chengxu Zhuang, Alex Lin Zhai, and Daniel Yamins. Local aggregation for unsupervised learning of visual embeddings. In International Conference on Computer Vision, 2019. OpenAlex ↗ · Scholar ↗
- Deepak Pathak, Ross Girshick, Piotr Dollár, Trevor Darrell, and Bharath Hariharan. Learning features by watching objects move. In Conference on Computer Vision and Pattern Recognition, 2017. OpenAlex ↗ · Scholar ↗
- Yuxin Wu and Kaiming He. Group normalization. In European Conference on Computer Vision, 2018. OpenAlex ↗ · Scholar ↗