BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Visual Question Answering | VQA v2 | Accuracy82.2 | 1165 | |
| Visual Question Answering | TextVQA | Accuracy60.7 | 1117 | |
| Visual Question Answering | VizWiz | Accuracy53.8 | 1043 | |
| Visual Question Answering | GQA | Accuracy63.5 | 963 | |
| Object Hallucination Evaluation | POPE | Accuracy85.5 | 935 | |
| Image Captioning | MS COCO Karpathy (test) | CIDEr145.8 | 682 | |
| Visual Question Answering | VQA v2 (test-dev) | Overall Accuracy82.2 | 664 | |
| Image Classification | CIFAR10 (test) | Accuracy97.5 | 585 | |
| Multimodal Evaluation | MME | Score1.55e+3 | 557 | |
| Image Classification | EuroSAT | Accuracy11.1 | 497 |