XeroAlign: Zero-Shot Cross-lingual Transformer Alignment

Milan Gritta, Ignacio Iacobacci
5/6/2021
23 citations
cs.CL
transformer-attention

Official code: huawei-noah/noah-research (1,018 stars, Python, last commit 2026-03-20).

Abstract

The introduction of pretrained cross-lingual language models brought decisive improvements to multilingual NLP tasks. However, the lack of labelled task data necessitates a variety of methods aiming to close the gap to high-resource languages.

Show full abstract

Zero-shot methods in particular, often use translated task data as a training signal to bridge the performance gap between the source and target language(s). We introduce XeroAlign, a simple method for task-specific alignment of cross-lingual pretrained transformers such as XLM-R. XeroAlign uses translated task data to encourage the model to generate similar sentence embeddings for different languages. The XeroAligned XLM-R, called XLM-RA, shows strong improvements over the baseline models to achieve state-of-the-art zero-shot results on three multilingual natural language understanding tasks. XLM-RA's text classification accuracy exceeds that of XLM-R trained with labelled data and performs on par with state-of-the-art models on a cross-lingual adversarial paraphrasing task.

View on arXivView PDF

Code Implementations(1)

Noah Research

1,018317Python, Jupyter NotebookJun 17, 20208 months ago

Similar Papers

Cite this paper

@article{gritta2021xeroalign,
  title  = {XeroAlign: Zero-Shot Cross-lingual Transformer Alignment},
  author = {Milan Gritta and Ignacio Iacobacci},
  year   = {2021},
  eprint = {2105.02472},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.02472}
}

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

Discussion