Allocating Large Vocabulary Capacity for Cross-lingual Language Model Pre-training

19Citations
Citations of this article
97Readers
Mendeley users who have this article in their library.

Abstract

Compared to monolingual models, cross-lingual models usually require a more expressive vocabulary to represent all languages adequately. We find that many languages are under-represented in recent cross-lingual language models due to the limited vocabulary capacity. To this end, we propose an algorithm VOCAP to determine the desired vocabulary capacity of each language. However, increasing the vocabulary size significantly slows down the pre-training speed. In order to address the issues, we propose k-NN-based target sampling to accelerate the expensive softmax. Our experiments show that the multilingual vocabulary learned with VOCAP benefits cross-lingual language model pre-training. Moreover, k-NN-based target sampling mitigates the side-effects of increasing the vocabulary size while achieving comparable performance and faster pre-training speed. The code and the pretrained multilingual vocabularies are available at https://github.com/bozheng-hit/VoCapXLM.

Cite

CITATION STYLE

APA

Zheng, B., Dong, L., Huang, S., Singhal, S., Che, W., Liu, T., … Wei, F. (2021). Allocating Large Vocabulary Capacity for Cross-lingual Language Model Pre-training. In EMNLP 2021 - 2021 Conference on Empirical Methods in Natural Language Processing, Proceedings (pp. 3203–3215). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2021.emnlp-main.257

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free