Consistency Regularization for Cross-Lingual Fine-Tuning

Bo Zheng, Li Dong, Shaohan Huang, Wenhui Wang, Zewen Chi +5 more
6/15/2021
cs.CL

Official code: bozheng-hit/xTune (50 stars, Python, last commit 2021-07-15).

Abstract

Fine-tuning pre-trained cross-lingual language models can transfer task-specific supervision from one language to the others. In this work, we propose to improve cross-lingual fine-tuning with consistency regularization.

Show full abstract

Specifically, we use example consistency regularization to penalize the prediction sensitivity to four types of data augmentations, i.e., subword sampling, Gaussian noise, code-switch substitution, and machine translation. In addition, we employ model consistency to regularize the models trained with two augmented versions of the same training set. Experimental results on the XTREME benchmark show that our method significantly improves cross-lingual fine-tuning across various tasks, including text classification, question answering, and sequence labeling.

View on arXivView PDF

Code Implementations(1)

bozheng-hit/xTuneOfficial100%
505Python, ShellNov 25, 20205 years ago

Similar Papers

Cite this paper

@article{zheng2021consistency,
  title  = {Consistency Regularization for Cross-Lingual Fine-Tuning},
  author = {Bo Zheng and Li Dong and Shaohan Huang and Wenhui Wang and Zewen Chi and Saksham Singhal and Wanxiang Che and Ting Liu and Xia Song and Furu Wei},
  year   = {2021},
  eprint = {2106.08226},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.08226}
}

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

Discussion