Skip to main content
QUICK REVIEW

[Paper Review] Why Not Simply Translate? A First Swedish Evaluation Benchmark for Semantic Similarity

Tim Isbister, Magnus Sahlgren|arXiv (Cornell University)|Sep 7, 2020
Topic ModelingComputer Science9 references6 citations
TL;DR

This paper introduces the first Swedish evaluation benchmark for semantic textual similarity by translating the English STS-B dataset via Google's NMT API. Despite translation artifacts like anglicisms and tense inconsistencies, the benchmark enables evaluation of Swedish text representations, revealing that native models like KB/BERT outperform multilingual ones, and even simple bag-of-words with SVM achieves competitive performance (r=0.704).

ABSTRACT

This paper presents the first Swedish evaluation benchmark for textual semantic similarity. The benchmark is compiled by simply running the English STS-B dataset through the Google machine translation API. This paper discusses potential problems with using such a simple approach to compile a Swedish evaluation benchmark, including translation errors, vocabulary variation, and productive compounding. Despite some obvious problems with the resulting dataset, we use the benchmark to compare the majority of the currently existing Swedish text representations, demonstrating that native models outperform multilingual ones, and that simple bag of words performs remarkably well.

Motivation & Objective

  • To address the lack of publicly available evaluation data for semantic textual similarity in Swedish.
  • To create a low-cost, scalable benchmark for evaluating Swedish text representations using machine translation.
  • To compare the performance of various Swedish text representation models, including multilingual and native models.
  • To assess the impact of translation artifacts on model evaluation and downstream applicability.
  • To demonstrate that simple models like bag-of-words can achieve strong performance on the new benchmark.

Proposed method

  • Translate the English STS-B dataset into Swedish using Google's Neural Machine Translation (NMT) API.
  • Use the translated Swedish sentence pairs as a benchmark for evaluating semantic similarity models.
  • Evaluate a range of text representation models: fastText, BERT variants (KB/BERT, AF/BERT), XLM-R, LASER, LaBSE, and SBERT.
  • Compute sentence embeddings via averaging word vectors (fastText, BERT) or using contextualized representations (LASER, LaBSE).
  • Train supervised models (SBERT, fine-tuned BERT) using the translated data, and use cosine similarity or regression output for similarity scoring.
  • Evaluate model performance using Pearson correlation against gold human similarity scores.

Experimental results

Research questions

  • RQ1To what extent can a machine-translated English STS-B dataset serve as a viable benchmark for evaluating Swedish semantic similarity models?
  • RQ2How do native Swedish language models compare to multilingual models in terms of semantic similarity performance on the Swedish benchmark?
  • RQ3What is the impact of translation artifacts—such as anglicisms, tense mismatches, and compound word usage—on model evaluation?
  • RQ4Can simple, non-contextualized models like bag-of-words with SVM achieve competitive performance on the new benchmark?
  • RQ5How effective is cross-lingual transfer using multilingual models like XLM-R and LaBSE on the Swedish STS benchmark?

Key findings

  • The machine-translated Swedish STS-B benchmark, while introducing translation artifacts, remains usable for model comparison despite issues like anglicisms and tense inconsistencies.
  • Native Swedish BERT models (e.g., KB/BERT) fine-tuned on the Swedish data achieve the highest performance, with a Pearson correlation of 0.782.
  • Simple bag-of-words with Support Vector Regression achieves a correlation of 0.704, demonstrating strong competitiveness despite minimal computational cost.
  • Among multilingual models, LASER performs best in the unsupervised setting (r=0.714), while SBERT fine-tuned on English STS-B improves XLM-R’s performance to r=0.751.
  • Fine-tuning multilingual models on the Swedish data further improves performance, showing the value of cross-lingual transfer.
  • Translation errors such as incorrect tense or non-conventional vocabulary (e.g., 'tar fart' for 'taking off') do not significantly degrade the benchmark’s utility for model comparison, as long as errors are consistent across sentence pairs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.