Introduction
PaliGemma 2 represents a significant evolution in Google’s open-weight Vision-Language Model (VLM) ecosystem, replacing the original Gemma components with the more advanced Gemma 2 family. By offering a consistent architecture across three scales—3B, 10B, and 28B parameters—and multiple image resolutions, PaliGemma 2 provides a controlled environment to investigate the fundamental scaling laws of transfer learning. The project aims to provide a roadmap for researchers to determine whether a specific visual task is better served by increasing model capacity or image resolution.
Architecture and Training Methodology
The PaliGemma 2 architecture maintains a streamlined design, pairing a SigLIP-So400m vision encoder with a Gemma 2 language model via a simple linear projection layer. This configuration ensures that visual embeddings are efficiently mapped into the LLM's input space, facilitating a unified multimodal interface.
The training process follows a rigorous three-stage pipeline:
- Stage 1 (Pre-training): Joint multimodal training on a mixture of 1 billion examples at a base resolution of 224px.
- Stage 2 (Resolution Scaling): Specialized training on 50M examples at 448px and 10M examples at 896px to "unlock" high-resolution visual processing.
- Stage 3 (Transfer Learning): Task-specific fine-tuning on downstream benchmarks.
A notable technical finding is that larger models (10B and 28B) require significantly lower optimal learning rates during transfer—approximately 25% of the rate used for the 3B model—to achieve peak performance.
Scaling Insights: Resolution vs. Parameters
A core contribution of the PaliGemma 2 study is the empirical analysis of how different visual tasks respond to scaling. The researchers identified a distinct bifurcation in task requirements:
- Resolution-Sensitive Tasks: OCR, document understanding, and chart analysis show the most significant gains when increasing image resolution.
- Parameter-Sensitive Tasks: Reasoning-heavy, multilingual, and complex captioning tasks benefit primarily from larger language model backbones.
Experimental Results and Versatility
PaliGemma 2 achieves state-of-the-art (SOTA) performance across a diverse suite of over 30 transfer tasks. Notable achievements include:
- Specialized Domains: New benchmarks in table structure recognition (PubTabNet), molecular structure recognition (PubChem), and music score transcription.
- Unified Interface: Unlike many VLMs that require specialized "heads" for detection or segmentation, PaliGemma 2 handles these tasks via pure string generation (e.g., generating
<locXXXX>tokens), proving that a unified interface can achieve SOTA results in spatial reasoning. - Factual Grounding: In long-form captioning tasks (DOCCI), PaliGemma 2 produced significantly fewer hallucinations compared to instruction-tuned baselines like LLaVA-1.5.
Conclusion and Future Work
PaliGemma 2 demonstrates that a consistent architecture and training recipe can produce highly versatile models for a wide range of visual tasks. While the 28B model shows promise, its distilled nature suggests that further gains may be possible with non-distilled base models at the largest scales. Future iterations will likely address temporal modeling for video tasks and further bridge the gap between unified VLMs and specialized object detection architectures.
Summary updated