TL;DR: Granite Embedding Vision R2 searches page images without OCR, using one 748M-parameter model for fast single and multi-vector search or reranking. It encodes 35.3 pages/s on one H200—faster than any of the 20 other retrievers we tested—at 0.721 average nDCG across eight benchmarks, with about 149 KiB of stored multi-vectors per page. Apache 2.0 licensed. Try it with your PDFs.
Get started: Download the model, try it with your PDFs, read the tech report, or
Your PDF’s best answer often sits in a chart, a table, or a scanned page, exactly the parts a text pipeline struggles with. OCR, layout detection, table extraction, chunking: by the time the page is searchable, the chart has turned into its caption.
Granite Embedding Vision R2 skips the pipeline and searches the page image itself. It’s fast: 35.3 pages per second on one NVIDIA H200, faster than any of the 20 other visual document retrievers we measured. At that throughput, encoding one million pages would take about eight hours on a single H100, excluding PDF rendering and index construction. Across eight benchmarks it averages 0.721 nDCG.
You also don’t have to decide up front how to search. Each page comes out as one compact vector for quick lookups and about 600 small vectors that line up query words with regions of the page, so you can search with either or both. Ask about an elephant’s trunk, and you can see the word land on the trunk in the drawing. Here’s how it works, and what the speed, storage, and retrieval results mean for your documents.
One vector, many vectors, or both
Finding a promising page and deciding whether it really answers the question are different jobs. This model produces two representations in one forward pass: a single vector for fast, cheap search, and multi-vectors for finer-grained matching.
That gives you three ways to search:
- Multi-vector search. Vector databases such as Milvus 3.0, Qdrant and Weaviate can now store a list of vectors per page and score it with MaxSim natively, so you can index the multi-vectors and query them directly. Fewer, narrower vectors per page keep that index smaller and faster to build.
- Single-vector search. One 768-d vector per page works in any vector database, at 1.5 KiB per page.
- Hybrid search. Search the single-vector index for a shortlist, then rerank it with the stored multi-vectors. Multi-vector scoring then runs only on the shortlist, and the setup works with any vector database.
You encode each page once and get both representations. Keep both, and you can switch between these setups without re-encoding your collection.
Fast enough for every page you have
Speed against quality
Finding the right page matters, and so does getting a million pages ready to search. For a large collection, encoding speed determines how soon you can start asking questions—and how much GPU time you spend getting there.
We compared our two heads with 20 recent visual document retrievers under 9B parameters, all in the same evaluation harness. Throughput was measured on one NVIDIA H200 in bf16, including each model’s image preprocessing, using ViDoRe v1 and v2. Granite’s 35.3 pages/s measurement used a batch size of 32 with FlashAttention-2 enabled. Retrieval quality is the unweighted mean of nDCG scores across eight benchmarks: nDCG@10 for ViDoRe v3 and nDCG@5 for the other seven.
Each tab plots quality against one cost: speed, where further right is better, or index size, where further left is better because smaller indexes are cheaper to store. Granite is the fastest model in both the multi-vector and single-vector groups, and it has the smallest multi-vector index. Every model that scores higher encodes pages more slowly, and every multi-vector model that scores higher also needs more storage.
- Fastest in our comparison: 35.3 pages/s at an average nDCG of 0.721. Every model that scores higher encodes pages more slowly.
- The closest rivals: pplx-embed-v2-late-0.6b scores 0.753 at 17.4 pages/s, and VultronRetrieverFlash scores 0.710 at 17.1 pages/s. Granite encodes pages about twice as fast as either, and scores above VultronRetrieverFlash.
For many use cases, a small drop in nDCG is a fair trade for faster indexing and a 2.5× smaller index. If both models meet your retrieval needs, speed and storage become the reasons to choose Granite.
Why it’s fast. Three choices keep the cost per page down. The NaFlex tower reads at most 2,880 patches per page at the page’s own aspect ratio, rather than padding pages out to a grid of fixed tiles. The window Q-Former then cuts the visual tokens by 4× before they reach the text encoder, so a page becomes about 600 tokens. And the text encoder that reads them is a 110M-parameter ModernBERT trunk. On a fast GPU such as the H200, image preprocessing on the CPU becomes the bottleneck, so the model’s image processor runs it on the GPU by default. The model uses FlashAttention-2 by default when it is installed. With that configuration, we measured 35.3 pages/s.
Among single-vector models, ours is the fastest, so it is also on the Pareto front: faster than EmbeddingGemma-2 (35.3 against 28.2 pages/s) and within 0.005 of its score. For large collections, we recommend using it as the first stage of hybrid search.
Index size
Multi-vector retrieval is precise but storage-hungry, so the number of vectors per page and their width matter as much as accuracy at enterprise scale.
- Fewer vectors per page. The 4× token reduction in the connector leaves about 600 vectors per page.
- Narrow vectors. Each is 128-dimensional, against 320 for VultronRetrieverFlash.
- The result. About 149 KiB per page in the multi-vector index: 2.5× smaller than pplx-embed-v2-late-0.6b and 4.8× smaller than VultronRetrieverFlash. The single-vector index needs 1.5 KiB per page.
These sizes cover the stored embedding vectors. A deployed search system also needs space for index structures, metadata and any retained page images; that overhead depends on your database and configuration.
Of the 14 multi-vector models we compared, ours has the smallest index per page, which puts it on the size–quality Pareto front too. The two models next to it trade size for parameters: ColNomic-7B scores 0.030 higher at 179 KiB per page but has 9× the parameters and encodes 8.9 pages/s, and ColQwen2.5 needs the same 179 KiB and scores 0.014 lower.
What a million pages costs to encode
Speed and index size compound at enterprise scale. Here is what a collection of one million pages costs to index with each of the three sub-1B multi-vector models that score above 0.70:
These are projections from measured encoding rates and average vector sizes on one H200, not a million-page end-to-end run. PDF rendering, database ingestion and search-index construction add work beyond page encoding.
Search options
All of these configurations come from one forward pass of the same model. nDCG@5 on ViDoRe v1 (10 datasets) and v2 (4 datasets), one query at a time on an H100:
- The default: rerank stored multi-vectors. It adds 0.117 nDCG@5 on ViDoRe v1 over the single vector for about 1.5 ms more per query, and comes within 0.001 of exhaustive multi-vector search on average.
- The smallest index: recompute at query time. Store only the single vector and re-encode the shortlisted pages when a query arrives, at about 15–20 ms per page when they are encoded as a batch. It ranks the shortlist the same way as stored multi-vectors.
- Token pooling. Pooling each page down to 128 vectors makes the index 78% smaller and keeps 98.8% of the quality; 32 vectors per page (94% smaller) still keep 96.1%. The model was trained to tolerate this compression.
- Quantization. Storing the page vectors as int8 halves the index at no measurable cost, and it adds nothing to the cost of pooling: with 128 int8 vectors per page the index is 9× smaller than unpooled fp16 for 0.009 nDCG, and with 32 vectors 36× smaller for 0.030.
Where does the query look?
Ask about an elephant’s trunk. Does the model match the words, the drawing, or both?
We asked, “What do elephants use their trunks and tusks for?” against six pages: one about elephants, one with curtains, and four business documents. The elephant page ranks first by a clear margin.
The top-left panel shows each query token’s best-matching location—the matches used in MaxSim scoring. The other panels show similarity across the page: “elephants” responds to both text and drawing, while “trunks” and the two tokens making up “tusks” show high similarity around the corresponding illustrated features. The strongest matches are to text, but the heatmaps also reveal associations between query words and visual content.
Read these as a view into the scoring, rather than exact answer locations. Each page token carries contextual information, so a match can sometimes land outside the relevant content.
Can it find pages across languages and imperfect scans?
Real document collections mix languages and contain imperfect scans. We tested whether queries in one language could retrieve pages written in another, and whether light scan noise, blur and skew would disrupt retrieval. The examples below let you compare the resulting rankings on four synthetic business documents.
Documents rarely arrive in one language and perfect condition. Can a German query find an English report? Does a little scan noise change the ranking?
To illustrate cross-language retrieval, we use four synthetic business documents, each with questions in the document’s own language and in another language. We also repeated the same-language questions on simulated scans, adding light noise, softness and skew. Explore the examples below to compare the rankings.
The correct page ranks first in all 20 searches, including cross-language queries and lightly degraded scans. These examples illustrate the model’s behavior, rather than establishing multilingual or scan robustness; the larger benchmarks provide a more systematic evaluation.
These searches compare the four business pages only; the heatmap view adds the encyclopedia page and bedroom photograph. This is a small sanity check, not evidence of robustness across languages or scan conditions—the broader benchmark results below provide the larger test.
Under the hood
Architecture
The model is a vision-language encoder: page images are turned into visual tokens that the text encoder reads alongside text, with full bidirectional attention.
Three design choices keep page encoding fast: reading pages at close to their native aspect ratio, compressing visual tokens before they reach the text encoder, and using a compact bidirectional encoder. Switch to Walkthrough to follow a page through the model and see how these pieces produce both retrieval modes.
Training
Training has three stages: teach the encoder to read pages, build stronger retrievers to learn from, and distill their rankings into both heads.
1. Modality alignment. Following ModernVBERT, the text encoder learns to read page images through masked language modeling on document question-answer data: to fill in the masked words, it has to read the page. Two distillation losses against the original text-only R2 model run alongside: one keeps its text embeddings in place, and one pulls each page’s embedding toward the embedding of its text. The last step continues on PDF pages in 22 languages.
2. Teachers. We train a 4B-parameter multi-vector retriever on Granite Vision 4.1 with the ColPali recipe, on document, chart, table, financial and multilingual page-retrieval data, and merge several checkpoints into one teacher that averages 0.769 on our eight benchmarks. The second teacher is an 8B text retriever from our Granite Embedding Multilingual R2 work, built on granite-4.1-8b.
3. Distillation. Both of the student’s heads learn to reproduce the teachers’ score distributions over candidate pages, so they rank alike and work together in hybrid search. The released model is distilled from the merged teacher, after a short text-only warm-up. Its text encoder is then merged with the original text-only R2 model (weight 0.1), which recovers text-retrieval quality without a measurable loss on our visual-retrieval benchmarks. It reaches 0.721, 94% of the teacher’s score with under a fifth of its parameters.
The full scorecard
Page retrieval
Here is the quality side of the tradeoff: text queries against page images, benchmark by benchmark, for the models under 1B parameters in our comparison. Granite uses its multi-vector head. Scores are nDCG@10 on ViDoRe v3 and nDCG@5 elsewhere, reported on a 0–1 scale. The last two columns are the MMEB average, the mean over the 24 tasks of ViDoRe v1, ViDoRe v2, VisRAG and VisDocOOD, and the plain mean of the eight benchmark scores.
Granite ranks second by average nDCG in this group. The averages summarize different strengths: it scores above VultronRetrieverFlash on ViDoRe v2, Real-MM-RAG, JinaVDR, M3DR and VisDocOOD, and below it on ViDoRe v1, ViDoRe v3 and VisRAG. Use the benchmarks closest to your documents to guide evaluation, alongside the encoding speed and storage comparisons above.
Text Retrieval
nDCG@10 averaged over the retrieval tasks of MTEB(eng, v2) and MTEB(Multilingual, v2), number of tasks in parentheses. These are retrieval-only scores, not the overall MTEB averages. Other models’ scores are from the MTEB leaderboard, except VultronRetrieverFlash-Qwen3.5-0.8B and pplx-embed-v2-late-0.6b, which we evaluated ourselves.
This model is built for page images, and it keeps its text encoder’s retrieval quality, so text passages and pages can share one index. On the MTEB retrieval tasks, its multi-vector head is slightly ahead of granite-embedding-311m-multilingual-r2 on multilingual text (0.656 against 0.652) and trails it on English (0.509 against 0.526). For text-only collections, the 311m model is the simpler choice: the vision model’s text encoder was initialized from it, and without a vision tower it is a smaller download with nothing extra to load, and it scores higher on English. The single vector can also be truncated to 384 dimensions, halving its size, at a cost of 0.001 on each (0.477 and 0.628). Their single vectors are also compatible on text, as long as queries are encoded with the vision model: in our tests on all 25 MTEB retrieval tasks of the English and multilingual suites, its queries searched a granite-embedding-311m-multilingual-r2 text index at least as well as its own, so an existing granite-embedding-311m-multilingual-r2 index can stay as it is when you add pages. The other direction, 311m queries against a vision-model index, also works on most tasks but loses up to 0.05 on a few, so encode queries with the vision model.
Which setup fits your documents?
Data and license
Every dataset used to train the model went through the same clearance process as the Granite Embedding R2 text models: technical, business and governance review covering content, ownership, intended use, licensing, usage restrictions and sensitive information. No datasets restricted to non-commercial use were used in training. The model is released under the Apache 2.0 license for both research and commercial use.
Try it
In the browser
Open Chat with your docs and pick an example or upload a PDF. Start with a question whose answer sits in a chart or table, then try one answered by ordinary text. Switch between single-vector and multi-vector search and compare the retrieved pages.
Granite Embedding Vision R2 finds the pages. Granite Vision 5.0 4B reads them and produces notes; Granite 4.1 3B uses those notes to write an answer with page citations. Check both the retrieved evidence and the answer—the demo lets you see retrieval working as part of a complete pipeline.
In Python
The model needs sentence-transformers 6 or later. Load it with MultiVectorEncoder, not SentenceTransformer, which would drop the multi-vector head.
from pathlib import Path
import torch
from PIL import Image
from sentence_transformers import MultiVectorEncoder
model = MultiVectorEncoder(
"ibm-granite/granite-embedding-748m-vision-r2",
trust_remote_code=True,
model_kwargs={"torch_dtype": torch.bfloat16},
)
paths = sorted(p for p in Path("images").iterdir() if p.suffix.lower() in {".png", ".jpg", ".jpeg"})
pages = [Image.open(p).convert("RGB") for p in paths]
queries = [
"Um wie viel Prozent ist der Umsatz im dritten Quartal gestiegen?",
"What is the maximum hotel reimbursement per night?",
"この請求書の支払総額はいくらですか?",
"Quelle est l'autonomie de la batterie de cet ordinateur portable ?",
"What do elephants use their trunks and tusks for?",
"What pattern are the curtains in the bedroom?",
]
q_outputs = model.encode_query(queries, output_value=None)
d_outputs = model.encode_document(pages, output_value=None)
def single(outputs):
vectors = torch.stack([o["sentence_embedding"] for o in outputs]).float()
return torch.nn.functional.normalize(vectors, dim=-1)
def multi(outputs):
return [
o["token_embeddings"][o["attention_mask"].bool()]
for o in outputs
]
q_mv = multi(q_outputs)
d_mv = multi(d_outputs)
mv_scores = model.similarity(q_mv, d_mv)
q_sv = single(q_outputs)
d_sv = single(d_outputs)
sv_scores = q_sv @ d_sv.T
for i, query in enumerate(queries):
mv, sv = mv_scores[i].argmax().item(), sv_scores[i].argmax().item()
print(query)
print(f" multi-vector: {paths[mv].name} ({mv_scores[i, mv].item():.2f})")
print(f" single vector: {paths[sv].name} ({sv_scores[i, sv].item():.3f})")
Each question puts its page first, with both multi-vector and single-vector search, including the four asked in a language other than the page’s. Text passages are encoded with the same encode_document call; encode images and text in separate calls.
See the model card for more examples, including the retrieval and heatmap scripts, and read our technical report.



