Multilingual Constituency Parsing with Self-Attention and Pre-Training

Nikita Kitaev, Steven Cao, Dan Klein
12/31/2018
cs.CL

Official code: nikitakit/self-attentive-parser (913 stars, MIT, last commit 2022-01-10).

Abstract

We show that constituency parsing benefits from unsupervised pre-training across a variety of languages and a range of pre-training conditions. We first compare the benefits of no pre-training, fastText, ELMo, and BERT for English and find that BERT outperforms ELMo, in large part due to increased model capacity, whereas ELMo in turn outperforms the non-contextual fastText embeddings. We also find that pre-training is beneficial across all 11 languages tested; however, large model sizes (more than 100 million parameters) make it computationally expensive to train separate models for each language. To address this shortcoming, we show that joint multilingual pre-training and fine-tuning allows sharing all but a small number of parameters between ten languages in the final model. The 10x reduction in model size compared to fine-tuning one model per language causes only a 3.2% relative error increase in aggregate. We further explore the idea of joint fine-tuning and show that it gives low-resource languages a way to benefit from the larger datasets of other languages. Finally, we demonstrate new state-of-the-art results for 11 languages, including English (95.8 F1) and Chinese (91.8 F1).

View on arXivView PDF

Code Implementations(1)

MIT

High-accuracy NLP parser with models for 11 languages.

913155C, PerlApr 27, 20184 years agoMIT
aimachine-learningnatural-language-processingnlpparser+1 more

Cite this paper

@article{kitaev2018multilingual,
  title  = {Multilingual Constituency Parsing with Self-Attention and Pre-Training},
  author = {Nikita Kitaev and Steven Cao and Dan Klein},
  year   = {2018},
  eprint = {1812.11760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.11760}
}

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

Discussion