LEALLA: Learning Lightweight Language-agnostic Sentence Embeddings with Knowledge Distillation

Zhuoyuan Mao, Tetsuji Nakagawa
2/16/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Large-scale language-agnostic sentence embedding models such as LaBSE (Feng et al., 2022) obtain state-of-the-art performance for parallel sentence alignment. However, these large-scale models can suffer from inference speed and computation overhead. This study systematically explores learning language-agnostic sentence embeddings with lightweight models. We demonstrate that a thin-deep encoder can construct robust low-dimensional sentence embeddings for 109 languages. With our proposed distillation methods, we achieve further improvements by incorporating knowledge from a teacher model. Empirical results on Tatoeba, United Nations, and BUCC show the effectiveness of our lightweight models. We release our lightweight language-agnostic sentence embedding models LEALLA on TensorFlow Hub.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{mao2023lealla,
  title  = {LEALLA: Learning Lightweight Language-agnostic Sentence Embeddings with Knowledge Distillation},
  author = {Zhuoyuan Mao and Tetsuji Nakagawa},
  year   = {2023},
  eprint = {2302.08387},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.08387v2}
}

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

Discussion