BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models

Junnan Li, Dongxu Li, S. Savarese, Steven C. H. Hoi
2/12/2026

No official code found. Best implementation: salesforce/LAVIS (11,261 stars, BSD-3-Clause, last commit 2024-11-18). 1 more below.

Abstract

The cost of vision-and-language pre-training has become increasingly prohibitive due to end-to-end training of large-scale models. This paper proposes BLIP-2, a generic and efficient pre-training strategy that bootstraps vision-language pre-training from off-the-shelf frozen pre-trained image encoders and frozen large language models. BLIP-2 bridges the modality gap with a lightweight Querying Transformer, which is pre-trained in two stages. The first stage bootstraps vision-language representation learning from a frozen image encoder. The second stage bootstraps vision-to-language generative learning from a frozen language model. BLIP-2 achieves state-of-the-art performance on various vision-language tasks, despite having significantly fewer trainable parameters than existing methods. For example, our model outperforms Flamingo80B by 8.7% on zero-shot VQAv2 with 54x fewer trainable parameters. We also demonstrate the model's emerging capabilities of zero-shot image-to-text generation that can follow natural language instructions.

View on arXivView PDF

Code Implementations(2)

salesforce/LAVISCommunity100%
BSD-3-Clause

LAVIS - A One-stop Library for Language-Vision Intelligence

11,2611,108Shell, PythonAug 24, 20221 years agoBSD-3-Clause
deep-learningdeep-learning-libraryimage-captioningmultimodal-datasetsmultimodal-deep-learning+6 more

Welcome to the repository of our state-of-the-art image captioning model. We have combined the strengths of the BLIP-2 (Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models) model with LoRa (Low-Rank Adaptation of Large Language Models) to create an effective and precise image captioning tool.

00HTMLSep 25, 20231 years ago

Similar Papers

Cite this paper

@article{li2026blip,
  title  = {BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models},
  author = {Junnan Li and Dongxu Li and S. Savarese and Steven C. H. Hoi},
  year   = {2026},
  eprint = {2301.12597},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2301.12597},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.12597.svg)](https://codeofpaper.com/paper/2301.12597)

Discussion