Granite Embedding Vision R2

Parul Awasthy, Yahan Yang, Aashka Trivedi, Ken Barker, Yushu Yang, Martin Franz, Yulong Li, Bhavani Iyer, Todd Ward, Radu FlorianarXiv 2026

TL;DR

Searching through messy enterprise PDFs—packed with charts, tables, and visual layouts—usually requires either fragile, slow OCR pipelines or massive, expensive vision-language models. IBM Research introduces granite-embedding-748m-vision-r2, a compact multilingual model that reads page images directly and encodes them faster than 20 competing models while maintaining 94% of the accuracy of a model five times its size. Best of all, a single pass outputs both a fast "scout" vector and detailed "inspector" vectors, letting engineers flexibly trade storage for speed—and even search legacy text-only databases without re-indexing them.

What Problem Does This Paper Address?

Real-world documents carry meaning visually: think financial tables, scanned forms, and slide decks. Historically, searching these meant running a Rube Goldberg machine of Optical Character Recognition (OCR), layout detection, and table extraction—taking ~3.5 seconds per page and inevitably mangling visual context.

Visual document retrieval skips OCR entirely by turning whole page images directly into searchable mathematical representations (embeddings). However, top visual retrievers usually rely on multi-billion-parameter models and "late interaction" (like ColBERT), which stores hundreds or thousands of vectors per page (one for each visual patch) to compare finely against query words. At enterprise scale, indexing a million pages with these heavyweights takes days of GPU time and balloons storage costs by 100×. Meanwhile, existing sub-1B compact models often stumble on non-English documents.

Methods

GraniteEmb-748m stitches together a smart visual front-end with an established multilingual text encoder (GraniteEmb-Text-311m, based on ModernBERT).

Figure 2: Architecture of GraniteEmb-748m. A NaFlex vision tower encodes page images at close to native aspect ratio; a window Q-Former compresses the patches into the text encoder’s input space. The final hidden states feed a single-vector ([CLS]) and a 128-dimensional multi-vector head. Tags mark what is frozen during distillation.

Here is how the pieces fit together:

  • Visual Compression: A SigLIP2 NaFlex vision tower reads pages near their native aspect ratio. Instead of dumping thousands of patches into the language model, a lightweight "window Q-Former" connector compresses $4 \times 4$ patch windows, shrinking the sequence by $4\times$ down to just 144–720 visual tokens per page.
  • Dual Heads in One Pass: From the final hidden states, the model outputs both a single 768-d vector (for fast approximate search) and compact 128-d multi-vectors per token (for high-precision MaxSim scoring).
  • Elastic Compression: During training, the single vector uses Matryoshka Representation Learning (meaning you can slice off trailing dimensions to save space), while the multi-vector head uses a hierarchical pooling regularizer (clustering similar patch vectors during training so the index can be aggressively pooled later without breaking accuracy).
  • Two-Stage Training & Model Merging: First, modality alignment uses masked language modeling to teach the text backbone to "read" visual tokens. Second, knowledge distillation trains both heads simultaneously to mimic the score distributions of a 4B multimodal teacher and an 8B text teacher. Finally, because vision training causes the model to slightly "forget" pure text retrieval, the authors linearly interpolate (merge) the final weights slightly back toward the original text-only backbone ($\alpha = 0.1$).

Datasets

No new evaluation benchmarks are introduced, though the authors construct governance-reviewed synthetic multilingual VQA and description datasets (using Gemma-4 and Ministral-3) for training.

  • Training: ~6.3M alignment and ~7.3M distillation examples drawn from commercially licensed subsets of The Cauldron, Docmatix, Molmo2-SynMultiImageQA, DocFM, ChartNet, FinePDFs (22 languages), rendered MIRACL passages (16 languages), Wikimedia captions, and multilingual text triples.
  • Evaluation: Eight visual document benchmarks—ViDoRe (v1, v2, v3), Real-MM-RAG, Jina-VDR, M3DR, VisRAG, and VisDocOOD (out-of-domain tasks from MMEB-V2)—plus MTEB (English and Multilingual) for text-only retrieval.

Key Insights and Ideas

  • Zero-Multi-Vector-Index Hybrid Search: Because one model produces aligned single and multi-vectors, you can shortlist top-$k$ pages using the tiny single-vector index, fetch the raw images from disk, and recompute the multi-vectors on the fly for reranking. You get near-exhaustive late-interaction accuracy while dropping the massive multi-vector index completely.
  • Backwards-Compatible Text Indexes: Thanks to freezing the base text weights during LoRA distillation and merging back toward the original text model, GraniteEmb-748m queries live in the exact same vector space as its text-only predecessor (GraniteEmb-Text-311m). Teams can add visual PDF search on top of existing text indexes without re-encoding old text data.
  • Preprocessing is the Hidden Bottleneck: Simply moving image resizing/patching to the GPU and using FlashAttention-2 sequence packing (eliminating wasted compute on padding tokens across variable-sized pages) boosted end-to-end throughput by 1.34× without changing a single model weight.

Key Results

Speed vs. accuracy across 20 open visual document retrievers on one NVIDIA H200 GPU, showing Granite Vision R2 748m anchoring the fast end of the Pareto front.

Figure 1: Speed vs. accuracy for visual document retrievers. The y-axis is the average nDCG over the eight benchmarks of Table 2; the x-axis is page images encoded per second on one H200 (log scale). Marker area is proportional to parameter count. The dashed line is the Pareto front over the released models; the teacher is shown for reference (multi-vector only). Data in
  • Speed–Quality Pareto Front: Encodes 35.3 pages/sec on a single H200 GPU (~8 hours per million pages vs. 16–107 hours for higher-scoring models), making it the fastest of all 20 evaluated retrievers.
  • Punching Above Its Weight: Averages 0.721 nDCG across the eight visual benchmarks—retaining 94% of its 4B teacher's quality (0.769) with less than a fifth of the parameters. The only sub-1B model scoring higher (pplx-embed-v2-late-0.6b at 0.753) runs at half the speed (17.4 pages/s) and outputs ~2.5× more tokens per page.
  • Extreme Index Shrinkage: Combining int8 quantization with hierarchical token pooling (128 vectors/page) shrinks the multi-vector index by 9.1× while retaining nearly 99% of retrieval quality (losing just 0.009 nDCG).
  • Hybrid Latency: Reranking top-100 single-vector hits with stored multi-vectors comes within 0.001 nDCG@5 of exhaustive search on ViDoRe while adding just ~1.5 ms per query; recomputing top-10 on the fly takes 0.22–0.38s and requires only 1.5 KiB of index storage per page.
  • Multilingual Strength: Scores 0.656 nDCG@10 on multilingual MTEB text retrieval, edging out its own text-only 311M parent (0.652).

Limitations and Future Work

  • Cross-Lingual Script Confusion: When identical documents exist in multiple languages in the same pool, non-Latin queries (especially Indic languages, <10% native top-1 hit rate) frequently retrieve the English rendering of the right page rather than their native script. While easily fixed via language metadata filtering (which restores 97% native accuracy), fixing it natively will require language-contrastive training.
  • Asymmetric Index Sharing: While GraniteEmb-748m queries can search a GraniteEmb-Text-311m index, the reverse doesn't yet work reliably across all tasks. Future work aims to align them bidirectionally so lightweight text encoders can query visual page indexes, alongside closing the 0.032 nDCG gap to the top sub-1B competitor without sacrificing throughput.

Summary updated

BibTeX
@misc{awasthy2026granite,
  author = {Parul Awasthy and Yahan Yang and Aashka Trivedi and Ken Barker and Yushu Yang and Martin Franz and Yulong Li and Bhavani Iyer and Todd Ward and Radu Florian},
  title = {{Granite Embedding Vision R2}},
  year = {2026},
  eprint = {2611.35217},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35217},
}
Figure