Granite Embedding Multilingual R2 Models

Parul Awasthy, Aashka Trivedi, Yushu Yang, Ken Barker, Yulong Li, Bhavani Iyer, Martin Franz, Juergen Bross, Meet Doshi, Vignesh P, Vishwajeet Kumar, Todd Ward, Abraham Daniels, Madison Lee, Luis Lastras, Jaydeep Sen, Radu FlorianarXiv 2026

TL;DR

IBM Research has released the Granite Embedding Multilingual R2 family, featuring a 311M full-size model and a 97M compact model that deliver state-of-the-art dense retrieval across 200+ languages and programming code. Built on the modern ModernBERT architecture, these models expand the context window to 32,768 tokens (a 64x increase over R1) and are released under a fully permissive Apache 2.0 license, making them completely ready for commercial enterprise applications.

What Problem Does This Paper Address?

Dense retrieval via bi-encoder embedding models is the backbone of modern search, Retrieval-Augmented Generation (RAG), and text clustering due to its low inference latency and small memory footprint. However, building effective multilingual embedding models introduces severe bottlenecks: tokenizers must handle massive morphological diversity across language families, and models must scale to handle long documents without degrading.

Furthermore, many existing open-source multilingual models suffer from restrictive, non-commercial licenses (often due to training on datasets like MS-MARCO) or offer limited context windows (frequently capping out at 512 tokens). The Granite R2 models eliminate these roadblocks by delivering long-context, high-performance, and strictly governed enterprise-ready embeddings.

Methods

The models leverage the architectural optimizations of ModernBERT, including an alternating global/local attention mechanism, rotary positional embeddings (RoPE) for context flexibility, and native FlashAttention support.

The training pipeline consists of two primary phases:

  1. Encoder Pretraining: Masked Language Modeling (MLM) over three distinct stages (large-scale pretraining, context extension to 8,192 tokens, and learning rate decay using a linear merge of English-focused, multilingual-focused, and baseline variants).
  2. Bi-Encoder Finetuning: The models are optimized using an improved contrastive loss with large batch sizes and in-batch negatives. To maximize performance, the authors utilize Knowledge Distillation from large autoregressive decoder teachers (Mistral 7B for English; Granite 3.3 8B and 4.1 8B for multilingual data).

The 97M compact model is built efficiently via model pruning and vocabulary selection, shrinking the tokenizer vocabulary from 200K to 180K tokens to minimize its memory footprint. Additionally, the 311M model natively supports Matryoshka Representation Learning (MRL), allowing vectors to be truncated from 768 dimensions down to 128 dimensions with minimal loss in accuracy.

Architectural details of the Granite Multilingual Encoder models

Datasets

  • Pretraining Corpora: FineWeb2, GneissWeb (an IBM-curated, strictly filtered open dataset), FineWeb-Edu, multilingual Wikipedia, Stack Exchange, arXiv, and code datasets from the Granite Code models.
  • Finetuning & Evaluation Benchmarks: MTEB-v2 Retrieval, MTEB Code (including COIR for text-to-code tasks), LongEmbed (for long-context evaluation), MLQA (cross-lingual search), BRIGHT, and RaR-b (reasoning retrieval).
  • Synthetic Data: The authors developed a synthetic data generation pipeline using gpt-oss-120b to create high-quality question-answer pairs across 18 languages, filtered using a rigorous LLM-as-judge process. Notably, the popular MS-MARCO dataset was completely excluded to maintain a clean Apache 2.0 licensing posture.

Key Insights and Ideas

  • Bypassing MS-MARCO Successfully: Historically, competitive retrieval models relied heavily on MS-MARCO. IBM proves that combining high-quality open web data (like FineWeb2) with targeted synthetic data generation can yield state-of-the-art results without commercial licensing liabilities.
  • Vocabulary Pruning Yields Massive Efficiency: The 97M compact model achieves incredible performance despite being 3x smaller than the full-size model. This demonstrates that removing infrequent tokens from a multilingual tokenizer can drastically reduce parameter count while preserving broad language coverage.
  • Mitigating the Multilingual Tax: Multilingual models typically suffer a performance penalty on pure English tasks. By training an identical model variant on English-only data and linearly merging its weights back into the multilingual model, the authors successfully clawed back English retrieval accuracy.
  • The Hidden Cost of Library Upgrades: The authors highlight a practical engineering warning: a routine upgrade of the HuggingFace transformers library (from 4.57 to 5.1) accidentally removed ModernBERT's full-model unpadding optimization to reduce technical debt, which silently halved model throughput. They provide custom collation workarounds to recover this speed.

Key Results

  • Sub-100M Parameter King: The granite-embedding-97m-multilingual-r2 model scores 60.3 on the MTEB-v2 Retrieval Average, establishing a 9+ point lead over the next-best model in its size class.
  • Top-Tier Full-Size Performance: The granite-embedding-311m-multilingual-r2 model scores 65.2 on MTEB-v2 Retrieval, placing it in the top 3 open multilingual embedding models under 500M parameters.
  • Excellent Long-Context Scaling: On the LongEmbed benchmark, performance scales monotonically as the context window expands, proving that the 32,768-token window provides genuine downstream utility.
Figure 1: Performance of multilingual Granite R2 embedding models and comparable size open-source models, average multilingual MTEB performance. Refer section 4.1 for details.

Limitations and Future Work

While the underlying encoder supports over 200 languages, "enhanced support" (meaning explicit retrieval-pair and cross-lingual training data) is currently limited to 52 languages and specific programming languages. Additionally, despite model merging techniques, a slight performance gap still remains on pure English retrieval tasks when compared directly to English-only specialized models. Future iterations will likely focus on expanding enhanced training pairs to a wider distribution of low-resource languages.

Summary updated

BibTeX
@misc{awasthy2026granite,
  author = {Parul Awasthy and Aashka Trivedi and Yushu Yang and Ken Barker and Yulong Li and Bhavani Iyer and Martin Franz and Juergen Bross and Meet Doshi and Vignesh P and Vishwajeet Kumar and Todd Ward and Abraham Daniels and Madison Lee and Luis Lastras and Jaydeep Sen and Radu Florian},
  title = {{Granite Embedding Multilingual R2 Models}},
  year = {2026},
  eprint = {2605.13521},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.13521},
}
Figure