Momentum Contrast for Unsupervised Visual Representation Learning
Paper · 2019 · Kaiming He, Haoqi Fan, Yuxin Wu et al.
Summary
An object detector can begin with visual features acquired on a different task. The usual starting point in the work examined here was a network trained to classify labeled ImageNet photographs. Momentum Contrast, or MoCo, asks whether the images themselves can provide training targets that lead to equally useful features. The authors generate two altered views of each photograph. A network encodes one view as a query and learns to identify the encoded view of the same original among alternatives. The relationship between the views supplies the answer. Useful features must help reveal that relationship even when the crops, colors or orientations differ.
The authors identify two requirements for the set of alternatives. It should contain enough examples to offer a varied comparison, and vectors produced at different times should remain comparable as the network learns. MoCo retains keys, the vectors used as candidates, in a queue. Recent batches supply new keys, and an incoming batch replaces the oldest entries. This allows many comparisons without processing all their source images together. A separate encoder produces the keys. Back-propagation updates the query encoder, and a moving average of the query weights guides the key encoder. The slow update limits changes in how successive batches of keys are encoded.
The authors pretrain ResNet-50 with either IN-1M, the ImageNet training collection, or IG-1B, a collection of about 1 billion public Instagram images. When they hold the IN-1M encoder fixed and fit a linear classifier with category labels, it reaches 60.6% top-1 accuracy on the ImageNet validation split. The broader test adapts the pretrained weights to labeled tasks that require outputs such as object boxes, masks or body landmarks. Across PASCAL VOC, COCO, LVIS and Cityscapes, MoCo can surpass supervised ImageNet pretraining on 7 detection or segmentation tasks. In LVIS validation, for instance, Instagram-pretrained MoCo reaches 24.9 mask AP, a measure of instance segmentation performance, against 24.4 for the strongest supervised configuration the authors tested. Fine-tuning
The comparisons depend on the target and the adaptation procedure. Instagram pretraining gives MoCo consistently better results than its ImageNet run in the detection and segmentation study, although the authors judge the gains modest given the size of the new source. Cityscapes instance segmentation is broadly comparable to the supervised reference, and supervised pretraining leads on VOC semantic segmentation. The successes show that training on relationships between image views can supply a useful starting representation for tasks that require precise spatial predictions as well as recognition.
Deep dive: Momentum Contrast for Unsupervised Visual Representation Learning
Momentum Contrast learns visual features without class labels by comparing image views against a queue, then tests their value for detection and segmentation. · about 80 minutes to read
The problem and its context
Learning a representation for work the encoder has yet to do
A training set for object detection tells a system which objects to find and where to find them. A separate set can help it get started even when that set contains only labels for whole images. A network learns to respond to visual patterns in order to classify those images, and a detector can reuse the layers that compute those responses. Its box annotations then teach it to use and adapt the inherited features for localization. This division of labor was already established in the research the authors discuss. Classification on ImageNet supplied starting weights for work on object detection and segmentation, including region-based detection and fully convolutional pixel prediction. Rich Feature Hierarchies and Fully Convolutional Networks for Semantic Segmentation
The paper examines the earlier training stage. Does an encoder need people to classify the source photographs before it can acquire features worth transferring? Category labels specify an effective exercise, but an image offers other information from which to construct one. For example, a procedure can take a crop and keep a record of where it came from. It can obtain a different crop from the same source, and their shared origin gives it a relationship to teach. Neither crop needs a label that says which objects it contains. The challenge is to devise a learning procedure that uses such relationships to acquire something more general than the ability to answer its own training questions.
The authors use unsupervised learning for pretraining that proceeds without human annotations as its targets. They describe self-supervised learning as belonging to this broad category and note that the boundary between the terms was informal. The important distinction in their experiment is where the answers come from. At the source stage, a known relationship between observations supplies the answer. At the evaluation stage, a labeled dataset tells a classifier what category to predict or gives a detector its target boxes. A supervised evaluation can therefore be used to find out what an encoder acquired during unsupervised training.
The value of a representation can take different forms. Its features might already arrange observations in a way that makes categories easy to distinguish. They might also offer useful material for a new task even if the relationships needed for that task are only established after the weights adapt. Those are different properties of a starting point. The authors care particularly about the second because of the role supervised ImageNet weights were playing in practice. A method that improves the training exercise but leaves the resulting features hard to reuse would address a different problem from the one that motivated the study.
A vocabulary is available in text and has to be constructed for images
The introduction considers a puzzle from natural language processing. There, GPT and BERT illustrated the success of acquiring representations from the structure of the data, while computer vision still mainly relied on supervised pretraining. The authors suggest the kind of signal each field works with as a possible reason for the difference. A text pipeline can divide data into discrete words or pieces of words. The resulting vocabulary gives a learning procedure recognizable units to put into a question or supply as possible answers. For example, part of a text can be withheld while the procedure retains its identity for use as a target. BERT
A photograph, in the authors’ account, occupies a high-dimensional space of continuous visual signals. Its raw values do not arrive grouped into a vocabulary whose units correspond to known visual concepts. Altering the scale or framing of a view can move or change many of its values even when a recognizable pattern persists. Earlier research had already considered how to build visual dictionaries. The question here is how to obtain something that plays the role of a collection of identifiable alternatives while the system is still learning to represent the images that supply them.
A contrastive dictionary gives the term entry a concrete meaning. Suppose each entry is the vector computed from a particular observation. A training step then produces another vector, called a query, and scores its similarity to the entries, called keys. Some known relationship between the underlying samples gives the query a preferred key. The contrast comes from the presence of the other entries, which also receive scores. As training changes the encoder or visits different images, the dictionary can change. There need be no permanent inventory of visual words that was established before learning began.
The definition of a match and the choice of candidate keys are separate. A photograph can provide the same pair of views in two training runs even though those runs compare it against different images. If its partner is easy to distinguish from the other candidates, a simple cue may suffice. If the alternatives include visually similar pictures, a network may have to preserve more information to rank the associated view highest. The authors’ intuition about dictionary size follows from this dependence. More entries can cover a richer portion of the visual observations that the procedure can sample.
How the entries were encoded also matters. Consider an encoder that has recently learned to give greater weight to some pattern. A fresh key and a stale key could then give different weight to that pattern even if it is equally apparent in the images that produced them. Their vectors can still be scored with the same mathematical operation. The scores may nonetheless reflect differences in representation as well as visual relationships. The paper proposes that a dictionary should be large enough to expose the query to diverse alternatives and that the encoder states responsible for those alternatives should be sufficiently similar. The method is designed to address both requirements during learning.
The task identifies the answer and the loss scores the attempt
The literature the authors review offers a variety of pretext tasks. A pretext task is an exercise chosen for what an encoder might learn by solving it. Denoising, for example, can be set up by corrupting a photograph and retaining the original values as the answer. An exercise in recovering a missing region asks the network to infer something about what could fit with the visible surroundings. Colorization uses the color information already in the image as a prediction target. These tasks draw supervision from what the data contain and from transformations whose effects the training procedure can track.
Other examples make a prediction that can be expressed as a category. Positions of patches can define the possible answers to a spatial question. Transformations of an exemplar can produce groups associated with a source image. Feature clustering can give examples provisional assignments. In video, tracks or regions associated with moving objects offer relationships from which a pretext task can draw. These examples illustrate choices about what the network has to recover. They offer different reasons for its internal representation to retain information about appearance, arrangement or continuity.
The loss specifies how to measure error while solving an exercise. In reconstruction, it can compare predicted pixels to the values retained as the answer. When the pretext task has pre-defined categories, the loss can assign a penalty using the score for the appropriate category. Contrastive losses measure agreement between representations of observations. Accordingly, the answer can have a fixed identity while its representation is changing. The known source of a crop can determine which key ought to win, yet the key’s coordinates depend on the encoder used to produce them. The work of making the candidates available enters the learning procedure directly.
The related work also treats adversarial objectives as a distinct strand. The authors describe those objectives in terms of comparisons between probability distributions. They point to uses in data generation as well as earlier attempts to learn features, and note connections between adversarial learning and noise-contrastive estimation. For MoCo the comparison is among encoded samples, and the loss evaluates a query relative to a designated match and the other keys. Generative Adversarial Nets
Among contrastive pretext tasks, the immediate precedent for MoCo is instance discrimination. An instance in this exercise is a particular source image. The authors connect that line of work to exemplar-based learning and noise-contrastive estimation. They also discuss contrastive predictive coding, where the surrounding context helps define a prediction involving patches, and contrastive multiview coding, which they relate to cross-channel exercises such as colorization. The dictionary description gives these approaches a common set of questions even when their positive pairs have different meanings. What is the query supposed to match? Which other keys take part? When and how were their representations produced? Representation Learning with Contrastive Predictive Coding
The paper studies the last part of this design with the matching exercise held in common. This focus also explains the choice of a standard visual encoder. Experiments on transfer become easier to interpret if both supervised and unsupervised weights fit established downstream architectures. A new task for local prediction might require redesigning the layers that generate feature maps, changing how those maps can be reused. Instance discrimination on augmented crops gives MoCo a way to study candidate maintenance without making a specially arranged patch encoder central to the experiment.
Existing mechanisms make different tradeoffs
One way to obtain a dictionary is to assemble it completely from the current mini-batch, the examples processed together in a training step. Their key vectors are computed with the same parameter state. Their computations are available when the system differentiates the loss, so the training update can act through the query and key branches. The number of examples in the batch, however, fixes how many image keys are available. Getting more requires processing more current examples, which increases the amount of computation and intermediate information that has to fit in memory.
Even when more examples fit, the change in batch size also changes how optimization works. A training update is now based on a different number of examples, and settings such as the learning rate can behave differently. The paper treats this as a separate consideration from the memory needed to store the computations. Some previous contrastive exercises obtain more candidates by using several positions in each image. The authors point out that this can call for dividing the input into patches or tailoring the receptive field, the portion of the image that can influence a feature at a given location. Those choices can affect how directly the network fits a downstream use. Accurate, Large Minibatch SGD
A second precedent is the memory bank. It stores a feature vector for each example in the dataset and samples from that collection to supply candidates during training. A step can therefore make comparisons involving many more images than it has just encoded. The stored entries are used without sending the gradient back through the work that produced them. When training revisits an image, its entry can be refreshed. The timing of that visit determines the age of the vector, so a randomly sampled group can include entries from widely separated stages of an epoch.
The bank’s persistent storage grows with the source collection, and the temporal mix of its candidates follows the times at which individual images happened to be seen. Neither property is necessary to furnish a set of alternatives to the current query. An earlier batch of keys can be kept for a while and then replaced, even if its source images have yet to reappear. This would give the procedure more control over storage and recency, provided the retained keys continue to work with newly computed ones. MoCo develops the queue and the slow key update around that possibility.
The method, step by step
A photograph supplies the query and its answer
The first step is to draw the images for a training batch. For each of them, the procedure makes a view on the query side and a separately augmented view on the key side. A crop can move the main subject within the frame or leave some of it outside the image. Other changes can alter color or reverse the view horizontally. The procedure knows which source supplied each crop. It can pair the views using that record, before it knows how either view will score in the learned representation.
One branch turns its view into the query. The other branch turns the corresponding view into the positive key. Here positive means that the underlying images share an origin according to the pretext task. A different photograph showing the same type of object is still a negative example for the query. Conversely, crops taken from one photograph remain a positive pair even if they emphasize different parts of the scene. The rule is useful because the relationship can be established exactly from the construction of the inputs, without deciding whether the visible objects have the same category.
Consider a view in which an object fills much of the frame and another in which the surrounding scene occupies more space. A pattern common to the object in both views could contribute to matching them. So could information about the surroundings if it is preserved in both. The pretext task does not tell the encoder which cue to use. It asks for a similarity that favors this pair when other keys are present. Repeated comparisons across independently transformed views let the features change in response to what is consistently useful in that exercise.
Within a batch, the queries and their positives are fresh computations. The other keys come from the queue, where they were placed after encoding in earlier steps. In effect, the procedure prepares a small set of new pairs and gives the queries access to a larger set of previously computed alternatives. Once their current comparisons are complete, the new keys can supply alternatives for subsequent batches. The flow includes a shuffle that changes the groups used during normalization and a corresponding reversal that restores the pairing.
How MoCo forms pairs, scores matches and refreshes keys
The steps in order.
The sequence depicts how the two branches contribute to learning and how the store is refreshed. Once a key vector has been computed, updating the key weights does not recompute that vector. The update affects future encodings. Restoring the order after shuffling has a similarly specific purpose. It tells the scoring computation which newly encoded candidate belongs with each query. The paper presents the implementation in PyTorch-style pseudocode and identifies the released code as MoCo.
The encoders and the vectors used for comparison
The paper’s notation starts with the map that yields a query from its assigned input. Underscores below mark the role of an encoder or a sample.
q = f_q(x_q)
The symbol x_q identifies the input assigned to the query side, and f_q is the function the query encoder computes. The parentheses denote applying that function to the input. The equals sign identifies the result as q, the encoded query vector. In the experiments, the input x_q is an augmented image.
k = f_k(x_k)
The input x_k is the observation supplied to the key side. The function f_k is the key encoder, with parentheses again indicating its application. The equality defines k as the vector it produces. For a current positive pair, x_q and x_k come from a common original, while a queued key was computed from a view supplied in a preceding batch.
This notation keeps the training relationship distinct from the architecture. A context and a patch could play the two roles in another contrastive task. The paper points to earlier arrangements in which the encoders shared all their parameters, shared only part of their computation or were different networks. For MoCo the two sets of weights have corresponding positions so the updates can average them. Each branch has its own role in training. Comparison by dot product also requires the outputs to have matching dimensions.
The experiments use a residual network, abbreviated ResNet, with an output layer after global average pooling. Pooling takes the spatial responses in each channel and reduces them to an average value for that channel. A fully connected layer combines the pooled values to obtain the 128-D output used in the contrastive task. Each output is divided by its L2 norm, the Euclidean length determined by its coordinates. This step makes its direction the relevant property when it is compared with another normalized vector. The underlying residual architecture is the same family used in the downstream comparisons. Deep Residual Learning for Image Recognition
The pooling output has another role in the study. It is the representation passed to the linear classifier during frozen-feature evaluation. The normalized 128-D output is further downstream in the pretraining network and is used to score keys. Training the latter changes the layers that produce the former because the query gradient passes through them. This is how practice at identifying a matching view can change features later used to classify categories, even though category prediction is absent from the construction of the positive pair.
The augmentation begins with random resizing and a crop measuring 224×224 pixels. The authors also use random color jitter, horizontal flipping and conversion to grayscale. The transformations are available in torchvision and follow the earlier instance discrimination recipe. The color operations can weaken the match between exact pixel appearances. The crop can change a feature’s position, change the portion of the scene that it accompanies, or take it out of view entirely. Since the views are drawn separately, the branches face these changes even when their inputs started with the same photograph.
In this setup the two transformed samples have known provenance and unknown feature values. The procedure has complete information about the intended partner, but the way that partner will appear in the encoder’s output depends on the learned weights. The normalization step then makes an encoder’s overall output magnitude a poor route to increasing all its scores. What matters for each query is where its vector points relative to its partner and the alternatives.
InfoNCE makes the positive compete with all the keys
The similarity between a query and a key is their dot product. To obtain it, the procedure multiplies the values at corresponding coordinates and adds the products. With normalized vectors, greater alignment yields a higher dot product. The procedure calculates a similarity for the positive as well as for each stored negative. InfoNCE, the form of loss used here, converts these scores into a probability for the correct choice and then penalizes low probability for that choice.
ℒ(q) = −log(exp(q · k₊ / τ) / ∑[i = 0 … K] exp(q · kᵢ / τ))
The expression ℒ(q) is the loss for query vector q, with the equals sign defining that loss by the calculation on the right. The symbol k₊ denotes the positive key, and kᵢ denotes the candidate at index i. The summation sign ∑ adds the terms over the range in brackets, from 0 through K inclusive, as indicated by …. Those indices cover the positive and K negatives. The dot · denotes the dot product, and / denotes division. Each similarity is divided by the temperature τ before exp, the exponential function, turns it into a positive weight. A second division makes the positive weight a share of the total. The function log takes its natural logarithm. The leading − means that increasing the share assigned to the positive lowers the loss. Parentheses group the arguments and the full fraction.
The weighting operation in the fraction is a softmax. It places the candidate scores on a probability scale by dividing each exponential weight by the sum of those weights. The positive gets a larger share when its score is high and the other scores are low. This gives the loss the form of a classification exercise with K + 1 possible choices. An answer in this exercise refers to a key in the current selection of vectors. It does not refer to a category that keeps the same meaning for every photograph in the dataset.
The denominator explains why a high positive score can still yield a difficult match. A negative with a score close to the positive’s takes a substantial share of the total. Raising the positive’s similarity can help, as can finding a representation on the query side that makes a competing key less similar. Negatives that score very low contribute less weight. Each query therefore faces an exercise shaped by the actual alternatives it encounters, even if the strength of its positive similarity would be the same in another batch.
The temperature determines how sharply the probabilities respond to differences among similarities. When the temperature is smaller, division magnifies a fixed difference before exponentiation, and the resulting probabilities concentrate more on the highest scores. MoCo uses 0.07. Vector normalization and temperature perform different operations. One puts raw feature vectors on a common scale. The other controls how distinctions on that scale affect the loss. The paper uses the same InfoNCE form in its comparison of key mechanisms so the scoring rule stays common while the method of generating candidates varies.
The paper mentions other ways of expressing a contrastive penalty, including versions based on margins and noise-contrastive estimation. The method being studied is the way the keys are provided. In the experiments InfoNCE specifies exactly how the chosen candidates matter. Their similarities interact through the shared denominator, and their vectors are treated as fixed when the loss differentiates with respect to the current query. The way the system gets those vectors and makes them compatible with one another is the next part of the computation.
The queue reuses features across updates
MoCo retains an ordered store of key vectors. Each new batch of keys enters the store, and the entries from the oldest batch leave. The keys consulted for the current negatives are ones already available in the store. A newly encoded positive can thus contribute to the current loss and remain available as an alternative for queries generated later. The same source image need never be retrieved from disk or forwarded through the key branch just to score one of those later comparisons. The stored vector is sufficient for the dot product.
The queue capacity is chosen separately from the mini-batch size. If the authors increase the capacity, the number of images newly encoded per step can stay at the same value. The query branch still has to compute similarities with the added vectors, and the vectors occupy memory. The added cost differs from that of expanding the current batch, which would also require the network to compute more activations and, for end-to-end training, keep the computations needed for their gradients. This difference is what allows the dictionary to reach beyond the candidates available in a single batch.
The store is a sample from the recent training stream. Its capacity is independent of how many unique images the full collection contains, because it discards entries as it takes in others. An image-indexed memory bank preserves the most recent representation of an example until that particular example is encountered again. MoCo instead evicts by arrival order. The keys that spent the longest time in the queue are dropped first, regardless of which images produced them. This provides a recency rule without keeping a record of all the individual source examples.
A queue entry represents an earlier key encoder as well as an earlier input. Retaining it does not retain the current computation of that input under updated weights. Computing gradients through all queued encodings would require access to the computations that produced them, which the paper treats as intractable at the desired scale. MoCo uses the queue’s values as operands in the current loss. Because each query is computed in the current step, gradients from scores against both its positive and the queue can still change its encoder. The key branch needs a different update to reflect what the query branch learns.
The recency rule limits the span of training steps represented in the queue. The actual change in the encoding function during that span matters just as much. A recent entry can become difficult to compare with a fresh one if the weights change sharply in between. Conversely, a gradually changing encoder can produce keys at several steps that remain useful together. The queue establishes which vectors are retained, and the weight rule addresses the amount of change in the function that produced them.
A moving average updates the key encoder
A direct copy of the query weights would be a simple way to supply new key weights without differentiating through the queue. It would also transfer every change to the key branch immediately. Previously stored vectors would still reflect the earlier weights used at the time of encoding. The authors report that the copy procedure works poorly and suspect the rapid changes reduce the compatibility of the keys. They instead average the query weights into the key encoder gradually.
θ_k ← m θ_k + (1 − m) θ_q
The vector θ_k represents the parameters of the key encoder, while θ_q represents the parameters of the query encoder. The arrow ← replaces the key parameters on the left with the result on its right. The θ_k on the right is their value before the update. The scalar m is the momentum coefficient, allowed to range from 0 inclusive up to 1 exclusive. It multiplies the old key parameters. The parenthesized expression subtracts m from 1 to obtain the weight on the query parameters. The + adds the weighted values at corresponding positions.
When m is high, each update retains most of the previous key state. That state contains contributions from earlier query states because the same update has been applied repeatedly. Changes to the query branch therefore reach the key branch gradually, and the key branch can keep learning even though it receives no gradient from the loss. The default is 0.999. When m is 0, the assignment becomes a copy of the query weights. This limiting case shows how the equation connects the proposed update to the direct-copy comparison.
The average applies to the parameters of the function that produces fresh keys. The stored vectors themselves are left as computed until they are discarded. The paper contrasts this with the earlier memory-bank momentum, which acts on representations for individual training examples. In that arrangement, the act of revisiting a sample gives its stored vector an update. MoCo’s parameter average can affect all upcoming keys because they are produced by an encoder that changes on the course of training, independently of any one image being seen again.
Stochastic gradient descent, or SGD, is the optimizer used on the query branch. Its momentum is 0.9 and its weight decay is 0.0001. Optimizer momentum uses information carried over from previous optimization steps to help determine the next query update. Weight decay is applied as part of training those weights. The key momentum is a distinct setting for passing changes from one collection of weights to the other. The two coefficients can take different values because they govern different calculations.
Together the update and the eviction policy define how the dictionary evolves. The query can respond to the current loss through its optimizer. The key branch follows in smaller steps, creating new candidate vectors that can coexist with vectors from recent steps. The queue then removes progressively older computations. The approach makes room for more negatives while controlling, through the training design, how much the function responsible for their encodings changes during their time in use.
The key-side shuffle changes batch normalization groups
The residual encoders use batch normalization, abbreviated BN. During training, this operation uses statistics calculated from the examples processed together to normalize activations. The authors compute the statistics independently on each graphics processing unit, or GPU. This means the features for an image can depend on the other examples that happen to be assigned to the same device. The dependency matters for a task in which the system has to figure out which observation belongs with its query. GPU and parallel computing
Suppose the views are distributed in matching order. The set of originals whose query views help determine the statistics on a device can correspond to the set supplying its key views. The statistics on the two branches may then share information about the composition of that group. A query and its partner have that association in addition to what is visually shared between the crops. In MoCo, the queued negatives also come from earlier batches, which gives them a different computational context. The authors suspect that these facts can make the lookup easy in a way that does little to teach useful image features.
The intervention changes only the assignment of the inputs on the key side while arranging for the same pairs to be scored. The query views are processed in their existing order. The key views are shuffled before they are distributed among the GPUs. Their feature vectors are put back into the original order once encoding is complete. A matching pair can now draw its normalization statistics from differently composed subsets, even though the query still receives the intended key as its positive. The method keeps batch normalization in the encoders while removing the regular correspondence between their normalization groups.
The authors use this shuffle for both MoCo and their end-to-end contrastive comparison. Both produce the positive from a view in the current batch, so their group assignments can give rise to the same kind of dependency. In the memory-bank comparison, the positive is already a stored representation produced in a past batch. Its normalization context arises from that earlier computation. The current query and its positive are consequently already separated by how the bank produces the pair.
Training schedules for the image sources
On ImageNet, the pretraining schedule uses batches of 256 on 8 GPUs. The initial learning rate is 0.03. Training continues for 200 epochs, and the current learning rate is multiplied by 0.1 at epochs 120 and 160. An epoch describes progress relative to a pass through the training set. For the standard ResNet-50, the authors report a running time of about 53 hours under these conditions. The dictionary capacity can be set independently of how many current images occupy each batch.
On Instagram, MoCo pretraining uses batches of 1024 on 64 GPUs. The learning rate starts at 0.12 and is multiplied by 0.9 every 62.5k iterations, corresponding in the paper’s account to 64M images. An iteration marks a training step. The run is scheduled for 1.25M iterations, about 1.4 epochs on the Instagram collection. Training ResNet-50 in this configuration takes about 6 days. The two schedules thus use different units to specify when the optimizer’s steps should become smaller.
The rule for making training pairs is common to the runs. Pretraining on ImageNet can use an image even though its category is available, and pretraining on Instagram can use a photograph whose hashtag guided its selection. In both cases the corresponding view is identified by the original photograph. The changing set of negative keys and the gradual parameter update perform the same roles with either pool of images.
Experiments and results
The image sources support different comparisons
IN-1M is the ImageNet training set. It contains about 1.28 million images, divided into 1000 classes for the classification task. The authors describe its class frequencies as relatively balanced and note that the photographs tend to present characteristic views of objects. The same collection can supply two kinds of starting weights. A supervised encoder learns to recognize the annotated categories. MoCo uses the images to make positive pairs and does not consult the classes for this purpose. This arrangement gives the authors a way to compare initializations learned from a common image collection.
IG-1B comes from public Instagram photographs, with the size given as 940M, or about 1 billion images. Following previous work, its collection procedure draws from about 1500 hashtags associated with ImageNet categories. The authors describe a long-tailed distribution, in which some kinds of content are frequent and many others are scarce, and a mix of characteristic object views and wider scenes. This makes the Instagram run a test of MoCo on a source whose scale and distribution differ greatly from those of ImageNet, while the related hashtags specify how the photographs were gathered.
Two experimental protocols ask what the encoders acquire from these sources. The frozen-feature evaluation learns a classifier after pretraining, using features that stay fixed. Its accuracy describes what a linear predictor can recover from those features. Downstream adaptation initializes the feature extractor from pretraining and allows the entire prediction system to learn from the annotations for the new task. Its performance describes the result of that adaptation. The distinction is important because some predictions require spatial information that a classifier on pooled features never has occasion to use. Evaluation and benchmarks
The supervised ImageNet initialization is the main reference for transfer. Random initialization supplies another reference wherever reported. It shows what the target system can learn on the chosen schedule with no separate pretraining stage. The supervised and MoCo initializations generally use common downstream settings. Some comparisons also bring in other contrastive mechanisms trained by the authors. These references answer different questions. A lead over supervised pretraining concerns which starting weights are more useful in a given target setting. A lead over the other contrastive mechanisms under matched settings narrows the comparison to different ways of supplying keys and training the branches.
Category information in frozen ImageNet features
The frozen evaluation begins with unsupervised pretraining on IN-1M. The authors keep the feature extractor fixed and use its global average pooling output as the classifier input. A fully connected layer predicts scores for the categories, and a softmax is used in training the classifier. The labels can change that readout for 100 epochs. They do not update the image encoder. On ImageNet’s validation split, the authors measure top-1 classification accuracy using a single crop per image. The crop specifies the evaluated view, and top-1 accuracy gives credit when the category receiving the highest score is correct.
The authors select an initial classifier learning rate of 30 and weight decay of 0 in a grid search. They report that these settings also work well across the entries of their internal ablations. The learning rate belongs to optimization on a fixed set of features. Its scale can differ substantially from the rates used to acquire the features in contrastive pretraining. The authors suggest that the useful settings reflect differences in the distributions of features, including their magnitudes, compared with supervised ImageNet training. That issue recurs when the initializations are adapted to downstream networks.
With 65536 negative keys and momentum 0.999, MoCo with standard ResNet-50 obtains 60.6% top-1 accuracy on ImageNet validation. The paper describes this score as ahead of the compared unsupervised systems at a similar feature-extractor size, about 24M parameters. It also examines variants with channel counts widened by 2× and 4×. The 4× wider ResNet-50 reaches 68.6% on the ImageNet validation linear test. The widened result measures a setting with greater encoder capacity, while the standard-width result is the one directly relevant to comparisons at the smaller parameter count.
The authors’ comparison by parameter count concerns the part of each encoder that produced the features for the probe. An architecture with a residual stage omitted from that computation has the corresponding parameters excluded from the count. Some related systems use encoders that differ in depth, width or internal structure, so the authors present accuracy in relation to capacity. They also flag a result for which FastAutoAugment used ImageNet labels to choose the augmentation policy. This is relevant to the source of the learned features because an unsupervised objective can still operate on views selected using information from supervised training. Revisiting Self-Supervised Visual Representation Learning
For a more closely matched comparison, the authors implement a memory-bank alternative using the same ResNet-50 architecture, the same instance discrimination exercise and InfoNCE. The bank attains 58.0% on the ImageNet validation linear metric with 65536 negatives. Its lower accuracy at the shared negative count gives a comparison of the two ways of providing and maintaining keys while evaluating the same kind of classifier. The published memory-bank results under other conditions address a broader comparison, in which the scoring rule and number of candidates can also differ.
ImageNet validation top-1 accuracy with frozen ResNet-50 features
Momentum Contrast gives higher linear accuracy than the memory bank with the negative count matched.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| InfoNCE with a memory bank | 58.0 |
| InfoNCE with Momentum Contrast (this paper) | 60.6 |
The standard encoder also matters for what follows. The network that learns from whole augmented crops can transfer its residual stages directly into the task architectures the authors use. Some previous approaches rely on specialized choices for the regions presented to the encoder or the area visible to a local feature. Such choices can be appropriate for their pretraining exercises and can make architecture a larger part of a transfer comparison. In MoCo the box and mask systems can start from an ordinarily structured ResNet, so the authors can compare initializations within the same detector.
Comparing initializations under a common adaptation procedure
The transfer experiments begin with the concern about feature scales raised by the linear evaluation. A task configuration chosen for conventional supervised weights may apply an unsuitable scale of updates to features acquired from unlabeled images. In much of the transfer study the authors allow BN to adapt, using synchronized statistics across GPUs. They also include normalization in newly initialized components such as the feature pyramid, which makes feature maps available at different spatial resolutions. The idea is to calibrate the magnitudes of the features used by the downstream system while permitting the supervised and unsupervised initializations to use the same general recipe. Feature Pyramid Networks
Training duration is also part of a fair comparison. Under a short schedule, the system with random starting weights may still be learning features that a pretrained system can already use. Much longer training can make that reference more competitive, as earlier work discussed by the authors had shown on COCO. The main COCO comparisons here use the established 1× and 2× schedules. The 1× schedule corresponds to about 12 epochs. Within a comparison, giving the supervised and MoCo starting weights the same schedule makes training time part of the stated conditions. The paper also reports what happens under a longer schedule.
Several of the tasks use average precision, or AP. In object detection, the system attaches confidence scores to its predictions. Evaluating at different confidence cutoffs produces different sets of candidate detections, and average precision summarizes how well the system finds correct detections across those choices. Correct localization depends on overlap between the predicted and reference regions. Intersection over union expresses their shared area relative to the area covered by either region. A specified overlap threshold determines which matches count. A COCO-style AP score incorporates multiple overlap thresholds, while a threshold-specific measure provides a more focused test.
The numerical comparisons therefore need both the target and the metric. A detector can gain on the aggregate measure because it produces boxes that align better, even if it changes relatively little under a more permissive threshold. Instance masks and boxes also define different regions for measuring overlap. Two metrics reported for the same target images can ask the network to meet different requirements. These distinctions help explain why some of the clearest benefits of MoCo appear on measures that give more weight to precise placement.
PASCAL VOC detection with different detector layouts
The VOC experiments use Faster R-CNN and let the full detector adapt. The authors compare two ways to arrange the pretrained ResNet-50 stages inside it. In R50-dilated-C5, the final residual stage is part of the shared image feature computation. Its dilation changes how far apart the convolution samples its input positions. In R50-C4, the shared image computation ends at the preceding stage, and the final one becomes part of the box head, working on features associated with proposed regions. Within each layout, the pretrained stages occupy the same role across initialization conditions. Faster R-CNN
The appendix specifies the operations around those stages. The dilated stage uses dilation 2 and stride 1. A normalized 3×3 convolution brings the resulting feature dimension to 512, and the head includes two hidden fully connected layers. In the C4 detector, the residual stage in the head is used with its global pooling, followed by BN. These choices give each detector a different way of applying features acquired during pretraining. The comparison matters because a box head that sees proposed regions makes different use of the last stage from a system that applies that stage as part of the shared image computation.
The larger VOC training set used here is trainval07+12, with about 16.5k images. The image scale ranges between 480 and 800 pixels in training and is set to 800 pixels for inference. Fine-tuning runs for 24k iterations, approximately 23 epochs. The authors average the results over 5 trials and evaluate on VOC test2007. They report AP₅₀, VOC’s usual measure at a 50% intersection-over-union threshold, alongside the COCO-style aggregate AP and the stricter AP₇₅ measure. The stricter measure gives less latitude to a box whose placement is only approximate.
On test2007 with the dilated C5 backbone, ImageNet-pretrained MoCo and its supervised counterpart perform comparably. Instagram-pretrained MoCo improves on the supervised reference. With C4, both unsupervised sources yield a lead over the corresponding supervised initialization. After training on trainval07+12, the reported C4 advantages on test2007 reach +0.9 for AP₅₀, +3.7 for aggregate AP and +4.9 for AP₇₅. The relative performance depends on the architecture that adapts the weights. Within C4, the larger lead under tighter overlap criteria makes the localization component of the result especially visible.
The study also evaluates on test2007 after using trainval2007 for fine-tuning, the smaller split of about 5k annotated images used in several earlier comparisons. In this experiment MoCo uses the C4 detector and a 9k-iteration schedule, with results averaged over 5 trials. The authors compare earlier published unsupervised methods with their own supervised counterparts as reported in the respective papers. This accounts for some of the architectural variation across entries. The backbone arrangement is C4 throughout the table, but the residual encoders doing the work can differ. Multi-task Self-Supervised Visual Learning and Scaling and Benchmarking Self-Supervised Visual Representation Learning
For that smaller training split, none of the earlier unsupervised entries reaches its supervised counterpart on test2007 AP₅₀. MoCo exceeds its supervised AP₅₀ reference with pretraining on IN-1M, IN-14M, YFCC-100M or IG-1B. IN-14M denotes the full ImageNet collection in this comparison. The authors report gains of up to +5.2 aggregate AP and +9.0 AP₇₅ on test2007. These gains refer to the training split and schedule used in the earlier-work comparison. They show how strongly the choice of weights can affect spatial prediction in this setting with fewer target training images. YFCC100M
The authors additionally transfer the initializations from their own memory-bank and current-batch implementations. All the compared contrastive mechanisms use IN-1M pretraining, and the downstream fine-tuning conditions are matched on trainval07+12 and test2007. Both alternatives do well against supervised initialization on some measures. Specifically, using C4, they exceed the supervised counterpart on aggregate AP and AP₇₅. MoCo leads these contrastive alternatives throughout the reported detection metrics. The experiment gives a comparison in which the outcome can be related to the key mechanism even though some of the benefit over supervised weights is shared by the contrastive approaches.
COCO tests boxes, masks and the duration of training
Mask R-CNN supplies the detector and instance segmenter on COCO. The detector describes an instance using a bounding box. The segmentation output assigns pixels to the individual object, so neighboring objects with the same category can receive separate masks. The authors report bounding-box AP for the former prediction and mask AP for the latter. They fine-tune the full network on train2017, with about 118k images, and use val2017 for evaluation. The input scale lies between 640 and 800 pixels during training and is 800 pixels at inference. Microsoft COCO
The paper reports FPN and C4 configurations under the 1× and 2× schedules. Across initializations, including the supervised reference, the authors consider the 1× runs under-trained. They point to a difference of about 2 points relative to the 2× results. With the 2× schedule, MoCo exceeds ImageNet-supervised pretraining on all the reported COCO box and mask metrics with both backbones. Thus the dependence on architecture seen in VOC need not rule out a lead under different layouts on the same target. In this COCO comparison both layouts show an advantage with the longer of the main schedules.
The appendix extends COCO training to a 6× schedule, about 72 epochs. The reported val2017 box AP values in that comparison are 41.9 for supervised ImageNet initialization, 41.4 for random initialization and 42.8 for MoCo. The authors report that the lead of MoCo over supervised initialization in the box comparison is +0.9 with 6× training, compared with +0.5 under the 2× schedule. Both the detector initialized at random and the pretrained detectors can use the additional target training. Their relative positions reveal that the scratch system’s progress and the difference between kinds of pretraining can move in different directions.
COCO val2017 box AP by initialization at the extended schedule
The scratch detector approaches supervised pretraining, and Momentum Contrast has the highest box AP.
The numbers
| System or setting | box AP |
|---|---|
| Random initialization | 41.4 |
| Supervised ImageNet pretraining | 41.9 |
| Momentum Contrast pretraining (this paper) | 42.8 |
The comparison with random initialization helps specify what it means here for pretraining to benefit a detector. A schedule can be sufficiently long for a scratch detector to reach a score close to the supervised reference while leaving room for a different starting representation to score higher still. The long-schedule result therefore supplies evidence about the use of these particular starting weights after more adaptation, alongside the main tests under more limited schedules. It is distinct from the frozen-feature result, where the labels are never used to change the feature extractor.
Locating landmarks and estimating dense pose
COCO also supplies a task in which the target is a set of designated locations on a person. The authors use the keypoint version of Mask R-CNN with the R50-FPN backbone. Fine-tuning uses train2017 under the 2× schedule, and the measures come from val2017. Supervised ImageNet pretraining has no clear advantage over random initialization in this comparison. MoCo exceeds the supervised counterpart on each of the reported measures. A person’s overall extent and the arrangement of particular landmarks place different demands on the features, so the keypoint results supply evidence that goes beyond success at finding a box.
The dense-pose task asks for more detailed localization on the visible body. The authors use DensePose R-CNN with R50-FPN, adapt it on train2017 and evaluate on val2017. The schedule for this experiment is designated s1×. MoCo improves on supervised pretraining by 3.7 points on the stricter dense-pose AP₇₅ measure. The paper emphasizes the sensitivity of this task to where the system places its predictions. The result is evidence about the adaptability of the pretrained features under dense spatial supervision, in spite of the pooling used to form comparison vectors during pretraining.
These COCO evaluations ask for related but distinct outputs. A region can contain the relevant person and still place a landmark poorly or assign inaccurate locations within the body. Mask prediction adds a question about which pixels belong to an individual. Since these experiments share the COCO train2017 and val2017 splits, the change in output is central to what each contributes. The positive results concern the ability to adapt an initialization to those different forms of spatial prediction.
Instance masks on an uneven set of categories and in street scenes
The LVIS v0.5 comparison uses a collection with about 1000 categories whose frequencies have a long-tailed distribution. Its target is instance segmentation. The authors fine-tune Mask R-CNN with R50-FPN on train_v0.5 and evaluate on val_v0.5. The appendix reports the relevant settings as averages across 5 trials. As on COCO, the system must produce a mask for an individual object, but the category distribution makes it a different setting in which to evaluate features acquired from the pretraining sources.
LVIS is also a case in which the general fine-tuning treatment of BN gives a weaker supervised reference. The authors observe overfitting when they allow BN to train for the ImageNet-supervised initialization. Freezing it gives better mask performance on LVIS, unlike the behavior they describe on VOC and COCO. They consequently use the stronger frozen-BN supervised result in their principal transfer comparison. Under trainable BN, both MoCo runs beat supervised pretraining with that same setting. Comparing them with the better supervised setup preserves the lead for Instagram-pretrained MoCo.
LVIS v0.5 validation mask AP across pretraining and BN settings
Instagram-pretrained Momentum Contrast leads even against the stronger supervised setting with frozen normalization.
The numbers
| System or setting | mask AP |
|---|---|
| Momentum Contrast from IN-1M with trainable BN | 24.1 |
| Supervised ImageNet initialization with frozen BN | 24.4 |
| Momentum Contrast from IG-1B with trainable BN (this paper) | 24.9 |
The comparison illustrates two meanings of a controlled reference. Under common trainable normalization, a difference in mask AP describes the relative performance of the starting weights under the same adaptation rule. With the strongest reported supervised reference, the comparison includes the advantage that supervised initialization gains from choosing a better normalization rule for this task. The val_v0.5 result of 24.9 mask AP for Instagram-pretrained MoCo is higher than that reference of 24.4. The IN-1M result of 24.1 mask AP belongs to the trainable-BN comparison and falls below the stronger supervised entry.
On Cityscapes instance segmentation, the authors describe Instagram-pretrained MoCo as comparable to ImageNet-supervised pretraining in overall mask AP, with a higher score at AP₅₀. The threshold-specific result tells how the instance masks perform under a particular overlap requirement. Overall AP also considers performance under other overlap criteria. The authors treat the Cityscapes instance task as broadly level in their account of transfer. Their separate experiment on Cityscapes semantic segmentation produces a lead for MoCo on a different prediction target.
Predicting the category at each pixel
Semantic segmentation asks for a category prediction at each image location. Two separate objects of the same category can consequently have the same labels at their pixels. The authors use a fully convolutional system with the convolutional layers of ResNet-50 as the backbone. The final residual stage uses dilation so the convolutional computation can draw on a wider region while keeping more spatial resolution. Additional convolutions process its feature maps before the layer that predicts a class at each location. The total stride is 16, described in the paper as an FCN-16s arrangement. Fully Convolutional Networks for Semantic Segmentation
In the backbone’s final residual blocks the 3×3 convolutions use dilation 2 and stride 1. The added 3×3 convolutions have 256 channels and use BN followed by ReLU, an activation function. They use dilation 6 to extend the area the layers can draw on. A final 1×1 convolution makes class predictions from the features at each position. This arrangement uses the inherited weights in an architecture whose outputs must retain their correspondence to particular areas of the input.
Training includes random rescaling with a factor in [0.5, 2.0], followed by cropping and random flips. For Cityscapes the training crop size is 769, while VOC uses 513. At prediction time, the image retains its original dimensions. The fine-tuning batch size is 16 and weight decay is 0.0001. The initial learning rate on Cityscapes is 0.01; the VOC run begins at 0.003. The schedule reduces the rates by multiplying by 0.1 at the reported 70-th and 90-th percentiles of training.
For the VOC experiment, the system learns on train_aug2012, an augmented split containing 10,582 images. The schedule runs for 30k iterations before evaluation on val2012. The Cityscapes system uses train_fine, with 2975 images, and trains for 90k iterations before evaluation on the validation split. The reported segmentation results are means across 5 trials. The common type of pixel classifier lets the two datasets test related uses of the same sort of pretrained representation, with target-specific training conditions.
On the Cityscapes validation split the advantage of MoCo over ImageNet-supervised pretraining reaches 0.9 point on the reported semantic segmentation measure. In VOC val2012 semantic segmentation, MoCo trails the supervised counterpart by at least 0.8 point. This comparison shows variation across datasets even within the same kind of output. It also distinguishes the two Cityscapes tasks. The advantage for assigning categories to pixels can coexist with broadly similar overall scores for separating individual instances.
Classification with end-to-end adaptation
Fine-grained recognition on iNaturalist 2018 provides an additional target for the pretrained ResNet-50. The train split contains about 437k images across 8142 classes. The authors let all the layers adapt to those class labels for 100 epochs and evaluate on the validation split. The initial learning rate is 0.025 with pretraining and 0.1 from scratch. The rate is reduced by a factor of 10 at the 70-th and 90-th percentiles of training. The settings specify a transfer experiment even though the final output is a category, as in the frozen ImageNet test.
On iNaturalist validation, the authors describe MoCo’s classification result as about 4% better than the random initialization reference and close to its ImageNet-supervised counterpart. The useful starting representation here serves distinctions among fine-grained classes, with the whole encoder free to adjust. The result adds a case of competitive transfer to classification alongside the detection and segmentation tasks in which MoCo shows an advantage. The broader comparison concerns how well the starting features support learning from the target categories under the given schedule.
The appendix also allows the encoder to adapt end to end to the 1000-class ImageNet task. The initial learning rates are 0.03 for fine-tuning and 0.1 for training from scratch. Pretraining on IG-1B raises ImageNet classification accuracy by the reported 0.8% over the scratch reference. For IN-1M MoCo pretraining, the authors give 77.0% accuracy after adaptation. They include this as a reference because the photographs used in that pretraining stage are drawn from the collection that supplies the supervised training task. IG-1B supplies the example of bringing weights learned on a separate collection to that task.
The two ImageNet uses should be read at the level of the corresponding operation. The linear result comes from learning only a category readout over fixed features. The end-to-end result comes from allowing labels to change the computation of those features. A higher accuracy in the second arrangement can reflect changes throughout the encoder as well as the classifier. The paper uses the former to compare what existing features make accessible and the latter to evaluate what a supervised task can learn from the pretrained starting point.
How the reported transfer gains are distributed
The paper counts 7 favorable detection and segmentation tasks by pairing each output with its dataset. VOC and COCO contribute object detection. COCO and LVIS contribute instance segmentation. The count also includes COCO keypoint detection, COCO dense pose and Cityscapes semantic segmentation. The results include some tests of closely related systems on the same images and others in which the source of the downstream annotations changes. Together they establish that initialization learned by image matching can help with several forms of spatial prediction.
Within the detection and segmentation experiments, the authors find that IG-1B pretraining consistently improves on IN-1M pretraining for MoCo. This ordering of the MoCo runs addresses what happens when the same learning mechanism uses the larger, less balanced collection under its own training schedule. The comparison with supervised weights depends on the task. IG-1B produces the lead over the stronger normalization setting on LVIS and broadly comparable instance mask AP on Cityscapes. The outcome on VOC semantic segmentation still favors the supervised reference. These results give the large-source demonstration its practical meaning. The queue can be used to train on that collection, and the resulting weights can be adapted to a range of human-annotated visual tasks with competitive or stronger performance.
What the ablations show
A larger set of negatives improves the learned features
The first comparison asks whether the number of keys matters even when the way of producing them stays the same. The authors vary the dictionary setting for each of the three mechanisms and assess the resulting ResNet-50 features with a linear classifier on ImageNet validation. All three benefit from more negatives over the ranges the authors test. The result gives independent support to one of the design goals of MoCo. The extra comparisons are valuable even in systems that obtain them without an averaged key encoder. The moving average is part of MoCo’s way of making a large dictionary work, while the trend across all three mechanisms explains why the authors seek a large dictionary in the first place.
The classifier provides a common test after the matching exercises have differed in difficulty. Imagine giving a query its usual positive and then adding several plausible alternatives. The positive can receive the same similarity score as before while accounting for a smaller share of the total weight. A lookup performed under the expanded dictionary can thus be harder for exactly the same representation. Measuring how frequently the encoder wins during training would mix that change in difficulty with any change in what the encoder has learned. On the ImageNet validation test, the encoders face a common category prediction problem whose available answers are independent of their pretraining dictionaries.
A key supplies information about a particular comparison. With a sparse dictionary, a query and its positive might agree on a broad visual pattern that distinguishes them from everything else in view. With more candidates, a key from a different source can share that pattern. It can take additional evidence to distinguish the matching pair. This is a way to understand the authors’ hypothesis about sampling visual data. A larger draw gives the network more opportunities to encounter distinctions that a small draw happens to omit. The rise in validation accuracy shows a benefit to the features overall. The experiment leaves open whether that benefit comes mainly from encountering occasional difficult alternatives or from a more general change in the distribution of comparisons.
The comparison uses a different counting convention for the current-batch system. In the memory-bank and MoCo runs, the plotted setting K identifies the number of negatives. When all the keys come from the active batch, the positive is already included among the K available keys, giving K − 1 negatives. A common horizontal setting in the figure should be read with that distinction in mind. The broader pattern reported by the authors is that supplying more negatives helps in each case. At small dictionary sizes, the end-to-end implementation and MoCo give similar results. A single batch can cover that part of the comparison without having to preserve vectors from previous updates.
The end-to-end implementation reaches a particular experimental limit. The largest mini-batch the authors fit contains 1024 examples on a machine with 8 Volta GPUs, each with 32GB of memory. Their experiment also gives a way to distinguish fitting a batch from training effectively with it. When they omit the linear learning-rate scaling rule for that batch size, performance on the ImageNet linear evaluation drops by about 2%. Comparing candidate supplies therefore involves an optimization choice as well as a memory requirement. There is a demonstrated route to more candidates through larger batches in this range, provided the learning procedure can use the batch. The authors leave its behavior at much larger sizes unresolved.
MoCo extends the range of candidate counts the authors can investigate without requiring a corresponding increase in the number of images processed together. That is a more specific observation than superiority over every possible batch-based setup. The small-dictionary results indicate that current-batch keys can already serve the exercise well when enough of them fit. The reason to keep keys across steps becomes clearer as the candidate count grows past what that experiment can supply in one step. The memory bank provides the comparison beyond that point because it, too, gives queries access to a large collection of already encoded alternatives.
The memory bank shows why capacity alone is an incomplete account
The memory-bank comparison asks what happens when two mechanisms can reach the same large negative count. The authors’ improved bank and MoCo share ResNet-50, instance discrimination and the InfoNCE loss. At K equal to 65536, the bank gives 58.0% top-1 accuracy for the linear classifier on ImageNet validation. The paper reports a gap of 2.6% to MoCo. The gap belongs to a comparison between implementations of the same matching exercise. Both can process the current batch without recomputing the images underlying the entire dictionary. How they came to possess the vectors used in that dictionary is different.
The authors also check their memory-bank implementation under conditions closer to the earlier instance discrimination work. Using noise-contrastive estimation and K equal to 4096, they obtain 54.3% on the ImageNet linear protocol, close to the earlier result of 54.0%. This check relates the new implementation to the published method. The shared InfoNCE test makes a different comparison, using the stronger bank that the authors constructed for their experiment. It would be misleading to credit the improvement between the bank’s reported configurations to InfoNCE alone, since the candidate count changes too. And comparing MoCo only with the earlier result would bundle in advantages that the authors’ own bank implementation can obtain.
The explanation proposed for the lead concerns what each stored vector represents about the history of training. A key in the bank can survive until its source image is sampled again. The candidate draw may therefore bring together a vector refreshed late in an epoch and a vector produced much earlier. The similarity scores use both as they were stored. MoCo retains a chronological sample of recent batches, and every batch enters through the gradually updated encoder. The authors expect that combination to reduce the degree to which scores depend on when the alternatives happened to be computed.
Queue and bank also differ in how they cover the source collection. The bank makes a representation for each example potentially available to a draw even when that example has been absent from recent batches. The queue makes availability depend on recent participation. Both can offer diverse alternatives, but their ways of doing so give different sets of images a chance to appear together. The same number of negatives therefore establishes equal lookup capacity for the reported comparison. It does not fix the contents of the dictionaries or the distribution of their ages. The observed lead measures the effect of replacing the mechanism as a whole.
In the earlier bank, the representation for an image can itself be updated by momentum. An entry then incorporates information from an earlier encounter with that particular example when the system revisits it. MoCo’s averaging establishes a common encoding function for newly arriving keys. Images that have never occurred before are subject to the same weight update as familiar ones. The comparison thus involves different objects of averaging. Smoothing a bank entry connects successive observations of an image. Smoothing the encoder connects successive operations performed on different images. The latter is designed around the fact that vectors from multiple steps will be compared together.
The explanations about candidate histories concern representation quality. The consequences for storage follow directly from the design. The bank stores a vector per training example even if it supplies only a sample of them for a particular lookup. The queue can keep the same capacity when the source collection grows. The controlled ImageNet result says that the queue with its accompanying update can yield stronger fixed features at a shared negative count. The storage property says why this design can be taken to a much larger corpus without a corresponding expansion in the persistent set of vectors. Either property in isolation would support a narrower practical claim.
Changing the averaging rate tests the behavior of the queue
The bank comparison changes several properties at once. The momentum ablation narrows the intervention to the rate at which the key encoder follows the query encoder. The authors keep MoCo’s mechanism and a dictionary of 4096 negatives, vary m, and examine the training behavior and the resulting ResNet-50 features. The linear readout again uses ImageNet validation. This test is especially informative for the authors’ consistency argument because the queue continues to admit and evict keys by the same rule while the update to the encoding function changes.
With m set to 0, each assignment gives the key branch the query branch’s weights in full. The previously queued vectors retain their old values. In this experiment the loss oscillates, and the authors report that training fails to converge. At 0.9, the linear classification result is considerably weaker than at the larger momentum values. The reported range from about 0.99 to 0.9999 works reasonably well at the ablation’s dictionary setting. That range establishes that useful learning is possible under several rates of gradual change. The choice of 0.999 for the main experiments belongs within it and is also demonstrated with the larger dictionary used for the headline linear result.
The direct-copy case might sound attractive if the comparison contained only the current pair. The query branch and the key branch would closely reflect the same state of learning, and a key could immediately benefit from what the query encoder had just acquired. The queue makes the relevant comparison broader. A score against the new positive enters the same loss as scores against earlier encodings, which receive none of those immediate changes. The failure of the copy setting is evidence that making the fresh branch track the query branch as closely as possible can be a poor rule for the entire lookup. The rate of change across the other candidates matters to that decision.
The loss behavior and the linear readout answer different questions. Oscillating loss makes the failure visible while the network is attempting the training exercise. Among runs where the authors can assess the features, validation accuracy tells how much category information the linear readout can use afterwards. The strong-momentum result therefore has more support than a demonstration that the training curves become smoother. The settings favored by the sweep also yield more useful features under the independent readout. The normalization experiment makes the distinction particularly important by showing another configuration in which performance at the exercise itself can give a false impression of progress.
Momentum also influences the time it takes changes to the query encoder to reach a fresh positive. A high value can reduce the variation between key encodings of neighboring batches while making the fresh key depend more heavily on earlier states of the query branch. The sweep changes both effects together. Its empirical finding is that the full procedure benefits from a slow key update. Consistency among keys is the authors’ explanation for that finding, supported by their design and by the bank comparison. The experiment does not assign separate portions of the benefit to the smoothness of the stored negatives and the behavior of the fresh match.
Dictionary size is important when reading the sweep. The result for the coefficient range comes from the 4096-negative configuration. The main ImageNet result provides evidence for a particular coefficient at 65536 negatives. At a fixed rate of admissions, a larger queue includes a longer span of batches. A longer span gives the key encoder more steps over which to change before the oldest entry is retired. The two experiments identify a workable range in one case and demonstrate a working combination in the other. They give less guidance about which rate would be best after changing the queue capacity and the batch size together.
Shuffled normalization tests whether the encoder is learning the intended relationship
The batch-normalization comparison looks at a different source of apparent success. The authors keep the intended matches and change whether the positive keys are encoded with the original grouping of views across devices. The appendix tracks lookup accuracy on the pretext task and category accuracy on ImageNet validation. For the latter, it uses a nearest-neighbor monitor, called kNN, which makes category predictions using the labels of nearby feature vectors. That readout can track the organization of the feature space during training. It is distinct from the learned linear classifier used in the main ImageNet comparison.
The two measures diverge sharply without the shuffle. Training accuracy at selecting the positive key quickly exceeds 99.9%. Soon afterward, the validation accuracy measured by kNN is lower than it had been. The figure follows the first 80 epochs, and the authors say that continuing training without the shuffle produces further overfitting to the pretext task. They observe the behavior in MoCo and the end-to-end implementation. The experiment gives concrete evidence that a network can get very good at selecting the right key while becoming worse at arranging images in a way that supports category prediction.
The authors trace the likely shortcut to the examples used to calculate the normalization statistics. Imagine that an unusual image affects the statistics for the device to which it is assigned. Both groups can contain a view of that image when the same originals are grouped together on the two branches. An effect on the statistics can then be shared across the query group and the corresponding key group. Because the positive necessarily belongs to the corresponding group, the features can carry a clue about where the answer is available. The exercise rewards a correct selection whether it resulted from understanding the visible scene or from using a signal tied to group membership.
The clue could help the compared systems in somewhat different circumstances. MoCo’s freshly encoded positive has a normalization context linked to the active batch, and the queued alternatives were encoded at earlier steps. In the current-batch system, a group cue could narrow the competition to the candidates associated with the relevant subset of the batch. The cue does not have to specify the entire answer by itself to make the training exercise easier. A common signal identifying a subset can change how much the system has to rely on what the augmented views actually show. The experiment measures the effect of disturbing that possible cue without changing the positive labels.
The key-side shuffle does this by changing which examples influence the computation of each new key. Reversing the permutation after encoding restores the intended correspondence for scoring. The pair still comes from precisely the same original photograph, and the key network still uses batch normalization. A group relationship that followed regularly from identical assignment on the two sides is now disrupted. The separation between rising lookup accuracy and deteriorating validation features makes the intervention more informative than a comparison of final lookup losses would be. It connects a detail of how examples are processed to what the pretraining actually teaches.
The memory bank gives the authors a further check on this account. Its implementation supplies the positive from a preceding batch, so the current query’s batch statistics and the ones that entered the stored key arise from separate computations. The bank avoids the observed failure without having to permute the key batch. That difference follows the location of the proposed shortcut across the mechanisms. Where query and positive are freshly computed with corresponding groups, the unshuffled arrangement gives a route to group information. Where the positive already comes from another batch, that route lacks the same structure.
The evidence supports group information as an explanation through the intervention and the contrast among mechanisms. It does not identify a particular feature coordinate as a device or batch marker. What the authors directly observe is the dissociation between the training and validation measures, and what they directly change is the grouping on the key side. The practical significance is clear even without a complete account of how the network encodes the cue. A self-supervised exercise can get its answer from image provenance while the implementation supplies additional information associated with that answer.
The detector comparison distinguishes MoCo from other contrastive initializations
The controlled VOC experiment tests whether the advantages seen with a frozen readout carry into a detector that can adjust the full network. The comparison uses the strongest current-batch and memory-bank entries from the authors’ own linear experiments. In each case pretraining uses IN-1M, so the subsequent differences cannot come from providing only MoCo with the Instagram source. The detection systems use matched fine-tuning settings on trainval07+12 and are evaluated on test2007, with results averaged across 5 trials. The initial weights are the point of comparison within each detector configuration.
The choice of baselines matters because the competing contrastive initializations are useful for detection. With C4, they already exceed the supervised counterpart on aggregate AP and AP₇₅. A comparison with supervised weights alone would leave unclear whether the gains required the MoCo dictionary or followed more generally from the contrastive exercise and the transfer recipe. MoCo finishes ahead of both alternatives on every reported measure in this mechanism comparison. The evidence supports an additional advantage from the package of choices involved in its dictionary, going beyond the benefit that other ways of running the same exercise can achieve.
The experiment also changes the kind of information that can influence the final score. In the linear evaluation, the classifier sees global pooled features and is unable to reshape the encoder. On VOC, the training signal includes locations, and the detector can alter the inherited visual layers to improve its predictions. Winning under both readouts does more than repeat a measurement of category separation. It shows that the difference between the contrastive mechanisms can remain consequential after task-specific changes to the weights. Which particular intermediate feature accounts for the stricter localization gains remains a different question.
Adaptation choices change the size and meaning of an advantage
The comparison between the VOC detector layouts shows that a pretraining result cannot be assigned a gain independently of the system that uses it. Both arrangements draw on ResNet-50, yet they put the final residual stage to work at different points in box prediction. The advantage over supervised pretraining is larger with C4. Within each layout, the same architecture is used for the competing initializations, so that comparison remains controlled. The difference between layouts indicates that a conclusion about transfer includes the role the inherited layers play in the downstream architecture.
The study changes an entire backbone and head arrangement in this comparison. With C4, the last stage acts on features associated with proposed regions. With dilated C5, it contributes to the shared representation of the image. Other operations surrounding those stages differ as well. The result gives a reason to compare pretraining within a specified detector and to preserve that information when comparing with earlier studies. It leaves the source of the architectural interaction unresolved because the experiments compare the arrangements as packages.
LVIS tests a narrower choice. Allowing BN to adapt gives the supervised initialization worse instance mask performance than keeping it frozen. The authors observe overfitting in the trainable case. Using a common trainable setting, both MoCo sources lead the supervised run. Using the better supervised configuration, the IG-1B MoCo result still leads, and the IN-1M result falls below the reference. The stronger supervised entry matters because the reported advantage otherwise partly depends on obliging the supervised system to use the weaker of its tested settings. The comparison under the common setting remains informative about the behavior of the initializations under the same adaptation rule.
A frozen BN layer in this experiment does not imply a frozen feature extractor. The rest of the supervised detector can still adapt to the target, and the comparison changes how normalization participates in that process. The result shows that handling a specific part of the inherited network differently can change the outcome even while the type of supervision at pretraining remains the same. The same intervention does not give the authors a general principle that freezing BN will help every supervised detector. Their comparisons on VOC and COCO supply the reason for treating LVIS as a dataset-specific observation.
The extended COCO schedule tests another condition of transfer. More iterations improve the scratch detector enough for it to draw close to the supervised initialization. In the reported box AP comparison, extra training also lets the MoCo detector increase its lead over supervised pretraining. These outcomes can coexist because the starting points can benefit differently from additional target training. A closing gap between scratch and supervised pretraining supplies evidence about how much the target dataset and optimizer can accomplish on their own at that schedule. It does not determine the gap between the two pretraining procedures.
The evidence from the extended schedule therefore bears on a particular alternative explanation of the main COCO result. If MoCo helped only because the short runs gave supervised initialization too little time to adapt, the longer comparison could have removed its advantage. The reported comparison preserves it. That finding extends the range of adaptation schedules over which an advantage is demonstrated, while leaving any general claim about the best score attainable given arbitrary training time outside its scope.
The larger source is a test of the full procedure
The ImageNet and Instagram runs give an analysis of source choice with a different level of control. The authors retain the matching exercise and the essential key mechanism. They change the collection, the schedule and the batch regime. In the detection and segmentation comparisons, the Instagram initialization consistently gives stronger results within MoCo. The experiment measures what the whole procedure can do when moved to the larger and less balanced corpus. Its practical significance follows from a working training run and useful transferred features. A capacity argument alone would only show that the queue can be stored.
The authors assess the size of the gain separately from its consistency. The gains tell them that the reported use of the larger source was beneficial. Their modest size leads the authors to wonder how much of the available variation the instance exercise extracts. This is a question about how the source observations become learning signals. A larger pool changes what can enter the queue over the course of training. Whether those encounters teach features helpful to a particular target also depends on the paired views and the comparison each query has to solve. The experiment demonstrates the joint recipe at scale and motivates looking more closely at the task that turns additional images into useful training evidence.
Limitations
Limits the authors identify
The scope the authors set for their methodological claim is the construction of a dictionary for contrastive training. The instance task gives it a concrete test, and the common training exercise makes the mechanism comparisons interpretable. Though other tasks can be written as comparisons between encoded observations, each would need a way to establish which observation belongs with the query and what else should appear in the dictionary. The paper suggests masked auto-encoding and related prediction exercises as directions. Its demonstrated instance discrimination does not settle how to construct or train those applications.
The scope of the original recipe is also narrower than the scope of the mechanism. The authors use particular augmentations and an output projection, then note that both can change while the queue and key update continue to operate. The report of MoCo v2 illustrates this point. It gives 71.1% ImageNet validation accuracy for the R50 linear protocol after changes to augmentation and the projection head, compared with the original recipe’s 60.6%. This is evidence that these other parts of the training setup matter to the quality of the readout. It is a combined change, so the cited outcome does not isolate a contribution from either part.
At large source scale, the authors explicitly describe the gains as relatively small. Their concern is that the much larger Instagram corpus may offer more useful structure than the reported pretext task manages to capture. The gains under the measured recipe establish feasibility and improved transfer. The argument for improving the pretext task comes from the disparity the authors see between a large change in source and the relatively modest changes in downstream performance. The run does not establish that a specific alternative exercise would use the photographs more effectively.
The authors leave open how to make the other contrastive mechanisms work on the Instagram scale. An image-indexed bank would grow with the number of source examples. End-to-end training runs up against the joint demands of memory and optimization as the authors increase the active batch. They explicitly question whether the smaller-batch accuracy trend can be extended to larger settings even if the required memory is available. These are limits on the comparisons they conduct. The reported experiment demonstrates a scalable path for MoCo and leaves open what solutions to the corresponding problems could achieve for the alternatives.
The fine-tuning comparisons have a constraint the authors also recognize. They generally give MoCo the settings used for supervised ImageNet initialization, including the schedule. That keeps the adaptation procedure common, but those settings were chosen in a context where the incoming features were supervised. The authors note the possibility of disadvantaging MoCo and use trainable normalization in much of the study to address differences in feature magnitudes. A shared procedure shows how the initializations compare at the chosen settings. It supplies limited evidence about the best attainable result when each one receives its own search.
Training duration further bounds the comparison with learning from scratch. The authors point to work in which a COCO detector can acquire strong features on its own given a long enough schedule. Their appendix extends the comparison and provides an example of a MoCo advantage after more adaptation, under a regime in which the scratch detector has become competitive with supervised pretraining. That observation concerns the tested schedules and detector setup. It is compatible with different relative gains at other training durations or under other optimization procedures.
The authors report cases where the headline transfer claim does not apply. VOC semantic segmentation favors supervised ImageNet initialization. Cityscapes instance segmentation is broadly comparable on the aggregate measure, and iNaturalist fine-grained classification is close to the supervised reference. These outcomes qualify the claim that supervised starting weights can frequently be replaced. The useful unit of the claim is a task, dataset and adaptation setup. Evidence of a lead on one of a dataset’s tasks can sit alongside evidence of parity on another task using images from that same dataset.
The authors give one more qualification for end-to-end ImageNet classification. When the source is IN-1M, the images used for unsupervised pretraining belong to the same training collection that supplies the subsequent labeled examples. The stages differ in what is learned from those images. They do not form the usual example of transferring from an independently collected source. The result remains informative as a test of using an unsupervised stage before supervised classification on that collection. The IG-1B experiment is the one the authors use to illustrate bringing an initialization from a separate corpus.
What the mechanism comparisons leave unresolved
The evidence for dictionary consistency is indirect. The paper changes the timing and source of encodings, and it measures how those choices affect optimization, classification and transfer. It does not quantify the drift of a particular visual input’s representation as successive key encoders change. Such a measurement would address the effect in the space where the loss acts. Key parameters can move a small amount while some inputs produce noticeably different vectors, and a change of weights can affect different inputs differently. The reported outcomes establish the benefit of the weight rule for the full procedure. The distribution and timing of feature changes remain open.
There is also a distinction between the difference among historical keys and the compatibility of the current pair. The momentum coefficient influences both. With a stronger average, historical encoders for neighboring batches can be closer, and the most recent key encoder can be slower to take on a change made to the query branch. Since the current positive appears alongside the older negatives, either relationship can affect where the softmax assigns its weight. The coefficient sweep establishes sensitivity to the update and the success of substantial averaging. It leaves the contribution of the positive branch’s delay inseparable from that of the change in the collection of negatives.
The queue capacity affects more than the numerator of a tally of available negatives. At a fixed rate of replacement, adding room allows older batches to stay in consideration. This couples a richer draw of alternatives with a wider span of encoder states. The larger dictionaries work better in the settings the authors report. That result supports the usefulness of extra candidates even with the associated change in age distribution. It does not say how the candidate count would affect learning if the distribution of ages were held fixed, or how independently replacing old candidates with younger ones at the same count would affect the scores.
For current-batch training, another variable moves with the candidate count. A larger dictionary takes a larger batch, which changes the number of fresh examples involved in the update. The learning-rate comparison shows that the optimization consequences are detectable. The improvements across all the mechanisms help support the idea that more alternatives can be valuable, since the queue and bank can supply them without making the same change to the fresh batch. The trend within a particular mechanism still describes the intervention as implemented, including the properties that grow or change along with its dictionary setting.
The bank and queue results also leave the composition of valuable negatives undetermined. The paper demonstrates a benefit from increasing candidate supply and from changing how it is maintained. Its experiment does not categorize the negatives by how they relate to the positive or to the query, or identify which of those negatives contributes the strongest supervision over training. The distinction matters because a query can find some keys difficult for several reasons. They may share visual content with the source image, reflect a shared artifact of preprocessing, or simply align with a feature the network currently overemphasizes. A score treats those alternatives alike when their similarity is alike. The paper assesses what the overall sampling and encoding procedure yields.
The shuffle experiment isolates an implementation decision, but the explanation for the shortcut is given at the level of shared statistics. The paper does not trace the exact computations through which a group cue enters the output. It tests a remedy suited to per-device BN and checks the resulting feature quality with a recognition monitor. A different normalization arrangement would create different dependencies among the inputs. The result supplies evidence for the problem and its remedy in the reported multi-GPU setup. It leaves the broader question of which arrangements admit comparable shortcuts to investigation in those arrangements.
What the learning target leaves implicit
Image identity gives the procedure a relation it can determine reliably, yet the visual implications of that relation vary. A crop can show a small section of a photograph while its partner emphasizes a separate section. Two different photographs can contain very similar objects in similar positions. The exercise credits the pair with the common original and treats the other photograph as an alternative. The authors show that repeated training under this rule yields useful category and localization features. Their evaluations do not assign an effect to particular kinds of crop pairs or establish how the features handle a conflict between shared visual content and shared image identity.
The augmentations also determine what sorts of evidence survive frequently enough to be worth encoding. Grayscale conversion may make color an unreliable signal for matching some views. Cropping can remove context or change which area holds the most visible detail. A horizontal flip can preserve the presence of a pattern while changing its orientation. The objective rewards successful comparison under this mixture of transformations. The paper provides accuracy and transfer outcomes for the resulting representation, with no separate measurement of the invariance to each change. In particular, success after downstream training cannot reveal how much of a learned response persists when one transformation is applied in isolation.
This boundary matters when interpreting localization. The loss is computed on features that have undergone global pooling and projection. The transfer systems inherit convolutional layers whose computations retain spatial organization, and the target labels let those layers adapt. A precise detector demonstrates the utility of that initialization for learning spatial prediction. It does not show that the training exercise explicitly aligned corresponding object parts across crops or that the unadapted encoder could already delineate an object. The score is measured after the detector has obtained the spatial supervision needed to learn its own output.
The gains at stricter overlap criteria support a similarly bounded conclusion. They concern the accuracy of predictions under a more demanding definition of a match to the annotation. The scores leave open whether the change is due mainly to better localization of objects the supervised system would also recognize, better recognition where placement is already accurate, or improvements spread across different kinds of examples. The paper’s results justify taking the quality of localization seriously in comparisons of pretraining. They do not identify a specific visual feature as the cause of the advantage.
What the readouts and baselines can establish
The frozen ImageNet classifier reads one specified representation. Its reported score depends on the choice of pooled features and the procedure used to fit a linear classifier. When it assigns a higher score to one pretraining recipe, it gives evidence that the category distinctions required by ImageNet are more accessible in that setting. Other distinctions may become available at earlier layers, in spatial feature maps, or after using a more flexible predictor. The experiment provides a common measurement of category information. It is not a complete inventory of what the encoder retained or of what any eventual user could extract.
The paper’s parameter-count comparisons improve the interpretation of earlier results but cannot remove every consequence of architectural variation. Two feature extractors of similar size may organize their transformations differently. A readout can omit a stage in one case while using all the available stages in another. Some prior training recipes also use an augmentation policy that received ImageNet label supervision. These differences matter when trying to attribute performance to a particular idea. A competitive position in the published comparison supports the practicality of MoCo with a standard encoder. The authors’ shared-architecture and shared-task experiments give more specific evidence about the dictionary.
End-to-end adaptation offers a broader test of practical usefulness and gives a less direct view of the pretraining representation itself. The target system has an opportunity to modify the inherited features and learn new outputs. Its final score can depend on the presence of relevant cues in the initial representation, on the ease of changing the weights, and on the fit between features and the layers that receive them. The normalization and schedule experiments show why those distinctions matter. They change the outcomes by intervening at adaptation, with the pretraining source held fixed for the affected comparison.
Training from scratch serves as a useful reference with a conditional interpretation. It gives the accuracy that the architecture and target training recipe reach when they start without acquired visual features. A short run may favor weights that help useful features emerge early. A longer run can let the same architecture learn many of the important distinctions from the target labels. The COCO extension demonstrates some of that dependence within the paper. Neither schedule measures the value of initialization independently of the way the optimizer uses the available data.
The evaluated tasks also differ in how completely their aggregate scores reveal who or what benefits. LVIS includes uneven category frequencies, while mask AP reports an aggregate result. The increase in that score does not establish how the benefit is distributed across commonly and rarely represented categories. A similar issue arises with detection results pooled across objects whose size or appearance may make prediction differently difficult. The study distinguishes kinds of output and overlap criteria and reports repeated-run averages in some comparisons. The aggregate outcomes leave the detailed distribution of errors and improvements unresolved.
The size of the reported gaps matters in view of the information about repeated trials. The paper specifies averaging for comparisons including VOC detection and the LVIS appendix. An average gives a central result for those runs. A reader trying to assess how reliably closely spaced outcomes would be ordered on a new run would need information about variation as well. The reported figures support the direction and magnitude stated for their conditions. They offer less basis for assigning confidence to every small separation across architectures, schedules and datasets.
Finally, the breadth of the transfer study has more than one dimension. Predicting boxes, landmarks and dense pose on COCO tests several kinds of spatial output. Those tests share images and some architectural choices. Changing from COCO to another dataset samples a different environment, sometimes with a different output as well. The count of favorable tasks conveys the variety of uses for the initialization. A reader should distinguish that variety from the number of independently sampled visual settings or architecture families. The results are broad across what the task systems are asked to predict, with a more concentrated set of encoder designs and pretraining procedures.
What the source comparison leaves unresolved
The two main pretraining sources differ in much more than the amount of data available. The Instagram photographs come through a different selection rule and have a different distribution of scenes and object appearances. The batch sizes and learning-rate schedules change. The runs also differ in how training progresses through the source collection. The superior detection and segmentation transfer of the Instagram run is an outcome of that package. It does not estimate the effect of increasing the count of distinct images while keeping their distribution and the optimization budget comparable.
The relationship between the Instagram hashtags and ImageNet categories gives another boundary to the use of uncurated. The authors describe the pool as relatively uncurated because it is less balanced and includes a broader mixture of image compositions. The hashtags still determine which photographs are eligible for the collection. They could affect how frequently the source training encounters visual subjects relevant to the target benchmarks. The training loss uses the images to obtain matches by identity, so the role of the hashtags is at the level of sourcing data. The paper does not vary that selection rule to measure what it contributes.
A much larger pool can also change the learning experience in different ways. It can add more examples of an already frequent visual pattern, make unusual observations available more often during training, or expose the network to scenes with different relationships among objects. The queue samples only recent batches at any given update. What more data contributes depends on which observations eventually pass through those batches and on whether the exercise makes their differences matter. The overall transfer result gives no breakdown of the benefit among those possibilities. This is one reason the authors’ concern about exploiting all the additional information remains open even after the large run succeeds.
The computational demonstration has a defined scope. Keeping a bounded queue avoids the requirement to maintain an image-indexed feature store for IG-1B. The reported ResNet-50 training still uses 64 GPUs and takes about 6 days. Those facts establish that the procedure can run at the reported scale and supply useful starting weights. The study does not compare the computation required for different approaches to reach a common target accuracy. Its design supports an argument about which representations must be stored, and its experiment supports a claim about a successful training configuration. A ranking by training cost or by the value obtained per observed image would require measurements designed for that purpose.
The source and transfer comparisons ultimately concern photographs and the residual encoders the authors study. Their use of a standard architecture makes the inherited layers easy to place in the reported task systems. Generalizing the dictionary mechanism to other kinds of signals, architectures or prediction targets entails decisions about what a key represents and how it should relate to a query. Those decisions need their own evidence. The later work ranges across several such questions, from changing the views in visual contrastive training to changing the kind of prediction that supplies supervision.
What came after
The closest continuation changes the views and the projection
The MoCo paper itself describes a concrete exchange with the work on a simple framework for visual contrastive learning. It attributes the changes that improve the MoCo v2 linear result to ideas about data augmentation and the output projection head. Augmentation determines what remains in common between the observations that the encoder has to match. The projection head determines how the encoder’s features become the vectors presented for comparison. The revised MoCo recipe takes up changes to both while retaining the dictionary mechanism. This is a documented case in which work on other parts of a contrastive pipeline feeds back into the momentum-based design. Contrastive Learning of Visual Representations
The exchange gives a way to locate the effect of the revised recipe. Think of one image whose two views both preserve a strong cue. Changing the augmentations can make that cue less consistently available, so succeeding may require features capable of relating the images in another way. Changing the projection head can alter which differences are apparent in the space used for the loss even when the source views have been made by the same procedure. In either case, the queue still determines the other examples with which a pair has to compete. The authors’ report of the revised result establishes that the dictionary design is compatible with improvements elsewhere in the pipeline.
This relationship is more specific than the connection recorded for most of the later work. The paper identifies what changed in a subsequent revision of its own method and gives the corresponding outcome. The other citing studies named below can be related through their stated objectives. Some pursue a different source of visual supervision, and others make candidate selection itself central to a new application. Their relationship to the original experiment is frequently best understood by identifying which question they take up. A common concern with reusable visual features, for instance, supplies a connection even when the work is about a different architecture or a different kind of training answer.
Learned targets and masked content
Bootstrap Your Own Latent puts the learned representation at the center of the self-supervised target. The point of contact with MoCo is that the answer used in training has a representation generated within the learning procedure. MoCo has a record identifying which view is the answer, and a network supplies the vector that gives that answer numerical form. The bootstrapping direction makes the acquisition of a latent representation through this kind of internally constructed supervision its subject. Its stated objective connects to the use of learned targets without requiring the task to be understood as the same dictionary lookup. Bootstrap Your Own Latent
The comparison helps separate the identity of a target from the information carried in its representation. In the MoCo exercise, the procedure can identify the positive even at the beginning of training, when the two encoders have developed little capacity to distinguish images. The key vector becomes a more informative target as the encoding function changes. Later work on bootstrapping raises the broader question of how such a representation can become useful when it already participates in supplying the supervision. MoCo answers that question within an exercise whose desired choice is known independently of the quality of the representation. The title of the later study locates its own contribution at the level of learning a latent target.
Masked Autoencoders takes up a direction explicitly mentioned by the MoCo authors when discussing other possible pretext tasks. A masked exercise uses missing content to create the training problem. The visible regions offer evidence about material that has been withheld. MoCo also makes a learning problem by changing what can be seen, since a crop can remove much of the original view. The answer in its reported experiment is identified through the origin of a separate observation. In the masked direction, the withheld content itself gives the exercise its purpose. That difference changes what it means for the encoder to capture useful information from its input. Masked Autoencoders
Scalability has a related but distinct meaning in these approaches. For MoCo, the scale argument depends on how many encoded alternatives a step can access and how much storage this requires as the source pool grows. The masked-autoencoder work takes scalability as a question for visual pretraining organized around an incomplete view. Its stated subject connects to the MoCo authors’ suggestion that the pretext exercise itself deserves attention when more data are available. The documented connection is to that research direction. The MoCo experiments do not test what its queue could contribute to the later masking approach.
SimMIM brings an emphasis on a simple framework to masked image modeling. There is a methodological resemblance to how MoCo sets up its original experiment. A plainly stated operation on an image defines the training exercise, helping a reader distinguish that exercise from the parts of the training system used to solve it. MoCo chooses image identity and investigates the mechanism that supplies comparison vectors. SimMIM takes masking and image prediction as the setting for its inquiry. The connection concerns the value of an explicit construction of the training target when studying representation learning. SimMIM
BEiT approaches image pretraining through BERT and image transformers. That brings it back to the difference between language and vision that motivates MoCo. The original paper asks how to furnish discrete alternatives for a lookup involving a complex visual input. A BERT-inspired approach makes the adaptation of a language pretraining problem to images a subject in its own right. The relationship lies in how training procedures impose usable structure on visual data. A key in MoCo’s dictionary is a complete candidate representation for a comparison. The question posed by BERT-style visual pretraining concerns how to organize visual inputs and targets so that the learning exercise can be formulated in the first place. BEiT
The input architecture becomes a distinct research question
The image recognition study framed around 16x16 regions pursues another implication of the text and image analogy. It considers the transformer as an architecture for image recognition at scale and treats image regions as units that can be compared conceptually with words. In MoCo, the analogy to a vocabulary motivates a collection of candidates during training. A visual unit used in constructing an input has a different role from a vector presented as one of the answers to a query. The two uses of the analogy show where structured units can matter, both in how an encoder receives an image and in how its training objective compares observations. Transformer and attention and An Image is Worth 16x16 Words
The work on self-supervised vision transformers brings that architectural choice directly into the study of learned visual properties. MoCo uses residual encoders in an exercise defined by augmented views, then studies the properties of their features through recognition and transfer. Taking properties of self-supervised features as the subject of a transformer study carries that question into a different architectural family. It makes the structure of the encoder part of the inquiry about what becomes accessible through learning from the images themselves. The MoCo experiments offer a point of comparison for the question, with results expressed through the behavior of convolutional features and their downstream adaptation. Self-Supervised Vision Transformers
DINOv2 gives the transfer goal a formulation centered on robust visual features acquired without supervision. MoCo supplies examples of why this goal needs more than one test. A frozen representation can make category membership available to a restricted classifier. A pretrained representation can also help a detector learn a different prediction when its features may change. Making robustness the stated aim continues the inquiry into what remains useful outside the original exercise. The connection concerns the goal of the features and the importance of evaluating their usefulness in new conditions. The dictionary and momentum comparisons belong to the evidence from MoCo itself. DINOv2
Language changes the source of the relationship
The work on transferable visual representations from natural language supervision changes the information available to teach an encoder. MoCo can construct both members of the pair from an image, with the procedure itself recording the relation between their sources. Language supervision makes information expressed in words part of what guides visual learning. This changes the possible relationship a procedure can ask the representation to preserve. The original experiment rewards identifying another observation of a particular photograph. A question driven by language concerns what a visual representation should retain to make the linguistic supervision useful. The common goal is a starting representation that works beyond the source training task. Vision and language and Learning Transferable Visual Models
The study of scaling visual and vision-language representations with noisy text supervision considers what can be learned when that linguistic guidance varies in quality. This connects to MoCo’s question about learning at scale with data whose composition is less controlled. The Instagram photographs were selected using hashtags, which govern the pool of available images. The matching label during MoCo training follows the two views’ origin. When text supplies supervision, variability in the text matters for the learning signal itself. The large-source question consequently includes both the variety of images and the reliability of the associated linguistic information. Scaling Up Visual and Vision-Language Representation Learning
These uses of language illustrate why the term supervision should identify where information enters the procedure. A word can lead a collection process to include an image, and a word can take part in the training relationship the encoder is asked to learn. The first role changes the distribution of images the procedure sees. The second can change what information successful training requires the representation to preserve. MoCo’s Instagram experiment demonstrates the use of the first role with an image-derived training target. The language-supervised works take up the second role in the pursuit of transferable features.
Retrieval makes alternative selection part of the application
Research on contrastive learning for unsupervised dense retrieval takes the comparison problem into search. Dense retrieval concerns representations used to compare a query with items that might be returned for it. In this setting, the relative scores have a direct relation to the application, since ordering alternatives is part of producing the result. MoCo uses the relative scores to train features that later support different visual predictions. The retrieval study’s stated aim carries the idea of using contrasts to acquire representations into a setting where the meaning of a good match comes from the search problem. Information retrieval and search and Unsupervised Dense Information Retrieval
The work on approximate nearest neighbors for dense text retrieval takes up the question of which negatives should be available. A negative near a query in representation space can compete strongly with its desired match. Finding alternatives through approximate neighbor search makes proximity a criterion for their inclusion. In the original visual experiment, the recency of encoded examples governs what the queue contains. The dictionary study and the retrieval study consequently give two concrete reasons to pay attention to the construction of the candidate set. How recently a key was encoded bears on its compatibility with other keys. How near it is to the query bears on the distinction the training procedure has an opportunity to teach. Approximate Nearest Neighbor Negative Contrastive Learning
The retrieval direction sharpens a distinction the MoCo ablations leave open. Adding candidates increases the chances of drawing an informative alternative, and deliberately drawing nearby candidates can change how often such alternatives are presented. For a method that uses stored representations, candidate selection and representation freshness can interact. A candidate may look near because of what the current encoder recognizes, or its position may partly reflect when it was last represented. The MoCo experiments give evidence for maintaining useful stored comparisons as the encoder learns. The later retrieval work’s stated focus gives a setting in which the choice of which comparisons to make receives attention in its own right.
Speech poses the target question for a different signal
HuBERT takes up self-supervised representation learning in speech through masked prediction of hidden units. This brings together two issues raised by the visual paper. The signal has to furnish a target that the learning procedure can use, and masking can define what information it has to infer. In MoCo, the target can be indexed by recording the shared source image, and the alternative vectors are available through the recent dictionary. In the speech work, hidden units define what the masked prediction concerns. The connection is the construction of an exercise for learning from a signal whose useful units have to be established by the procedure. HuBERT
wav2vec 2.0 pursues self-supervised representation learning for speech more broadly. Its declared goal puts the question of reusable features into a domain where the relation between useful observations cannot simply inherit the rule for paired image crops. The visual study illustrates how a procedure can decide what belongs with a query and assess whether that decision produces transferable features. The speech direction makes the design of supervision specific to a different form of input. The relationship between the works is clearest in this shared problem of deriving a learning signal appropriate to the observations and evaluating the features that result. wav2vec 2.0
These later directions put pressure on different decisions that come together in the MoCo experiment. A revised visual contrastive recipe changes what the views show and how their features are projected. Masked prediction changes the training question, language changes the source of supervision, and retrieval brings the choice of alternatives closer to the eventual use of the representation. MoCo’s specific contribution to these questions is its demonstration that earlier encodings can be reused as effective comparisons when the system controls their recency and the rate of change in the encoder. The transfer experiments give that design consequence beyond the lookup itself.
Institutions
Fields, topics and concepts
Shelves 3The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksComputer Vision and Pattern Recognition · 3,621 works
Topics 1Research subjects and languages the work is about.Language models & pretraining · 4,145 works
Concepts 1Key ideas and methods explained on our concept pages.Natural language processing · 131 works
Cite
Cite as Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie and Ross Girshick. 2019. Momentum Contrast for Unsupervised Visual Representation Learning. arXiv:1911.05722.
@misc{he2019momentum,
title = {{Momentum Contrast for Unsupervised Visual Representation Learning}},
author = {Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie and Ross Girshick},
year = {2019},
doi = {10.48550/arxiv.1911.05722},
eprint = {1911.05722},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1911.05722}
}References
- Rıza Alp Güler, Natalia Neverova, and Iasonas Kokkinos. DensePose: Dense human pose estimation in the wild. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
- Philip Bachman, R Devon Hjelm, and William Buchwalter. Learning representations by maximizing mutual information across views. arXiv:1906.00910, 2019. our card
- Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In ECCV, 2018. OpenAlex ↗ · Scholar ↗
- Mathilde Caron, Piotr Bojanowski, Julien Mairal, and Armand Joulin. Unsupervised pre-training of image features on non-curated data. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
- Ken Chatfield, Victor Lempitsky, Andrea Vedaldi, and Andrew Zisserman. The devil is in the details: an evaluation of recent feature encoding methods. In BMVC, 2011. OpenAlex ↗ · Scholar ↗
- Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. DeepLab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected CRFs. TPAMI, 2017. OpenAlex ↗ · Scholar ↗
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. arXiv:2002.05709, 2020. our card
- Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv:2003.04297, 2020. OpenAlex ↗ · Scholar ↗
- Adam Coates and Andrew Ng. The importance of encoding versus training with sparse coding and vector quantization. In ICML, 2011. OpenAlex ↗ · Scholar ↗
- Marius Cordts, Mohamed Omran, Sebastian Ramos, Timo Rehfeld, Markus Enzweiler, Rodrigo Benenson, Uwe Franke, Stefan Roth, and Bernt Schiele. The Cityscapes dataset for semantic urban scene understanding. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
- Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, 2009. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2019. our card
- Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In ICCV, 2015. OpenAlex ↗ · Scholar ↗
- Carl Doersch and Andrew Zisserman. Multi-task self-supervised visual learning. In ICCV, 2017. our card
- Jeff Donahue, Philipp Krähenbühl, and Trevor Darrell. Adversarial feature learning. In ICLR, 2017. OpenAlex ↗ · Scholar ↗
- Jeff Donahue and Karen Simonyan. Large scale adversarial representation learning. arXiv:1907.02544, 2019. OpenAlex ↗ · Scholar ↗
- Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. In NeurIPS, 2014. OpenAlex ↗ · Scholar ↗
- Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The Pascal Visual Object Classes (VOC) Challenge. IJCV, 2010. OpenAlex ↗ · Scholar ↗
- Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- Ross Girshick. Fast R-CNN. In ICCV, 2015. OpenAlex ↗ · Scholar ↗
- Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In CVPR, 2014. our card
- Ross Girshick, Ilija Radosavovic, Georgia Gkioxari, Piotr Dollár, and Kaiming He. Detectron, 2018. OpenAlex ↗ · Scholar ↗
- Aidan N Gomez, Mengye Ren, Raquel Urtasun, and Roger B Grosse. The reversible residual network: Backpropagation without storing activations. In NeurIPS, 2017. our card
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NeurIPS, 2014. OpenAlex ↗ · Scholar ↗
- 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:1706.02677, 2017. our card
- Priya Goyal, Dhruv Mahajan, Abhinav Gupta, and Ishan Misra. Scaling and benchmarking self-supervised visual representation learning. In ICCV, 2019. our card
- Agrim Gupta, Piotr Dollar, and Ross Girshick. LVIS: A dataset for large vocabulary instance segmentation. In CVPR, 2019. OpenAlex ↗ · Scholar ↗
- Michael Gutmann and Aapo Hyvärinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In AISTATS, 2010. OpenAlex ↗ · Scholar ↗
- Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In CVPR, 2006. OpenAlex ↗ · Scholar ↗
- Bharath Hariharan, Pablo Arbeláez, Lubomir Bourdev, Subhransu Maji, and Jitendra Malik. Semantic contours from inverse detectors. In ICCV, 2011. OpenAlex ↗ · Scholar ↗
- Kaiming He, Ross Girshick, and Piotr Dollár. Rethinking ImageNet pre-training. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
- Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask R-CNN. In ICCV, 2017. OpenAlex ↗ · Scholar ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. our card
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In ECCV, 2016. OpenAlex ↗ · Scholar ↗
- Olivier J Hénaff, Ali Razavi, Carl Doersch, SM Eslami, and Aaron van den Oord. Data-efficient image recognition with contrastive predictive coding. arXiv:1905.09272, 2019. Updated version accessed at https://openreview.net/pdf?id=rJerHlrYwH. 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. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
- Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015. OpenAlex ↗ · Scholar ↗
- Alexander Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. In CVPR, 2019. our card
- Yann LeCun, Bernhard Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne Hubbard, and Lawrence D Jackel. Backpropagation applied to handwritten zip code recognition. Neural computation, 1989. OpenAlex ↗ · Scholar ↗
- Sungbin Lim, Ildoo Kim, Taesup Kim, Chiheon Kim, and Sungwoong Kim. Fast AutoAugment. arXiv:1905.00397, 2019. OpenAlex ↗ · Scholar ↗
- Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In CVPR, 2017. our card
- Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft COCO: Common objects in context. In ECCV, 2014. our card
- Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015. our card
- Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In ECCV, 2018. OpenAlex ↗ · Scholar ↗
- Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, 2016. OpenAlex ↗ · Scholar ↗
- Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv:1807.03748, 2018. our card
- Deepak Pathak, Ross Girshick, Piotr Dollár, Trevor Darrell, and Bharath Hariharan. Learning features by watching objects move. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
- Chao Peng, Tete Xiao, Zeming Li, Yuning Jiang, Xiangyu Zhang, Kai Jia, Gang Yu, and Jian Sun. MegDet: A large mini-batch object detector. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
- Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. OpenAlex ↗ · Scholar ↗
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019. OpenAlex ↗ · Scholar ↗
- Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In NeurIPS, 2015. our card
- Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. our card
- Josef Sivic and Andrew Zisserman. Video Google: a text retrieval approach to object matching in videos. In ICCV, 2003. OpenAlex ↗ · Scholar ↗
- Bart Thomee, David A Shamma, Gerald Friedland, Benjamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. YFCC100M: The new data in multimedia research. Communications of the ACM, 2016. our card
- Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. arXiv:1906.05849, 2019. Updated version accessed at https://openreview.net/pdf?id=BkgStySKPB. OpenAlex ↗ · Scholar ↗
- Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and Serge Belongie. The iNaturalist species classification and detection dataset. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
- Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In ICML, 2008. OpenAlex ↗ · Scholar ↗
- Xiaolong Wang and Abhinav Gupta. Unsupervised learning of visual representations using videos. In ICCV, 2015. OpenAlex ↗ · Scholar ↗
- Yuxin Wu, Alexander Kirillov, Francisco Massa, Wan-Yen Lo, and Ross Girshick. Detectron2. https://github.com/facebookresearch/detectron2, 2019. OpenAlex ↗ · Scholar ↗
- Zhirong Wu, Yuanjun Xiong, Stella Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In CVPR, 2018. Updated version accessed at: https://arxiv.org/abs/1805.01978v1. OpenAlex ↗ · Scholar ↗
- Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Mang Ye, Xu Zhang, Pong C Yuen, and Shih-Fu Chang. Unsupervised embedding learning via invariant and spreading instance feature. In CVPR, 2019. OpenAlex ↗ · Scholar ↗
- Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In ECCV, 2016. OpenAlex ↗ · Scholar ↗
- Richard Zhang, Phillip Isola, and Alexei A Efros. Split-brain autoencoders: Unsupervised learning by cross-channel prediction. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Chengxu Zhuang, Alex Lin Zhai, and Daniel Yamins. Local aggregation for unsupervised learning of visual embeddings. In ICCV, 2019. Additional results accessed from supplementary materials. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2019-momentum-contrast-unsupervised-visual-representation/