---
title: "BEiT: BERT Pre-Training of Image Transformers (2021)"
description: "How BEiT learns image representations by predicting masked visual tokens, with its training procedure, transfer results, and limits."
canonical: "https://research.elamur.ai/free/en/papers/bao-2021-beit-bert-pre-training-image/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bao-2021-beit-bert-pre-training-image/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / BEiT: BERT Pre-Training of Image Transformers

# BEiT: BERT Pre-Training of Image Transformers

Paper · 2021 · Hangbo Bao, Dong Li, Songhao Piao et al.

**Authors:** [Hangbo Bao](https://md.research.elamur.ai/free/en/authors/hangbo-bao/), [Dong Li](https://md.research.elamur.ai/free/en/authors/dong-li/), Piao, Songhao and Wei, Furu · **Year:** 2021 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**882** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3170863103) · arXiv (Cornell University) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2106.08254)
- [arXiv 2106.08254](https://arxiv.org/abs/2106.08254)
- [OpenAlex](https://openalex.org/W3170863103)

## Deep dive: BEiT: BERT Pre-Training of Image Transformers

How BEiT learns image representations by predicting masked visual tokens, with its training procedure, transfer results, and limits. · about 37 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Learning from an image without a human label requires a useful question to ask about the image itself. BEiT investigates one such question: if some parts of a picture are hidden, can a system infer what belongs there from the visible surroundings? The difficulty is choosing what to predict. Reconstructing every missing pixel can reward attention to nearby colors and textures without encouraging the broader understanding needed for recognition. BEiT instead predicts discrete visual tokens: learned categories that describe image regions. Its central contribution is a way to bring the masked prediction principle of [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) into image pretraining while changing the prediction target to suit visual data.

The method gives each training image two aligned representations. One is a grid of patches containing the original pixels. These patches provide the input to a [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/). The other is a grid of token identifiers produced by an image tokenizer learned through reconstruction. During BEiT pretraining, some patch embeddings are replaced by a learned mask embedding. The encoder then predicts the token identifiers at the hidden positions. The visible input retains pixel information, while the prediction task passes through a finite vocabulary. This distinction between what the encoder sees and what it must recover is essential to the design.

The main experiments pretrain on ImageNet-1K without using its class labels, then adapt the encoder through [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) for classification and semantic segmentation. The authors report stronger downstream performance than training the same kind of vision Transformer from random initialization, as well as improvements over the self-supervised alternatives they compare. A concrete result comes from CIFAR-100: the paper reports top-1 accuracy of 48.5% for a vision Transformer trained from scratch and 90.1% for BEiT with pretraining. Additional experiments show that supervised training can complement the self-supervised stage. In a larger setting using an in-house dataset for intermediate supervised adaptation, BEiT-L reaches 89.5% ImageNet top-1 accuracy; the paper also reports 58.4% mIoU on ADE20K for its expanded large-size setting.

The evidence supports a specific conclusion: predicting learned visual tokens is an effective way to prepare a vision Transformer for subsequent supervised adaptation. Controlled comparisons favor these targets over direct pixel regression, favor masking spatial blocks over independently selected patches, and favor predicting hidden positions rather than reconstructing every position. Attention visualizations also show coherent regions and object boundaries emerging without region annotations during pretraining. These observations do not establish general visual understanding or reliable unsupervised segmentation. Nor does BEiT lead on every evaluation: the authors report that discriminative pretraining remains stronger under frozen linear probing. The paper’s strongest case concerns the combination of masked token prediction and full downstream fine-tuning.

### Ideas worth borrowing

Separate the input from the target. BEiT does not require its input vocabulary and prediction vocabulary to be identical. The encoder receives patches containing pixels, but learns to predict categories assigned by a separate tokenizer. This preserves information on the input side while constraining what the learning objective rewards. The same principle can guide representation learning wherever raw observations contain more detail than a useful target should demand. A researcher can retain a rich signal for inference while asking the system to recover a compressed description. The important design question becomes which distinctions the target preserves, rather than whether the input and output share a format.

Learn the prediction vocabulary. Images lack the ready-made inventory of words or sub-word units available to a text encoder. BEiT addresses this by obtaining a vocabulary from a reconstruction system before training the main encoder. The reusable idea is to learn a target space when hand-designed classes would be arbitrary or unavailable. This could be explored in other continuous domains, provided the learned categories retain information useful for the eventual task. BEiT also gives a reason to evaluate the tokenizer separately: it is part of the supervision mechanism, even though it is not the backbone being transferred downstream.

Make missing information spatially substantial. Hiding isolated patches can leave enough nearby evidence for a relatively local solution. BEiT masks blocks, making some missing content less immediately recoverable from its closest visible neighbors. The ablations favor this choice, especially for semantic segmentation. The general lesson is that corruption should reflect the shortcuts a learner might exploit. For a sequence, a span may be more demanding than scattered missing symbols; for an image, a region may demand more context than an isolated patch. The useful corruption is the one that encourages the dependency structure the representation should learn.

Keep the target generator fixed during representation learning. BEiT separates tokenizer learning from masked prediction. During the latter stage, the tokenizer supplies stable token assignments while the Transformer learns to infer them from corrupted images. This makes the learning problem easier to describe and inspect: changing predictions can be compared against an unchanged target vocabulary. Elsewhere, a fixed target generator can help isolate the contribution of an encoder from the behavior of the system producing its training labels. It also creates a clear experimental boundary at which alternative target generators can be substituted.

Evaluate transfer in more than one way. BEiT performs well when its encoder is fully fine-tuned, but the paper reports a less favorable comparison with discriminative methods when only a linear classifier is trained. These results answer different questions. Full adaptation asks whether pretraining supplies a useful starting point; a frozen probe asks whether a particular representation already exposes the desired distinction through a simple readout. Researchers can borrow this distinction when interpreting representation quality. A weak frozen readout need not imply poor adaptability, and a strong readout does not by itself settle performance after complete adaptation.

Treat self-supervision and labels as complementary resources. The paper does not stop after showing that labels can be omitted from pretraining. It also examines supervised adaptation between self-supervised learning and the final task. This intermediate stage improves several reported outcomes. The reusable idea is to assign different resources different roles: unlabeled observations can establish a representation, a richer labeled dataset can refine it, and a target dataset can specialize it. Such a pipeline must still be evaluated as a whole, with its labeled stages disclosed, rather than described solely by the supervision used at its beginning.

### How Mova uses it

For Mova, a small transparent language system written in Rust, BEiT offers a design principle instead of a demonstrated implementation. The paper does not establish a connection to Mova, and there is no basis for claiming that Mova already contains an image tokenizer, a vision Transformer, or a BEiT training pipeline. The relevant question is what a compact language system could borrow from the separation between observed input, learned targets, and contextual prediction.

The most direct possibility concerns [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/). In BEiT, a token is a learned prediction category, not necessarily the unit presented to the encoder. A language system could similarly distinguish its observable input units from the categories it attempts to infer. For instance, an experimental component could retain written forms as input while predicting an explicitly defined linguistic representation for hidden spans. This is a proposed analogy, not a result of the paper. BEiT provides evidence for the visual version of this arrangement; it does not demonstrate that any particular linguistic target would improve Mova.

Transparency would make the target definition especially important. BEiT’s visual identifiers come from a learned codebook, so an identifier alone does not explain its meaning to a reader. A Mova experiment should therefore expose how targets are assigned and what information they discard. If the targets were interpretable linguistic categories, their definitions could be inspected directly. If they were learned categories, examples of their assignments and disagreements would be needed to make them understandable. The paper motivates separating the target mechanism from the contextual learner, but it does not establish that learned tokens are inherently interpretable.

Blockwise masking suggests another possible experiment. Rather than hiding unrelated pieces of text, Mova could hide a contiguous span and test whether the surrounding context supports its recovery. The practical attraction is that the corruption can be recorded and inspected: which span disappeared, what context remained, and what answer the system proposed. The choice of target would still determine what the experiment measures. Recovering surface forms would test something different from recovering grammatical or semantic categories. BEiT’s contribution is to show why that distinction deserves deliberate treatment.

The evaluation lesson transfers without requiring an image component. A representation can be assessed with a fixed readout and also after task-specific adaptation. Those conditions should be reported separately because they reveal different capabilities. Similarly, an unlabeled learning stage should not obscure the use of labels later in a pipeline. For Mova, these are plausible practices for making experiments easier to audit. They remain ideas for applying the paper’s reasoning, rather than claims about features already built or benefits already measured.

### The problem and its context

#### Why masked prediction needed a visual target

The paper begins with a practical difficulty in vision Transformers: their training can demand substantial amounts of data. Earlier work had shown that the architecture could perform image recognition effectively, but the authors describe a greater appetite for training data than that of convolutional networks. This creates a reason to investigate learning from images without relying on category annotations. If pretraining can extract useful structure from the images themselves, downstream learning may begin from a better position than random initialization.

BEiT approaches this problem through an analogy with masked language prediction. A text encoder can hide a word or sub-word token and infer it using the remaining sequence. The target belongs to an existing vocabulary, so the learning objective can assign a probability to each candidate. The vocabulary is doing important work: it determines which answers exist and makes the prediction task manageable.

An image patch does not come with an equivalent inventory. Even a small patch can contain many possible arrangements of channel values. Treating every possible patch as an independent class would not provide the practical prediction space that a text vocabulary supplies. The authors therefore identify a missing component in a direct transfer of BERT’s objective: vision needs a suitable set of answers.

One straightforward response is to avoid classification and predict the missing pixels through regression. The paper argues that this can spend learning capacity on details that are less useful for downstream recognition. A reconstruction can improve by matching nearby texture or fine color changes, even when the representation has learned little about a larger object. This is a motivation about the relationship between the training objective and the desired representation, not a claim that pixels contain no useful information.

BEiT’s answer is to preserve pixels in the visible input while changing the hidden-region target. An image tokenizer supplies discrete categories learned from reconstruction. The main encoder must predict these categories from context. The proposed bottleneck does not remove fine detail from everything the encoder observes; it changes which distinctions the prediction loss explicitly demands.

#### What earlier vision pre-training asked a learner to do

The paper places BEiT among several approaches to self-supervised visual learning. Earlier pretext tasks asked systems to infer patch arrangements, restore color, or identify image rotations. These tasks create supervision by transforming an image and asking a question about the transformation or missing information. Their common premise is that solving a deliberately constructed task can produce representations useful beyond that task.

Another approach discussed in the paper masks patches and asks whether candidate content is genuine or substituted. This also uses missing regions, but its objective differs from BEiT’s. Detecting an incorrect candidate does not require predicting an identifier from a learned visual vocabulary. The distinction matters because apparently similar corruption procedures can impose different learning demands.

Contrastive methods form another major strand. As the paper describes them, differently augmented versions of an image are treated as related views. Their representations are brought closer, while representations belonging to negative examples are separated. [Momentum Contrast](https://md.research.elamur.ai/free/en/papers/he-2019-momentum-contrast-unsupervised-visual-representation/) and [SimCLR](https://md.research.elamur.ai/free/en/papers/chen-2020-simple-framework-contrastive-learning-visual/) illustrate approaches in this family. The authors note that obtaining informative negatives can require a memory bank or a large batch.

The paper also discusses approaches that remove explicit negatives. [BYOL](https://md.research.elamur.ai/free/en/papers/grill-2020-bootstrap-your-own-latent-new/) and SimSiam use other mechanisms to avoid representations collapsing to uninformative outputs. Clustering-based approaches organize examples into groups and learn from those assignments. BEiT is not presented as the first way to obtain supervision from unlabeled images. Its contribution is a particular masked prediction objective and its application to vision Transformers.

#### What earlier image Transformers had already explored

The architectural foundation comes from [Vision Transformer](https://md.research.elamur.ai/free/en/papers/dosovitskiy-2020-image-worth-16x16-words-transformers/), which turns an image into a patch sequence suitable for a standard Transformer. BEiT retains that basic backbone so that differences in pretraining can be examined without introducing an entirely new encoder architecture.

The authors distinguish their representation choices from iGPT. In the account given by the paper, iGPT groups RGB values into a color palette and uses the resulting categories to represent the image. Those categories serve on both the input and prediction sides. BEiT instead provides pixel patches to the encoder and uses learned visual categories only as the prediction target. The distinction is about where compression occurs.

The paper also describes an earlier masked patch experiment in Vision Transformer that predicts a patch’s coarse mean color. That gives a finite answer space, but the categories are specified through a color summary rather than learned through a discrete autoencoder. BEiT asks whether a learned visual vocabulary can supply a better target for transferable representations.

Meanwhile, contrastive training and self-distillation had already been applied to vision Transformers. [DINO](https://md.research.elamur.ai/free/en/papers/caron-2021-emerging-properties-self-supervised-vision/) is an important comparison because the paper discusses both its downstream performance and its emergent attention behavior. BEiT does not claim exclusive ownership of coherent attention regions. Instead, it shows that a different pretraining objective can also yield them.

These comparisons define the paper’s scientific question narrowly. The question is not whether unlabeled images can support learning at all. It is whether a BERT-inspired image objective becomes effective when it combines pixel-patch inputs, learned discrete targets, and an appropriate masking procedure.

### The method, step by step

#### Follow the two views of an image

The easiest way to understand BEiT is to follow an image through two parallel routes. One route prepares what the main encoder will see. The image is divided into equally sized patches, each patch is flattened into a vector, and a learned linear mapping converts that vector into the encoder’s hidden dimension.

The other route prepares the answers for pretraining. An image tokenizer maps the uncorrupted image to a spatial grid of discrete identifiers. Each identifier selects an entry from a learned vocabulary. These identifiers are not the inputs to the main Transformer. They are the answers it will be trained to predict where patches have been hidden.

The grids are aligned. A patch position in the encoder input has a corresponding token position in the target representation. This alignment makes the masked task straightforward to define: hide a patch embedding, retain the token assigned to that location by the tokenizer, and use that token as the expected answer.

From an image to a transferable encoder The steps in order.

The separation also clarifies which components are needed when. The tokenizer is needed to create pretraining targets. The transferred component is the Transformer encoder. Downstream classification and segmentation use task layers attached to that encoder rather than requiring the original image reconstruction decoder to produce their answers.

#### Turn the image into a patch sequence

The paper represents an image as an array with height, width, and channels:

```
x ∈ ℝ^(H × W × C)
```

Here, x is the image, H its height, W its width, and C its channel count. The symbol ℝ indicates real-valued entries. This notation describes the raw observation before it is divided into patches.

For square patches, the number of positions follows from the image dimensions:

```
N = HW / P²
```

N is the number of patches, and P is the length of a patch side. H and W retain their meanings as image height and width. The expression assumes the image is partitioned into a regular grid of patches with compatible dimensions.

Flattening those patches produces the sequence representation:

```
xᵖ ∈ ℝ^(N × (P²C))
```

The superscript p identifies the patch representation of x. Each of the N rows contains the values from a patch, whose flattened length is P²C. Flattening changes the arrangement of the data for the encoder; it does not replace the visible patch with a discrete category.

In the main setup, an image has resolution 224 × 224. It becomes a 14 × 14 patch grid, using patches of 16 × 16. The paper uses this same spatial grid size for the visual targets. This correspondence is important because a pretraining answer must refer to the same region as its masked input position.

A learned projection converts each flattened patch into a hidden vector. The paper denotes this projection by E and the hidden dimension by D. The resulting patch embedding can be written as:

```
eᵢ = E xᵖᵢ
```

The index i selects a patch, xᵖᵢ is its flattened pixel vector, and eᵢ is the projected embedding. E contains the learned projection parameters. This operation gives the Transformer vectors with a consistent hidden dimension.

#### Obtain discrete answers with an image tokenizer

The target representation is a grid of vocabulary entries:

```
z = [z₁, …, z_N] ∈ 𝒱^(h × w)
```

z denotes the image’s token representation. Each zᵢ is a discrete identifier from vocabulary 𝒱. The symbols h and w describe the target grid dimensions, and N is the number of token positions aligned with the patches.

The vocabulary itself is indexed as follows:

```
𝒱 = {1, …, |𝒱|}
```

The notation |𝒱| means the vocabulary’s size. The entries are identifiers, so their numerical values do not imply an ordering of visual meaning. In the main experiments, the vocabulary contains 8192 entries.

BEiT obtains these targets from a discrete variational autoencoder. Its tokenizer and decoder have complementary jobs. The tokenizer turns an image into discrete latent categories; the decoder attempts to reconstruct the image from those categories. The paper represents the tokenizer as:

```
q_φ(z | x)
```

q is the distribution over visual token assignments given image x. The parameter set φ belongs to the tokenizer. The vertical bar means that the token distribution is conditioned on the image.

The reconstruction decoder is represented by:

```
p_ψ(x | z)
```

p is a distribution over reconstructed images given tokens z, and ψ denotes the decoder parameters. Together, the tokenizer and decoder define a learning problem in which the latent representation must retain information that supports reconstruction.

The reconstruction objective is:

```
𝔼_{z ∼ q_φ(z | x)}[log p_ψ(x | z)]
```

The expectation symbol 𝔼 means that the reconstruction score is averaged over token assignments sampled from q_φ. The log term measures how much probability the decoder assigns to the original image x when given z. Maximizing this expression encourages token assignments that permit successful reconstruction.

Because token choices are discrete, ordinary differentiation cannot pass through them in the same way as through an unrestricted continuous vector. The tokenizer training therefore uses a Gumbel-softmax relaxation. The paper also specifies a uniform prior during this stage. These details concern how the vocabulary-producing system is learned; they do not mean that BEiT repeatedly relearns its vocabulary during masked pretraining.

For its primary experiments, the paper directly uses the publicly released image tokenizer associated with [DALL-E](https://md.research.elamur.ai/free/en/papers/ramesh-2021-zero-shot-text-image-generation/). The authors also retrain a tokenizer on ImageNet-1K for a separate comparison. That experiment matters because it checks whether the main procedure can work with another realization of the target generator.

#### Encode patches with a standard Transformer

BEiT uses the standard Transformer architecture introduced through [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/), following the patch-based application in Vision Transformer. The authors choose the familiar backbone to make architectural comparisons easier to interpret.

A special embedding is placed before the patch sequence, and positional embeddings are added:

```
H₀ = [e_S, E xᵖ₁, …, E xᵖ_N] + E_pos
```

H₀ is the encoder’s initial sequence of vectors. e_S is the embedding for the special token S. E projects each patch xᵖᵢ into the hidden space. E_pos denotes learned positional information, which lets the sequence retain information about where its elements belong.

The layers repeatedly transform this sequence:

```
Hˡ = Transformer(Hˡ⁻¹)
```

Hˡ is the sequence after layer l, and Hˡ⁻¹ is the sequence entering it. The encoder has L layers, so l ranges through the stack. Each layer uses contextual information from the sequence to update its representations.

The final output is written as:

```
Hᴸ = [hᴸ_S, hᴸ₁, …, hᴸ_N]
```

Hᴸ is the full sequence at the final layer. hᴸ_S belongs to the special token, while hᴸᵢ is the final contextual representation at patch position i. These patch vectors are used both for masked prediction during pretraining and for downstream tasks after adaptation.

The base configuration uses 12 layers, a hidden dimension of 768, and 12 attention heads. Its feed-forward intermediate dimension is 3072. These architectural settings follow ViT-Base. The main contribution therefore lies in the training procedure and target construction rather than in replacing the standard encoder with a specialized visual architecture.

#### Hide blocks and predict their token assignments

The image tokenizer processes the original image, so the target assignments describe uncorrupted content. Separately, the input patch sequence is corrupted. Let ℳ denote the set of positions selected for masking. Approximately 40% of the image patches are hidden in the general description of the method.

At a masked position, the patch embedding is replaced by a shared learned vector. The corrupted input can be described position by position:

```
x^ℳᵢ = xᵖᵢ if i ∉ ℳ; e_M if i ∈ ℳ
```

x^ℳᵢ denotes the corrupted content at position i. An unmasked position retains its patch representation xᵖᵢ; a masked position uses e_M, the learned mask embedding. The symbol ∈ means membership in the masked set, while ∉ means that the position remains visible.

The Transformer receives the resulting corrupted sequence and computes contextual representations. At each hidden position, a classifier turns the final hidden vector into a distribution over visual vocabulary entries:

```
p_MIM(z′ | x^ℳ) = softmax_z′(W_c hᴸᵢ + b_c)
```

p_MIM is the masked image prediction distribution at position i. z′ is a candidate visual identifier, x^ℳ is the corrupted image representation, and hᴸᵢ is the final hidden vector for that position. W_c and b_c are the classifier’s weight matrix and bias. The softmax operation converts scores into probabilities over the vocabulary.

The learning objective rewards the token actually assigned by the tokenizer:

```
maximize Σ_{x ∈ 𝒟} 𝔼_ℳ[Σ_{i ∈ ℳ} log p_MIM(zᵢ | x^ℳ)]
```

𝒟 is the pretraining image collection. For each image x, the expectation averages over randomly generated masks ℳ. The inner sum includes masked positions only. At each such position, zᵢ is the target token from the original image. Maximizing its log probability trains the encoder and prediction head to recover that target from the corrupted input.

This objective makes the role of context explicit. The encoder cannot inspect the original pixels of a hidden patch through its input embedding. It must use visible regions, positional information, and regularities learned across training images to predict the missing token.

The paper does not select every masked position independently. It samples spatial blocks. For each block, the minimum number of patches is 16, and an aspect ratio is sampled. Blocks are added until the required amount of masking has been reached.

The intended masked amount is expressed as:

```
|ℳ| ≈ 0.4N
```

|ℳ| is the number of hidden positions, and N is the total patch count. The factor 0.4 expresses the approximate masking proportion. In the stated main training setup, the authors mask at most 75 patches, describing that as roughly 40% of the grid.

Masking blocks changes the inference problem. A hidden patch may be surrounded by other hidden patches, reducing the opportunity to recover it solely from an immediately adjacent visible texture. The ablations test whether this corruption design helps, instead of assuming that any masking pattern is equivalent.

#### Understand the variational interpretation

The paper also relates BEiT to a variational autoencoder, drawing on [Auto-Encoding Variational Bayes](https://md.research.elamur.ai/free/en/papers/kingma-2013-auto-encoding-variational-bayes/). This interpretation connects the image tokenizer, reconstruction decoder, and masked predictor within a single probabilistic account.

Let x be the complete image, x̃ its corrupted version, and z its discrete visual representation. The desired conditional distribution describes reconstructing x from x̃. The paper gives an evidence lower bound:

```
Σ_{(xᵢ, x̃ᵢ) ∈ 𝒟} log p(xᵢ | x̃ᵢ) ≥ Σ_{(xᵢ, x̃ᵢ) ∈ 𝒟} [𝔼_{zᵢ ∼ q_φ(z | xᵢ)} log p_ψ(xᵢ | zᵢ) − KL(q_φ(z | xᵢ), p_θ(z | x̃ᵢ))]
```

The left side sums the log probability of each original image conditioned on its corrupted counterpart. Here, 𝒟 contains original–corrupted image pairs. The first term on the right measures reconstruction from tokens sampled by the tokenizer q_φ. The decoder is p_ψ.

KL denotes Kullback–Leibler divergence, which measures a discrepancy between distributions. Its first argument is the tokenizer’s distribution given the complete image. Its second is p_θ, the token predictor conditioned on the corrupted image. The parameters θ belong to that predictor. Reducing this discrepancy encourages the masked-image predictor to agree with token information available from the original image.

The training is divided into stages rather than jointly updating everything. The tokenizer and decoder are learned first. They are then fixed while the masked predictor is trained. For the latter stage, the tokenizer distribution is simplified to a point concentrated on its most likely assignment:

```
ẑᵢ = argmax_z q_φ(z | xᵢ)
```

ẑᵢ is the selected visual token assignment for image xᵢ. The argmax operation chooses the z receiving the highest probability under the tokenizer. This supplies a definite target instead of requiring the main pretraining stage to optimize over every possible token assignment.

With that simplification, the paper expresses the staged objective as:

```
Σ_{(xᵢ, x̃ᵢ) ∈ 𝒟} [𝔼_{zᵢ ∼ q_φ(z | xᵢ)} log p_ψ(xᵢ | zᵢ) + log p_θ(ẑᵢ | x̃ᵢ)]
```

The expectation term belongs to tokenizer reconstruction learning. The second term trains the masked predictor to assign probability to the selected tokens ẑᵢ given corrupted image x̃ᵢ. The other symbols retain their earlier meanings.

This interpretation explains why the learned vocabulary and masked prediction stage belong together. It should not be read as saying that downstream BEiT classification reconstructs an image through the decoder. The decoder helps define the visual representation used for pretraining targets; the transferred encoder serves a different role.

#### Run pre-training and stabilize the encoder

The principal pretraining collection is the ImageNet-1K training set, described in the setup as containing about 1.2M images. Its category labels are unused during self-supervised learning. Augmentations include randomly resized crops, horizontal flips, and color jittering. The input resolution is 224 × 224.

The main run lasts about 500k steps, corresponding to 800 epochs, with a batch size of 2k. The optimizer uses β₁ = 0.9 and β₂ = 0.999. The learning rate is 1.5e-3, with 10 warmup epochs followed by cosine decay. Weight decay is 0.05.

The authors use stochastic depth at a rate of 0.1 and turn off dropout. They report that 500k training steps take about five days on 16 Nvidia Telsa V100 32GB GPU cards. This is the cost of the reported main pretraining run, rather than the cost of fine-tuning a downstream task.

Initialization receives explicit attention. Parameters are first drawn within a small range, with [-0.02, 0.02] given as an example. The output projections in each layer’s attention and feed-forward sublayers are then rescaled:

```
scale(l) = 1 / √(2l)
```

scale(l) is the multiplicative factor for the relevant output matrices in layer l. The layer index increases through the encoder. The authors introduce this adjustment to improve stability during large-scale pretraining.

This detail matters because the learning objective alone does not specify a complete working training procedure. BEiT combines its target choice with initialization, corruption, augmentation, and optimization decisions. A comparison that changes several of these at once would be harder to interpret than the component ablations reported separately.

#### Adapt the encoder to a labeled task

For classification, the final patch representations are averaged and passed to a linear classifier. The probability computation is:

```
p_class = softmax(avg({hᴸᵢ}_{i=1}ᴺ W_c))
```

p_class is the vector of class probabilities. The operation avg pools across the N patch positions. hᴸᵢ is the final representation for patch i, and W_c maps the hidden representation into class scores. In this downstream expression, W_c is the classification task’s parameter matrix, instead of the visual-token prediction matrix used during pretraining.

The encoder and classifier are updated together using labeled examples. This is full fine-tuning. It differs from training only a new classifier while freezing the encoder.

For semantic segmentation, the output must assign a class to image locations rather than produce a single image label. The main experiments attach the decoder used by SETR-PUP, incorporating deconvolution layers above the pretrained encoder. The combined system is then adapted end to end.

The authors also test intermediate fine-tuning. After self-supervised learning, the encoder is trained on a labeled intermediate dataset before adaptation to the final task. ImageNet-1K serves this role in the main transfer experiments. The larger appendix setting extends the approach to ImageNet-22K and an in-house labeled collection.

The method therefore has a clear progression: learn a vocabulary, predict its hidden assignments from images, and adapt the resulting encoder. Supervision can enter at the final task, at an intermediate stage, or both. Those choices must be distinguished when interpreting the results.

### Experiments and results

#### What is measured

The experiments focus on classification and semantic segmentation. Classification is evaluated with top-1 accuracy: whether the highest-scoring class is correct. Segmentation uses mean intersection over union, abbreviated mIoU. For a category, intersection over union compares the overlap between predicted and reference regions with their combined extent; the mean averages across categories.

These tasks probe different uses of the representation. Image classification needs a global decision. Segmentation requires spatially organized predictions. Success on both is therefore more informative than success only on a pooled image-level representation, although it still does not establish performance on every visual task.

The main evaluation allows the complete encoder to adapt. This condition is central to the paper’s claims. The frozen linear-probe experiments are additional analyses, and their ranking differs from the full fine-tuning ranking.

#### ImageNet classification

The classification section describes ILSVRC-2012 ImageNet as having 1k categories and 1.3M images. The pretraining setup separately gives about 1.2M images for its training set. These descriptions refer to different scopes within the experimental account and should not be silently exchanged.

The authors compare random initialization, supervised pretraining, and self-supervised pretraining. Most architectural comparisons use base-size vision Transformers. Important exceptions are identified: iGPT has 1.36B parameters, while the BEiT base setting has 86M; the JFT-based Vision Transformer comparison uses 300M pretraining images rather than ImageNet alone.

Those exceptions matter to interpretation. A result against a larger system or a system trained on another collection can establish a useful practical comparison, but it does not isolate the objective under identical conditions. The cleanest comparisons are those that retain the same backbone size and pretraining collection.

For ImageNet fine-tuning, the authors mostly follow DeiT’s hyper-parameters while reducing the adaptation duration because the encoder is already pretrained. They use a larger learning rate together with layer-wise decay. The reported outcome favors BEiT over the from-scratch baseline and over the compared self-supervised approaches, including DINO and MoCo v3.

The paper’s ImageNet discussion also emphasizes resolution. After fine-tuning at 224 × 224, the authors adapt further at 384 × 384 for 10 epochs. Patch size remains fixed, so the encoder receives a longer patch sequence at the higher resolution. The paper reports a gain of 1+ points on ImageNet.

This is an additional adaptation condition, not simply a change to the way an otherwise untouched encoder is displayed an image. The higher-resolution result includes further training. The paper also reports that BEiT at this resolution exceeds a supervised Vision Transformer pretrained on ImageNet-22K under the same input resolution.

#### Scaling the encoder and the supervised stage

The large-size experiments examine whether pretraining helps when the encoder capacity increases. The authors report that a larger Vision Transformer trained from scratch can perform worse than its smaller counterpart on ImageNet. Supervised pretraining on ImageNet-22K alleviates that behavior.

For BEiT, the stated improvement from base to large is 2.0 at the standard resolution and 1.7 at the higher resolution. The corresponding supervised scaling comparison reports 1.2. These are the paper’s own reported changes in ImageNet classification performance; they should not be treated as independently controlled evidence about every possible scaling regime.

The authors also report that the advantage over the ImageNet-22K supervised comparison grows from 0.6 for the base-size setting to 1.1 for the large-size setting. Their interpretation is that masked pretraining could become particularly useful as encoder size grows and labeled data become harder to supply.

The more expansive experiments alter several conditions. BEiT⁺ incorporates architectural changes, uses ImageNet-22K for self-supervised learning, and includes supervised intermediate adaptation. The pretraining duration is 150 epochs on ImageNet-22K, followed by 90 epochs of intermediate fine-tuning there.

The appendix also substitutes an in-house collection of about 70M labeled images for the intermediate dataset. Under that expanded setup, BEiT-L achieves 89.5% ImageNet top-1 accuracy. The paper reports that adapting with ImageNet-22K, described as 14M images, can yield performance comparable to a ViT-L trained on JFT-3B.

These results support the claim that self-supervised preparation can reduce dependence on extremely large labeled collections. They do not make the strongest reported system label-free. Its performance depends on a pipeline that includes labeled intermediate training and labeled final adaptation.

#### CIFAR-100 transfer

CIFAR-100 offers a smaller classification setting, described in the paper as having 100 classes and 60k images. The authors use the same general fine-tuning setup as for their classification experiments.

The most explicit comparison in the prose is between a vision Transformer trained from scratch and BEiT after pretraining. It illustrates why an unlabeled preparation stage may matter when the target collection alone is insufficient for effective training of the chosen architecture.

CIFAR-100 classification, reported top-1 accuracy BEiT pre-training supplies a much stronger starting point for classification on the smaller dataset.

**The numbers**

| System or setting | top-1 accuracy % |
| --- | --- |
| ViT trained from scratch | 48.5 |
| BEiT with pre-training (this paper) | 90.1 |

The comparison establishes the benefit of the complete pre-training-and-adaptation route in this setting. It does not isolate which pretraining component produces the improvement; that requires the ablations. Nor does it imply that every architecture would obtain the same benefit from the same target collection.

The authors also report that BEiT exceeds MoCo v3 on CIFAR-100 and that an intermediate ImageNet-1K supervised stage improves the result further. The experiment therefore supports both the transfer value of masked pretraining and the complementarity of additional supervised adaptation.

#### ADE20K semantic segmentation

ADE20K is described as containing 25K images and 150 semantic categories. The main segmentation experiments attach the SETR-PUP task decoder and report mIoU under single-scale inference.

Fine-tuning runs for 160K steps with a batch size of 16. The learning rate is 1e-3, using layer-wise decay. The authors largely retain the task setup associated with SETR-PUP so that their pretrained backbone can be compared with a supervised initialization under a familiar decoder.

The reported result favors BEiT over supervised pretraining on ImageNet. Intermediate supervised fine-tuning on ImageNet further improves segmentation. This is important because the target task requires local category assignments rather than merely a global image decision.

In the expanded appendix experiments, the decoder changes to UperNet, following the comparison setup associated with [Swin Transformer](https://md.research.elamur.ai/free/en/papers/liu-2021-swin-transformer-hierarchical-vision-transformer/). Evaluation uses resolution 640 × 640. The paper reports 58.4% mIoU for its large-size expanded setting.

That figure belongs with its larger data and adaptation conditions. It should not be read as the result of the original ImageNet-1K-only self-supervised setup with the main SETR-PUP decoder. The architecture, data route, and task layer all matter when comparing segmentation scores.

#### Convergence and training efficiency

The paper compares the ImageNet learning curves of DeiT trained from scratch and BEiT undergoing fine-tuning. The reported pattern favors BEiT both in final performance and in how quickly useful performance appears during task adaptation.

This observation concerns downstream convergence. It does not erase the earlier cost of preparing the encoder. The main self-supervised run is substantial, so the practical benefit depends in part on whether the representation is reused and on the value of reducing later adaptation effort.

The authors also discuss pretraining efficiency relative to DINO-style self-distillation. Their account attributes an advantage to avoiding the combination of duplicated Transformer parameters and multi-crop augmentation used in that comparison. They report greater throughput and lower memory use for BEiT.

A joint BEiT-and-DINO experiment provides a related check. Combining the objectives improves ADE20K segmentation while giving comparable ImageNet classification performance. This indicates that the objectives need not extract identical training signals, even though their combination changes the computational requirements.

### What the ablations show

#### Learned token targets carry the main distinction

The core ablations use 300 pretraining epochs rather than the full 800-epoch run. The paper describes this as 37.5% of the main training duration. Their purpose is to compare components under a shared shorter setup, not to reproduce the strongest headline configuration.

The most consequential intervention replaces visual-token prediction with raw-pixel recovery. This turns the objective into regression over hidden patch content. The authors report substantially worse downstream outcomes for that variant, including performance below training from scratch on the two tasks under discussion.

This comparison supports the paper’s main mechanism claim: choosing a useful prediction target matters. The masked-input idea alone is insufficient to explain BEiT’s results. Under the tested procedure, a learned discrete target works better than directly matching the missing pixel values.

The scope of that conclusion is important. The experiment tests the particular pixel-regression alternative implemented by the authors. It does not establish that every conceivable pixel reconstruction system must fail. What it shows is that the straightforward substitute loses the benefit achieved by BEiT’s target design.

#### Spatial blocks change what context is needed

Another ablation replaces blockwise masking with randomly selected patch positions. The authors report that blocks help both classification and segmentation, with a particularly clear benefit for segmentation.

This result is consistent with the rationale for hiding contiguous regions. When masked positions are isolated, their nearest surroundings may reveal much of what is missing. A block can remove that immediate support from interior positions. The learner may then need to use relationships extending beyond a single local neighborhood.

The paper also removes both visual tokens and blockwise masking. Its analysis says that blockwise masking is even more valuable for pixel-level recovery. That observation strengthens the interpretation that masking geometry can reduce reliance on short-distance reconstruction.

It does not show that blockwise corruption solves every problem with a pixel target. In the reported comparisons, visual-token prediction remains the crucial ingredient. Target design and masking geometry influence the task together, instead of functioning as interchangeable fixes.

#### Predicting every position can weaken transfer

The authors test recovering all visual tokens rather than restricting the learning signal to masked positions. They report that this harms downstream performance.

The controlled comparison shows that a larger set of prediction targets does not automatically produce a better representation. Visible positions differ from hidden ones: their original patch information is directly available to the encoder. Asking for the same output at both kinds of location changes the balance of the learning problem.

A plausible reading is that restricting the objective to hidden content puts more emphasis on contextual inference. The paper’s experimental result supports the restriction, but it does not separately quantify every possible explanation for why the all-position objective performs worse.

Longer pretraining is another tested factor. The authors find that extending training improves downstream performance. This matters when interpreting the shorter ablations: their absolute outcomes should not be exchanged with the main run’s outcomes, even when they use the same general method.

#### The tokenizer can be replaced

The image-tokenizer appendix retrains a tokenizer on ImageNet-1K without category labels. It retains a codebook size described as 8K, matching the comparison’s vocabulary scale.

The authors compare image reconstruction using mean absolute error over normalized RGB values and also compare ImageNet classification after BEiT pretraining. They report comparable reconstruction loss and downstream performance between their reimplementation and the released DALL-E tokenizer.

This is useful evidence against an overly narrow reading in which BEiT works only with a single externally supplied tokenizer. The method can function with another tokenizer learned on the main image collection.

The experiment does not establish that tokenizer quality is irrelevant. Reconstruction loss is only one property of a target generator, and comparable outcomes for the tested alternatives do not map the full space of possible vocabularies. The result supports substitutability within the investigated setting.

#### Architecture and objective can contribute separately

The appendix examines LayerScale and relative position bias. Under the shorter pretraining regime, both improve classification and segmentation. The authors use the name BEiT⁺ for the improved architecture in the larger supervised-comparison experiments.

This analysis separates an objective claim from an architecture claim. BEiT’s principal method can be studied with a standard vision Transformer, while additional architectural changes can improve its eventual performance.

The paper also reports a stability qualification: the authors found the vanilla Transformer most stable when scaling toward billions of parameters and therefore did not use LayerScale for extra-large experiments. An improvement at one scale is not presented as an unconditional recommendation at every scale.

The segmentation architecture ablation uses UperNet, whereas the main segmentation experiments use SETR-PUP. That difference should remain visible when reading the appendix. A backbone comparison and a decoder comparison are not the same experiment.

#### Frozen probes reveal another property of the representation

For linear probing, the Transformer is frozen and only the classifier is learned. The authors average patch representations, but they do not assume that the final layer is the most useful location for this readout.

The best reported layer is the 9-th for BEiT-B and the 14-th for BEiT-L. The probe is trained for 50 epochs with AdamW, a learning rate of 4e-3, batch size 1024, and weight decay 1e-4.

The results favor discriminative pretraining over generative pretraining under this evaluation. The paper’s explanation is that methods such as DINO and MoCo v3 explicitly train an image-level aggregate representation, which fits the demands of a frozen global readout.

BEiT’s full fine-tuning results therefore should not be used to claim superior frozen features in every sense. The two evaluations expose different properties. The paper also reports a substantial benefit from increasing BEiT’s size from 86M to 304M parameters, and stronger probing performance than iGPT despite a smaller parameter count.

#### Attention maps provide qualitative evidence

The authors inspect images from [MS COCO](https://md.research.elamur.ai/free/en/papers/lin-2014-microsoft-coco-common-objects-context/) so that the probes do not come from the pretraining collection. They select a reference patch and visualize the final layer’s attention scores between that query and other patches.

The resulting maps show attention concentrated over coherent regions and object extents. This supports the observation that region-sensitive structure can emerge without semantic segmentation labels during pretraining.

It is qualitative evidence. The analysis does not turn attention into a calibrated segmentation output, measure its accuracy over all objects, or prove that a particular attention pattern causes downstream success. The paper presents the maps as an indication of acquired visual organization, with similar behavior already noted for DINO.

### Limitations

#### Limits the authors identify or leave explicitly open

The authors present further scaling in data and encoder size as future work. Their discussion suggests that BEiT could help at much larger scales, but a suggestion about future capacity is different from a completed demonstration of every proposed scale.

They also identify more unified multimodal pretraining as a future direction. The proposed connection is to use related objectives and a shared architecture for text and images. BEiT itself does not demonstrate that complete program. Its experiments concern image representations and visual downstream tasks.

The linear-probe appendix states another substantive limit. BEiT is less effective than the compared discriminative approaches when the encoder is frozen and the task must be solved by a linear readout. The authors explain this partly through differences in global feature aggregation during pretraining. Whatever the explanation, the result constrains any blanket claim of representation superiority.

The architecture appendix adds a practical limit to its improvements. LayerScale helps in the reported base-size comparisons, but the authors favor the vanilla Transformer for stability at much larger sizes. Their architectural additions therefore come with a scale-dependent qualification.

#### Limits visible in the experimental design

A careful reader should distinguish the supervision used at each stage. The main BEiT encoder is pretrained without ImageNet class labels, but its target vocabulary comes from a separately trained image tokenizer. The strongest expanded results also include supervised intermediate learning and supervised final adaptation.

This does not weaken the meaning of self-supervised encoder pretraining. It does mean that the full system is a staged procedure with several sources of structure. Statements about label efficiency should identify which stages use annotations and which datasets supply them.

The main demonstrations cover classification and semantic segmentation. The paper proposes a broadly reusable pretraining framework, but it does not provide evidence for every downstream vision application. Transfer beyond the evaluated tasks remains a hypothesis unless separately tested.

The attention maps offer another boundary. A visually coherent map can help explain why the representation is interesting, but it does not establish reliable object discovery across a dataset. The analysis selects reference points and displays attention. It does not substitute for a quantitative evaluation of unsupervised segmentation.

Comparisons also vary in fairness. Some retain a base-size backbone and ImageNet pretraining, while others involve different parameter counts or much larger image collections. The paper identifies those differences. They should remain part of the interpretation, particularly when comparing BEiT with iGPT or JFT-pretrained Vision Transformer.

The strongest appendix outcomes change more than the pretraining objective. They incorporate architectural adjustments, larger collections, intermediate labels, and a different segmentation decoder. These experiments demonstrate a capable expanded pipeline. They do not isolate a single cause for every improvement.

The vocabulary bottleneck also deserves a measured interpretation. A tokenizer trained for reconstruction produces useful categories in these experiments, but the paper does not prove that every category corresponds to a human-recognizable concept. A token may preserve distinctions useful for reconstructing appearance without having a simple semantic label.

The ablations support learned targets over the tested pixel-regression alternative. They do not settle the general question of whether pixel reconstruction can support strong visual learning under other objectives, architectures, or optimization procedures. The claim should stay attached to the alternatives the paper actually compares.

Finally, downstream convergence and total computational cost are different quantities. Fine-tuning a prepared encoder can be faster than training a task system from scratch, while preparing that encoder still requires substantial computation. The paper reports both the substantial main pretraining run and the faster downstream adaptation. An engineering assessment should consider how often the representation will be reused.

### What came after

BEiT’s later citation record places it in a broad discussion about representation learning from incomplete observations, learned token spaces, and the transfer of pretraining ideas across modalities. A citation establishes that a later work engages with an earlier one; it does not, on its own, establish which component was adopted or whether the later method depends on it. The titles of the later works identify several clear research directions, but they do not support a detailed reconstruction of each work’s technical relationship to BEiT.

#### Masked reconstruction became a wider research question

[Masked Autoencoders Are Scalable Vision Learners](https://md.research.elamur.ai/free/en/papers/he-2021-masked-autoencoders-scalable-vision-learners/) directly concerns masked autoencoding for visual representation learning. Its connection to BEiT is especially relevant at the level of the research question: what should a visual learner infer from an incomplete image, and how can that inference prepare useful features? BEiT makes the target choice central by predicting discrete visual assignments. The later title identifies masked autoencoding as a scalable visual learning approach, but the citation information alone does not establish its precise target or architecture.

[VideoMAE](https://md.research.elamur.ai/free/en/papers/tong-2022-videomae-masked-autoencoders-are-data/) takes masked autoencoding into self-supervised video pretraining and explicitly frames the method around data efficiency. This broadens the setting from still images to video. The conceptual connection is the use of missing-content prediction as a source of supervision. The available citation record does not establish which BEiT design choices VideoMAE retains, changes, or rejects, so its masking procedure should not be inferred from BEiT’s spatial blocks.

[SSAST](https://md.research.elamur.ai/free/en/papers/gong-2022-ssast-self-supervised-audio-spectrogram/) concerns self-supervised learning with an audio spectrogram Transformer. It brings another kind of structured observation into the discussion. The connection worth examining is how a Transformer can learn from unlabeled inputs whose useful units differ from ordinary text tokens. Its title supports the domain and architectural setting; it does not establish that its targets are BEiT-style visual codes.

These works make BEiT’s design questions portable without making its answers universal. Missing-input prediction, token construction, and the preservation of raw information can be reconsidered for each domain. Whether the same solution remains effective is an empirical question.

#### Document and multimodal learning brought modalities together

[LayoutLMv3](https://md.research.elamur.ai/free/en/papers/huang-2022-layoutlmv3-pre-training-document-ai/) names unified text and image masking as its approach to document pretraining. This is closely aligned with the future direction BEiT’s authors describe: bringing text and image learning into a more unified arrangement. The later title supports a concrete connection through masking across those modalities. It does not, on its own, show that every part of BEiT’s tokenizer or prediction head is preserved.

[VLMo](https://md.research.elamur.ai/free/en/papers/bao-2022-vlmo-unified-vision-language-pre/) frames unified vision-language pretraining through a mixture-of-modality-experts design. Its citation of BEiT places the visual pretraining idea within a broader multimodal setting. The title identifies its organizing architecture, while leaving the exact use of BEiT unspecified. The continuity is therefore clearest as a shared concern with how visual and linguistic representations can participate in a common pretraining system.

[OFA](https://md.research.elamur.ai/free/en/papers/wang-2022-ofa-unifying-architectures-tasks-modalities/) proposes unification across architectures, tasks, and modalities using a sequence-to-sequence framework. It represents another way to pursue the broad ambition of sharing learning machinery across different kinds of input and output. BEiT contributes an earlier example of adapting a language-inspired objective to images. The later citation does not establish that OFA adopts BEiT’s discrete target construction.

[Chameleon](https://md.research.elamur.ai/free/en/papers/team-2024-chameleon-mixed-modal-early-fusion/) identifies mixed-modal early fusion as its subject. It belongs to the broader movement toward processing different modalities within a shared system. BEiT’s conclusion anticipates more unified text–image learning, but this does not make the later early-fusion design a direct implementation of BEiT. The relationship supported here is intellectual context and citation, rather than a documented component-by-component inheritance.

#### Visual representation learning remained broader than masking

[DINOv2](https://md.research.elamur.ai/free/en/papers/oquab-2023-dinov2-learning-robust-visual-features/) concerns robust visual features learned without supervision. Its relevance is particularly clear because BEiT already compares itself with DINO and investigates combining DINO’s objective with masked image prediction. The later work’s citation places BEiT within the continuing effort to obtain transferable visual features. It does not establish that masked token prediction is DINOv2’s mechanism.

[Segment Anything](https://md.research.elamur.ai/free/en/papers/kirillov-2023-segment-anything/) concerns segmentation, a task used in BEiT to test whether its patch representations support dense prediction. The citation shows a connection in the research record, but it does not justify claiming that Segment Anything uses BEiT’s objective, tokenizer, or backbone. The useful distinction is between BEiT’s evidence that masked pretraining helps a segmentation pipeline and the later work’s broader segmentation subject.

[EVA-CLIP](https://md.research.elamur.ai/free/en/papers/sun-2023-eva-clip-improved-training-techniques/) addresses improved techniques for CLIP training at scale. It places BEiT among references relevant to large-scale visual and language-related training. The later title supports that training focus, but not a specific statement about which masked-prediction components it uses.

#### The enduring contribution is a set of separable choices

The later works span visual learning, video, audio, documents, and multimodal systems. Their titles show how widely the surrounding research questions spread. They do not warrant treating every citation as an adoption of the complete BEiT procedure.

What BEiT contributes clearly is a decomposition that later researchers can interrogate: preserve rich observations at the input, choose a manageable prediction space, remove information in a deliberate pattern, and evaluate whether the resulting representation transfers. Each choice can be changed independently. The paper’s lasting value lies partly in making those choices explicit and testing several of them, so that masked image learning becomes an experimental design problem with identifiable components instead of a simple analogy to missing words.

## Cite

Cite as Hangbo Bao, Dong Li, Songhao Piao and Furu Wei. 2021. BEiT: BERT Pre-Training of Image Transformers. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2106.08254](https://doi.org/10.48550/arxiv.2106.08254) · [arXiv 2106.08254](https://arxiv.org/abs/2106.08254)

```bibtex
@misc{bao2021beit,
  title = {{BEiT: BERT Pre-Training of Image Transformers}},
  author = {Hangbo Bao, Dong Li, Songhao Piao and Furu Wei},
  year = {2021},
  doi = {10.48550/arxiv.2106.08254},
  eprint = {2106.08254},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2106.08254}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
