Combining Static and Contextualised Multilingual Embeddings

Katharina Hämmerl, Jindřich Libovický, Alexander Fraser
3/17/2022
cs.CL

Official code: KathyHaem/combining-static-contextual (6 stars, Python, MIT, last commit 2022-05-18).

Abstract

Static and contextual multilingual embeddings have complementary strengths. Static embeddings, while less expressive than contextual language models, can be more straightforwardly aligned across multiple languages.

Show full abstract

We combine the strengths of static and contextual models to improve multilingual representations. We extract static embeddings for 40 languages from XLM-R, validate those embeddings with cross-lingual word retrieval, and then align them using VecMap. This results in high-quality, highly multilingual static embeddings. Then we apply a novel continued pre-training approach to XLM-R, leveraging the high quality alignment of our static embeddings to better align the representation space of XLM-R. We show positive results for multiple complex semantic tasks. We release the static embeddings and the continued pre-training code. Unlike most previous work, our continued pre-training approach does not require parallel text.

View on arXivView PDF

Code Implementations(1)

MIT
60Python, ShellMar 3, 20224 years agoMIT

Similar Papers

Cite this paper

@article{hmmerl2022combining,
  title  = {Combining Static and Contextualised Multilingual Embeddings},
  author = {Katharina Hämmerl and Jindřich Libovický and Alexander Fraser},
  year   = {2022},
  eprint = {2203.09326},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.09326}
}

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

Discussion