All models

blip (vision to text)

One encoder-decoder mixture for captioning, matching and VQA, bootstrapped on filtered web captions; five builds traced.

Multimodal · 1,027 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

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.

At a glance

Family
BLIP
Parameters
224M
Operations
1,027
Framework
PyTorch
Recurrent
No
Published
ICML 2022
Cited by
863 (as of 5 October 2026)
Authors
Junnan Li, Dongxu Li, Caiming Xiong, Steven Hoi
Name in source
blip:vision-to-text
License
BSD-3-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3700
Graph hash
522baf20031cd3936dbbff1f8c4261fbf0be9ea0b23af2398b553ad2d87bf2f2
Skeleton hash
b5f22b3c08381f06c04267aa211c9ca720e9084675d2c388954f47fa5ae6492e
Architecture hash
6cda3956427ee796a5a8f337089d933fcb4d660e8c0d5df08e71855a700a2f30
Diagram SHA-256
32f59c8935ff8e197a6704d97ef9c62711c1b786186d86f25961314e7ad891d1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

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.

  • blip
  • bootstrapping language-image pre-training
  • blip vqa
  • blip captioning
  • blipforquestionanswering
  • blip-vqa-base
  • salesforce blip
  • image captioning
  • visual question answering
  • image-text retrieval
  • med
  • capfilt
  • li xiong hoi

AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}