Copied


NVIDIA's NV-Embed Model Achieves Top Spot on MTEB Leaderboard

Timothy Morano   Jun 10, 2024 09:31 2 Min Read


The latest embedding model from NVIDIA, NV-Embed, has secured the top position on the Massive Text Embedding Benchmark (MTEB) leaderboard with an impressive score of 69.32. According to the NVIDIA Technical Blog, this new record highlights NV-Embed's excellence across 56 embedding tasks.

Understanding the Metrics for Embedding Models

Embedding models are evaluated using several metrics, primarily Normalized Discounted Cumulative Gain (NDCG) and Recall. NDCG is a rank-aware metric that measures the relevance and order of retrieved information, while Recall is a rank-agnostic metric that measures the percentage of relevant results retrieved. Most benchmarks report NDCG@10, but enterprise-grade retrieval-augmented generation (RAG) pipelines often use Recall@5 for better accuracy.

What Are MTEB and BEIR?

To gauge the performance of retrieval pipelines, developers use benchmarks like MTEB and BEIR. MTEB covers 56 tasks, including retrieval, classification, re-ranking, clustering, and summarization. BEIR focuses on the retrieval task, adding complexity with various question types and domains such as fact-checking and biomedical questions. While MTEB largely subsumes BEIR, both benchmarks are essential for evaluating embedding models.

NV-Embed's Performance and Innovations

NV-Embed achieved its high accuracy through several key improvements:

  • Latent Attention Layer: This new layer simplifies the process of combining the mathematical representations (embeddings) of words.
  • Two-Stage Learning Process: The first stage uses in-batch negative and hard negative pairs for contrastive learning. The second stage blends data from non-retrieval tasks, disabling in-batch negative training.

These innovations contribute to NV-Embed's superior performance, making it highly effective for various retrieval workloads.

Relevance for Enterprises

For enterprises, the applicability of NV-Embed depends on the nature and domain of their data. Benchmarks like BEIR and datasets such as Quora and HotPotQA can help assess the model's relevance to specific use cases. For instance, Quora's dataset focuses on retrieving similar questions, while HotPotQA involves general question-passage pairs.

Begin Prototyping Today

Organizations can start using the NV-Embed model through NVIDIA's API catalog. Additionally, NVIDIA NeMo Retriever offers a collection of microservices designed to connect custom models to diverse business data, ensuring highly accurate responses.


Read More