Abstract
We introduce EmbeddingGemma, a new lightweight, open text embedding model based on the Gemma 3 language model family. Our innovative training recipe strategically captures knowledge from larger models via encoder-decoder initialization and geometric embedding distillation. We improve model robustness and expressiveness with a spread-out regularizer, and ensure generalizability by merging checkpoints from varied, optimized mixtures. Evaluated on the Massive Text Embedding Benchmark (MTEB) across multilingual, English, and code domains, EmbeddingGemma (300M) achieves state-of-the-art results. Notably, it outperforms prior top models, both proprietary and open, with fewer than 500M parameters, and provides performance comparable to models double its size, offering an exceptional performance-to-cost ratio. Remarkably, this lead persists when quantizing model weights or truncating embedding outputs. This makes EmbeddingGemma particularly well-suited for low-latency and high-throughput use cases such as on-device applications. We provide ablation studies exploring our key design choices. We release EmbeddingGemma to the community to promote further research.
Introduction
In the landscape of Large Language Models (LLMs), text embeddings serve as critical vector representations for tasks such as search, retrieval-augmented generation (RAG), and clustering. While state-of-the-art (SOTA) performance has traditionally been associated with models boasting billions of parameters, such scale introduces significant computational overhead, limiting utility in high-throughput or on-device environments.
EmbeddingGemma addresses this gap by providing a 308M-parameter model that delivers heavyweight performance within a lightweight footprint. The model is designed to excel across three difficult dimensions simultaneously: multilingual support, programming code retrieval, and English-language tasks, while remaining robust to quantization and truncation.
Methodology
EmbeddingGemma’s success stems from a sophisticated training recipe designed to maximize the utility of its 308M parameters.
Encoder-Decoder Initialization
Instead of starting with a standard decoder-only architecture, the model adopts an encoder-decoder structure. Initialized using the UL2 objective (following the T5Gemma recipe), this architecture enables bidirectional attention. This allows the model to process the full context of a sentence simultaneously, a capability that consistently outperforms the unidirectional "look-back" approach of standard decoders for embedding tasks.
Geometric Embedding Distillation
To capture the knowledge of much larger systems, EmbeddingGemma employs geometric embedding distillation from the proprietary Gemini Embedding model. Unlike traditional distillation methods that focus solely on relevance scores, this approach aligns the actual vector positions within the embedding space, effectively "mimicking" the sophisticated representation space of the teacher model.
Regularization and Model Souping
To ensure efficient use of the vector space, a "spread-out" global orthogonal regularizer was applied. This prevents embedding collapse and ensures the model remains robust when compressed via quantization. Furthermore, the team utilized "Model Souping," averaging the weights of multiple model versions trained on diverse data mixtures optimized via Bayesian optimization. This technique enhances generalization across varied domains.
Matryoshka Representation Learning (MRL)
The model incorporates MRL, producing "nested" embeddings. This allows users to truncate the 768-dimensional output to as few as 128 dimensions while retaining high accuracy, facilitating extremely low-latency and high-throughput applications.
Key Results
EmbeddingGemma (308M) achieves the #1 rank on the MTEB leaderboard for all models under 500M parameters across Multilingual, English, and Code domains.
As illustrated in the benchmarks above, EmbeddingGemma significantly outperforms larger models such as Qwen3-0.6B and Jina-v3 in multilingual tasks. In the code domain, the model demonstrates dramatic improvements, particularly in AppsRetrieval (+37.6) and CosQA (+10.0) compared to the next-best sub-500M model.
The detailed performance metrics in the table above highlight the model's versatility. On the XTREME-UP benchmark, EmbeddingGemma vastly outperforms other open models and rivals commercial API models in low-resource language performance. Notably, the model maintains its performance lead even when quantized to 4-bit precision, making it a prime candidate for mobile and edge computing.
Key Insights
- Bidirectional Context is King: Ablation studies confirmed that the encoder-decoder setup provides a significantly stronger foundation for embeddings compared to decoder-only initializations.
- Simple is Better for Pooling: Surprisingly, simple mean pooling (averaging all token vectors) outperformed more complex attention-based pooling mechanisms despite having fewer learnable parameters.
- Data Mixture Diversity: The success of model souping was attributed to the diversity of data mixtures rather than hyperparameter variations, allowing the final model to act as an ensemble of domain experts.
Conclusion and Future Work
EmbeddingGemma demonstrates that strategic training recipes can bridge the gap between model scale and performance. While the current model is optimized for text, the native multimodality of the Gemma 3 family suggests future extensions into image, audio, and video embeddings. Additionally, while the model handles sequences up to 2048 tokens, future research will explore extending the context window for long-form document retrieval. EmbeddingGemma is released to the community to promote further research in efficient representation learning.
Summary updated