Skip to main content
QUICK REVIEW

[Paper Review] Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation

Nils Reimers, Iryna Gurevych|arXiv (Cornell University)|Apr 21, 2020
Topic ModelingComputer Science28 citations
TL;DR

This paper proposes a knowledge distillation method to extend monolingual sentence embeddings to multilingual use by training a student model to align vector representations of source and translated sentences. Using a pre-trained monolingual teacher model (e.g., English SBERT), the student model learns to map both original and translated sentences to the same embedding space, achieving up to 40 accuracy points improvement on low-resource languages compared to LASER, with minimal computational cost and strong transfer of vector space properties.

ABSTRACT

We present an easy and efficient method to extend existing sentence embedding models to new languages. This allows to create multilingual versions from previously monolingual models. The training is based on the idea that a translated sentence should be mapped to the same location in the vector space as the original sentence. We use the original (monolingual) model to generate sentence embeddings for the source language and then train a new system on translated sentences to mimic the original model. Compared to other methods for training multilingual sentence embeddings, this approach has several advantages: It is easy to extend existing models with relatively few samples to new languages, it is easier to ensure desired properties for the vector space, and the hardware requirements for training is lower. We demonstrate the effectiveness of our approach for 50+ languages from various language families. Code to extend sentence embeddings models to more than 400 languages is publicly available.

Motivation & Objective

  • To address the lack of multilingual sentence embedding models despite strong monolingual models like SBERT.
  • To enable efficient, low-resource extension of existing monolingual models to new languages without retraining from scratch.
  • To preserve desired vector space properties (e.g., clustering, similarity) from the source language in multilingual settings.
  • To reduce training complexity and hardware demands compared to multi-task or contrastive pre-training approaches.
  • To minimize language bias in multilingual sentence representations by decoupling source language optimization from multilingual adaptation.

Proposed method

  • Train a student model to minimize mean squared error between its outputs and the teacher model’s outputs for both source and translated sentences.
  • Use parallel sentence pairs (source, translation) as training data, where the teacher model generates reference embeddings for the source language.
  • Initialize the student model with XLM-RoBERTa weights, which support 100 languages and use a shared SentencePiece tokenizer to avoid language-specific tokenization issues.
  • Apply knowledge distillation with a loss function that enforces: ||M(s_i) - M̂(s_i)||² + ||M(s_i) - M̂(t_i)||², ensuring both source and translation are mapped close to the teacher’s output.
  • Train the student model end-to-end using a standard optimizer and learning rate schedule, enabling transfer to multiple languages in a single training run.
  • Decouple the training process: first train a high-quality monolingual model (e.g., SBERT), then extend it to new languages via distillation, avoiding catastrophic forgetting.

Experimental results

Research questions

  • RQ1Can monolingual sentence embedding models be effectively extended to support multiple new languages without retraining from scratch?
  • RQ2Does knowledge distillation from a monolingual teacher model preserve the desired vector space properties (e.g., semantic similarity, clustering) in the target languages?
  • RQ3How does the proposed method compare in performance to existing multilingual models like LASER and mUSE, especially on low-resource languages?
  • RQ4To what extent does the method reduce language bias compared to models trained with multi-task or contrastive objectives?
  • RQ5Can the approach be efficiently scaled to support over 400 languages using a single, unified student model architecture?

Key findings

  • The method achieves up to 40 accuracy points improvement on low-resource languages compared to LASER, demonstrating strong transfer performance.
  • The student model successfully inherits the vector space properties of the teacher model, such as semantic clustering and similarity, across multiple language families.
  • The approach reduces training complexity and hardware requirements compared to multi-task or contrastive pre-training methods like mUSE and LaBSE.
  • The method minimizes language bias, as shown by consistent performance across diverse language pairs, unlike models that favor certain language combinations.
  • The model generalizes effectively across 50+ languages from various language families, with publicly available code enabling extension to over 400 languages.
  • XLM-RoBERTa-based student models outperform models initialized with monolingual BERT weights due to better multilingual tokenization and vocabulary coverage.

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.