Abstract
Recently, numerous embedding models have been made available and widely used for various NLP tasks. The Massive Text Embedding Benchmark (MTEB) has primarily simplified the process of choosing a model that performs well for several tasks in English, but extensions to other languages remain challenging. This is why we expand MTEB to propose the first massive benchmark of sentence embeddings for French. We gather 15 existing datasets in an easy-to-use interface and create three new French datasets for a global evaluation of 8 task categories. We compare 51 carefully selected embedding models on a large scale, conduct comprehensive statistical tests, and analyze the correlation between model performance and many of their characteristics. We find out that even if no model is the best on all tasks, large multilingual models pre-trained on sentence similarity perform exceptionally well. Our work comes with open-source code, new datasets and a public leaderboard.
Introduction
In Natural Language Processing (NLP), text embeddings serve as a foundational "universal language," enabling machines to capture semantic meaning. While the Massive Text Embedding Benchmark (MTEB) has standardized evaluation for English models, a significant gap existed for other languages. For French-language applications, developers often faced a dilemma: should they prioritize native French models like CamemBERT or leverage massive multilingual models? MTEB-French addresses this "blind spot" by providing a standardized "decathlon" for 51 different embedding models across a diverse array of tasks.
Methodology and Tasks
The MTEB-French framework expands the original benchmark to include 18 datasets covering eight distinct task categories:
- Classification: Categorizing text into predefined labels.
- Clustering: Grouping semantically similar documents.
- Retrieval: Finding relevant documents for a given query.
- Reranking: Refining the order of search results.
- Semantic Textual Similarity (STS): Quantifying the similarity between sentence pairs.
- Summarization: Evaluating the quality of generated summaries.
- Bitext Mining: Matching sentences across language pairs.
- Pair Classification: Determining relationships (e.g., paraphrasing) between sentences.
The study evaluated 51 models, ranging from specialized open-source French models to proprietary giants like OpenAI’s text-embedding-3-large and Mistral’s mistral-embed.
New French Datasets
To ensure a comprehensive evaluation, the authors introduced three new high-quality French datasets:
- Syntec (Retrieval/Reranking): Based on French collective bargaining agreements, requiring models to match 100 manual questions to specific legal articles.
- HAL (Clustering): Derived from the Hyper Articles en Ligne archive, featuring over 26,000 scholarly publication titles across 10 domains.
- SummEvalFr (Summarization): A French translation of the SummEval dataset, validated via "LLM-as-a-judge" (GPT-4) and human verification to preserve linguistic nuances.
Key Insights and Analysis
The benchmark revealed several critical trends in model performance. A primary finding is the "similarity superpower": models explicitly fine-tuned for sentence similarity using contrastive learning (such as the E5 family) significantly outperformed those relying solely on standard language modeling.
Furthermore, the data highlights a clear trend toward multilingual dominance. As shown in the performance distribution across language types, large-scale multilingual pre-training often provides a "transfer learning" boost that exceeds the performance of models trained exclusively on French data.
Interestingly, some high-capacity English-only models (e.g., voyage-code-2) performed remarkably well on French tasks, suggesting that semantic structures can sometimes be effectively transferred "zero-shot." Additionally, a positive correlation (0.452) was observed between embedding dimension and performance, indicating that higher accuracy often requires larger vector sizes.
Results
The overall leaderboard shows a clear hierarchy, though no single model dominates every category. OpenAI’s text-embedding-3-large secured the top average spot, followed by text-embedding-ada-002 and bge-m3.
While multilingual models lead on average, native French models like sentence-camembert-large and Solon-embeddings (specialized in legal text) demonstrated strong performance in specific retrieval tasks. Task-specific strengths were also evident; for instance, laser2 excelled in pair classification, while multilingual-e5-small performed exceptionally well in summarization relative to its size.
Conclusion and Future Work
MTEB-French brings much-needed clarity to the French embedding landscape. However, challenges remain, including the scarcity of "native" (non-translated) French datasets and the potential for data contamination in proprietary models. Future research will focus on expanding the benchmark to include long-document evaluation and token-level tasks. The project remains open-source, with a public leaderboard on Hugging Face to encourage community contributions.
Summary updated