Language-agnostic BERT Sentence Embedding

Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, Wei Wang
7/3/2020
1,477 citations
cs.CL

No official code found. Best implementation: bojone/labse (158 stars). 1 more below.

Abstract

While BERT is an effective method for learning monolingual sentence embeddings for semantic similarity and embedding based transfer learning (Reimers and Gurevych, 2019), BERT based cross-lingual sentence embeddings have yet to be explored. We systematically investigate methods for learning multilingual sentence embeddings by combining the best methods for learning monolingual and cross-lingual representations including: masked language modeling (MLM), translation language modeling (TLM) (Conneau and Lample, 2019), dual encoder translation ranking (Guo et al., 2018), and additive margin softmax (Yang et al., 2019a).

Show full abstract

We show that introducing a pre-trained multilingual language model dramatically reduces the amount of parallel training data required to achieve good performance by 80%. Composing the best of these methods produces a model that achieves 83.7% bi-text retrieval accuracy over 112 languages on Tatoeba, well above the 65.5% achieved by Artetxe and Schwenk (2019b), while still performing competitively on monolingual transfer learning benchmarks (Conneau and Kiela, 2018). Parallel data mined from CommonCrawl using our best model is shown to train competitive NMT models for en-zh and en-de. We publicly release our best multilingual sentence embedding model for 109+ languages at https://tfhub.dev/google/LaBSE.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
bojone/labseCommunity158–––
yang-zhang/labse-pytorchCommunity21–––
bojone/labseCommunity25%

Language-agnostic BERT Sentence Embedding (LaBSE)

1588

Language-agnostic BERT Sentence Embedding (LaBSE) Pytorch Model

211

Similar Papers

Cite this paper

@article{feng2020languageagnostic,
  title  = {Language-agnostic BERT Sentence Embedding},
  author = {Fangxiaoyu Feng and Yinfei Yang and Daniel Cer and Naveen Arivazhagan and Wei Wang},
  year   = {2020},
  eprint = {2007.01852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.01852}
}

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/2007.01852.svg)](https://codeofpaper.com/paper/2007.01852)

Discussion