EMNLP 2022finding41 citations

Outlier Dimensions that Disrupt Transformers are Driven by Frequency

Giovanni Puccetti, Anna Rogers, Aleksandr Drozd, Felice Dell’Orletta

Abstract

While Transformer-based language models are generally very robust to pruning, there is the recently discovered outlier phenomenon: disabling only 48 out of 110M parameters in BERT-base drops its performance by nearly 30% on MNLI. We replicate the original evidence for the outlier phenomenon and we link it to the geometry of the embedding space. We find that in both BERT and RoBERTa the magnitude of hidden state coefficients corresponding to outlier dimensions correlate with the frequencies of encoded tokens in pre-training data, and they also contribute to the “vertical” self-attention pattern enabling the model to focus on the special tokens. This explains the drop in performance from disabling the outliers, and it suggests that to decrease anisotopicity in future models we need pre-training schemas that would better take into account the skewed token distributions.

BibTeX
@inproceedings{puccetti-etal-2022-outlier,
    title = "Outlier Dimensions that Disrupt Transformers are Driven by Frequency",
    author = "Puccetti, Giovanni  and
      Rogers, Anna  and
      Drozd, Aleksandr  and
      Dell{'}Orletta, Felice",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-emnlp.93/",
    doi = "10.18653/v1/2022.findings-emnlp.93",
    pages = "1286--1304"
}
Outlier Dimensions that Disrupt Transformers are Driven by Frequency · EMNLP 2022