EmbeddingGemma: Powerful and Lightweight Text Representations

Henrique Schechter Vera, Sahil Dua, Biao Zhang, Daniel Salz, Ryan Mullins, Sindhu Raghuram Panyam, Sara Smoot, Iftekhar Naim, Joe Zou, Feiyang Chen, Daniel Cer, Alice Lisak, Min Choi, Lucas Gonzalez, Omar Sanseviero, Glenn Cameron, Ian Ballantyne, Kat Black, Kaifeng Chen, Weiyi Wang, Zhe Li, Gus Martins, Jinhyuk Lee, Mark Sherwood, Ju-yeong Ji, Renjie Wu, Jingxiao Zheng, Jyotinder Singh, Abheesht Sharma, Divyashree Sreepathihalli, Aashi Jain, Adham Elarabawy, Aj Co, Andreas Doumanoglou, Babak Samari, Ben Hora, Brian Potetz, Dahun Kim, Enrique Alfonseca, Fedor Moiseev, Feng Han, Frank Palma Gomez, Gustavo Hernández Ábrego, Hesen Zhang, Hui Hui, Jay Han, Karan Gill, Ke Chen, Koert Chen, Madhuri Shanbhogue, Michael Boratko, Paul Suganthan, Sai Meher Karthik Duddu, Sandeep Mariserla, Setareh Ariafar, Shanfeng Zhang, Shijie Zhang, Simon Baumgartner, Sonam Goenka, Steve Qiu, Tanmaya Dabral, Trevor Walker, Vikram Rao, Waleed Khawaja, Wenlei Zhou, Xiaoqi Ren, Ye Xia, Yichang Chen, Yi-Ting Chen, Zhe Dong, Zhongli Ding, Francesco Visin, Gaël Liu, Jiageng Zhang, Kathleen Kenealy, Michelle Casbon, Ravin Kumar, Thomas Mesnard, Zach Gleicher, Cormac Brick, Olivier Lacombe, Adam Roberts, Qin Yin, Yun-Hsuan Sung, Raphael Hoffmann, Tris Warkentin, Armand Joulin, Tom Duerig, Mojtaba SeyedhosseiniarXiv 2025

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.

EmbeddingGemma (300M) performance on MTEB Multilingual and Code benchmarks relative to model size.

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.

Comprehensive comparison of EmbeddingGemma against open and commercial embedding models.

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

BibTeX
@misc{vera2025embeddinggemma,
  author = {Henrique Schechter Vera and Sahil Dua and Biao Zhang and Daniel Salz and Ryan Mullins and Sindhu Raghuram Panyam and Sara Smoot and Iftekhar Naim and Joe Zou and Feiyang Chen and Daniel Cer and Alice Lisak and Min Choi and Lucas Gonzalez and Omar Sanseviero and Glenn Cameron and Ian Ballantyne and Kat Black and Kaifeng Chen and Weiyi Wang and Zhe Li and Gus Martins and Jinhyuk Lee and Mark Sherwood and Ju-yeong Ji and Renjie Wu and Jingxiao Zheng and Jyotinder Singh and Abheesht Sharma and Divyashree Sreepathihalli and Aashi Jain and Adham Elarabawy and AJ Co and Andreas Doumanoglou and Babak Samari and Ben Hora and Brian Potetz and Dahun Kim and Enrique Alfonseca and Fedor Moiseev and Feng Han and Frank Palma Gomez and Gustavo Hernández Ábrego and Hesen Zhang and Hui Hui and Jay Han and Karan Gill and Ke Chen and Koert Chen and Madhuri Shanbhogue and Michael Boratko and Paul Suganthan and Sai Meher Karthik Duddu and Sandeep Mariserla and Setareh Ariafar and Shanfeng Zhang and Shijie Zhang and Simon Baumgartner and Sonam Goenka and Steve Qiu and Tanmaya Dabral and Trevor Walker and Vikram Rao and Waleed Khawaja and Wenlei Zhou and Xiaoqi Ren and Ye Xia and Yichang Chen and Yi-Ting Chen and Zhe Dong and Zhongli Ding and Francesco Visin and Gaël Liu and Jiageng Zhang and Kathleen Kenealy and Michelle Casbon and Ravin Kumar and Thomas Mesnard and Zach Gleicher and Cormac Brick and Olivier Lacombe and Adam Roberts and Qin Yin and Yun-Hsuan Sung and Raphael Hoffmann and Tris Warkentin and Armand Joulin and Tom Duerig and Mojtaba Seyedhosseini},
  title = {{EmbeddingGemma: Powerful and Lightweight Text Representations}},
  year = {2025},
  eprint = {2509.20354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.20354},
}
Figure