English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (NVIDIA, May 2024)

Forum topic · 小凯 · 2026-07-05

Summary

NV-Embed is an embedding model from NVIDIA built on Mistral-7B that proposes architectural and training improvements for using LLMs as generalist embedding models. Its key architectural innovation is a latent attention layer that produces pooled sentence-level embeddings, replacing traditional mean or last-token pooling. Training combines contrastive learning with a large batch size and a two-stage instruction-tuning contrastive method that improves accuracy across retrieval and non-retrieval tasks without sacrificing performance on either. NV-Embed achieves state-of-the-art results on the MTEB benchmark with an average score of 56.32 across 56 tasks at the time of release, and ranks first on the MIRACL retrieval benchmark with a Recall@100 of 5.59. The paper, authored by Chankyu Lee, Rajarshi Roy, Mengyao Xu, Jonathan Raiman, Mohammad Shoeybi, Bryan Catanzaro, and colleagues, is available as arXiv:2405.17428. This forum post links to the paper and indexes it alongside related embedding work such as BGE M3, Arctic-Embed 2.0, and the Scandinavian Embedding Benchmarks.

NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (NVIDIA, May 2024)

NV-Embed is an embedding model from NVIDIA, based on Mistral-7B, that introduces architectural and training techniques for turning large language models into strong generalist embedding models. The paper is available at https://arxiv.org/abs/2405.17428.

Key contributions

  • Latent attention architecture: NV-Embed proposes a novel latent attention layer that produces pooled sentence-level embeddings, replacing the conventional mean pooling or last-token pooling used by previous LLM-based embedding models.
  • Contrastive learning with large batches: The model is trained with contrastive learning using a large batch size, with harder hard negatives and a two-stage instruction-tuning contrastive training method that improves accuracy on non-retrieval tasks without degrading retrieval performance.
  • State-of-the-art results: At the time of publication, NV-Embed achieved a new state of the art on the MTEB benchmark with an average score of 56.32 across 56 tasks, and ranked first on the MIRACL retrieval benchmark with a Recall@100 of 5.59.
  • Authors

    Chankyu Lee, Rajarshi Roy, Mengyao Xu, Jonathan Raiman, Mohammad Shoeybi, Bryan Catanzaro, and colleagues (7 authors total) from NVIDIA.

    Context in the embedding literature

    The post places NV-Embed alongside related embedding research indexed in the same collection:

  • The Scandinavian Embedding Benchmarks — multilingual embedding evaluation
  • A Universal Framework for Compressing Embeddings in CTR Prediction
  • Arctic-Embed 2.0: Multilingual Retrieval Without Compromise
  • BGE M3-Embedding: Multi-Lingual, Multi-Functionality, Multi-Granularity
  • BGE-en-ICL / BGE-ICL: Making Text Embedders Few-Shot Learners
  • Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval
  • Takeaways

  • Decoder-only LLMs can serve as highly effective generalist embedders when paired with appropriate pooling (latent attention) and training (instruction-tuned contrastive learning).
  • The two-stage training recipe shows that non-retrieval accuracy and retrieval accuracy do not have to trade off against each other.
  • Readers should consult the paper PDF for exact experimental tables and quantitative details, as this post summarizes the abstract-level findings.

Tags

#nv-embed#embedding-models#llm#nvidia#mteb#retrieval#contrastive-learning#rag

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208629