Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyond

Mikel Artetxe, Holger Schwenk
12/26/2018
cs.CLcs.AIcs.LG

Official code: facebookresearch/LASER (3,659 stars, last commit 2024-05-02).

Abstract

We introduce an architecture to learn joint multilingual sentence representations for 93 languages, belonging to more than 30 different families and written in 28 different scripts. Our system uses a single BiLSTM encoder with a shared BPE vocabulary for all languages, which is coupled with an auxiliary decoder and trained on publicly available parallel corpora. This enables us to learn a classifier on top of the resulting embeddings using English annotated data only, and transfer it to any of the 93 languages without any modification. Our experiments in cross-lingual natural language inference (XNLI dataset), cross-lingual document classification (MLDoc dataset) and parallel corpus mining (BUCC dataset) show the effectiveness of our approach. We also introduce a new test set of aligned sentences in 112 languages, and show that our sentence embeddings obtain strong results in multilingual similarity search even for low-resource languages. Our implementation, the pre-trained encoder and the multilingual test set are available at https://github.com/facebookresearch/LASER

View on arXivView PDF

Code Implementations(1)

Language-Agnostic SEntence Representations

3,659461Java, ShellJun 20, 20182 years agoNOASSERTION

Cite this paper

@article{artetxe2018massively,
  title  = {Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyond},
  author = {Mikel Artetxe and Holger Schwenk},
  year   = {2018},
  eprint = {1812.10464},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.10464}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1812.10464.svg)](https://codeofpaper.com/paper/1812.10464)

Discussion