Grounded SAM vs PaliGemma

Compare Grounded SAM and PaliGemma side-by-side.

Compare Grounded SAM vs PaliGemma live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Models in this comparison

Google

Grounded SAM vs PaliGemma: Overview

Grounded SAM

Grounded SAM is an open-vocabulary image segmentation model developed by IDEA Research, released in January 2024 under the Apache 2.0 license. It combines Grounding DINO, a zero-shot open-vocabulary object detector, with the Segment Anything Model to produce precise segmentation masks for objects identified through free-form text prompts. The two models are used sequentially: Grounding DINO localizes objects from a text query, and SAM generates the corresponding segmentation masks.

Grounded SAM enables zero-shot instance segmentation without task-specific training data, making it applicable to domains where labeled segmentation data is scarce. It supports arbitrary text queries and can segment objects not represented in standard training sets. The model is commonly used in automated labeling pipelines, robotic perception, and domain-specific vision applications requiring open-vocabulary segmentation.

PaliGemma

PaliGemma is a vision-language model released in May 2024 by Google, built by pairing the SigLIP-So400m vision encoder with the Gemma 2B language model. It is designed primarily as a compact, transfer-friendly base model for fine-tuning to downstream vision-language tasks, rather than as a chat-optimized assistant. PaliGemma draws architectural inspiration from the PaLI-3 model at Google Research, applying a similar encoder-decoder approach at a smaller and more accessible parameter scale.

PaliGemma accepts an image together with a text prompt and generates text output, supporting image captioning, visual question answering, optical character recognition, object detection, referring expression segmentation, and a range of related vision-language tasks when fine-tuned on task-specific data. The model is released at three input resolutions (224, 448, and 896 pixels), with higher resolutions providing stronger performance on tasks requiring fine visual detail such as OCR and document understanding. Google released pretrained (PT) checkpoints intended as fine-tuning bases, along with Mix variants that have been fine-tuned on a mixture of downstream tasks for direct use without additional training. PaliGemma is distributed under the Gemma license, a custom license from Google that permits commercial use subject to the terms of the Gemma Prohibited Use Policy. It was succeeded by PaliGemma 2 in December 2024, which extends the architecture to larger Gemma 2 language backbones at 3B, 10B, and 28B parameter sizes.

Grounded SAM vs PaliGemma Comparison Table

PropertyGrounded SAMPaliGemma
OrganizationIDEA ResearchGoogle
Categoryopenopen
Modalitymultimodalmultimodal
Release DateJan 2024May 2024
Context Window
Parameters3B
LicenseApache 2.0Custom
Vision Tasks
Vision Language
Captioning
Visual Question Answering
Zero Shot Segmentation
Model Features
Multimodal Vision
LLMs with Vision Capabilities
Zero-shot Detection