Papers › Unified Vision-Language Pre-Training for Image Captioning and VQA

Unified Vision-Language Pre-Training for Image Captioning and VQA

24 Sep 2019arXiv:1909.11059archive 2025-07-28

Luowei Zhou, Hamid Palangi, Lei Zhang, Houdong Hu, Jason J. Corso, Jianfeng Gao

This paper presents a unified Vision-Language Pre-training (VLP) model. The model is unified in that (1) it can be fine-tuned for either vision-language generation (e.g., image captioning) or understanding (e.g., visual question answering) tasks, and (2) it uses a shared multi-layer transformer network for both encoding and decoding, which differs from many existing methods where the encoder and decoder are implemented using separate models. The unified VLP model is pre-trained on a large amount of image-text pairs using the unsupervised learning objectives of two tasks: bidirectional and sequence-to-sequence (seq2seq) masked vision-language prediction. The two tasks differ solely in what context the prediction conditions on. This is controlled by utilizing specific self-attention masks for the shared transformer network. To the best of our knowledge, VLP is the first reported model that achieves state-of-the-art results on both vision-language generation and understanding tasks, as disparate as image captioning and visual question answering, across three challenging benchmark datasets: COCO Captions, Flickr30k Captions, and VQA 2.0. The code and the pre-trained models are available at https://github.com/LuoweiZhou/VLP.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1909.11059")

Code

Syntology Ran 5 of 14 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

LuoweiZhou/VLP officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
WebQnA/WebQA_Baseline mentioned on GitHubpytorch report
rmokady/clip_prefix_caption mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 5 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
3ran · our draft was wrong
1ran
9unverified

Licence: 13 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from LuoweiZhou/VLP. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

swish LuoweiZhou/VLP/pytorch_pretrained_bert/modeling.py official repository ran · our draft was wrong fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 0f786c407fb1ee4c · report
array_to_str LuoweiZhou/VLP/vlp/scst_utils.py official repository ran Apache-2.0 (permissive) · cab04f1e2101c79a · report
detokenize LuoweiZhou/VLP/vlp/decode_img2txt.py official repository ran · our draft was wrong Apache-2.0 recorded; this copy not marked cleared · pointer only · 633d1e424a09eb70 · report
gelu LuoweiZhou/VLP/pytorch_pretrained_bert/modeling.py official repository ran · honoured contract fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 40e9fee2e0b7e278 · report
url_to_filename LuoweiZhou/VLP/pytorch_pretrained_bert/file_utils.py official repository ran · our draft was wrong fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · af64ec220e8bcdbc · report
batch_list_to_batch_tensors LuoweiZhou/VLP/vlp/loader_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 7ff0d3834d30ddb5 · report
cached_path LuoweiZhou/VLP/pytorch_pretrained_bert/file_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 349d780dd4a89a37 · report
filename_to_url LuoweiZhou/VLP/pytorch_pretrained_bert/file_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · db0ac56aaf6e35e6 · report
get_random_word LuoweiZhou/VLP/vlp/loader_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 0dc4252bed90db68 · report
language_eval LuoweiZhou/VLP/vlp/lang_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · c681ae13f540b4a3 · report
scatter_imbalance LuoweiZhou/VLP/misc/data_parallel.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 162a4118bd4b42b1 · report
scatter_kwargs_imbalance LuoweiZhou/VLP/misc/data_parallel.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 1f83e9eb8603cd57 · report
to_contiguous LuoweiZhou/VLP/vlp/scst_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · df768a32f36d7728 · report
truncate_tokens_pair LuoweiZhou/VLP/vlp/seq2seq_loader.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 900f8d4b7c3c4f40 · report

Tasks

DecoderImage CaptioningQuestion AnsweringText GenerationVisual Question AnsweringVisual Question Answering (VQA)

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Captioning COCO Captions test Unified VLP BLEU-4 36.5 #2 of 2 Archive leaderboard report
Image Captioning COCO Captions test Unified VLP CIDEr 116.9 #2 of 2 Archive leaderboard report
Image Captioning COCO Captions test Unified VLP METEOR 28.4 #2 of 2 Archive leaderboard report
Image Captioning COCO Captions test Unified VLP SPICE 21.2 #2 of 2 Archive leaderboard report
Image Captioning Flickr30k Captions test Unified VLP BLEU-4 30.1 #1 of 7 Archive leaderboard report
Image Captioning Flickr30k Captions test Unified VLP CIDEr 67.4 #1 of 7 Archive leaderboard report
Image Captioning Flickr30k Captions test Unified VLP METEOR 23 #1 of 7 Archive leaderboard report
Image Captioning Flickr30k Captions test Unified VLP SPICE 17 #1 of 7 Archive leaderboard report
Visual Question Answering (VQA) VQA v2 test-std Unified VLP overall 70.7 #26 of 38 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerReLUResidual ConnectionSoftmaxTransformerUnified VLP

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections