Improving Zero-Shot Cross-Lingual Transfer Learning via Robust Training

Kuan-Hao Huang, Wasi Uddin Ahmad, Nanyun Peng, Kai-Wei Chang
4/17/2021
cs.CL

Official code: uclanlp/Robust-XLT (5 stars, Shell, Apache-2.0, last commit 2024-06-24).

Abstract

Pre-trained multilingual language encoders, such as multilingual BERT and XLM-R, show great potential for zero-shot cross-lingual transfer. However, these multilingual encoders do not precisely align words and phrases across languages.

Show full abstract

Especially, learning alignments in the multilingual embedding space usually requires sentence-level or word-level parallel corpora, which are expensive to be obtained for low-resource languages. An alternative is to make the multilingual encoders more robust; when fine-tuning the encoder using downstream task, we train the encoder to tolerate noise in the contextual embedding spaces such that even if the representations of different languages are not aligned well, the model can still achieve good performance on zero-shot cross-lingual transfer. In this work, we propose a learning strategy for training robust models by drawing connections between adversarial examples and the failure cases of zero-shot cross-lingual transfer. We adopt two widely used robust training methods, adversarial training and randomized smoothing, to train the desired robust model. The experimental results demonstrate that robust training improves zero-shot cross-lingual transfer on text classification tasks. The improvement is more significant in the generalized cross-lingual transfer setting, where the pair of input sentences belong to two different languages.

View on arXivView PDF

Code Implementations(1)

uclanlp/Robust-XLTOfficial100%
Apache-2.0

Code for our EMNLP-2021 paper "Improving Zero-Shot Cross-Lingual Transfer Learning via Robust Training"

52Shell, PythonSep 3, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{huang2021improving,
  title  = {Improving Zero-Shot Cross-Lingual Transfer Learning via Robust Training},
  author = {Kuan-Hao Huang and Wasi Uddin Ahmad and Nanyun Peng and Kai-Wei Chang},
  year   = {2021},
  eprint = {2104.08645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08645}
}

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

Discussion