PIXELBANKv8.2.1
Menu
Back to Concepts
Vision-Language2025

SigLIP 2

Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features

Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, Ye Xia, Basil Mustafa, Olivier Hénaff, Jeremiah Harmsen, Andreas Steiner, Xiaohua Zhai

Read the Paper on arXiv

Paper Overview

SigLIP 2 is a family of multilingual vision-language encoders from Google DeepMind that builds upon the original SigLIP's sigmoid-based contrastive learning with a unified multi-objective training recipe that dramatically improves semantic understanding, spatial localization, and dense feature quality — all within a single training run.

Why SigLIP 2 matters — the context: CLIP (OpenAI, 2021) established contrastive vision-language pre-training: train a vision encoder and text encoder jointly so that matching image-text pairs have high cosine similarity. But CLIP uses softmax contrastive loss, which requires global normalization across the entire batch — making distributed training inefficient and limiting batch sizes. SigLIP (2023) replaced this with sigmoid loss, treating each image-text pair as an independent binary classification. This eliminated the need for cross-GPU all-gather operations and enabled 2x larger batch sizes with the same memory.

SigLIP 2's four training objectives (all applied simultaneously):

  1. Sigmoid Contrastive Loss — the foundation from SigLIP. Pairwise binary classification: "is this image-text pair a match?" Each pair evaluated independently with sigmoid activation, no global normalization needed. Learns temperature tt and bias bb during training
  2. Decoder-Based Objectives — a lightweight autoregressive text decoder (4-layer Transformer) with three tasks: (a) holistic image captioning, (b) bounding box prediction given region description, (c) region-specific captioning given bounding box. These force the vision encoder to learn spatially-grounded features
  3. Self-Distillation — an EMA teacher network (updated as θT=0.999θT+0.001θS\theta_T = 0.999 \cdot \theta_T + 0.001 \cdot \theta_S) provides stable targets. Student sees local crops, must match teacher's representation of the full image. Applied after 80% of training to prevent early instability
  4. Masked Prediction — 50% of image patches replaced with mask tokens (student only). Student must predict teacher's features at masked positions via MSE loss. Forces each patch to contain meaningful local information rather than relying on global context

Model family (four scales):

ModelParamsImage ResPatch SizeEmbedding Dim
Base (B)86M224-51216768
Large (L)303M256-512161024
So400m400M224-512141152
Giant (g)1B256-384161536

All models include NaFlex variants that handle dynamic resolutions while preserving native aspect ratios — critical for OCR, document understanding, and non-square images. The text encoder uses the Gemma tokenizer with 256K vocabulary (8x larger than CLIP's 32K), enabling strong multilingual support across 109 languages.

Key results: SigLIP 2 So400m outperforms the original SigLIP So400m by +2.6% on ImageNet zero-shot (83.8% → 86.4%), +4.1% on COCO retrieval, and +5.3% on ADE20K segmentation (when used as frozen backbone). The NaFlex variants add another +1-2% on OCR and document benchmarks without sacrificing general performance.

Chapter Roadmap

Click any topic to jump in

1
Sigmoid Loss

Per-pair sigmoid decouples samples from the batch, cutting memory from O(B²) to O(B) and unlocking million-sample batches.

enables richer supervision
2
Decoder Objectives

Captioning, detection, and referring-expression decoders add dense spatial supervision to contrastive training.

3
Self-Distillation

An EMA teacher on global crops guides the student on local crops — DINO-style grounding baked into CLIP.

strengthened by masking
4
Masked Prediction

Predicting teacher features at 50% masked patches gives MAE-like dense representations without a separate stage.

5
NaFlex

Native aspect-ratio patches packed into a fixed token budget preserve geometry for dense text and wide images.

scales across geometries & languages
6
Multilingual + Debias

109-language training with balanced cohorts lifts non-English zero-shot by 10–15 points without regressing English.

Premium Content

Upgrade to PixelBank Premium to unlock this content.