SigLIP 2: A better multilingual vision language encoder
SigLIP 2 is Google's new family of multilingual vision-language encoders that extends SigLIP's sigmoid loss with extra training objectives. These are a text decoder for captioning and region grounding, plus self-distillation with global-local and masked-prediction losses added after 80% of training. Together they improve localization and dense features, and the models outperform SigLIP at every scale on zero-shot classification, retrieval and VLM transfer. New releases include a 1B giant size and NaFlex dynamic-resolution variants that preserve native aspect ratios, along with transformers code for zero-shot classification and image embedding.
Related posts
- A Dive into Vision-Language Models
Hugging Face hardMasterVision-language models pair an image encoder and a text encoder with a strategy for fusing the two, and the pre-training objective determines which downstream tasks they handle well. The main families are contrastive learning (CLIP, ALIGN, LiT), PrefixLM and frozen PrefixLM (SimVLM, Frozen, ClipCap, Flamingo), cross-attention fusion into language model layers (VisualGPT, FIBER), combined masked-language modeling and image-text matching (VisualBERT, FLAVA), and training-free methods (MaGiC, ASIF). Frozen-backbone approaches let teams train with limited aligned image-text data, while PrefixLM-only models are mostly limited to captioning and VQA. The post also surveys common pre-training datasets and shows how to experiment with these models in 🤗 Transformers.
- A Deepdive into Aya Vision: Advancing the Frontier of Multilingual Multimodality
Hugging Face hardMasterAya Vision is Cohere For AI's open-weight family of 8B and 32B vision-language models covering 23 languages, built from a SigLIP2 vision encoder with dynamic image tiling, Pixel Shuffle downsampling that cuts image tokens 4x, a vision-language connector, and Aya Expanse-derived multilingual LLM decoders. Training runs in two stages: connector-only alignment, then SFT on multimodal data that was synthetically annotated in English, translated, and rephrased. This data work raised the 8B model's win rate against Pangea 7B from 40.9% to 58.1%, and merging the fine-tuned VLM with the base language model raised it to 70% while preserving text-only ability. The 32B model beats models more than twice its size, and the team also releases AyaVisionBench (23 languages, 9 task categories) and a translated mWildVision.
- PaliGemma – Google's Cutting-Edge Open Vision Language Model
Hugging Face mediumAdeptPaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector. It ships as pretrained, mix and task-specific fine-tuned checkpoints at 224, 448 and 896 resolutions. Behaviour is steered with task prefixes such as "detect" and "segment", and detections come back as <loc> tokens normalized to 1024. Images become 256 to 4096 prefix tokens with full attention over the image and prompt, so higher resolutions cost much more memory while helping mainly fine-grained tasks like OCR. The post includes transformers code for inference, 4-bit loading, and fine-tuning the decoder with full training or QLoRA, plus big_vision transfer configs.
- Welcome PaliGemma 2 – New vision language models by Google
Hugging Face mediumAdeptPaliGemma 2 pairs Google's SigLIP image encoder with Gemma 2 text decoders, shipping pre-trained vision language models at 3B, 10B and 28B parameters, each at 224, 448 and 896 pixel input resolutions, plus 3B and 10B checkpoints fine-tuned on DOCCI for detailed captioning. The DOCCI fine-tunes cut factual errors in captions, with the 10B model scoring 20.3 non-entailment sentences versus 34.3 for the original PaliGemma. The models run in transformers 4.47+ and can be loaded with bitsandbytes quantization: a 3B checkpoint on TextVQA drops only from 60.04% to 58.72% accuracy at 4-bit nf4. LoRA fine-tuning on half the VQAv2 validation split took about 30 minutes on three 80GB A100s.
- Vision Language Models Explained
Hugging Face mediumAdeptVision language models combine an image encoder, a projector that aligns image features with text embeddings, and a text decoder that generates text from both inputs. LLaVA trains in two stages: first only the projector with the encoder and decoder frozen, then the projector together with an unfrozen decoder. KOSMOS-2 instead trains end to end, and Fuyu-8B skips the image encoder entirely. The guide compares open VLMs by license, size and resolution, explains model selection via Vision Arena, the Open VLM Leaderboard and benchmarks like MMMU and MMBench, then shows inference with transformers' LlavaNext and supervised fine-tuning of Llava 1.5 using TRL's new experimental VLM support in SFTTrainer.