Syntax-augmented Multilingual BERT for Cross-lingual Transfer

Wasi Uddin Ahmad, Haoran Li, Kai-Wei Chang, Yashar Mehdad
6/3/2021
cs.CL

Official code: wasiahmad/Syntax-MBERT (16 stars, Python, GPL-3.0, last commit 2021-12-02).

Abstract

In recent years, we have seen a colossal effort in pre-training multilingual text encoders using large-scale corpora in many languages to facilitate cross-lingual transfer learning. However, due to typological differences across languages, the cross-lingual transfer is challenging.

Show full abstract

Nevertheless, language syntax, e.g., syntactic dependencies, can bridge the typological gap. Previous works have shown that pre-trained multilingual encoders, such as mBERT \cite{devlin-etal-2019-bert}, capture language syntax, helping cross-lingual transfer. This work shows that explicitly providing language syntax and training mBERT using an auxiliary objective to encode the universal dependency tree structure helps cross-lingual transfer. We perform rigorous experiments on four NLP tasks, including text classification, question answering, named entity recognition, and task-oriented semantic parsing. The experiment results show that syntax-augmented mBERT improves cross-lingual transfer on popular benchmarks, such as PAWS-X and MLQA, by 1.4 and 1.6 points on average across all languages. In the \emph{generalized} transfer setting, the performance boosted significantly, with 3.9 and 3.1 points on average in PAWS-X and MLQA.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Official code of our work, Syntax-augmented Multilingual BERT for Cross-lingual Transfer [ACL 2021].

163Python, ShellMay 27, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ahmad2021syntaxaugmented,
  title  = {Syntax-augmented Multilingual BERT for Cross-lingual Transfer},
  author = {Wasi Uddin Ahmad and Haoran Li and Kai-Wei Chang and Yashar Mehdad},
  year   = {2021},
  eprint = {2106.02134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02134}
}

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

Discussion