Granite Embedding Vision R2: Power-User Guide to Visual Document Search

Last updated: December 5, 2026

Granite Embedding Vision R2 is IBM’s open 748M-parameter model, released November 30, 2026, that searches PDF and scan pages directly from their images without OCR or chunking. One pass yields a 768-dimensional vector for fast search and 128-dimensional token vectors for reranking, under the Apache 2.0 license.

Contents

What IBM released on November 30

On November 30, 2026, IBM released three open Granite models for document work: Granite Docling V2, Granite Vision 5.0 4B and Granite Embedding 748M Vision R2 (IBM Research). In IBM’s description, Docling converts the document, Vision extracts data from complex visuals, and Embedding Vision makes it all searchable.

The embedding model is new in the Granite Embedding family, which until now covered text. It takes a text query and finds the matching page of a report, slide deck, scanned form or manual from the page image itself (model card). That matters because answers often sit in charts and tables that a text pipeline flattens into captions.

We covered the companion models in our Granite Docling V2 guide and our Granite Vision 5.0 guide.

Key specifications

Item Granite Embedding 748M Vision R2
Hugging Face ID ibm-granite/granite-embedding-748m-vision-r2
Parameters 748.3M (1.50 GB in bf16)
Single vector 768 dimensions, cosine; Matryoshka truncation to 512, 384, 256 or 128
Multi-vectors 128 dimensions per token, MaxSim; about 600 per page
Max sequence length 2,048 tokens
Page input 576 to 2,880 patches of 16×16 px at native aspect ratio
Languages Page images aligned in 22 languages; text encoder supports 200+
License Apache 2.0

The vision tower is SigLIP2 NaFlex, and the text side is the ModernBERT trunk of granite-embedding-311m-multilingual-r2. A connector cuts visual tokens by four times before the text encoder reads them, which is why a page ends up as roughly 600 tokens (model card).

How to set it up with Sentence Transformers

  1. Install the libraries: pip install -U "sentence-transformers>=6" "transformers>=5.4.0" pillow.
  2. Install FlashAttention-2 if your GPU supports it. The model uses it automatically when present, and IBM’s speed figures assume it.
  3. Load the model with MultiVectorEncoder, trust_remote_code=True and bf16. Do not use SentenceTransformer, which drops the multi-vector head.
  4. Render each PDF page to an image and pass file paths or PIL images to encode_document. Use encode_query for questions.
  5. Call encode_document(pages, output_value=None) once to get both the sentence_embedding and the token_embeddings for each page.
  6. Store the single vectors in your approximate-nearest-neighbor index and keep the multi-vectors for reranking.
import torch
from sentence_transformers import MultiVectorEncoder

model = MultiVectorEncoder(
    "ibm-granite/granite-embedding-748m-vision-r2",
    trust_remote_code=True,
    model_kwargs={"dtype": torch.bfloat16},
)
q = model.encode_query(["How much did revenue grow in Q3?"])
d = model.encode_document(["report_page_3.png"])
scores = model.similarity(q, d)  # MaxSim

One encode_document call must contain a single modality, so encode page images and text passages in separate calls (model card). IBM also publishes a Colab notebook and a browser demo for testing with your own PDFs.

Three ways to search

Because both outputs come from one forward pass, you encode each page once and can switch strategies later without re-encoding (Hugging Face blog):

  • Multi-vector search: index the token vectors directly in a database with native MaxSim support. IBM names Milvus 3.0, Qdrant and Weaviate.
  • Single-vector search: one 768-dimensional vector per page, at 1.5 KiB, works in any vector database.
  • Hybrid search: shortlist with the single vector, then rerank with stored multi-vectors. IBM reports this adds 0.117 nDCG@5 on ViDoRe v1 over the single vector for about 1.5 ms more per query.

If storage is tight, store only single vectors and re-encode the shortlisted pages at query time. IBM measures about 15 to 20 ms per page when encoded as a batch, with the same ranking as stored multi-vectors.

Shrinking the index

Multi-vector indexes are large, so IBM trained the model to tolerate compression at index time (model card). Figures below are nDCG@5 with exhaustive MaxSim on ViDoRe v1 and v2:

Multi-vector setup Storage per page At 1M pages Quality retained
Unpooled (about 600 vectors), fp16 147 KiB 140 GiB Baseline (0.746)
Pooled to 256 vectors 64 KiB 61 GiB 99.6%
Pooled to 128 vectors 32 KiB 31 GiB 98.8%
128 vectors, int8 16 KiB 15 GiB 98.8%
32 vectors, int8 4.1 KiB 3.9 GiB 96.0%

For the single vector, truncating to 384 dimensions halves storage and costs 0.004 nDCG on the visual benchmarks. A practical default for large archives is 384-dimensional single vectors for search plus 128 pooled int8 multi-vectors for reranking.

How it compares with other retrievers

IBM compared the model with 20 other visual document retrievers under 9B parameters, on one NVIDIA H200 in bf16 (Hugging Face blog). These are vendor results, so test on your own documents.

Model Avg. nDCG (8 benchmarks) Pages per second Note
Granite Embedding Vision R2 (multi-vector) 0.721 35.3 About 147 KiB per page
pplx-embed-v2-late-0.6b 0.753 17.4 Index about 2.5× larger
VultronRetrieverFlash 0.710 17.1 Index about 4.8× larger
ColNomic-7B 0.030 higher 8.9 179 KiB per page, 9× the parameters

Among single-vector models, IBM reports 35.3 pages per second against 28.2 for EmbeddingGemma-2, within 0.005 of its score. At that rate, one GPU encodes a million pages in about eight hours, excluding PDF rendering and index building.

For a hosted alternative, see our Mistral multimodal embeddings guide. For a model that can answer from the retrieved page, see Granite 4.1 and LLMON.

Text retrieval and the earlier R2 model

The previous R2 release, granite-embedding-311m-multilingual-r2, handles only text. The vision model keeps text retrieval so that pages and passages can share one index (model card):

MTEB retrieval (nDCG@10) Vision R2 multi-vector 311m multilingual R2 (text only)
English (10 tasks) 0.509 0.526
Multilingual (18 tasks) 0.656 0.652

Single vectors are compatible with an existing 311m text index if you encode queries with the vision model, so you can add page images without re-indexing your text. The reverse direction loses up to 0.05 on some tasks.

Limitations and common mistakes

  • Legibility: each page is read as at most 2,880 patches, so low-resolution scans, dense pages and very small print retrieve less reliably.
  • Language versions: when one document exists in several languages, Latin-script pages often lose to the English version. Filter by page language when you know it; IBM reports the right version then ranks first 97% of the time.
  • Storage: unpooled multi-vectors take about 147 KiB per page against 1.5 KiB for the single vector, and IBM’s sizes exclude index structures and metadata.
  • Wrong loader: SentenceTransformer silently drops the multi-vector head.
  • Scope: IBM states the model is not intended for assessments of individuals.

Frequently asked questions

What is Granite Embedding Vision R2?

Granite Embedding Vision R2 (granite-embedding-748m-vision-r2) is a 748M-parameter open embedding model from IBM, released on November 30, 2026. It retrieves document pages directly from page images, without OCR or chunking, and it can also embed plain text passages.

Is Granite Embedding Vision R2 free to use?

Yes. The weights are released under the Apache 2.0 license on Hugging Face, so you can run the model on your own hardware without a per-request fee. IBM’s announcement does not list a separate hosted API price for this model.

Which library do I need to run it?

Use sentence-transformers 6 or later with transformers 5.4.0 or later, and load the model with MultiVectorEncoder and trust_remote_code=True. Loading it with SentenceTransformer drops the multi-vector head.

Should I use single-vector or multi-vector search?

Use the 768-dimensional single vector for cheap first-stage search in any vector database, and rerank the shortlist with the 128-dimensional multi-vectors. IBM reports that this hybrid setup comes within 0.001 nDCG@5 of exhaustive multi-vector search on average.

Is it a good choice for text-only documents?

Not usually. IBM recommends granite-embedding-311m-multilingual-r2 or granite-embedding-97m-multilingual-r2 for collections that contain only text, because they are smaller and need one vector per passage.

Sources

Related answers

Leave a Comment