Improving Pretrained Cross-Lingual Language Models via Self-Labeled Word Alignment

Zewen Chi, Li Dong, Bo Zheng, Shaohan Huang, Xian-Ling Mao +2 more
6/11/2021
cs.CL

Official code: CZWin32768/XLM-Align (36 stars, Python, MIT, last commit 2022-08-25).

Abstract

The cross-lingual language models are typically pretrained with masked language modeling on multilingual text or parallel sentences. In this paper, we introduce denoising word alignment as a new cross-lingual pre-training task.

Show full abstract

Specifically, the model first self-labels word alignments for parallel sentences. Then we randomly mask tokens in a bitext pair. Given a masked token, the model uses a pointer network to predict the aligned token in the other language. We alternately perform the above two steps in an expectation-maximization manner. Experimental results show that our method improves cross-lingual transferability on various datasets, especially on the token-level tasks, such as question answering, and structured prediction. Moreover, the model can serve as a pretrained word aligner, which achieves reasonably low error rates on the alignment benchmarks. The code and pretrained parameters are available at https://github.com/CZWin32768/XLM-Align.

View on arXivView PDF

Code Implementations(1)

MIT
361PythonMay 27, 20214 years agoMIT

Similar Papers

Cite this paper

@article{chi2021improving,
  title  = {Improving Pretrained Cross-Lingual Language Models via Self-Labeled Word Alignment},
  author = {Zewen Chi and Li Dong and Bo Zheng and Shaohan Huang and Xian-Ling Mao and Heyan Huang and Furu Wei},
  year   = {2021},
  eprint = {2106.06381},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06381}
}

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

Discussion