Looking for Clues of Language in Multilingual BERT to Improve Cross-lingual Generalization
Autor: | Liu, Chi-Liang, Hsu, Tsung-Yuan, Chuang, Yung-Sung, Li, Chung-Yi, Lee, Hung-yi |
---|---|
Rok vydání: | 2020 |
Předmět: | |
Druh dokumentu: | Working Paper |
Popis: | Token embeddings in multilingual BERT (m-BERT) contain both language and semantic information. We find that the representation of a language can be obtained by simply averaging the embeddings of the tokens of the language. Given this language representation, we control the output languages of multilingual BERT by manipulating the token embeddings, thus achieving unsupervised token translation. We further propose a computationally cheap but effective approach to improve the cross-lingual ability of m-BERT based on this observation. Comment: preprint |
Databáze: | arXiv |
Externí odkaz: |