Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation
Authors:
Preprint
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.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Language-agnostic BERT Sentence Embedding2022
- WikiMatrix: Mining 135M Parallel Sentences in 1620 Language Pairs from Wikipedia2021
- LAReQA: Language-Agnostic Answer Retrieval from a Multilingual Pool2020
- Unsupervised Cross-lingual Representation Learning at Scale2020
- Multilingual Universal Sentence Encoder for Semantic Retrieval2020
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks2019
- XNLI: Evaluating Cross-lingual Sentence Representations2018
- Reporting Score Distributions Makes a Difference: Performance Study of LSTM-networks for Sequence Tagging2017
- A large annotated corpus for learning natural language inference2015