MTEB

Also known as: Massive Text Embedding Benchmark

On this page 7

MTEB, the Massive Text Embedding Benchmark, is an open evaluation suite that measures how well text embedding models perform across many task types and languages, from retrieval and reranking to clustering, classification and semantic similarity. In artificial intelligence, and in retrieval and knowledge systems in particular, it is the most widely cited public reference for comparing embedding models before choosing one for semantic search or retrieval-augmented generation.

Introduced in 2022 together with an open-source Python package and a public leaderboard, MTEB replaced the habit of judging embeddings on one or two narrow datasets. Its core lesson is that no single embedding model dominates every task, so the right choice depends on the workload.

How MTEB evaluates an embedding model

MTEB treats the model under test as a frozen encoder: it maps each text to a fixed-length vector, and the benchmark then runs a task-specific procedure on those vectors. No fine-tuning happens inside the benchmark, so scores reflect the general quality of the embedding space rather than the skill of a downstream training recipe.

The original release grouped 58 datasets in 112 languages into eight task types. A later community expansion, often called MMTEB, grew the collection to hundreds of tasks and more than 250 languages and introduced curated benchmark subsets that are cheaper to run. The table below lists the eight core task types and their headline metrics.

Task typeWhat the embeddings must doMain metric
RetrievalRank relevant documents for a querynDCG@10
RerankingReorder a short candidate listMAP
ClassificationFeed a logistic regression classifierAccuracy
ClusteringGroup texts with mini-batch k-meansV-measure
Pair classificationDecide whether two texts matchAverage precision
Semantic textual similarityScore sentence pairs against human ratingsSpearman correlation
SummarizationRate machine summaries against referencesSpearman correlation
Bitext miningFind translation pairs across languagesF1
Core task types and their main metrics

Similarity between vectors is usually computed with cosine similarity, although models may declare dot product. The retrieval portion largely reuses datasets from BEIR, the earlier zero-shot retrieval benchmark, which is why retrieval scores on both suites are often discussed together.

Reading the MTEB leaderboard

The public leaderboard reports an average score per task type and an overall average, alongside model properties that matter in production. Reading only the overall rank is the most common misuse of MTEB, because the average blends very different abilities into one number.

ColumnMeaningWhy it matters
Mean scoreAverage across tasks or task typesHides strengths and weaknesses
Retrieval averageMean nDCG@10 on retrieval tasksBest proxy for RAG and search
Embedding dimensionLength of each output vectorDrives index size and latency
Max tokensLongest input the model acceptsLimits chunk size
ParametersModel sizeAffects cost and throughput
Zero-shot flagWhether training data overlapped with tasksSignals possible contamination
Leaderboard columns and how to interpret them

A model ranked tenth overall may rank first on retrieval in a specific language, and a top model may be ten times larger than a nearly equal competitor. Practitioners therefore filter by language, task type and size before comparing numbers.

MTEB compared with other retrieval benchmarks

MTEB is a broad embedding benchmark, not a pure retrieval benchmark and not an end-to-end RAG test. Its neighbors in the retrieval and knowledge area answer narrower or different questions, as the following comparison shows.

Benchmark or methodScopeTypical use
MTEBMany task types and languagesChoosing a general embedding model
BEIRZero-shot retrieval in EnglishComparing dense, sparse and hybrid retrievers
Language-specific MTEB variantsOne language, many tasksSelecting models for a regional market
RAG evaluationRetrieval plus answer qualityTesting a full pipeline end to end
In-house test setOwn queries and documentsFinal decision before deployment
How MTEB relates to neighboring evaluations

Because MTEB scores only the embedding step, it cannot show the effect of chunking, hybrid search, reranking or prompt design. A strong MTEB result is a reason to shortlist a model, not proof that a pipeline will answer user questions well.

Using MTEB to choose an embedding model

The open-source mteb package lets teams run any task, or a custom dataset in the same format, on their own candidate models. A sound selection process combines public scores with a private evaluation on representative data.

  1. Filter by language and domain, keeping tasks close to the real corpus.
  2. Focus on the relevant task type, usually retrieval for semantic search and RAG.
  3. Check practical constraints such as dimension, context length and license.
  4. Shortlist three to five models and rerun them locally with the package.
  5. Validate on in-house queries with labeled relevance before deployment.

Teams that need compact indexes should also compare results at reduced dimensions, since models trained with Matryoshka objectives or evaluated with binary or scalar quantization can lose only a few points while cutting storage substantially.

Limitations and known pitfalls

The benchmark is valuable precisely because it is public, and that openness creates its main weakness: benchmark overfitting. Training sets of popular models increasingly include the training splits, or close relatives, of MTEB datasets, which inflates scores without improving general quality.

PitfallConsequenceMitigation
Data contaminationInflated scores on familiar datasetsPrefer zero-shot results
Single average rankingWrong model for the actual taskCompare per task type
Domain mismatchGood public scores, weak legal or medical resultsTest on in-domain data
Ignoring costSlow or expensive inferenceWeigh size and dimension
Small score gapsDifferences within noiseTreat gaps under one point as ties
Pitfalls when relying on MTEB scores

Some original datasets are also short, noisy or English-heavy, and long-document retrieval was poorly covered in early versions. Newer task sets address part of this gap, but results still depend strongly on which benchmark version and subset a leaderboard row reports.

A plain-language summary

An embedding model turns text into a list of numbers. Similar texts get similar numbers. This helps search tools find documents by meaning, not only by exact words.

MTEB is a large exam for these models. It checks many skills in many languages. Search is one skill. Grouping similar texts and spotting paraphrases are others. The results appear in a public ranking. The key point is simple: look at the skill you need, not only the overall grade.

An example from practice

An insurance company is building a retrieval-augmented assistant for claims staff over 40,000 policy documents in English and German. The team opens the MTEB leaderboard, filters for both languages, and sorts by the retrieval average instead of the overall score. They exclude models above 1,500 million parameters to keep latency below 100 milliseconds per query.

Four candidates remain. The team runs them with the mteb package on 300 labeled internal queries. The model that ranked first on the public leaderboard places third on internal data, while a smaller model with 768-dimension vectors gives the highest nDCG@10 and halves index storage. The company deploys the smaller model, and the assistant finds the correct policy clause in the top five results for most test questions.