English Contrastive Learning Can Learn Universal Cross-lingual Sentence Embeddings

Yau-Shian Wang, Ashley Wu, Graham Neubig
11/11/2022
cs.CLcs.AI
contrastive-ssl

Official code: yaushian/mSimCSE (33 stars, Python, MIT, last commit 2022-11-14).

Abstract

Universal cross-lingual sentence embeddings map semantically similar cross-lingual sentences into a shared embedding space. Aligning cross-lingual sentence embeddings usually requires supervised cross-lingual parallel sentences.

Show full abstract

In this work, we propose mSimCSE, which extends SimCSE to multilingual settings and reveal that contrastive learning on English data can surprisingly learn high-quality universal cross-lingual sentence embeddings without any parallel data. In unsupervised and weakly supervised settings, mSimCSE significantly improves previous sentence embedding methods on cross-lingual retrieval and multilingual STS tasks. The performance of unsupervised mSimCSE is comparable to fully supervised methods in retrieving low-resource languages and multilingual STS. The performance can be further enhanced when cross-lingual NLI data is available. Our code is publicly available at https://github.com/yaushian/mSimCSE.

View on arXivView PDF

Code Implementations(1)

yaushian/mSimCSEOfficial100%
MIT

mSimCSE: Multilingual SimCSE

331Python, Inno SetupOct 21, 20224 years agoMIT
cross-lingualmulti-lingualnatural-language-processingsentence-embeddings

Similar Papers

Cite this paper

@article{wang2022english,
  title  = {English Contrastive Learning Can Learn Universal Cross-lingual Sentence Embeddings},
  author = {Yau-Shian Wang and Ashley Wu and Graham Neubig},
  year   = {2022},
  eprint = {2211.06127},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.06127}
}

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

Discussion