Elamur Research

VL-BERT: Pre-training of Generic Visual-Linguistic Representations

Paper · 2019 · Weijie Su, Xizhou Zhu, Yue Cao et al.

Summary

A photograph can supply the evidence that a question leaves unstated. The question can also tell a system which part of the photograph matters. VL-BERT asks whether a system can learn to bring those sources of evidence together before it is trained on any particular task. The authors saw a gap between what pretraining offered in vision and language separately and what it offered in vision and language together. Earlier task-specific systems could start with useful image and text features, but they usually had to learn how to combine them from the target dataset. That left each task to teach many of the same connections, with a risk of overfitting when its training data was scarce.

VL-BERT puts pieces of text and features for selected image regions into the same sequence. The regions are bounding boxes, and their features describe both what is inside and where the box lies. A shared Transformer lets each entry draw information from any other entry, so a word can attend to a region and a region can attend to words from the first layer onward. The resulting features can serve different purposes. A system choosing among candidate explanations can use a feature for the whole input. A system locating the object described by a phrase can score the output feature for each box.

The authors pre-train on image–caption pairs from Conceptual Captions by hiding selected text tokens or image regions and asking VL-BERT to recover a token or identify a region’s object category. The paired examples let it learn when one source supplies evidence missing from the other. The authors also train on text from BooksCorpus and English Wikipedia to give the shared encoder practice with sentences beyond the short clauses common in captions. The visual feature extractor is updated along with the encoder. In a controlled comparison, adding text-only examples helped on all the evaluated tasks, with the clearest benefit on visual commonsense reasoning. Adding the masked-region objective helped with locating referred objects. An extra objective that asked whether an image and caption belonged together lowered performance in the authors’ comparison.

Pretraining improved the reported results on Visual Commonsense Reasoning, Visual Question Answering and RefCOCO+ object localization. The authors report first place among individual systems on the Visual Commonsense Reasoning leaderboard. On Visual Question Answering, VL-BERT surpassed the task-specific BUTD baseline, while LXMERT scored higher. On RefCOCO+, VL-BERT improved on MAttNet and was comparable to ViLBERT. These experiments show how one pretraining procedure can support tasks that ask for different outputs, from a choice among written explanations to a box in an image. The tasks still use their own supervised training and prediction rules.

Deep dive: VL-BERT: Pre-training of Generic Visual-Linguistic Representations

VL-BERT learns from images and text in a shared Transformer, then adapts to visual reasoning, question answering, and object localization. · about 37 minutes to read

The problem and its context

What separate pre-training leaves to the target task

An image region can be easy to recognize and still be difficult to connect to a sentence. If a question mentions a person, a system has to determine which person is meant, retain what the question asks about that person, and decide which visual details bear on the answer. An image network’s ability to describe the region and a text network’s ability to represent the sentence are both useful. The connection between them is a further capability. It concerns which elements should be brought together for the decision at hand.

The authors describe a common approach in which separately pretrained image and text networks supply features to a task-specific architecture. The target task then determines how those features are combined. A system built to answer questions may have a particular mechanism for finding relevant image features, while a system built to locate an object described by a phrase may have its own mechanism. Reusing the separate networks saves some learning. The interaction between their outputs is still mostly learned from each task’s training examples.

That dependency matters when the target dataset is small. A task-specific system has to learn how words and regions correspond while also learning how to produce the benchmark’s particular output. If the data offer only a narrow range of examples, the authors argue that such a system may overfit. They also identify an obstacle to studying pretraining itself. If every task changes the architecture that joins image and text, there is little common ground for asking which ways of preparing that architecture will transfer.

VL-BERT starts from requirements shared across tasks. A system sometimes has to combine words within a question, compare regions within the image, and find links between words and regions. The composition changes from example to example. One input may pair an image with a caption. Another may include a question and an answer candidate, whose relationship matters alongside their relationship to the image. The authors seek a representation that can support these forms of interaction even when the final decision differs.

What vision and language research had already supplied

The vision precedent was the reuse of an image network trained on ImageNet. In the authors’ account, AlexNet’s success on image classification helped establish convolutional networks as a basis for other computer vision tasks. Later work reused features from ImageNet-trained networks for problems such as object detection and semantic segmentation. Classification assigns a label to an image, while detection locates objects and segmentation assigns categories to parts of the image. The shared features could therefore support outputs different from the classification output used to prepare them. AlexNet · DeCAF

The paper also discusses work that trained vision networks directly on large target datasets and obtained comparable performance to systems initialized on ImageNet. The point of the precedent is conditional. When sufficient target data exist, the value of a separate training stage can change. When target examples are scarce, earlier work cited by the authors found that preparation on an appropriate large dataset remained important. That distinction motivates learning from image captions before asking the network to solve a more specialized visual and linguistic task.

In language research, earlier work transferred word embeddings, which represent individual words as vectors. The authors contrast this stage of the field with what became possible after the introduction of Transformer attention. An attention layer builds a contextual representation by letting each position draw on the other positions. That lets a whole stack of contextual processing transfer across tasks. BERT supplied the immediate template for VL-BERT. It learned to reconstruct hidden tokens from context and could then be adapted to particular language tasks. GloVe · Attention Is All You Need · BERT

Why images called for a different input design

The authors point to VideoBERT as an early attempt to pre-train jointly on visual and linguistic information. VideoBERT used an existing action-recognition network to represent clips and grouped those representations into clusters. A cluster identity served as a kind of visual word. Predicting the identities of hidden clips gave the training procedure a target, but the paper argues that assigning clips to discrete clusters throws away visual information and makes updating the visual network difficult. CBT, discussed as a follow-up, removed the clustering mechanism.

Video clips have a temporal order that lends itself to a sequence. A sentence has its own order, which can be represented in the same general way. Bounding boxes in a photograph present a different problem. There is no inherent first or second box. An order imposed by a detector would convey something about its output list, whereas the information the encoder needs is where the boxes lie in the image and how they relate to the language. VL-BERT keeps a position signal for text and describes each region by its own image coordinates.

The paper appeared alongside other efforts to make pretraining reusable across image and language tasks. ViLBERT and LXMERT processed the modalities in separate networks before bringing them together through cross-modal attention. The authors of VL-BERT describe those designs as restricting which entries attend to which within the cross-modal component. Their own choice was to allow interaction from the start of the shared encoder. VisualBERT, B2T2 and Unicoder-VL also used unified streams, so early combination was a design adopted by several groups. The distinctive questions in this paper concern how to represent regions, what to hide during training, what data to mix, and which parts of the system to update. ViLBERT · LXMERT

The method, step by step

From a sentence and an image to a sequence

Consider an image with an accompanying caption. VL-BERT first needs entries the Transformer can work with. On the text side, WordPiece applies subword tokenization, so a position can stand for a complete word or a piece of one. On the image side, the entries correspond to regions of interest, abbreviated RoIs. Each RoI is a bounding box. During pretraining the boxes come from an object detector. A task that supplies annotated boxes can use those instead. In both cases the Transformer works with vectors associated with the boxes.

Special tokens organize the input. [CLS] marks its start and provides a position whose final feature can support a prediction about the whole example. [SEP] separates text fields where there are several and marks the boundary between text and regions. [END] closes the sequence. The words of a caption go before the image-region entries. With a question and a candidate answer, the question and answer occupy separate text segments before the regions. A system that receives a text passage without an image can use the same encoder with a learned stand-in for the visual features.

The sequence is a common interface for several prediction problems. During pretraining, a token or region position can be the place where a prediction is made. During fine-tuning, the choice of output position depends on the task. A classifier at [CLS] can score a question paired with a candidate. A classifier at an answer placeholder can select among known answers. A classifier applied to region outputs can score the locations in the image. The diagram follows the path from inputs to the masked predictions used for pretraining.

How VL-BERT prepares and processes a training example

The steps in order.

How VL-BERT prepares and processes a training exampleStep 1: Select image regions and split text into subwords1. Select image regions and split text into subwordsStep 2: Hide selected tokens and zero selected region pixels2. Hide selected tokens and zero selected region pixelsStep 3: Extract visual features from the prepared image3. Extract visual features from the prepared imageStep 4: Add token, visual, segment and position embeddings4. Add token, visual, segment and position embeddingsStep 5: Exchange information through shared Transformer layers5. Exchange information through shared Transformer layersStep 6: Predict hidden tokens and region categories6. Predict hidden tokens and region categories

The four contributions to an input vector

Every position starts with the sum of a token embedding, a visual feature embedding, a segment embedding and a sequence position embedding. An embedding is a vector that gives the encoder a numerical representation to work with. The contributions can describe different aspects of the same position. A text token has a lexical identity, a place in a sentence and a role within the input. A region has visual content and a location in the image. Once summed, the contributions form the single vector that the first attention layer receives for that position.

The token embedding is looked up in a WordPiece vocabulary of 30,000 entries for the text stream. Each special marker has its own token identity. All individual region entries use the same special token, [IMG]. This means the token channel identifies a region as a visual entry. Its box-specific details come through the visual channel. Two regions can begin with the same token embedding and still have different input vectors because they depict different content or occupy different places.

The visual channel combines appearance and geometry. For appearance, the detection branch of Faster R-CNN supplies a Fast R-CNN feature for the box. VL-BERT takes the feature before the detector’s output layer. This is a 2048-d vector in the paper’s implementation. The detector’s category decision has a separate role as a training target for the masked-region task. Keeping the appearance vector as input leaves the encoder access to finer visual information than a category name would provide.

For geometry, the authors describe a 4-d vector constructed from the box corners and the size of the image. The expression below preserves the paper’s notation.

(x_LT/W, y_LT/H, x_RB/W, h_RB/H)

Here x_LT and y_LT are the horizontal and vertical coordinates of the top-left corner. The paper names x_RB and y_RB as the corresponding coordinates of the bottom-right corner. Its displayed vector uses h_RB in the final component, where the accompanying definition indicates the bottom-right vertical coordinate y_RB. W is the image width and H is its height. The slashes divide the horizontal coordinates by width and the vertical coordinates by height. The commas separate the components of the box description.

The normalized coordinates tell the encoder where the region lies relative to the full image. To encode them, the authors use sine and cosine functions with different wavelengths, following the approach they cite from Relation Networks. This produces a 2048-d geometry embedding. They join the appearance and geometry vectors by concatenation and use a fully connected layer to turn the result into the visual embedding. A region can therefore carry evidence about its contents and position together. Relative position in the picture enters through this embedding even though the regions share a sequence position embedding.

For positions that do not denote a particular region, the appearance feature comes from a box covering the whole picture. Thus a word receives a word-specific token embedding and access to the global image feature at its own position. Attention can bring particular box features into its representation in later layers. On text-only input there is no full-image feature to compute, so the visual embedding is a learned vector shared across words.

Segment embeddings mark the input source. The authors use A for the first text field, B for the second and C for the image regions. With a caption and an image, the relevant content segments are A and C. With a question, an answer and an image, the question takes A, the answer takes B, and the regions take C. This helps preserve the roles of text fields that might otherwise look alike at the token level. A word occurring in both the question and a proposed answer can have the same token identity but enter with different segment information.

The position embedding conveys the order of text. The regions share a position embedding because the list order does not describe their arrangement in the picture. The paper distinguishes the ordering encoded in the vectors from the ordering used to store them. If the input vectors are permuted as complete entries, the attention computations move the corresponding outputs with them. Changing a word’s assigned position embedding changes the vector itself. For boxes, moving a complete entry to another place in the list preserves its visual content and geometry. The box can still be identified by those features after the permutation.

What a shared attention layer computes

The paper develops the computation by reviewing BERT. Start with an ordered collection of embedded entries.

x = {x₁, …, x_N}

Here x denotes the complete input collection, x₁ is its first embedding, and x_N is its last. N is the number of entries. Braces group the entries and the ellipsis represents the intervening ones. In BERT’s text setup the entries represent positions in the linguistic input. In VL-BERT the same layer equations apply to a collection that can also include regions and formatting tokens.

xˡ = {x₁ˡ, …, x_Nˡ}

Here xˡ is the collection of features at layer l. x₁ˡ and x_Nˡ are the features of the first and last positions at that layer. The ellipsis again covers the other features. The paper uses the input vectors themselves for the initial layer features.

x⁰ = x

Here x⁰ denotes the features before any Transformer layer has processed them. x is the input collection defined above. The superscript 0 is a layer index.

An attention head computes how compatible a receiving position is with a potential source. The query represents what the receiving position is seeking. The key represents the source for the purpose of that comparison. The value, which enters the next equation, represents the information the source can pass on. Each head has its own learned projections for these roles. The paper gives the weights in proportional form.

Aᵐᵢ,ⱼ ∝ exp[(Qₘˡ⁺¹ xᵢˡ)ᵀ (Kₘˡ⁺¹ xⱼˡ)]

Here i is the receiving position, j is the source position and m identifies the head. xᵢˡ and xⱼˡ are their features from layer l. Qₘˡ⁺¹ is the head’s learned query projection and Kₘˡ⁺¹ its learned key projection in the next layer, indexed by l+1. ᵀ transposes the projected query so the following multiplication is a dot product with the projected key. exp exponentiates that compatibility score, and ∝ indicates that the weight Aᵐᵢ,ⱼ is proportional to the resulting positive quantity. The normalization fixes the total weight available to each receiving position in each head.

∑ⱼ₌₁ᴺ Aᵐᵢ,ⱼ = 1

Here ∑ adds the weights for source positions j from 1 to N, the number of input positions. Aᵐᵢ,ⱼ has the same receiving position i and head m throughout this sum. The right-hand side gives the total weight after normalization. A head can concentrate most of its weight on a few useful sources or spread it more evenly.

h̃ᵢˡ⁺¹ = ∑ₘ₌₁ᴹ Wₘˡ⁺¹ {∑ⱼ₌₁ᴺ Aᵐᵢ,ⱼ · Vₘˡ⁺¹ xⱼˡ}

Here h̃ᵢˡ⁺¹ is the multi-head attention result at receiving position i in the next layer. The inner sum runs over the N source positions. Vₘˡ⁺¹ is the learned value projection for head m, applied to each source feature xⱼˡ. The dot · multiplies the projected value by the scalar attention weight Aᵐᵢ,ⱼ. The braces enclose the weighted sum of values for that head. Wₘˡ⁺¹ is the learned output projection of the head, and the outer sum adds the projected results across the M heads, with m running from 1 to M.

The layer then adds its attention result to the input at the receiving position. This residual connection lets the position carry its previous feature forward while incorporating new information. Layer normalization is applied to the sum.

hᵢˡ⁺¹ = LayerNorm(xᵢˡ + h̃ᵢˡ⁺¹)

Here hᵢˡ⁺¹ is the normalized intermediate feature at position i in layer l+1. xᵢˡ is the feature from layer l, and h̃ᵢˡ⁺¹ is the attention result just computed. + adds the vectors. LayerNorm denotes layer normalization.

Next, a feed-forward component transforms the intermediate feature at each position. It operates on the feature already enriched through attention, without a further summation over other positions in this step.

x̃ᵢˡ⁺¹ = W₂ˡ⁺¹ · GELU(W₁ˡ⁺¹ hᵢˡ⁺¹ + b₁ˡ⁺¹) + b₂ˡ⁺¹

Here x̃ᵢˡ⁺¹ is the feed-forward result at position i. W₁ˡ⁺¹ and W₂ˡ⁺¹ are the learned weight matrices of the first and second transformations in this component. b₁ˡ⁺¹ and b₂ˡ⁺¹ are their learned bias vectors. hᵢˡ⁺¹ is the normalized intermediate feature and GELU is the nonlinear activation applied between the transformations. The dot · indicates multiplication by the second weight matrix. The plus signs add the respective biases.

xᵢˡ⁺¹ = LayerNorm(hᵢˡ⁺¹ + x̃ᵢˡ⁺¹)

Here xᵢˡ⁺¹ is the completed layer output for position i. hᵢˡ⁺¹ is the feature entering the feed-forward component, x̃ᵢˡ⁺¹ is that component’s result, and + adds them in the second residual connection. LayerNorm again normalizes the sum. The completed features across all positions become inputs to the next layer.

The range of the attention sum is what makes this a shared encoder. A region may use another region as a source. A word can also use a region, another word or a special position. These options are available within the same layer. With the layers stacked, later attention acts on features that have already acquired context. For example, a word’s later query can depend on what it gathered from both the sentence and the image in earlier layers.

BERT’s pre-training objectives in the paper’s notation

To explain the training precedent, the authors set out BERT’s masked language objective using a joint-distribution interpretation. In that account, the distribution over sentences is related to a collection of position-specific potentials. A potential provides a score for the token the sentence actually has at a position, given a representation computed with that position masked. The paper writes the relationship in the following form.

log P(x ∣ θ) = (1/Z(θ)) ∑ᵢ₌₁ᴺ log φᵢ(x ∣ θ)

Here log is the logarithm, P(x ∣ θ) is the joint probability assigned to input x under parameters θ, and ∣ separates the input from those parameters. Z(θ) is the partition function in the paper’s expression. φᵢ(x ∣ θ) is the potential for position i. The sum covers positions 1 through N, with N the number of entries, and the prefactor is written as the reciprocal of Z(θ).

log φᵢ(x ∣ θ) = xᵢᵀ fᵢ(x∖ᵢ ∣ θ)ᵢ

Here φᵢ, x and θ retain their previous meanings. xᵢ denotes the representation of the actual entry at position i, and ᵀ transposes it for the product. x∖ᵢ denotes the input with the entry at i masked. In the paper’s notation, fᵢ(x∖ᵢ ∣ θ)ᵢ is the final feature corresponding to that position when the network processes the masked input. The score connects the real entry to a feature computed from context.

x∖ᵢ = {x₁, …, xᵢ₋₁, [MASK], xᵢ₊₁, …, x_N}

Here x∖ᵢ is the modified input, x₁ and x_N mark the ends of the collection, and xᵢ₋₁ and xᵢ₊₁ denote the entries immediately before and after position i. The ellipses stand for the other entries. [MASK] replaces the content at position i and preserves its place in the collection.

L_MLM(θ) = −Eₓ∼D, ᵢ∼{1,…,N} log φᵢ(x)

Here L_MLM(θ) is the masked language loss under the network parameters θ. E denotes expectation and ∼ denotes sampling. The sentence x is sampled from the training data D, and i is sampled from the positions 1 through N in that sentence. log φᵢ(x) is the position-specific log-potential, with its dependence on the parameters implicit in this expression. The minus sign makes the average score a loss to minimize.

The paper’s discussion of BERT also covers Next Sentence Prediction. BERT receives a pair of text segments with [CLS] marking the start and [SEP] separating them. It uses the final feature at [CLS] to predict whether the second sentence immediately follows the first in the original document. The loss is binary.

L_NSP(θ) = −E_(x,t)∼D [t log(g(x₀ᴸ)) + (1−t) log(1−g(x₀ᴸ))]

Here L_NSP(θ) is the Next Sentence Prediction loss for parameters θ. E averages over examples (x,t) sampled from training data D. x is the formatted input and t is its binary label, taking 1 for a direct successor and 0 otherwise. x₀ᴸ is the feature at the [CLS] position, indexed by 0, in final layer L. g is the sigmoid classifier applied to that feature. The factors t and 1−t select the appropriate logarithm, and the initial minus sign turns the selected log score into a loss.

These equations explain the BERT design from which VL-BERT starts. For VL-BERT’s paired examples, the paper specifies classifiers with softmax cross-entropy for hidden tokens and hidden object categories. A softmax turns a vector of scores into a probability distribution over the possible classes. Cross-entropy penalizes assigning low probability to the training target. The counterpart to Next Sentence Prediction would classify the relationship between a sentence and an image. The authors test such an objective separately and leave it out of their final recipe.

Learning from pairs and from text alone

The paired source is Conceptual Captions. It contains around 3.3 million captioned images collected from the web and processed automatically. Before paired pretraining, the authors run a pretrained Faster R-CNN detector to find candidate regions. They keep at most 100 RoIs per image with detection scores above 0.5, with at least 10 regions retained even when that requires using boxes below the threshold. A whole-image box is added separately as a source of global context.

In the masked language task, a text position is selected with probability 15%. The selected token is replaced by [MASK], and the final feature at that position is sent to a vocabulary classifier. The nearby words can constrain which tokens might fit, while the image can help choose among them. The paper illustrates the distinction with an image of a kitten drinking. A caption with the container hidden leaves several plausible completions. A region depicting the bottle supplies a reason to prefer the token for that object. The training signal comes from recovering the actual token in the caption. It does not require a separate annotation linking the word to a box.

The region task reverses the direction in which the missing content is predicted. An RoI is selected with probability 15%. VL-BERT uses the corresponding region output to predict its object category. The target is the category assigned by the pretrained detector, so labeled boxes do not have to be added by hand for the caption corpus. The surrounding image and the caption remain sources of context. If the kitten’s box is hidden, the caption can still supply evidence for its category.

The implementation of the region mask matters because the visual features come from a convolutional network. If the system first extracted features from the unaltered image, the feature for a different box might already contain evidence from the area being hidden. The authors therefore set the pixels of the selected boxes to zero before making the Fast R-CNN features. This changes the image the visual feature extractor sees across the example. The whole-image box is exempt from selection as a masked RoI, although its feature is still extracted from the image with selected pixels zeroed. It can supply the remaining scene context.

Conceptual Captions gives the system paired evidence, but the authors describe its captions as predominantly simple clauses. Some downstream inputs contain longer sentences, including an answer followed by a candidate explanation. VL-BERT also trains on BooksCorpus and English Wikipedia. These examples exercise the same encoder with masked text positions and the shared learned visual placeholder. There is no region classifier target for a sample without an image. The task for those samples is masked language prediction. BooksCorpus

Initialization, optimization and adaptation

VL-BERT BASE starts from the parameters of BERT BASE, and VL-BERT LARGE starts from BERT LARGE. The newly introduced parameters are initialized from a Gaussian distribution with mean 0 and standard deviation 0.02. The visual side also has its own starting point. Faster R-CNN with ResNet-101 begins with parameters trained for object detection on Visual Genome. The experimental comparison with and without VL-BERT pretraining thus concerns an added stage of joint learning. The architecture can start with capabilities inherited from training on the separate modalities. Visual Genome

Pretraining runs for 250k iterations on 16 Tesla V100 GPUs. The authors draw 256 samples per mini-batch, with 128 image–caption pairs and 128 text-only sequences. The latter contain at most 64 tokens per sequence. The 1:1 mixture exposes the encoder to both sources within a training batch. It gives the visual input path paired examples while letting the same attention and text components continue learning from passages without pictures.

The optimizer is Adam, with a base learning rate of 2 × 10⁻⁵. The two Adam coefficients, which control moving averages in the optimizer, are 0.9 and 0.999, and weight decay is 10⁻⁴. The learning rate warms up over the first 8,000 steps and then decays linearly. The authors update the Fast R-CNN feature-producing parameters together with the shared encoder during pretraining and during downstream adaptation. The detector used to select boxes and supply the labels for the pretraining targets plays a distinct role from the visual features being updated. Adam

The downstream training stage attaches a prediction branch suited to each task. Each branch reads from a different kind of output position when appropriate. The whole-input [CLS] feature supports scoring a candidate response. An answer represented by [MASK] can be filled from a fixed set. A region feature can be scored against a referring expression. The authors also suggest that additional text fields or images could be accommodated by adding segment embeddings to identify their sources. The experiments examine the specific input formats and losses described below. The authors released the VL-BERT code.

Experiments and results

Visual Commonsense Reasoning

Visual Commonsense Reasoning, or VCR, presents an image from a movie scene, a question, and categorized boxes for regions in that image. The question calls for an inference beyond recognizing the objects. The system chooses an answer and a rationale for that answer from candidate texts supplied with the example. There are 4 answer candidates and 4 rationale candidates per question. This format makes it possible to score both the initial answer and the accompanying justification.

The dataset has 265k question, answer and rationale examples over 100k images. The training split contains 213k questions and 80k images. Validation has 27k questions and 10k images. The test split has 25k questions and 10k images. The authors follow the experimental protocol used by R2C, training on the training split and evaluating on validation and test.

VCR separates the combined task, Q → AR, from its two parts. In Q → A, the system sees the question and scores each proposed answer. In QA → R, the question and answer together provide the context against which each proposed rationale is scored. An accuracy for choosing the rationale in that subtask measures performance with the answer supplied in the input. The combined score concerns getting both choices right. The distinction matters when interpreting results because success at explaining a supplied answer and success at finding that answer are evaluated separately.

VL-BERT formats a question and an answer candidate as separate text fields alongside the annotated boxes. For rationale scoring, the question and answer occupy the first text field together, and the rationale candidate goes in the second field. A classifier takes the resulting [CLS] feature and scores the candidate. Training uses the answer-choice loss and a region category loss conditioned on linguistic input. The use of the benchmark’s annotated regions preserves the input convention of R2C and gives VL-BERT a set of boxes relevant to the example.

The two VCR subtasks differ in how much text the encoder receives. The authors report the averages below in their analysis of why text-only pretraining helped VCR. Both are input settings used by VL-BERT. The shorter input is used to score answers, and the longer input is used to score explanations.

VCR answer and rationale scoring by mean words per sample

Rationale scoring uses longer text inputs on average.

VCR answer and rationale scoring by mean words per sampleQuestion to answer: 16.0Question to answer16.0Question and answer to rationale (this paper): 33.7Question and answer to rationale (thispaper)33.7
The numbers
System or settingwords per sample
Question to answer16.0
Question and answer to rationale (this paper)33.7

Input length in this chart describes the task and has no preferred value for performance. The paper reports that pretraining increased accuracy by 1.0% on the combined VCR Q → AR task. Its discussion gives the gain for that task without assigning that figure to a specific split. Relative to R2C, the authors report substantially higher accuracy using the shared encoder in place of R2C’s dedicated grounding, contextualization and reasoning modules. They also compare VL-BERT against ViLBERT, VisualBERT and B2T2 and report the strongest overall single-system VCR performance in their comparison. The account identifies the leaderboard result as first place among individual systems. It gives no absolute score in the prose for that position.

The setup is informative about transfer because VCR asks the encoder to evaluate language as part of the answer. A system must take account of what a proposed sentence says before it can judge whether the picture and question support it. The benchmark also narrows the search. It supplies candidate answers and rationales and identifies the relevant image regions through annotations. The reported accuracy measures choice under those conditions.

Visual Question Answering

The second task is Visual Question Answering, abbreviated VQA. Here the benchmark asks a question about a natural image, with the emphasis on perceptual understanding. The experiments use VQA v2.0, based on COCO images. Its training split contains 83k images and 444k questions, its validation split contains 41k images and 214k questions, and its test split contains 81k images and 448k questions. The paper follows BUTD’s protocol and treats the answer as a choice from a pool of 3,129 answers shared across questions. VQA v2.0

This shared pool changes how the input is assembled. VCR supplies full candidate texts that can enter the encoder individually. For VQA, the answer field consists of a single [MASK] position. The question and detector regions provide the evidence, and a classifier uses the final feature at [MASK] to score the answers. The presence of a mask resembles the pretraining task, but the output classes here are the task’s possible answers. The fine-tuning loss is multi-class cross-entropy over those answers.

Following BUTD, a Faster R-CNN detector with Visual Genome pretraining produces the region boxes. The comparison therefore uses the same kind of question, image and box inputs and the same output protocol as the task-specific baseline. The authors report that the added pretraining improved VQA accuracy by 1.6%. They also report that VL-BERT exceeded BUTD by over 5% in accuracy. The prose discussing these gains leaves their evaluation split unspecified.

LXMERT is the exception the authors give when comparing VL-BERT with the concurrent systems on VQA. The paper attributes the higher LXMERT result to its use of extensive VQA data in pretraining, including datasets based on COCO and Visual Genome. VL-BERT’s pretraining uses image descriptions and text passages, so its supervised adaptation has to bridge the difference between recovering a missing caption token and answering a question. The comparison gives evidence about the full recipes used by the two systems. Their data, objectives and architectures differ together, so the VQA ranking alone cannot identify which design choice accounts for the ordering.

Referring expression comprehension

The third experiment asks which object in an image a phrase refers to. The answer is a region, and the useful output is a score for every candidate box. The benchmark is RefCOCO+, which contains 141k expressions for 50k referred objects in 20k COCO images. Its collection rules exclude absolute location words in the referring descriptions, so the expressions emphasize how objects look. The task can require the system to use a descriptive detail to distinguish among otherwise plausible candidates.

RefCOCO+ has a training split, a validation split and test splits called testA and testB. TestA contains images with multiple people. TestB contains images with multiple objects from other categories. The authors report that images do not overlap between training, validation and testing. Differences between these test settings matter because they can change what kind of distinction the referring phrase asks the system to make.

For evaluation the authors use two kinds of candidate regions. One track supplies the annotated boxes. The other uses detected boxes from MAttNet. In either track, VL-BERT receives the query and image regions, then produces a score for each region’s final feature. During adaptation, a binary classification loss is applied at each box. At inference the box with the highest score is selected. In the detected-box track, the result depends in part on whether the candidate list contains a suitable location. The annotated-box track gives a comparison with supplied object locations.

The authors report a clear improvement from pretraining on RefCOCO+. They describe VL-BERT as outperforming MAttNet, which uses an architecture designed for referring expressions, and achieving comparable performance to ViLBERT. The paper’s prose gives the direction of these comparisons without stating absolute accuracy values for the individual splits or tracks. The important architectural difference from the other evaluated tasks is where the answer is read. A localization result depends directly on the output features of the [IMG] positions, since those features are individually scored against the phrase.

Training schedules for the benchmarks

The full downstream experiments use 16 Tesla V100 GPUs, 20 epochs and mini-batches of 256 examples for each task. VCR batches contain formatted question, answer and image triplets. VQA batches use the same triplet format with the answer placeholder, while RefCOCO+ batches pair a query with an image. The shared representation makes the pipelines similar, while each task retains its own prediction head, supervision and optimizer settings.

For VCR the authors use mini-batch gradient descent with momentum of 0.9, base learning rate of 5 × 10⁻³ and weight decay of 10⁻⁴. The learning rate starts at 0, warms up linearly for 1,000 steps, and is decayed by 0.1 at the 14-th and 18-th epochs. For VQA and RefCOCO+ they use Adam with a base learning rate of 1 × 10⁻⁴, coefficients of 0.9 and 0.999, and weight decay of 10⁻⁴. The VQA warmup lasts 2,000 steps. The RefCOCO+ warmup lasts 500 steps. Those warmups are followed by linear learning-rate decay.

The benchmarks test transfer to several output formats. VCR requires comparing supplied passages. VQA reads the answer from a classifier over a shared pool. RefCOCO+ chooses a spatial region. The positive comparisons with the task-specific baselines show that the same architecture can supply features for each output. The benchmark comparisons alone leave open how much of the result comes from particular pretraining objectives. The controlled changes address that question more directly.

What the ablations show

Starting with masked language prediction

The ablation study uses VL-BERT BASE and fine-tunes for 0.5× the full downstream schedule. Shortening adaptation lowered the experimental cost, while holding it constant across the settings under comparison. The differences are evidence about the contribution of components under this shorter schedule. The complete system is also evaluated separately with the full schedules for the benchmark comparisons.

The simplest pretraining setting uses the paired masked language objective. The authors compare it with the setting that omits VL-BERT pretraining and report a benefit from adding that objective. With paired masked prediction, the encoder has already practiced recovering a token in the presence of both words and visual features by the time it encounters labeled downstream examples. Since the comparison adds that training procedure as a whole, an accuracy gain establishes the value of the procedure in this setup. It does not separately measure how much masked-token recovery depended on visual evidence and how much came from text context.

The complete BASE setting improves all the downstream tasks relative to the setting without joint pretraining. The sizes of the improvements vary by task. That variation is expected from the way the tasks read out the shared representation. A scorer for answer choices and a scorer for regions train different output positions to support the final decision. The intermediate settings let the paper ask whether particular sources of supervision are better aligned with some of those outputs.

Adding a target at region positions

The authors add masked RoI classification to a setting that already uses visual clues for masked language prediction. The change improves RefCOCO+ accuracy and gives little further improvement on VCR or VQA in the comparison. This is the least uniform of the reported positive results. The region objective makes the regional outputs carry a prediction during pretraining, and that direct supervision appears most helpful where downstream inference also reads outputs at the regional positions.

The authors offer this correspondence between the pretraining and downstream prediction sites as an explanation. RefCOCO+ consumes features at [IMG] positions when deciding which object the expression refers to. VCR reads from [CLS], and VQA reads from the answer [MASK] position. Both of those tasks can incorporate visual information, since their output positions can attend to regions. The measured comparison suggests that adding region-category supervision had its clearest direct benefit when the final readout also operated on regions. It leaves open whether a different region target would help the other tasks.

Testing sentence–image matching

The paper then tests a loss that predicts whether a caption and image belong together. ViLBERT and LXMERT use a version of this idea. The target concerns the compatibility of the example as a whole, whereas the retained masked objectives ask for a particular missing token or category. A matching objective needs negative examples, which are formed by presenting captions and images that go with different examples.

In VL-BERT’s ablation, adding this objective reduces performance on all the downstream tasks. The authors suggest that mismatched pairs may interfere with the other training objectives. With a matched pair, the words and the image can be useful evidence about each other. With a mismatched pair, they can describe unrelated content. The performance change shows the result of adding the matching objective under the authors’ training conditions. The proposed explanation remains a hypothesis about the source of the change. The comparison does not isolate the effects of negative examples from the effects of the extra prediction loss.

Mixing in text-only sequences

The text-only comparison retains the paired masking objectives and adds examples from BooksCorpus and English Wikipedia. The authors report benefits on VCR, VQA and RefCOCO+, strongest on VCR. They connect that pattern to the language requirements of the tasks. In VCR, the mean words per sample are 16.0 for answer choice and 33.7 for rationale choice. The corresponding means reported for VQA and RefCOCO+ are 7.2 and 3.5 words per sample. The paper gives these as task-level averages without a split-specific breakdown.

VCR includes longer inputs, especially when the encoder receives question and answer context alongside a candidate rationale. The caption corpus gives relatively little practice with that kind of input. Text-only examples provide further practice in interpreting longer passages, even though they add no evidence about visual regions. The observed pattern is consistent with that account. The experiment varies the presence of a text corpus, so it cannot separate length from other differences in the language those examples contain. It also gives no comparison between the individual contributions of BooksCorpus and Wikipedia.

Updating the image features and inspecting attention

In the final ablation step, training also updates the Fast R-CNN parameters that generate the visual features. The authors report an improvement on each downstream task. This comparison matters because an off-the-shelf detector’s features were originally prepared for recognizing and locating objects. VL-BERT uses them as input for tasks that can require interpretation of words, relationships and contextual clues. Updating the extractor makes it possible for the losses in the combined system to change the features before they reach attention. The comparison supports learning those features jointly under the paper’s recipe.

The appendix offers a different kind of analysis. Using BertViz, the authors inspect attention in pretrained VL-BERT BASE before any task-specific adaptation. The examples come from COCO val2017. They display attention from text tokens, as queries, towards image regions, as keys. The figures rescale line intensities across heads within a layer, with the minimum set to 0 and the maximum to 1. A line therefore helps show what receives relatively more attention in the visualization.

The displayed patterns differ across heads. Some give more attention to the regions associated with particular text tokens. Others distribute attention approximately evenly among the boxes. The first pattern is compatible with using a word to identify an image region, and the second with gathering broader visual context. These examples illustrate behaviors available before supervised adaptation. They do not measure how frequently the behaviors occur across the dataset, or how much any displayed attention weight contributed to a benchmark answer.

Limitations

Limits identified by the authors

The authors identify a gap between the language of Conceptual Captions and the language required downstream. Captions are mainly simple clauses. VCR can involve a longer question, an answer, and a rationale whose relation to the question has to be evaluated. The text-only corpus is their response to this mismatch. It gives the encoder experience beyond captions, and the ablation supports including it. Since those sequences contain no images, the training procedure still has limited paired examples of the kind of extended language required in VCR.

They identify a related mismatch for VQA. VL-BERT pre-trains on captions and ordinary text. LXMERT uses pretraining data much closer to the benchmark, including visual question answering datasets. The authors use this difference to explain why LXMERT scores higher on VQA. The result qualifies the broad claim for a generic representation. A recipe useful across multiple tasks can still be surpassed on a particular task by a recipe with closer supervision.

The conclusion proposes exploring other objectives that could help more downstream tasks, with image caption generation as an example. The evaluated outputs are selections among supplied answers, rationales or boxes. Learning from caption text is part of the pretraining procedure, but the paper’s experiments do not establish how well VL-BERT would compose a caption for a new image. The demonstrated scope is broader than one benchmark and narrower than the range of formats the architecture is designed to accept.

Limits visible in the experimental setup

The comparison between unified and two-stream architectures is a comparison across complete systems. Pretraining data, objectives and visual processing also vary. VL-BERT’s VCR result shows that a unified encoder can be competitive with the two-stream alternatives in the comparison. To establish an independent gain from unrestricted attention, an experiment would need to vary the attention design while holding the other consequential choices fixed. The ablation study instead focuses on the pretraining objectives, the corpus mixture and the ability to update image features.

The region-based interface determines what can be scored directly. VCR supplies annotated boxes, and the VQA setup relies on detector proposals. RefCOCO+ makes this dependency more visible by evaluating both annotated and detected region tracks. A region scorer can choose only among the candidates it receives. When the candidate set comes from a detector, the scoring result reflects both the available locations and the encoder’s ability to select among them. The study does not show how VL-BERT would perform at finding objects without this candidate-region interface.

The target category for a masked region also comes from the pretrained detector. Masking the pixels helps remove direct evidence of the selected content before feature extraction. The task still teaches the system to recover the detector’s category decision using remaining evidence. A category label can be predicted from the caption, scene or position of the box. That is enough to improve the loss, even when the system has yet to learn more detailed properties of the hidden object. The paper does not separately evaluate the accuracy of the detector-supplied targets or quantify which clues drive successful region predictions.

The benchmarks define restricted forms of reasoning and answering. VCR supplies candidate explanations and evaluates their selection. VQA asks the classifier to choose from a fixed answer vocabulary. The accuracy results establish improvements within those formats. They do not show how the system would perform if it had to write an explanation, answer outside the vocabulary, or formulate its own description of the evidence. Similarly, a cross-modal attention visualization can suggest an association worth examining, but the examples alone cannot show that the association was necessary for the final prediction.

Finally, the ablations use the BASE variant and abbreviated adaptation. They support decisions about the training recipe under those conditions. The paper does not establish that the relative effects would have the same size with the LARGE variant or under a different adaptation schedule. Several results are reported in prose by direction or relative standing. The exact task-level gains stated for VCR and VQA provide more quantitative detail, though the prose leaves their split unspecified. This limits the precision with which those gains can be compared across benchmarks.

What came after

Other ways to build shared representations

Subsequent work citing VL-BERT pursued several parts of the same design problem. The relationship established by citation is useful at the level of research questions. VL-BERT showed how to pre-train a shared representation with image regions and text positions, and later titles identify work on universal representations, object semantics, unified masking and alternative ways of bringing visual information into a Transformer. Those descriptions support a comparison of directions. Specific inheritance of an objective, training recipe or architecture would require details beyond what the titles establish.

UNITER frames the goal as universal image–text representation learning. That objective is close to VL-BERT’s aim of finding a representation whose uses extend across benchmarks. The connection is the level at which transfer is sought. Both projects place the reusable image–text representation at the center, so the eventual task can decide how to turn that representation into a prediction.

Oscar takes object semantics as the basis for alignment in vision–language pretraining. VL-BERT’s region objective also brings object category information into training, using the detector’s label as the target at a hidden region position. Oscar’s title indicates a focus on the semantic connection itself. This is a related question about the role of objects in connecting image and language, with an emphasis on what object meanings contribute to alignment.

ERNIE-ViL identifies scene graphs as a way to enhance vision–language representations with knowledge. VL-BERT gives attention access to region appearance, geometry and text and allows interactions among all the entries. The scene-graph direction highlights another source of structure, by making the relations among entities a named part of the representation problem. It shows how work citing VL-BERT could pursue richer alignment through the organization of scene information.

ViLT describes a vision-and-language Transformer without convolution or region supervision. That direction bears directly on an important dependency of VL-BERT. The original visual path begins with convolutional features from a detector and uses region categories in a pretraining task. ViLT’s stated scope asks how to retain a vision–language Transformer while removing those requirements. The point of contact is the input to the shared processing, instead of the prediction heads used in the VCR or RefCOCO+ experiments.

Different data, domains and output formats

LayoutLMv3 brings unified text and image masking to document AI. This is a clear continuation of the broader question raised by VL-BERT’s paired objectives. Hiding text and hiding visual content can both make the other source useful during training. The document setting changes what those sources describe. Layout and the visual form of a document matter alongside its text, so a masking procedure for paired information can be studied in a domain with a different kind of geometry from a photograph.

HERO pursues video–language pretraining through a hierarchical encoder. Video changes the organization of visual evidence. As the VL-BERT paper’s discussion of VideoBERT observes, a clip has a temporal place that an image box lacks. HERO’s stated use of a hierarchy points to a way of structuring the representation problem when visual information unfolds over time. The general transfer question remains recognizable even though the visual units and their organization differ.

WIT addresses the data side with a Wikipedia-based image–text dataset for multilingual multimodal learning. In VL-BERT, English Wikipedia supplies text-only practice and Conceptual Captions supplies image pairs. WIT’s stated scope brings Wikipedia into the paired-data question and extends the language setting to multilingual learning. The connection concerns what the training corpus can expose the system to, which VL-BERT’s text-only ablation shows can matter even when the architecture stays fixed.

OFA frames unification through a sequence-to-sequence learning framework across architectures, tasks and modalities. VL-BERT unifies the input representation and adapts the task outputs through separate scoring branches. OFA’s framing extends the unification question to the way outputs are represented. It is a different level at which to ask how much machinery can be shared across tasks.

Flamingo focuses on few-shot learning. That aim changes the question about adaptation. VL-BERT evaluates a jointly pretrained encoder after supervised training on each target benchmark. Few-shot learning asks what a visual and linguistic system can do with few examples of the requested behavior. This direction returns to one of VL-BERT’s original motivations, the cost of learning the connection between images and language from target examples, while making the amount of task-specific evidence central to the evaluation.

Taken together, these works take up different decisions exposed by VL-BERT. Some address the source or structure of the visual features. Others change the paired data, the domain, the output format or the conditions of adaptation. VL-BERT gives their shared question a concrete experimental form. A single encoder can start by learning local correspondences between words and boxes, preserve broader linguistic training through text-only examples, and then supply distinct features for the decisions a target task asks it to make.

 Institutions

 Fields, topics and concepts

Appears in

Mentioned in articles aboutHefei

Cite

Cite as Weijie Su, Xizhou Zhu, Yue Cao, Bin Li, Lewei Lu, Furu Wei and Jifeng Dai. 2019. VL-BERT: Pre-training of Generic Visual-Linguistic Representations. arXiv:1908.08530.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1908.08530 · arXiv 1908.08530

@misc{su2019vl,
  title = {{VL-BERT: Pre-training of Generic Visual-Linguistic Representations}},
  author = {Weijie Su, Xizhou Zhu, Yue Cao, Bin Li, Lewei Lu, Furu Wei and Jifeng Dai},
  year = {2019},
  doi = {10.48550/arxiv.1908.08530},
  eprint = {1908.08530},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1908.08530}
}

References

47 references, from the paper's own bibliography.

  1. Chris Alberti, Jeffrey Ling, Michael Collins, and David Reitter. Fusion of detected objects in text for visual question answering. arXiv preprint arXiv:1908.05054, 2019. OpenAlex ↗ · Scholar ↗
  2. Peter Anderson, Xiaodong He, Chris Buehler, Damien Teney, Mark Johnson, Stephen Gould, and Lei Zhang. Bottom-up and top-down attention for image captioning and visual question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6077–6086, 2018. OpenAlex ↗ · Scholar ↗
  3. Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh. Vqa: Visual question answering. In Proceedings of the IEEE international conference on computer vision, pp. 2425–2433, 2015. our card
  4. Xinlei Chen, Hao Fang, Tsung-Yi Lin, Ramakrishna Vedantam, Saurabh Gupta, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325, 2015. our card
  5. Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009. OpenAlex ↗ · Scholar ↗
  6. 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
  7. Jeff Donahue, Yangqing Jia, Oriol Vinyals, Judy Hoffman, Ning Zhang, Eric Tzeng, and Trevor Darrell. Decaf: A deep convolutional activation feature for generic visual recognition. In International conference on machine learning, pp. 647–655, 2014. our card
  8. Difei Gao, Ruiping Wang, Shiguang Shan, and Xilin Chen. From two graphs to n questions: A vqa dataset for compositional reasoning on vision and commonsense. arXiv preprint arXiv:1908.02962, 2019. OpenAlex ↗ · Scholar ↗
  9. Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pp. 1440–1448, 2015. OpenAlex ↗ · Scholar ↗
  10. Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 580–587, 2014. our card
  11. Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. Making the v in vqa matter: Elevating the role of image understanding in visual question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6904–6913, 2017. our card
  12. Bharath Hariharan, Pablo Arbeláez, Ross Girshick, and Jitendra Malik. Simultaneous detection and segmentation. In European Conference on Computer Vision, pp. 297–312. Springer, 2014. OpenAlex ↗ · Scholar ↗
  13. Kaiming He, Ross Girshick, and Piotr Dollár. Rethinking imagenet pre-training. arXiv preprint arXiv:1811.08883, 2018. OpenAlex ↗ · Scholar ↗
  14. Han Hu, Jiayuan Gu, Zheng Zhang, Jifeng Dai, and Yichen Wei. Relation networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3588–3597, 2018. OpenAlex ↗ · Scholar ↗
  15. Drew A Hudson and Christopher D Manning. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6700–6709, 2019. our card
  16. Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Li Fei-Fei, C Lawrence Zitnick, and Ross Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2901–2910, 2017. our card
  17. Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, and Tamara Berg. Referitgame: Referring to objects in photographs of natural scenes. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 787–798, 2014. our card
  18. Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
  19. Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Skip-thought vectors. In Advances in neural information processing systems, pp. 3294–3302, 2015. OpenAlex ↗ · Scholar ↗
  20. Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. Visual genome: Connecting language and vision using crowdsourced dense image annotations. International Journal of Computer Vision, 1230 (1):0 32–73, 2017. our card
  21. Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. our card
  22. Guillaume Lample and Alexis Conneau. Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291, 2019. OpenAlex ↗ · Scholar ↗
  23. Gen Li, Nan Duan, Yuejian Fang, Daxin Jiang, and Ming Zhou. Unicoder-vl: A universal encoder for vision and language by cross-modal pre-training, 2019a. OpenAlex ↗ · Scholar ↗
  24. Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and performant baseline for vision and language. arXiv preprint arXiv:1908.03557, 2019b. our card
  25. 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, pp. 740–755. Springer, 2014. our card
  26. 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
  27. Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015. our card
  28. Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. arXiv preprint arXiv:1908.02265, 2019. our card
  29. Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013. our card
  30. Jeffrey Pennington, Richard Socher, and Christopher Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 1532–1543, 2014. our card
  31. Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. OpenAlex ↗ · Scholar ↗
  32. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 10 (8), 2019. OpenAlex ↗ · Scholar ↗
  33. Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015. our card
  34. Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2556–2565, 2018. our card
  35. Chen Sun, Fabien Baradel, Kevin Murphy, and Cordelia Schmid. Contrastive bidirectional transformer for temporal representation learning. arXiv preprint arXiv:1906.05743, 2019a. OpenAlex ↗ · Scholar ↗
  36. Chen Sun, Austin Myers, Carl Vondrick, Kevin Murphy, and Cordelia Schmid. Videobert: A joint model for video and language representation learning. arXiv preprint arXiv:1904.01766, 2019b. our card
  37. Hao Tan and Mohit Bansal. Lxmert: Learning cross-modality encoder representations from transformers. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing, 2019. our card
  38. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017. our card
  39. Jesse Vig. A multiscale visualization of attention in the transformer model. arXiv preprint arXiv:1906.05714, 2019. URL https://arxiv.org/abs/1906.05714. our card
  40. Alex Wang and Kyunghyun Cho. Bert has a mouth, and it must speak: Bert as a markov random field language model. arXiv preprint arXiv:1902.04094, 2019. our card
  41. Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. Google's neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016. OpenAlex ↗ · Scholar ↗
  42. Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. arXiv preprint arXiv:1906.08237, 2019. our card
  43. Peter Young, Alice Lai, Micah Hodosh, and Julia Hockenmaier. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the Association for Computational Linguistics, 2:0 67–78, 2014. OpenAlex ↗ · Scholar ↗
  44. Licheng Yu, Zhe Lin, Xiaohui Shen, Jimei Yang, Xin Lu, Mohit Bansal, and Tamara L Berg. Mattnet: Modular attention network for referring expression comprehension. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1307–1315, 2018. OpenAlex ↗ · Scholar ↗
  45. Rowan Zellers, Yonatan Bisk, Ali Farhadi, and Yejin Choi. From recognition to cognition: Visual commonsense reasoning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6720–6731, 2019. our card
  46. Yuke Zhu, Oliver Groth, Michael Bernstein, and Li Fei-Fei. Visual7w: Grounded question answering in images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4995–5004, 2016. our card
  47. Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In Proceedings of the IEEE international conference on computer vision, pp. 19–27, 2015. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/su-2019-vl-bert-pre-training-generic/