SimMIM: a Simple Framework for Masked Image Modeling
Paper · 2022 · Zhenda Xie, Zheng Zhang, Yue Cao et al.
Summary
A photograph can supply its own training exercise. Cover some of it, show a learner the remaining regions, and compare its predictions with the original colors. SimMIM asks when that exercise teaches something useful for recognizing objects or locating them in other images. The challenge is that nearby pixels often resemble one another. A learner can fill a small gap using the colors at its edge, and a convincing fill may reveal little about whether its internal features will help with recognition. The paper tests how to make the exercise demanding enough to yield a useful visual encoder, the part of the system that converts an image into features.
SimMIM randomly hides patches on a grid, using squares with a side length of 32 pixels in its default design. The encoder receives the visible content and learned placeholders for the missing parts. A single linear layer converts the resulting features into estimates of red, green, and blue values. During pretraining, error is measured only where the image was hidden. This keeps numerical color information in its original form and dispenses with a separate network for assigning images to a vocabulary of visual tokens. The encoder can then be adapted to a labeled task through fine-tuning.
The comparisons explain why the details matter. A patch can be large enough to put some of its hidden pixels well away from visible evidence, even when much of the image remains in view. Increasing the amount hidden helps smaller patches, while making patches larger than the default can hurt transfer. Estimating color directly performs at least as well as the more elaborate classification targets tested. A heavier prediction head can lower the pixel error while leaving behind an encoder that adapts less well. Training on visible regions as well as hidden ones can likewise produce better-looking completions and weaker classification results.
With ViT-B and ImageNet-1K data for both training stages, SimMIM reaches 83.8% top-1 classification accuracy after fine-tuning, a reported gain of +0.6% over BEiT. SwinV2-H, with 658M parameters, reaches 87.1% top-1 accuracy using ImageNet-1K alone. The paper also describes how SimMIM helped train the 3-billion-parameter SwinV2-G model using a private dataset far smaller than JFT-3B and presents results on four tasks: action recognition, semantic segmentation, object detection, and image classification. The strongest conclusion is about transfer under these training procedures. A simple pixel-prediction exercise can provide a strong starting point for several vision tasks, and the quality of a completed image is an unreliable guide to the value of that starting point.
Deep dive: SimMIM: a Simple Framework for Masked Image Modeling
SimMIM learns visual representations by predicting hidden pixels, then tests how masking, prediction targets, and decoder size affect transfer. · about 38 minutes to read
The problem and its context
How much can an image teach without a label?
A supervised recognition system receives an image and a label chosen for the task. The label says which distinction the learner is supposed to make. Self-supervised learning gets its training targets from the examples themselves. To construct a masked prediction exercise, the training procedure sets aside part of an example, exposes the rest to the learner, and uses the part it set aside to judge the answer. A collection of photographs can supply these exercises without anyone specifying what each image depicts.
The paper takes inspiration from masked language modeling. In the setup associated with BERT, some text tokens are hidden and the surrounding text supplies evidence for recovering them. A token here is an item from the vocabulary used to represent a sequence. Learning to predict missing items gives the system repeated opportunities to learn relationships between visible parts of the input and unseen ones. The authors cite RoBERTa and work on autoregressive text prediction as related examples of the reach of self-supervised prediction. Their question is which properties of that approach carry over when the input is spatial and its values describe colors. BERT · RoBERTa
The first difficulty is locality. In a photograph, a pixel in the middle of a nearly uniform surface is likely to resemble its neighbors. Concealing that pixel leaves much of the information needed to guess it close at hand. Concealing the interior of a larger piece of the same surface may require the learner to work from more distant evidence. This is a property of the exercise before any learning takes place. The masking rule determines which evidence is available and how far away it lies. A visual learner can therefore make progress on the temporary task through patterns that have limited value for recognizing objects.
The second difficulty is the level of the target. A word or other text token can carry distinctions that people already use to express meaning. A color measurement records appearance at a position. A surface may have similar color values across many pixels, and that similarity on its own provides little information about which named object the surface belongs to. Conversely, objects with the same category label can have different colors. The authors ask whether all the work of recovering low-level measurements can still yield features that help with higher-level decisions. It is a question about what prediction teaches indirectly.
The third difficulty concerns the form of the answer. For a discrete vocabulary, a predictor scores possible identities. For an ordered color value, numerical distance is meaningful. A predicted shade close to the original can be a better approximation than one far away, even when neither matches it exactly. A visual method can preserve this ordering through regression, which predicts numerical values, or create a set of categories and turn recovery into classification. The success of vocabulary prediction in text gives a reason to investigate classification for images. The structure of color values gives a separate reason to try regression.
These difficulties concern different parts of the same exercise. The geometry of the mask controls how accessible the evidence is. The target controls what counts as an answer. The eventual application determines whether the features learned in solving that exercise are worth carrying forward. For an image method inspired by masked text prediction, each of these questions needs its own answer.
From context prediction to masked image learning
SimMIM situates itself in a line of visual learning that was already exploring missing information. The context encoder hid a rectangular area and trained a system to fill it. Contrastive predictive coding posed patch prediction as a verification problem within a batch of training examples. Colorization and split-brain approaches made some color information available and asked the learner to recover other channels. Jigsaw solving and rotation prediction used other transformations to create training signals from the images themselves. The examples illustrate how self-supervision can define quite different jobs even when it begins with the same kind of data.
The authors describe contrastive learning as the preceding mainstream of visual self-supervision. Contrastive methods learn through judgments about which representations should agree or be distinguished. A masked pixel objective instead receives a spatially specified numerical target from the original image. That difference affects the role of the prediction head, the component that reads the encoder features and turns them into an answer for the temporary exercise. A head that works well for one type of objective need not impose the same demands on the encoder for another. Momentum Contrast · SimCLR
The more immediate predecessors brought visual prediction to architectures based on the Transformer and attention. iGPT grouped pixel colors into clusters and used the resulting categories as targets. ViT investigated predicting average color. BEiT used an additional discrete variational autoencoder to assign target identities to image patches. It also used block-wise masking, which hides patches in structured groups. These choices tackle different aspects of the problem. Mean color suppresses some spatial detail, clustering gives color a discrete vocabulary, and a learned tokenizer can assign a target to a whole patch. Grouping the masked patches changes the surrounding evidence that the learner can use. ViT
The paper also relates the work to compressed sensing and sparse inference. Its point in doing so is that a visual signal often contains redundant information. Recovering an image from a subset of its measurements and recognizing an image after dropping some of its features are separate problems, but both motivate asking how much can be learned from an incomplete view. SimMIM asks this question at the input, before the encoder has produced its features. The design issue is how to retain enough evidence to make a sensible prediction while withholding enough to make the exercise informative.
What is the completion for?
The authors discuss autoencoders as another family that learns by recovering an original signal. An autoencoder uses an internal representation as an intermediate step in reconstructing its input. The paper describes that line of work in terms of how regularization or an architectural bottleneck can make the representation useful. SimMIM puts the emphasis on withholding selected information at the input. The procedure can then ask specifically whether learning to infer the withheld part produces a useful encoder. Both sorts of exercise can be expressed as recovery of image values, while their supervision places different demands on the features. Auto-Encoding Variational Bayes
Image inpainting gives the same activity another purpose. When the finished image is the product, coherence and fidelity in the filled region are directly relevant. For SimMIM, filling the gap produces a training error that updates the encoder. The head that generated the fill is temporary. Success ultimately depends on what happens when the encoder is adapted to an application with its own outputs and labels. That makes it possible for a design decision to be good for inpainting and poor for the purpose of the paper.
The study consequently asks a set of concrete questions about the visual exercise. How should the mask be arranged? How much work should the temporary head do? Should the answer be a color estimate or a class identity? How much detail should the target retain? Treating these as separate decisions gives the authors a way to investigate what the training procedure asks the encoder to learn, alongside the practical question of how well the assembled system performs.
The method, step by step
Make an incomplete input and keep the answer
Consider a training crop that contains a sailboat. The mask is chosen on the image grid, so it can fall across the sail, the water, or both. The original crop still exists on the target side of the exercise. The encoder receives embedded patches from the visible portions and a learned placeholder wherever content has been withheld. A prediction head reads the encoder output and estimates colors. To update the system, SimMIM compares the estimates with the crop at the hidden positions. The sailing example requires no sailboat label at this stage. Its pixel values supply the correction signal.
Once pretraining is complete, the encoder weights provide an initialization for a task such as classification. The color-prediction head has served its purpose. For classification, the adapted system learns to produce category scores. The transfer result therefore concerns what the shared encoder retained from solving the masking exercise and how those weights respond to supervision for a new task.
How SimMIM trains and transfers an image encoder
The steps in order.
For the main controlled experiments, the authors use ImageNet-1K with Swin-B as the backbone, meaning the main feature extractor reused across tasks. The prepared image has a resolution of 192². Swin processes features in spatial windows, and the authors set the window size to 6 to suit this experimental resolution. The input size helps keep the repeated training runs manageable. The authors also study configurations with other input sizes in their comparisons with prior work and in the scaling experiments. Swin Transformer
The pretraining image goes through a randomly resized crop with a scale range of [0.67, 1] and an aspect-ratio range of [3/4, 4/3]. Scale controls the extent of the crop, and aspect ratio controls its proportions. Random flipping and color normalization follow. The crop and flip vary the view available for constructing a prediction problem. Normalization is also part of the preparation, so the phrase raw pixels describes the use of image values as targets, in contrast to assigning those values to categories. The prepared input and its target share a common spatial frame. This allows the training procedure to compare a predicted value at a location with the original value at that same location.
Select the regions and represent the mask
The random masking scheme selects whole squares from a grid. Its default patch size is 32 × 32 pixels, and the default mask ratio is 0.6. The ratio sets the share selected for hiding. The patch dimensions determine the shape and extent of each selected region. Increasing the ratio and increasing the patch size can both leave a target farther from visible input, but they change the layout in different ways. In particular, pixels well inside a large square can be separated from the nearest visible evidence by other hidden pixels even when every bordering square is visible.
Masking size refers to a region in image coordinates. The encoder can process that region using finer input units. For Swin, the studied scales correspond to different stages of the hierarchy, from 4 × 4 up to 32 × 32. The latter matches the spatial scale of the last stage and is the default. The study also uses 32 × 32 masking regions for ViT. This means that the size of a masking square should be read as the extent of a decision to withhold image content. The stages of the encoder still determine the spatial layout of the internal features.
The alternate masking rules rearrange where the hidden content lies. One uses a single square whose location can vary, adapting an earlier approach that put the rectangle in the center. Another follows BEiT in assembling blocks, with experiments using 16 × 16 and 32 × 32 masking patches. A figure holds the masking ratio at 0.6 and shows the different layouts. The same overall fraction can yield a single broad interior, groups of adjoining missing positions, or smaller holes distributed over the crop. The comparison matters because a ratio alone says little about the distance from a target pixel to the closest evidence.
Once the positions are chosen, SimMIM makes the input incomplete by replacing the corresponding patch embeddings. An embedding is the vector representation the encoder expects at a patch location. The learned mask vector has the same dimension as an ordinary embedded patch. It can occupy a position in the input without conveying the color content withheld there. Learning the vector allows training to determine a useful representation for the fact that a position is masked. The actual color values at those positions are retained for scoring the predictions.
Send features back to the pixel grid
The encoder turns the incomplete input into a spatial arrangement of feature vectors. Each vector can express information drawn from the visible input through the encoder’s operations. The prediction head must translate these features to the coordinate system and format of the targets. With a full-resolution color target, that means producing one estimate for each color channel at each pixel in the corresponding output region.
For ViT, the paper describes the encoder feature map as downsampled by 16×. In the Swin example, the output is downsampled by 32×. Downsampling here describes the spatial spacing of feature locations relative to pixels in the input. Each location in the Swin output is assigned responsibility for a corresponding 32 × 32 block of pixels. A 1 × 1 convolution serves as the linear projection applied at each feature location. The output width of that projection is given by the following relationship.
3072 = 32 × 32 × 3
The value 3072 is the number of scalar predictions made at a Swin feature location. The two instances of 32 are the height and width of its assigned block in pixels. The 3 counts the red, green, and blue channels. The multiplication signs combine the spatial dimensions and channel count, and the equals sign identifies the resulting projection width. Arranging those outputs into their assigned pixel positions gives predictions on the image grid.
A short projection can thus emit a spatially detailed answer. Depth in the prediction head and detail in its output are separate design choices. The authors also try a multilayer perceptron with 2 layers and decoder variants they call inverse Swin-T and inverse Swin-B. Each is another way of translating the encoder output into the pretraining answer. They can be compared with the linear mapping while leaving the intended downstream role of the encoder the same.
The authors also vary the spatial resolution of the answer. They construct lower-resolution targets by downsampling the original image, considering factors of 32×, 16×, 8×, 4×, and 2×. Predicting a coarser target asks the learner to recover broad color variation with a thinner account of fine spatial detail. In the default ablation setting, the target grid has the full 192² resolution of the prepared image. Target resolution specifies what an accurate prediction should reproduce; mask size specifies the extent of the evidence withheld. These settings affect different parts of the exercise.
Score the hidden values
The default target is a numerical estimate for each RGB value, and the loss is the mean absolute error over the hidden part. This is the equation that governs how those estimates contribute to pretraining.
L = ‖yₘ − xₘ‖₁ / Ω(xₘ)
Here L is the loss. The vector x contains the original RGB values, and y contains their predictions. The subscript m denotes restriction to M, the set of masked pixel positions. Thus xₘ and yₘ retain the channel entries at those positions. The minus sign gives the prediction residuals, and ‖ ‖₁ sums their absolute magnitudes. Ω(xₘ) counts the scalar entries retained in the target vector. The division converts the sum into an average, and the equals sign defines L by that average. An error contributes according to its magnitude, regardless of whether the estimate is above or below its target.
The paper gives the full vectors their dimensions before the mask is applied.
x, y ∈ ℝ^(3HW × 1)
The comma lists the two vectors x and y. The membership sign ∈ places both in the real-valued space denoted by ℝ with the dimensions shown in parentheses. H is the image height, W its width, and 3 is the number of color channels. The product 3HW counts the scalar entries, while × 1 denotes a single column. Restricting these vectors to the masked positions retains the RGB entries associated with M. The count in the loss is therefore a count of color values, with the mask choosing which pixels supply them.
The encoder can use visible patches when forming its features, although visible positions supply no direct error term in this objective. Keeping those roles distinct explains how the system can produce an output at a visible location without having learned to reproduce its color accurately. The loss can also be implemented over the full grid. That variant asks for both the hidden predictions and a reproduction of the pixels that were visible at input. The authors use it as a comparison with the default.
For regression, the study also tries ℓ₂ and smooth-ℓ₁ losses. These alternatives change the way residual magnitudes are penalized and leave the color channels as numerical targets. The classification alternatives change the targets themselves. The loss in those variants operates on scores for categories defined before the predictor makes its answer. A good prediction then means assigning a high score to the appropriate category.
One classification target adopts iGPT’s 512 color centers. Those centers were obtained by k-means, a clustering procedure, and a pixel takes the identity of the closest center. The resulting 9-bit palette is reused in the experiment. Another target follows BEiT and uses a discrete variational autoencoder, or dVAE, to turn image patches into token identities. That procedure requires the network that assigns the identities to be trained separately. A third option divides the numerical range of each color channel into equal bins and predicts the bin for each channel. The experiments include 8 and 256 bins. This last option creates classes without first learning a palette across channels or training a patch tokenizer. Zero-Shot Text-to-Image Generation
The word token has distinct roles in the masking and target procedures. A mask token occupies a position in the encoder input and stands for the withheld content. A discrete visual target token is an identity that a prediction variant must recover. SimMIM retains the learned input placeholder with its default regression target. The original RGB entries provide the answers in that configuration.
Train the encoder and adapt it
The default Swin-B ablation pretraining runs for 100 epochs. An epoch here describes a pass through the training data. The authors use AdamW with a batch size of 2048 and base learning rate 8e-4. Weight decay is 0.05. The optimizer coefficients β₁ and β₂ are 0.9 and 0.999, respectively. A warm-up of 10 epochs precedes the main part of the cosine schedule, which varies the learning rate smoothly. A learning-rate setting determines the scale of the updates during training. Adam
The supervised stage for the controlled comparison also lasts 100 epochs, with a cosine schedule, a 10-epoch warm-up, and a batch size of 2048. The base learning rate is 5e-3. Weight decay and the AdamW coefficients use the same values as in pretraining. Stochastic depth, which introduces variation in the active network during training, is set to 0.1. The layer-wise learning-rate decay is 0.9, so the rate used in adaptation can differ across the depth of the encoder. The supervised procedure follows BEiT’s augmentation and regularization recipe. It uses RandAug, Mixup, and CutMix, as well as label smoothing and random erasing. RandAugment · Mixup · CutMix · Stochastic Depth
That supervised stage tests whether pretraining supplies an initialization worth adapting. The paper also includes linear probing for its comparison with earlier approaches. A linear probe trains a classifier on features from a fixed encoder. Its score reflects how readily a linear decision rule can use the existing features. Fine-tuning allows the encoder features to change in response to the labels and reflects how the authors intend the weights to be used. For that reason, the paper gives fine-tuning the main role in judging design choices. The authors released the official SimMIM code in the microsoft/SimMIM repository.
Experiments and results
Which result answers which question?
The paper uses the brief Swin-B runs to compare components, longer runs with ViT-B to compare complete pretraining approaches, and a series of Swin encoders to test scaling. It also reports transfer experiments on tasks with different outputs and an experiment with a convolutional encoder. Common backbones make some of the comparisons easier to interpret. Matching the backbone in the ViT-B comparison fixes the architectural family and capacity of the encoder while allowing pretraining recipes to differ. Comparing each Swin variant with its supervised counterpart asks what changes when that backbone receives masked pretraining first.
For classification, top-1 accuracy credits an example when the highest-scoring category matches the label. A fine-tuning score is the accuracy reached by the adapted classifier, including the effect of supervised training. Pixel loss measures a different event, the error in recovering hidden color values during the temporary task. The paper also distinguishes top-1 accuracy from the spatial metrics used in transfer. On COCO, mean average precision, or mAP, summarizes detection quality. Box mAP uses bounding boxes, while mask mAP uses object masks. On ADE20K, mean intersection over union, or mIoU, summarizes how well predicted category regions overlap the corresponding labeled regions. These metrics are reported for their own tasks. Microsoft COCO
ViT-B against earlier self-supervised approaches
The system-level comparison uses ImageNet-1K to pre-train and fine-tune ViT-B. In pretraining, the authors increase the duration to 800 epochs and use a 224² input to align the image resolution with the prior approaches. A cosine schedule follows a 20-epoch linear warm-up. The remaining pretraining settings follow the controlled experiments. Fine-tuning uses a layer-wise decay of 0.65, following BEiT, with the other settings carried over from the main ablation procedure.
With this setup, SimMIM obtains 83.8% top-1 accuracy after fine-tuning on ImageNet-1K. The paper gives the margin over BEiT as +0.6%. The match in backbone is important because an improvement could otherwise be explained by a stronger feature extractor. The result shows that a system using direct color prediction can compete with a complete pretraining recipe that assigns learned discrete identities to image patches. The target ablation, which changes the objective within the SimMIM setting, provides a separate test of the role of those identities.
The ViT-B comparison includes DINO, MoCo v3, and the earlier masked-prediction approach in ViT, in addition to BEiT. On the paper’s relative training-cost measure, SimMIM is reported as 2.0× as efficient as DINO, 1.8× as efficient as MoCo v3, roughly 4.0× as efficient as the earlier ViT approach, and 1.5× as efficient as BEiT. The comparison with BEiT leaves the separate dVAE training stage outside the cost being compared. These figures concern the authors’ comparison of complete runs. They are distinct from the cost of substituting a different prediction head within SimMIM. DINO
For linear probing, the authors follow BEiT’s practice of choosing the intermediate ViT-B layer with the strongest probe performance. The probe is trained for 100 epochs and uses a 5-epoch linear warm-up. The choice of layer is part of the protocol because it determines which features the linear classifier receives. The paper includes this comparison for continuity with earlier reporting and uses the fully adapted classifier as its main measure of the practical value of pretraining.
Swin at increasing capacity
The Swin scaling experiments use 192² inputs during pretraining and switch to a step learning-rate schedule. The initial rate of 4e-4 covers 7/8 of the pretraining run. For the rest, the rate is reduced by a factor of 10. Having an initial stage of training that can be shared makes it cheaper for the authors to examine different run lengths. This schedule is the one used for the scaling series; the paper also reports a separate scheduler ablation with its own settings.
Swin-B, Swin-L, and SwinV2-H each receive 800 epochs of pretraining using ImageNet-1K. V2 is used for the H and G sizes because the authors report that those variants improve training stability. In adaptation on ImageNet-1K, the ordinary fine-tuning resolution is 224². For SwinV2-H, the paper also evaluates 512². The fine-tuning schedule is 100 epochs for Swin-B and Swin-L, and 50 epochs for SwinV2-H. In the same backbone order, the layer-wise decay settings are 0.8, 0.75, and 0.7. The other supervised settings follow the ablation recipe.
All of those ImageNet-1K backbones improve over their supervised counterparts according to the paper. The highest reported top-1 accuracy in this series is 87.1%, obtained by the 658M-parameter SwinV2-H with the 512² fine-tuning resolution. The authors describe it as the highest result among the approaches they considered that used just ImageNet-1K data. The data source and resolution are part of the result. The experiment shows performance of a larger encoder with masked pretraining and a specified adaptation procedure. The comparisons to supervised runs within each backbone address the benefit of adding pretraining more directly than the ranking of scores across backbones.
The SwinV2-G application
The largest application changes the data source as well as the capacity. The 3B-parameter SwinV2-G uses ImageNet-22K-ext, a privately assembled dataset. The authors describe SimMIM as helping train that system with a dataset roughly 40× smaller than JFT-3B, the source they associate with previous practice for billion-parameter vision systems. This is a comparison of data scale across reported applications. It says how the large system was trained relative to that precedent and leaves the contributions of individual changes to the training pipeline open.
The application reaches 84.0% top-1 accuracy on ImageNet-V2 image classification. On COCO, the authors give 63.1/54.4 for box and mask mAP, respectively. The ADE20K semantic segmentation result is 59.9 mIoU. On Kinetics-400 action recognition, top-1 accuracy is 86.8%. The tasks span selecting a category for an image, identifying and locating objects, assigning categories at spatial positions, and recognizing actions. The figures belong to separate benchmarks with separate outputs. Taken together, they establish the breadth of the large system’s evaluation. The paper refers the details of that application to the SwinV2 study.
Recognition with a long tail and transfer to spatial tasks
The downstream experiments in the appendix use more than one route from pretrained weights to a target task. For iNaturalist 2018, the task is species classification with a long-tailed distribution, meaning that some categories are represented much more frequently than others. The dataset has more than 8,000 categories. The paper lists 437,513 images for training and 24,426 for validation. This setup extends the classification evidence to a collection with a different balance of categories from the principal evaluation.
The iNaturalist fine-tuning runs for 100 epochs with AdamW. The batch size is 2048, the base learning rate is 1.6e-2, and weight decay is 0.05. The coefficients β₁ and β₂ are 0.9 and 0.999. The stochastic-depth setting is 0.1, and the layer-wise learning-rate decay is 0.9. The augmentation and regularization follow the classification recipe used in the main work. The reported comparison for this target task is used in the appendix to examine prediction heads, target choices, and masking, extending the ablations beyond ImageNet.
For COCO, the authors use Mask-RCNN to adapt the backbone to object detection and mask prediction. Each system follows a 3× training schedule, specified as 36 epochs. The learning rate is 6e-5, weight decay is 0.05, and the batch size is 32, with AdamW as the optimizer. The augmentation includes large changes of scale in the range [0.1, 2.0] with a 1024 × 1024 resolution. Swin-B uses a window size of 7, and Swin-L and SwinV2-H use 14. This comparison puts the encoder inside a system that has to use spatial features to localize objects.
For ADE20K, the authors adapt the backbones with UPerNet, a semantic segmentation framework. Training uses 512 × 512 input resolution and window size 20 for 80K iterations. With AdamW, the batch size is 32, weight decay is 0.05, and layer-wise decay is 0.9. The search for a learning rate uses 1e-4 and 3e-4 as its stated bounds. At inference the authors use multiple scales, listed as [0.75, 0.875, 1.0, 1.125, 1.25]× relative to 512 × 2048. Semantic segmentation evaluates the shapes and positions of category regions, so it puts the adapted representation to work across the image.
The initialization path for ADE20K is important. The authors start segmentation training from weights that have already been fine-tuned with ImageNet-1K labels. They report better performance with those weights than with direct initialization from self-supervised pretraining. In this experiment, the starting point for segmentation therefore carries the effects of both masked pretraining and supervised image classification.
The paper reports the spatial transfer gains relative to supervised counterparts with the corresponding backbones. On COCO, the increases in box mAP are +2.1 for Swin-B, +2.9 for Swin-L, and +4.2 for SwinV2-H. On ADE20K, the gains in mIoU are +2.4, +3.5, and +4.4 in the same order. The direction of the gain is consistent across these comparisons. The larger gains among the bigger backbones also motivate the authors’ suggestion that larger encoders can benefit more from SimMIM, within the capacity range and training procedures evaluated here.
A convolutional encoder
To test a different architecture, the paper applies SimMIM to ResNet-50×4. The masking operation is moved to the features after the convolutional stem, the initial part of the encoder that processes the image before the subsequent feature stages. The stem contains a 3 × 3 convolution with stride 2, followed by 2 × 2 max pooling. Stride sets the spacing of the convolution’s applications, while max pooling selects the largest activation in each local pooling region. Learned mask tokens replace selected features at that point. The overall training setup follows the Swin-B procedure.
Using 300 epochs of pretraining and 100 epochs of fine-tuning, this configuration attains 81.6% top-1 accuracy on the ImageNet-1K validation set. The supervised counterpart obtains 80.7%. The reported gain is +0.9%. This result matters because a convolutional stem changes the point at which the masking rule is applied. The masked-prediction objective still yields an encoder that improves on the corresponding supervised baseline in this experiment.
ResNet-50×4 on the ImageNet-1K validation set
The encoder initialized through masked pixel prediction achieves higher classification accuracy.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| Supervised ResNet-50×4 | 80.7 |
| ResNet-50×4 with SimMIM (this paper) | 81.6 |
What the ablations show
Spatial scale changes what the learner has to do
The controlled experiments use the Swin-B recipe and assess the adapted classifier on ImageNet-1K. The default pretraining lasts 100 epochs. It hides randomly selected squares with side length 32 at mask ratio 0.6, predicts the 192² target through a linear head, and scores the hidden values with ℓ₁ loss. The authors vary the component being studied and keep the rest of the recipe fixed. When a component has multiple settings, such as patch size and mask ratio, comparisons across those settings help show whether the effect of one depends on the other.
Random masking attains a best top-1 accuracy of 83.0% after fine-tuning in the masking strategy study. The paper reports an advantage of +0.3% over the best of the more structured alternatives. With patches of size 32, competitive performance extends across the stated mask-ratio range of 10%-70%. This matters for the interpretation of random selection. A choice that succeeds across that span can produce a useful exercise even when there is considerable visible content. The authors suggest that depth inside the individual hidden square can already put some pixels at a meaningful distance from visible input.
At smaller patch sizes, the ratio has a clearer effect in the cases compared. For patch sizes 4, 8, and 16, raising the ratio from 0.4 to 0.8 gives reported ImageNet-1K top-1 accuracy gains after fine-tuning of +0.2%, +0.4%, and +0.4%, respectively. Covering more of the grid increases the opportunity for adjoining small patches to be hidden together. This can deny a hidden pixel access to the nearby evidence it would still have if the masked patches were more scattered. The comparison below shows the paired settings. The starred setting is the strongest of these smaller-patch cases.
Small random patches at different masking ratios on ImageNet-1K
A higher masking ratio improves the fine-tuned result at each patch size shown.
The numbers
| System or setting | top-1 fine-tuning accuracy % |
|---|---|
| Patch size 4, ratio 0.4 | 81.9 |
| Patch size 4, ratio 0.8 | 82.1 |
| Patch size 8, ratio 0.4 | 82.0 |
| Patch size 8, ratio 0.8 | 82.4 |
| Patch size 16, ratio 0.4 | 82.4 |
| Patch size 16, ratio 0.8 (this paper) | 82.8 |
Those improvements with a higher mask ratio still leave the smaller-patch runs below the strongest performance at size 32. At size 64, performance also declines. The authors propose that the prediction may become too difficult when the nearest visible information is far from much of the target area. The broad pattern is consistent with a middle range of difficulty. Some withholding makes nearby evidence less sufficient, while extensive spatial separation can make an accurate estimate too weakly determined by what is visible.
AvgDist describes the mask geometry
To compare spatial layouts on a common scale, the authors introduce AvgDist. They take each hidden pixel, find the closest visible pixel in straight-line distance on the image grid, and average the resulting distances. This statistic is determined by the mask, so it can be computed independently of the encoder’s success at prediction. Two masks with the same fraction hidden can differ in AvgDist if one leaves exposed pixels close to most targets and the other forms large masked interiors.
In the authors’ comparison, AvgDist rises as the mask ratio increases. With random patch sizes of 4 or 8, it starts relatively low and rises slowly. Large patches behave differently. At size 64, even a mask ratio of 10% can create comparatively large distances. The square and block-wise alternatives can also give high values. The authors use these observations to relate the differences among masking strategies to a property of the evidence actually available at the input.
When ImageNet-1K fine-tuning accuracy is plotted against AvgDist, the successful outcomes form a ridge. The authors place much of the higher-performing region roughly in the range [10, 20]. Larger and smaller distances are associated with weaker scores in the comparison. The appendix examines the relationship for additional transfers, including iNaturalist, COCO, and ADE20K, and identifies 15 as an empirically favorable AvgDist. These values describe the reported experiments with their image coordinates and training setup.
The proposed explanation concerns the kind of dependency that the prediction exercise rewards. A target close to visible input may be predicted from local color or texture. A target deeper in a gap puts more weight on what can be inferred from surrounding regions and on patterns encountered across training images. A very large gap can still leave several plausible completions and remove much of the evidence favoring the particular original. AvgDist captures one part of that progression. The authors also hypothesize that differences in signal redundancy help explain why masked language work can use a default ratio of 15% while their visual experiments can tolerate much more extensive masking.
A better pixel predictor can transfer worse
The head comparison puts the same temporary task in the hands of heads with different capacities. A linear projection reads out pixel estimates directly from the encoder features. A multilayer head can transform those features further before arriving at an estimate. The comparison includes a 2-layer perceptron and the two inverse Swin heads. This design asks whether giving the prediction stage more capacity changes what the encoder contributes after that stage is removed.
The heavier heads generally give lower pixel losses. Inverse Swin-B yields a loss of 0.3722, while the linear head gives 0.3743 in the example reported. The direction changes when the result is measured as ImageNet-1K classification after fine-tuning. The lightweight head gives the stronger transfer result in that comparison. It also costs less to train. The paper reports that the inverse Swin-B head makes training 2.3× as costly as the linear head.
The authors suggest that a substantial prediction head can perform some of the useful transformations within the head itself. Once the head is discarded, any prediction ability specific to that head goes with it. This is a plausible explanation of the different rankings. The measurements directly show that more effective pixel prediction by the combined encoder and head can coincide with less effective initialization for classification. They give the linear head a practical advantage on both transfer and cost in the comparison.
The appendix extends head comparisons to additional tasks. It reports that light heads generally perform better on most of the tasks included and cites advantages of +0.4% for ImageNet-1K classification, +0.3% for iNaturalist 2018 classification, and +0.6 on the ADE20K segmentation measure. The paper also notes that multilayer heads have played a helpful role in contrastive methods, particularly when success is measured by linear probing. A head’s effect depends on the learning objective and on what is expected of the encoder afterward. Here the main test permits full adaptation, and the simpler head is sufficient to support it.
The color target has a range of useful detail
In the resolution comparison, a lower-resolution training target retains broad appearance and removes fine variations in where individual colors occur. Across the tested regression targets from 12² to 192², the paper finds broadly comparable ImageNet-1K fine-tuning performance. At 6² the transfer score drops. That outcome suggests a range within which the overall scene structure represented by the target is already rich enough for the classification result, with the coarsest target losing useful distinctions. The paper keeps 192² as the default because it ties for the strongest transfer performance and its added computation is negligible in the reported setup.
The target-type experiments ask whether selecting a class makes the temporary task more useful. Absolute error, smooth-ℓ₁, and ℓ₂ produce similar downstream performance. The color clusters and learned visual tokens do slightly worse than the authors’ default regression target. That gives the continuous treatment a strong empirical basis under this design. There is also a practical consequence. The direct target is available with the prepared image, while a learned palette takes clustering and a learned visual vocabulary takes separate tokenizer training.
Channel-wise bins perform competitively with regression for a suitable bin count, with 8 bins singled out in the main discussion. The appendix varies spatial resolution and bin count together under Swin-B and 100-epoch pretraining. For targets with 2 or 4 bins, the best classification accuracy occurs at 192². For the other bin counts tested, the best scores occur at 6². The results show that spatial and color granularity can interact. A target can have only coarse color distinctions while making them at many locations, or retain finer color distinctions on a coarser spatial grid. The strong result for a 6² target under some discretizations belongs to that joint comparison. The weak result at that resolution in the regression study belongs to a different target construction. In the downstream appendix, the default regression objective also matches or exceeds the studied classification targets on the additional tasks according to the authors.
The locations contributing to the loss matter
The loss-region experiment keeps a masked input and changes how the image contributes to the objective. One version scores predictions only where the input was hidden. The other also scores the visible portion. The latter objective contains both inference from partial evidence and reproduction of values the encoder could observe. The visible values may supervise the preservation of local content, and they also change the distribution of errors taking part in the updates.
The version trained only on hidden positions gives the better ImageNet-1K top-1 accuracy after fine-tuning. This is a direct test of adding visible-region recovery to the authors’ exercise. The accuracy gap matters because the added targets can look like an easy way to provide more supervision. In the reported comparison, using the extra targets leaves the resulting encoder less useful for the chosen transfer task.
Regions included in the pre-training loss on ImageNet-1K
Scoring only the hidden region yields higher classification accuracy after fine-tuning.
The numbers
| System or setting | top-1 fine-tuning accuracy % |
|---|---|
| Hidden and visible pixels | 81.7 |
| Hidden pixels only (this paper) | 82.8 |
The full outputs from this experiment also illustrate how the training objective shapes appearance. The version trained to recover the entire image produces more coherent-looking output. Under masked-only supervision, the predicted output at visible positions can have pronounced checkerboard artifacts. The training signal supplied no direct reason for the head to reproduce those visible pixels faithfully. A reader judging the appearance of the full output would therefore reward a property that the masked-only setup deliberately leaves outside its loss. The adapted classifier gives the opposite preference in the authors’ comparison.
What the completed examples reveal
The authors inspect completions from the ImageNet-1K validation set with masks that leave different amounts of evidence about the main object. With random masks that obscure some of an object, the predicted regions can recover aspects of shape as well as texture. The paper illustrates this behavior with, among other scenes, a penguin and a sailboat. These examples help make sense of the quantitative masking experiments. Depending on the layout, some missing portions extend far enough that it is informative to see how the prediction fits into the surrounding object.
In another set of examples, masks cover more than 90% of a main object while leaving small clues. The predictions can still suggest that an object is present. When the masks cover the object completely, the paper shows the gap being filled with background-like texture. These examples vary the kind of evidence left visible, including whether a clue about the object itself survives. The authors interpret the results as evidence that the encoder uses context about objects beyond simple copying of adjacent pixels.
A separate illustration holds the mask ratio at 0.6 and varies the patch size across 4, 8, 16, 32, and 64. The smaller gaps let the predictor recover finer details. In the fine-tuning comparison, those smaller patches give weaker transfer than the larger default. The pictures make the difference between an easy recovery task and useful pretraining concrete. A completion can fit its neighbors closely because the neighbors carry detailed information about the target. The availability of that information helps explain why recovering fine detail can favor a different masking choice from the choice favored by classification.
Optimization makes a smaller difference in a separate check
The scheduler ablation compares cosine variation with a schedule that lowers the learning rate at discrete times. Both versions have a 10-epoch linear warm-up. The step schedule starts with a learning rate of 8e-4 and divides the current rate by 10 at each of two milestones, when training is 90% and 95% complete. The authors otherwise follow the default ablation setup. This makes the comparison a check on optimization within the same masked-prediction exercise.
Relative to the cosine schedule, the step schedule gives a reported ImageNet-1K fine-tuning accuracy advantage of +0.1% with 100 epochs of pretraining and +0.3% with 300 epochs. These figures apply to the scheduler comparison just described. For the scaling series, the authors use the different step schedule with a reusable initial training stage. Including both results makes clear which schedule was tested for its effect on accuracy and which was organized to save work when varying the training length.
Limitations
Scope the authors identify
The authors explicitly leave the downstream effect of prediction resolution open for tasks that need fine spatial detail. Their main resolution study uses ImageNet-1K classification. A classifier can succeed by finding features that identify what is present, while a detector or a segmenter also needs to localize the relevant evidence. The appendix evaluates those latter tasks and extends several component comparisons to them. The particular question of how far to lower the spatial resolution of the regression target for detection or segmentation remains for future study.
The authors also make a deliberate choice about evaluation. Their intended use of pretraining is to initialize an encoder for downstream adaptation. They include linear probing as a comparison with prior work and select the main design settings on the evidence from fine-tuning. Conclusions about the preferred head, masking rule, and target carry the conditions of that choice. A frozen encoder with a linear classifier imposes its own requirements, including that the features needed for the task already be accessible to that classifier. The paper offers a probe experiment on ViT-B, while the detailed design investigations primarily measure adaptable features.
For the largest application, the authors send readers to the SwinV2 study for detailed settings and data. SimMIM itself establishes that masked pretraining took part in the reported SwinV2-G pipeline and gives the benchmark outcomes. The causal contribution of each choice in that pipeline would require a comparison holding the rest of the large-scale procedure fixed. The result in SimMIM supports feasibility at that capacity and with that private training collection. A quantitative claim about the independent effect of masked pretraining at that scale would go further than the reported evidence.
Scope visible in the experiments
The classification protocol gives the image collection two roles. During self-supervised pretraining, pixel targets come from each image. During fine-tuning, class labels determine the final classifier. The improvement after fine-tuning measures the usefulness of the full sequence, including what the classifier can learn from labels given that initialization. This distinction becomes especially important in ADE20K, where the starting weights already incorporate supervised ImageNet-1K adaptation. The direct-transfer variant is mentioned, and the reported segmentation procedure uses the stronger initialization path.
The ImageNet-1K scaling comparison and the SwinV2-G application also have different data conditions. The former constrains data to ImageNet-1K. The latter uses a private extension and compares its scale with earlier use of JFT-3B. The reported size comparison describes the collections used in those applications. To estimate a general data requirement for a given accuracy would require variation in data size under a common evaluation and training design. The paper’s comparison leaves data composition, architecture, and other elements of the previous systems free to differ.
The masking results identify a favorable range of distances under the tested conditions. AvgDist is an average of nearest-visible distances, so different masks can have the same value while exposing different objects or leaving very different distributions of distances across hidden pixels. The statistic measures geometric access to pixels. How informative those pixels are also depends on scene content. The alignment between transfer scores and AvgDist supports the authors’ account of why masking size matters, while the precise causal role of longer-range relationships remains an interpretation.
The favorable settings also belong to the encoder families, images, and preparation procedures examined. The experiment with ResNet-50×4 establishes an instance of successful use with a convolutional architecture. Evidence for the best size, ratio, and prediction head across a range of convolutional encoders would require further comparisons. The same qualification applies to target types. Raw regression competes successfully with the specific learned and discretized targets that were tested. Other choices of tokenizer, training duration, and data could change that ordering. The demonstrated claim is that the more elaborate targets are optional for achieving the paper’s main results.
What the pictures support
The visual examples let readers see how a prediction changes as evidence about an object is removed. A suggestion of object shape from sparse clues is consistent with using spatial context. Background-like filling when an entire object is obscured also shows why the original target can be hard to infer. Several scenes can agree with the same visible regions, and the hidden object may have left too little evidence to determine which one occurred. A plausible completion and an accurate recovery of the original image are different standards in such a case.
The authors read the selected examples as evidence for object reasoning and against explanations based on memorizing images or copying nearby values. A careful reading gives those examples the weight of qualitative observations on a validation set. They illustrate behaviors that a simplistic local account would need to explain. Establishing the range and reliability of the underlying ability, or excluding alternative shortcuts across the image collection, would require systematic comparisons designed for that purpose. The controlled transfer measurements support the main claim more directly. Masked pixel prediction can produce encoders that adapt well to the vision benchmarks studied.
What came after
Scaling capacity with masked pre-training
The clearest continuation is documented in the paper itself. Swin Transformer V2 studies increasing encoder capacity and image resolution, and SimMIM supplies the masked pretraining approach used to help train SwinV2-G. The relationship runs through the training pipeline. SwinV2 provides architecture variants chosen for stability at large sizes, and pretraining gives those encoders an exercise whose targets can be obtained from the images. The SwinV2 study gives the fuller account of the privately assembled dataset and the large system. This is a concrete use of the method in a broader effort to train at larger capacity with a smaller collection than the previous large-scale precedent cited by the authors.
From still images to video and feature prediction
VideoMAE takes masked autoencoding into self-supervised video pretraining and frames its contribution in terms of data efficiency. The connection is the construction of supervision by withholding visual information. The change of input matters because a video can offer evidence across time as well as across positions in an image. SimMIM’s still-image analysis asks which spatial patterns leave a useful amount of context. In video, the availability of evidence at other times becomes part of the corresponding question. That link establishes the direction of the extension. Specific masking geometry, prediction targets, and gains belong to VideoMAE’s own experiments.
Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture studies image prediction through a joint-embedding architecture. The connection to SimMIM is the use of prediction as supervision for visual representations. In SimMIM, the answer is explicitly an array of color values. A joint-embedding approach places the predictive relationship in a feature space. This makes the level at which the answer is defined central to the comparison. SimMIM asks whether raw measurements are a sufficient teaching signal. Prediction in an embedding space explores a different place to define the target. The citation establishes the connection between these lines of work, while the particular role of SimMIM in the later training recipe remains unspecified.
Where images meet language
CoCa brings contrastive learning and captioning together in image–text training. The relation to SimMIM is at the level of learning objectives for visual representations. SimMIM’s answer comes from the hidden portion of the image, while captioning connects the visual input to a linguistic output. CoCa’s citation places masked visual pretraining in the broader conversation about how to train a system whose representations will serve several uses. The citation gives no basis for attributing a particular mask, RGB objective, or prediction head in CoCa to SimMIM.
Qalam concerns Arabic optical character and handwriting recognition. This is another image-to-language setting, with readable symbols as the intended output. A reader can distinguish the job of a visual encoder in such a system from the job of producing the recognized text. SimMIM is relevant background for the former through its study of how visual features can be learned before adaptation. The citation leaves the mechanism of use open. In particular, it gives no grounds for assigning Qalam’s recognition procedure or performance to SimMIM.
MMCLIP studies masked learning with cross-modal attention for medical language–image pretraining. Its stated direction combines masking with a setting where the learner can connect visual and linguistic information. The relationship to SimMIM is more direct at the level of the exercise. Withholding information creates a prediction problem, and the evidence available for solving it shapes what the exercise can teach. In SimMIM the evidence comes from a partly visible image. A cross-modal setting brings image and language into that question. The citation identifies the shift in setting and objective; the exact targets and division of work among components remain unspecified.
Across these works, the documented connection is strongest where the later system uses SimMIM pretraining explicitly. The other citations show how the surrounding questions spread across video, learned feature targets, and image–language training. SimMIM’s experiments give those questions a point of comparison. They demonstrate what can be achieved when the hidden answer is defined directly by an image’s colors and when the component that predicts those colors is kept small.
Cite
Cite as Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai and Han Hu. 2022. SimMIM: a Simple Framework for Masked Image Modeling. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.
@inproceedings{xie2022simmim,
title = {{SimMIM: a Simple Framework for Masked Image Modeling}},
author = {Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai and Han Hu},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
year = {2022},
doi = {10.1109/cvpr52688.2022.00943},
eprint = {2111.09886},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/cvpr52688.2022.00943}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/xie-2022-simmim-simple-framework-masked-image/
References
- Hangbo Bao, Li Dong, and Furu Wei. Beit: Bert pre-training of image transformers. arXiv preprint arXiv:2106.08254, 2021. our card
- Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. arXiv preprint arXiv:2005.14165, 2020. our card
- Yue Cao, Zhenda Xie, Bin Liu, Yutong Lin, Zheng Zhang, and Han Hu. Parametric instance classification for unsupervised visual feature learning. Advances in Neural Information Processing Systems, 33, 2020. OpenAlex ↗ · Scholar ↗
- Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In Proceedings of the European Conference on Computer Vision (ECCV), pages 132–149, 2018. OpenAlex ↗ · Scholar ↗
- Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. arXiv preprint arXiv:2104.14294, 2021. our card
- Kai Chen, Jiangmiao Pang, Jiaqi Wang, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jianping Shi, Wanli Ouyang, et al. Hybrid task cascade for instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4974–4983, 2019. OpenAlex ↗ · Scholar ↗
- Mark Chen, Alec Radford, Rewon Child, Jeff Wu, and Heewoo Jun. Generative pretraining from pixels. Advances in Neural Information Processing Systems, 2020. OpenAlex ↗ · Scholar ↗
- Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. ICML, 2020. our card
- Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision transformers. arXiv preprint arXiv:2104.02057, 2021. OpenAlex ↗ · Scholar ↗
- Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pages 702–703, 2020. our card
- Zihang Dai, Hanxiao Liu, Quoc V. Le, and Mingxing Tan. Coatnet: Marrying convolution and attention for all data sizes, 2021. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. our card
- Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In ICCV, pages 1422–1430, 2015. OpenAlex ↗ · Scholar ↗
- David L Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289–1306, 2006. OpenAlex ↗ · Scholar ↗
- Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. our card
- Alexey Dosovitskiy, Jost Tobias Springenberg, Martin Riedmiller, and Thomas Brox. Discriminative unsupervised feature learning with convolutional neural networks. In Advances in neural information processing systems, pages 766–774, 2014. OpenAlex ↗ · Scholar ↗
- Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D. Cubuk, Quoc V. Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2918–2928, June 2021. OpenAlex ↗ · Scholar ↗
- Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. arXiv preprint arXiv:1803.07728, 2018. OpenAlex ↗ · Scholar ↗
- Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, et al. Bootstrap your own latent-a new approach to self-supervised learning. Advances in Neural Information Processing Systems, 33, 2020. our card
- Yizeng Han, Gao Huang, Shiji Song, Le Yang, Honghui Wang, and Yulin Wang. Dynamic neural networks: A survey. arXiv preprint arXiv:2102.04906, 2021. OpenAlex ↗ · Scholar ↗
- Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. CVPR, 2020. our card
- Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In ICCV, pages 2961–2969, 2017. 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. ICML, 2020. OpenAlex ↗ · Scholar ↗
- Geoffrey Hinton and Ruslan Salakhutdinov. Reducing the dimensionality of data with neural networks. Science, 313(5786):504 – 507, 2006. OpenAlex ↗ · Scholar ↗
- Gao Huang, Danlu Chen, Tianhong Li, Felix Wu, Laurens van der Maaten, and Kilian Q Weinberger. Multi-scale dense networks for resource efficient image classification. arXiv preprint arXiv:1703.09844, 2017. OpenAlex ↗ · Scholar ↗
- Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In European conference on computer vision, pages 646–661. Springer, 2016. our card
- David H Hubel and Torsten N Wiesel. Receptive fields, binocular interaction and functional architecture in the cat's visual cortex. The Journal of physiology, 160(1):106–154, 1962. OpenAlex ↗ · Scholar ↗
- Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. 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 European conference on computer vision, pages 740–755. Springer, 2014. our card
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. our card
- Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, et al. Swin transformer v2: Scaling up capacity and resolution. arXiv preprint arXiv:2111.09883, 2021. our card
- Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021. our card
- Ze Liu, Jia Ning, Yue Cao, Yixuan Wei, Zheng Zhang, Stephen Lin, and Han Hu. Video swin transformer, 2021. OpenAlex ↗ · Scholar ↗
- Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, pages 69–84. Springer, 2016. OpenAlex ↗ · Scholar ↗
- Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. arXiv preprint arXiv:1711.00937, 2017. OpenAlex ↗ · Scholar ↗
- Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2536–2544, 2016. OpenAlex ↗ · Scholar ↗
- Patrick Perez, Michel Gangnet, and Andrew Blake. Poisson image editing. In ACM SIGGRAPH 2003 Papers, pages 313–318. 2003. OpenAlex ↗ · Scholar ↗
- Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen, and Ilya Sutskever. Zero-shot text-to-image generation. arXiv preprint arXiv:2102.12092, 2021. our card
- Marc aurelio Ranzato, Christopher Poultney, Sumit Chopra, and Yann Cun. Efficient learning of sparse representations with an energy-based model. In B. Schölkopf, J. Platt, and T. Hoffman, editors, Advances in Neural Information Processing Systems, volume 19. MIT Press, 2007. OpenAlex ↗ · Scholar ↗
- Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do imagenet classifiers generalize to imagenet?, 2019. OpenAlex ↗ · Scholar ↗
- Carlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, and Neil Houlsby. Scaling vision with sparse mixture of experts. arXiv preprint arXiv:2106.05974, 2021. our card
- Carlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann, Rodolphe Jenatton, André Susano Pinto, Daniel Keysers, and Neil Houlsby. Scaling vision with sparse mixture of experts, 2021. our card
- Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2818–2826, 2016. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In International Conference on Machine Learning, pages 10347–10357. PMLR, 2021. our card
- Trieu H Trinh, Minh-Thang Luong, and Quoc V Le. Selfie: Self-supervised pretraining for image embedding. arXiv preprint arXiv:1906.02940, 2019. 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 Proceedings of the IEEE conference on computer vision and pattern recognition, pages 8769–8778, 2018. OpenAlex ↗ · Scholar ↗
- Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103, 2008. OpenAlex ↗ · Scholar ↗
- Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, Pierre-Antoine Manzagol, and Léon Bottou. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. Journal of machine learning research, 11(12), 2010. OpenAlex ↗ · Scholar ↗
- Zhirong Wu, Yuanjun Xiong, Stella X Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In CVPR, pages 3733–3742, 2018. OpenAlex ↗ · Scholar ↗
- Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In Proceedings of the European Conference on Computer Vision (ECCV), pages 418–434, 2018. OpenAlex ↗ · Scholar ↗
- Zhenda Xie, Yutong Lin, Zheng Zhang, Yue Cao, Stephen Lin, and Han Hu. Propagate yourself: Exploring pixel-level consistency for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16684–16693, 2021. OpenAlex ↗ · Scholar ↗
- Zhenda Xie, Zheng Zhang, Xizhou Zhu, Gao Huang, and Stephen Lin. Spatially adaptive inference with stochastic feature sampling and interpolation, 2020. OpenAlex ↗ · Scholar ↗
- Raymond A. Yeh, Chen Chen, Teck Yian Lim, Alexander G. Schwing, Mark Hasegawa-Johnson, and Minh N. Do. Semantic image inpainting with deep generative models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017. OpenAlex ↗ · Scholar ↗
- Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. Free-form image inpainting with gated convolution. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4471–4480, 2019. OpenAlex ↗ · Scholar ↗
- Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6023–6032, 2019. our card
- Xiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, and Lucas Beyer. Scaling vision transformers, 2021. OpenAlex ↗ · Scholar ↗
- Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017. our card
- Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In European conference on computer vision, pages 649–666. Springer, 2016. OpenAlex ↗ · Scholar ↗
- Richard Zhang, Phillip Isola, and Alexei A Efros. Split-brain autoencoders: Unsupervised learning by cross-channel prediction. In CVPR, pages 1058–1067, 2017. OpenAlex ↗ · Scholar ↗
- Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 13001–13008, 2020. OpenAlex ↗ · Scholar ↗
- Bolei Zhou, Hang Zhao, Xavier Puig, Tete Xiao, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Semantic understanding of scenes through the ade20k dataset. International Journal on Computer Vision, 2018. OpenAlex ↗ · Scholar ↗