CLMay 14, 2021

BERT Busters: Outlier Dimensions that Disrupt Transformers

arXiv:2105.06990v2745 citations
Originality Highly original
AI Analysis

This reveals a critical vulnerability in widely used Transformer architectures, potentially impacting their robustness and deployment in NLP applications.

The paper demonstrates that pre-trained Transformer encoders are surprisingly fragile to the removal of a very small number of outlier features (<0.0001% of model weights), specifically high-magnitude LayerNorm parameters, which significantly degrades MLM loss and downstream task performance across models like BERT, BART, XLNet, ELECTRA, and GPT-2.

Multiple studies have shown that Transformers are remarkably robust to pruning. Contrary to this received wisdom, we demonstrate that pre-trained Transformer encoders are surprisingly fragile to the removal of a very small number of features in the layer outputs (<0.0001% of model weights). In case of BERT and other pre-trained encoder Transformers, the affected component is the scaling factors and biases in the LayerNorm. The outliers are high-magnitude normalization parameters that emerge early in pre-training and show up consistently in the same dimensional position throughout the model. We show that disabling them significantly degrades both the MLM loss and the downstream task performance. This effect is observed across several BERT-family models and other popular pre-trained Transformer architectures, including BART, XLNet and ELECTRA; we also show a similar effect in GPT-2.

Foundations

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

Your Notes