AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / Vision

    PaliGemma (2024)

    PaliGemma: A versatile 3B VLM for transfer

    Paired SigLIP and Gemma-2B with a linear projection, prefix-LM attention and unfrozen multi-resolution pretraining to build a compact 3B transfer base model.

    Why it matters

    While most open VLMs optimized for zero-shot chat, PaliGemma revived the "pretrain once, fine-tune cleanly anywhere" paradigm for vision-language models. Its thorough ablations also settled key ViT+LLM engineering questions: unfreezing the encoder, prefix-LM masking and stepping up resolution mattered far more than fancy connectors.

    First page of “PaliGemma: A versatile 3B VLM for transfer”

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

    Year
    2024
    Authors
    Lucas Beyer, Andreas Steiner, André Susano Pinto, Alexander Kolesnikov, Xiao Wang, Daniel Salz, Maxim Neumann, Ibrahim Alabdulmohsin, Michael Tschannen, Emanuele Bugliarello, Thomas Unterthiner, Daniel Keysers, et al.
    Venue
    arXiv July 2024
    Data
    VQA v2, MS COCO, TextVQA, DocVQA, ChartQA

    The idea

    Connect a SigLIP-So400m vision encoder to a Gemma-2B decoder with a single linear layer and apply prefix-LM masking—full bidirectional attention across the image tokens and text prompt, causal attention only on the generated answer. Unlike chat VLMs that freeze the vision tower, train the entire model on a billion-example mixture of captioning, VQA, OCR and localization tasks, then run short high-resolution stages at 448px and 896px so fine text and small objects survive.

    The result

    Fine-tuned across nearly 40 benchmarks, the 3B model reached 85.6% on VQA v2, 144.6 CIDEr on COCO captions, 76.5% on TextVQA and 84.8 on DocVQA—jumping from 43.7 on DocVQA at 224px to 84.8 at 896px—matching or beating models 10× larger.

    The data

    VQA v2

    2017

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

    MS COCO

    2014

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

    TextVQA

    2019

    45,000 questions about signs, labels, clocks and book covers in everyday photos, each answered by ten people. (5 years earlier)

    DocVQA

    2020

    50,000 questions over 12,767 scanned industry documents—forms, tables, letters and handwritten notes. (4 years earlier)

    ChartQA

    2022

    32,700 questions over 20,882 real-world bar, line and pie charts requiring reading values and doing math. (2 years earlier)

    Builds on

    • SigLIP (2023): Replaced CLIP's batch-wide softmax contrastive loss with an independent pairwise sigmoid loss, training stronger vision encoders at smaller and larger batch sizes alike.
    • LLaVA (2023): Dropped complex multimodal adapters for a single linear projection from CLIP to an LLM, trained on 158k GPT-4-synthesized image conversations.