
blip (image text to text)
Multimodal1,027 ops224M params
One encoder-decoder mixture for captioning, matching and VQA, bootstrapped on filtered web captions; five builds traced.
Multimodal · 1,027 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
BLIP, Bootstrapping Language-Image Pre-training, is Junnan Li, Dongxu Li, Caiming Xiong and Steven Hoi's vision-language model built to do both halves of the field at once. Its premise is that most existing pre-trained models only excel in either understanding-based tasks or generation-based tasks, and that gains had come largely from scaling up the dataset with noisy image-text pairs collected from the web, which is a suboptimal source of supervision. BLIP is pitched as a new VLP framework which transfers flexibly to both vision-language understanding and generation tasks.
The architecture is the Multimodal mixture of Encoder-Decoder (MED), which can operate either as a unimodal encoder, or an image-grounded text encoder, or an image-grounded text decoder. It is jointly pre-trained with three vision-language objectives: image-text contrastive learning, image-text matching, and image-conditioned language modeling. The image side is a vision transformer and the text transformer is initialized from BERTbase; the authors explore two variants of ViTs, ViT-B/16 and ViT-L/16, and all results reported as BLIP use ViT-B. The data-side idea is Captioning and Filtering (CapFilt): a pre-trained MED is finetuned into a captioner to produce synthetic captions given web images, and a filter to remove noisy captions from both the original web texts and the synthetic texts.
The paper reports state-of-the-art results across image-text retrieval (+2.7% in average recall@1), image captioning (+2.8% in CIDEr), and VQA (+1.6% in VQA score), plus strong zero-shot transfer to video-language tasks. The five members here are the same MED rearranged for different heads: the transformers captioning, contrastive and visual question answering builds, and the authors' VQA model with its ViT base backbone. For VQA the authors consider it as an answer generation task, which enables open-ended VQA: an image-question is first encoded into multimodal embeddings and then given to an answer decoder, finetuned with the LM loss using ground-truth answers as targets. Pre-training used random image crops of resolution 224 × 224, with the image resolution increased to 384 × 384 during finetuning, which is the input size the transformers members take. The original repository is now marked deprecated and no longer supported, with BLIP officially integrated into LAVIS, a one-stop library for language-and-vision research and applications.
Key idea. One Multimodal mixture of Encoder-Decoder trained with contrastive, matching and language-modeling losses, plus CapFilt, which bootstraps cleaner captions out of noisy web pairs.
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
@misc{li2022blipbootstrappinglanguageimagepretraining,
title={BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation},
author={Junnan Li and Dongxu Li and Caiming Xiong and Steven Hoi},
year={2022},
eprint={2201.12086},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2201.12086},
}