AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Vision

    BLIP-2 (2023)

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

    Connected off-the-shelf frozen ViTs and frozen LLMs through a compact 188M-parameter Querying Transformer trained in two stages.

    Why it matters

    Flamingo showed that frozen vision and language models could work together, but its custom cross-attention layers were massive and tied to one proprietary LLM. BLIP-2 made multimodal bootstrapping modular and affordable, letting researchers swap in stronger open vision encoders and language models as fast as they arrived.

    First page of “BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2023
    Authors
    Junnan Li, Dongxu Li, Silvio Savarese, Steven Hoi
    Venue
    ICML 2023
    Data
    VQA v2, MS COCO, Flickr30k, Visual Genome

    The idea

    Instead of inserting billions of cross-attention parameters inside an LLM, train a small Querying Transformer (Q-Former) with learned query vectors that extract only the text-relevant information from a frozen ViT. Stage 1 aligns the Q-Former to the vision encoder via contrastive, matching and captioning losses; Stage 2 projects its output queries straight into a frozen LLM (OPT or Flan-T5) for generative text output.

    The result

    65.0% zero-shot accuracy on VQA v2—beating Flamingo-80B (56.3%) by 8.7 points while training 54× fewer parameters (188M vs 10.2B)—plus 97.6% R@1 image-to-text retrieval on Flickr30k and 121.6 CIDEr zero-shot on NoCaps.

    The data

    VQA v2

    2017

    1.1 million questions about COCO photos, each answered by ten people. (6 years earlier)

    MS COCO

    2014

    330k everyday scenes with 1.5M labeled objects in 80 categories. (9 years earlier)

    Flickr30k

    2014

    31,000 Flickr photos of people and everyday scenes, each with five written captions. (9 years earlier)

    Retrieval

    Visual Genome

    2016

    108,000 images where crowd workers named every object, its attributes and how objects relate. (7 years earlier)

    Builds on

    • CLIP (2021): Learn images from 400 million captions found on the web, then classify anything you can name.
    • Flamingo (2022): Bridged a frozen vision encoder and a frozen LLM with gated cross-attention so one model learns new visual tasks from a few examples in the prompt.

    Led to

    • LLaVA (2023): Dropped complex multimodal adapters for a single linear projection from CLIP to an LLM, trained on 158k GPT-4-synthesized image conversations.