Source-linked AI summary

The Scandinavian Embedding Benchmarks: Comprehensive Assessment of Multilingual and Monolingual Text Embedding

Kenneth Enevoldsen, Márton Kardos, Niklas Muennighoff, Kristoffer Laigaard Nielbo

arXiv:2406.02396v1cs.CLcs.AI

TL;DR

Multilingual embedding evaluation lacks the broad benchmark coverage available for English, and MTEB has limited non-English task and domain coverage. SEB evaluates mainland Scandinavian languages across a range of tasks; its evaluation finds performance gaps between public and commercial models, especially in retrieval.

  • Problem

    MTEB has limited non-English support and domain coverage, including translated Scandinavian datasets and no multilingual retrieval support.

    Source: §1 · pp. 1–2
  • Method

    SEB benchmarks mainland Scandinavian languages across 24 tasks, ten subtasks, and four task categories.

    Source: §6 · p. 8
  • Results

    SEB evaluation finds notable performance gaps between public and commercial models, especially in retrieval, and between monolingual and multilingual models.

    Source: §6 · p. 8
  • Takeaways & Limitations

    The authors open-source SEB and integrate it with MTEB to encourage development of robust Scandinavian and multilingual embedding models.

    Source: §6 · p. 8

    SEB only partly covers or omits legal, governmental, and medical domains, and lacks pair-classification and document-reranking categories.

    Source: §5.2 · p. 8

Abstract

from arXiv · show

The evaluation of English text embeddings has transitioned from evaluating a handful of datasets to broad coverage across many tasks through benchmarks such as MTEB. However, this is not the case for multilingual text embeddings due to a lack of available benchmarks. To address this problem, we introduce the Scandinavian Embedding Benchmark (SEB). SEB is a comprehensive framework that enables text embedding evaluation for Scandinavian languages across 24 tasks, 10 subtasks, and 4 task categories. Building on SEB, we evaluate more than 26 models, uncovering significant performance disparities between public and commercial solutions not previously captured by MTEB. We open-source SEB and integrate it with MTEB, thus bridging the text embedding evaluation gap for Scandinavian languages.

1 Introduction

MTEB broadened text-embedding evaluation, but multilingual and domain coverage—particularly for Scandinavian languages—remains limited. SEB addresses this gap with a benchmark spanning mainland Scandinavian languages and a model registry.

1 Introduction

  • MTEB offers limited non-English support, translated datasets, and little domain coverage, while multilingual retrieval support is absent.These gaps are especially pronounced for non-English tasks.Source: §1 · pp. 1–2
  • Scandinavian institutions rely on English-benchmark or bitext-mining proxies, whose performance may not transfer to their applications.The authors intend SEB to support informed model choices and standardized comparisons.Source: §1 · p. 2

1.1 Contributions

  • SEB covers Danish, Swedish, Norwegian Bokmål and Nynorsk, and Bornholmsk, with tasks, domains, a model registry, and MTEB integration.The registry supports adding models and documenting evaluated implementations.Source: §1.1 · p. 2

2 Related Work

Existing benchmarks cover different embedding tasks, but Scandinavian languages receive little natural-text representation, and prior Scandinavian benchmarks do not focus on embedding tasks such as retrieval or clustering. The broader multilingual embedding field also lacks comprehensive evaluation.

2.1 Benchmarks

  • Although MTEB includes more than 112 languages, Scandinavian representation is limited to two translated intent and scenario classification datasets, with no naturally occurring text.Its language coverage is concentrated in a handful of tasks, including bitext mining and translated datasets.Source: §2.1 · p. 2
  • Existing Scandinavian benchmarks assess language understanding, but none focus on text-embedding tasks such as retrieval or clustering.Examples include Swedish Superlim, Norwegian NorBench, and cross-lingual ScandEval.Source: §2.1 · p. 3

2.2 Text Embeddings

  • Multitask sentence-level multilingual embeddings are emerging, but comprehensive evaluation for multilingual tasks remains lacking.The authors state that this evaluation gap hinders assessment of model improvements.Source: §2.2 · p. 3

3 The Benchmark

SEB is designed to estimate embedding quality for Scandinavian languages and multilingual use cases through broad, culturally grounded, and accessible evaluation. Its dataset collection spans varied tasks and domains, with datasets occupying distinct clusters.

3.1 Design and Curation Rationale

  • SEB comprises 24 datasets across at least 12 domains and nine tasks, with broad coverage for each language.The design prioritizes varied domains, usages, and embedding tasks.Source: §3.1 · p. 3
  • SEB avoids adding translated English datasets to represent Scandinavian contexts and reduce possible inflation of multilingual-model performance.The authors retain existing translated MTEB datasets for compatibility, while noting the inflation hypothesis remains unproven.Source: §3.1 · pp. 3–4
  • SEB relies on cross-lingual transfer among Scandinavian languages to estimate performance where language-specific datasets are limited.The rationale invokes linguistic similarities and shared cultural contexts.Source: §3.1 · p. 4
  • A model registry documents evaluated implementations, while dataset limits and a public cache are intended to improve reproducibility and accessibility.Most datasets are capped at 2,048 examples, allowing most models to be run on a consumer-grade laptop.Source: §3.1 · p. 4

3.2 Datasets

  • SEB datasets occupy distinct clusters; SNL Retrieval and NorQuad are highly similar, while SweFAQ represents public-sector FAQs.The authors attribute the SNL Retrieval–NorQuad similarity to their encyclopedic sources.Source: §3.2 · p. 4, Figure 2 · p. 5

4 Methodology

SEB follows MTEB-compatible scoring and evaluates representative embedding models spanning architectures, training approaches, and commercial APIs. The setup also includes translation-based baselines and specified language assumptions.

4 Methodology

  • SEB follows an MTEB-compatible approach to computing benchmark scores.Dataset construction and task formalization are described elsewhere in the paper.Source: §4 · p. 5

4.1 Models

  • The model selection covers architectures, sizes, commercial APIs, and models claiming state-of-the-art results, grouped as self-supervised or supervised.The online dashboard includes additional models beyond those benchmarked in the paper.Source: §4.1 · p. 5
  • Self-supervised candidates include BERT-family and XLM-R encoders, SimCSE dfm-encoder-large, and four Danish, Swedish, and Norwegian fastText models.The SimCSE model is trained on sentences from Danish Gigaword.Source: §4.1 · p. 5
  • Supervised candidates include LaBSE, multilingual MiniLM and MPNet, SONAR, Swedish sentence transformers, and e5-mistral.The authors include SONAR because it claims improved performance over LaBSE.Source: §4.1 · pp. 5–6
  • The comparison includes Cohere and OpenAI APIs and a translate-and-embed baseline using M2M100 with English e5 and multilingual e5 variants.For multilingual tasks requiring multiple languages, Danish is assumed as the origin language; language is assumed known for translation.Source: §4.1 · pp. 6–7

5 Results

Commercial APIs lead overall results, with public multilingual e5 models next; the largest commercial–public gap is in retrieval. Results also vary by task and domain, while the efficiency analysis highlights different speed–performance trade-offs and the benchmark’s remaining coverage gaps.

5 Results

  • Commercial APIs lead overall, followed by public multilingual e5; the commercial–public gap exceeds eight points in retrieval, while open models outperform commercial solutions only in bitext mining.Source: §5 · p. 7
  • Domain rankings are relatively stable, but e5-mistral-7b-instruct outperforms commercial solutions in legal, spoken-language, and fiction domains.Source: §5 · p. 7
  • Pretrained encoders perform well on language acceptability and language detection, plausibly because natural-language pretraining preserves syntactic cues emphasized less by semantic-task models.Source: §5 · p. 7
  • Contrastively trained or task-finetuned models typically outperform pretrained models, especially in retrieval, while LaBSE and SONAR excel at bitext mining.Source: §5 · p. 7
  • Multilingual e5 models outperform translate-then-embed in almost all comparisons, including across model-size categories.The paper notes potential improvement with stronger translation and embedding models, but cites added computational costs and complexity as reasons for few benefits.Source: §5 · p. 7

5.1 Efficiency

  • FastText has the highest throughput with average performance above multilingual XLM-R; e5 models offer peak performance or a strong performance–throughput–size balance.Figure 3 excludes commercial APIs; speed was measured on Dell PowerEdge C6420 CPUs.Source: §5.1 · p. 7, Figure 3 · p. 8

5.2 Limitations and Future Perspectives

  • SEB’s coverage remains partial or absent for legal, governmental, and medical domains, and it lacks pair classification and document reranking.Source: §5.2 · p. 8
  • The authors plan to continue expanding SEB and invite researchers to contribute evaluations across a broad range of languages.Source: §5.2 · p. 8

6 Conclusion

The conclusion presents SEB as an evaluation framework for mainland Scandinavian embedding models, covering 24 tasks, ten subtasks, and four categories. Evaluation of more than 50 models finds performance gaps between public and commercial models, especially in retrieval, as well as between monolingual and multilingual models.

  • SEB addresses the mainland Scandinavian text-embedding evaluation gap with 24 tasks, ten subtasks, and four task categories.Source: §6 · p. 8
  • Evaluation of more than 50 models finds notable public–commercial and monolingual–multilingual performance gaps, especially in retrieval.The authors open-source SEB and integrate it with MTEB to encourage further development and community contributions.Source: §6 · p. 8

Checklist

The checklist records the paper’s reproducibility, asset, and ethics disclosures. It reports that code and a dashboard are available, while noting that confidence intervals are specified for ranks but not individual tasks.

Checklist

  • The checklist reports that code and a dashboard are available, and that dataset construction and task data splits are described.It also says compute details are specified in the acknowledgements.Source: Checklist · p. 14
  • The authors report confidence intervals for rank, but not for individual tasks.Source: Checklist · p. 14
  • The checklist says datasets are publicly available and that copies are retained in case they are removed from Hugging Face.Source: Checklist · p. 14
  • The checklist states that DKHate contains offensive content and that applicable personally identifiable information was anonymized by dataset distributors.Source: Checklist · p. 14

A.1 Models

Table 3 links model names used in the main paper to their references and implementations, using shortened names for clarity.

A.1 Models

  • Table 3 maps shortened model names from the main paper to their references and implementations.Source: §A.1 · p. 15

A.2 Domains Generalization

Across domains, the e5 models and commercial APIs are generally the most competitive models.

A.2 Domains Generalization

  • Across domains, the e5 models and commercial APIs are generally the most competitive models.Source: §A.2 · p. 15

A.3 Dataset Embeddings

SEB’s dataset embeddings reveal distinct clusters, while its evaluation uses task-specific embedding approaches and a broad set of constructed datasets. The appendix also summarizes dataset statistics, availability practices, and where to consult per-task results.

A.3 Dataset Embeddings

  • Distinct dataset clusters in the embedding space suggest that omitting some datasets could bias evaluation; translated MASSIVE Intent and Scenario cover only a small subsection.Figure 4 shows 100 sampled documents per task embedded with embed-multilingual-v3.0 and projected using UMAP.Source: §A.3 · p. 15, Figure 4 · p. 17

A.4 Evaluation and Metrics

  • SEB follows MTEB-like evaluation while allowing models to embed tasks differently, and reports accuracy, F1, V-measure, or nDCG@10 according to task.Classification uses repeated logistic-classifier training; bitext mining matches sentence pairs by cosine similarity, clustering uses mini-batch k-means, and retrieval ranks corpus documents by similarity.Source: §A.4 · pp. 16–17

A.5 Datasets Construction

  • The benchmark reuses existing classification and bitext datasets, constructs clustering data from labeled corpora, and derives retrieval tasks from question-answer or news-summary datasets.For SNL and VG clustering, the authors selected a label hierarchy level and checked that it produced meaningful performance separation.Source: §A.5 · pp. 17–18

A.6 Datasets Statistics

A.7 Long-term Availability and Stability

  • Datasets are publicly hosted on Hugging Face at pinned revisions, with copies retained so they can be restored if removed.The authors state that dataset licenses make retaining copies viable.Source: §A.7 · p. 22

A.8 Results per Task

  • The appendix directs readers to the online dashboard for an up-to-date overview of selected models’ results on each task.Source: §A.8 · p. 22
Loading 2406.02396v1…