BERT Busters: Outlier Dimensions that Disrupt Transformers

By Olga Kovaleva, Saurabh Kulshreshtha, Anna Rogers, Anna Rumshisky. 2021

126 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Kurt Keutzer
  2. Michael W. Mahoney
  3. A. Gholami
  4. Luke S. Zettlemoyer
  5. Percy Liang
  6. Sheng Shen
  7. Quoc V. Le
  8. Zhen Dong

In Computer Vision and Pattern Recognition

  1. Kurt Keutzer
  2. Michael W. Mahoney
  3. A. Gholami
  4. Zhen Dong
  5. Sheng Shen
  6. Luc Van Gool
  7. Sehoon Kim
  8. Dacheng Tao

Citations in the corpus