CLSep 26, 2021

On the Prunability of Attention Heads in Multilingual BERT

arXiv:2109.12683v15 citations
Originality Synthesis-oriented
AI Analysis

This work addresses the interpretability and efficiency of multilingual models for NLP researchers, but it is incremental as it applies existing pruning methods to analyze mBERT.

The study investigated the robustness of multilingual BERT (mBERT) to pruning across languages, finding that pruning causes similar accuracy drops as in monolingual BERT on GLUE tasks but higher drops on crosslingual XNLI, indicating lower robustness in crosslingual transfer. It also revealed that layer importance varies by language family, with top layers critical for SVO languages and bottom layers for agglutinative or low-resource languages.

Large multilingual models, such as mBERT, have shown promise in crosslingual transfer. In this work, we employ pruning to quantify the robustness and interpret layer-wise importance of mBERT. On four GLUE tasks, the relative drops in accuracy due to pruning have almost identical results on mBERT and BERT suggesting that the reduced attention capacity of the multilingual models does not affect robustness to pruning. For the crosslingual task XNLI, we report higher drops in accuracy with pruning indicating lower robustness in crosslingual transfer. Also, the importance of the encoder layers sensitively depends on the language family and the pre-training corpus size. The top layers, which are relatively more influenced by fine-tuning, encode important information for languages similar to English (SVO) while the bottom layers, which are relatively less influenced by fine-tuning, are particularly important for agglutinative and low-resource languages.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes