Multilingual Constituency Parsing with Self-Attention and Pre-Training
Nikita Kitaev Steven Cao Dan Klein Affiliation: Computer Science Division Affiliation: University of California, Berkeley Email:
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 (Bojanowski et al. 2017; Mikolov et al. 2018), ELMo (Peters et al. 2018), and BERT (Devlin et al. 2018a) 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 s
原文 arXiv:1812.11760;中英对照 + 大白话阅读 https://aha.fim.ai/paper/1812.11760v2