arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.06990cs.CL
收藏

BERT破坏者:破坏Transformers的异常尺寸

BERT Busters: Outlier Dimensions that Disrupt Transformers

University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校);University of Copenhagen(哥本哈根大学)

Olga Kovaleva, Saurabh Kulshreshtha, Anna Rogers, Anna Rumshisky

摘要:

多项研究表明,Transformers对修剪非常健壮。与这种公认的智慧相反,我们证明了预先训练的Transformer编码器对于去除层输出中的极少数特征(<0.0001%的模型权重)是非常脆弱的。在BERT和其他预先训练的编码器Transformers的情况下,受影响的组件是LayerNorm中的缩放因子和偏差。离群值是在预训练早期出现的高量级归一化参数,并且在整个模型中始终显示在相同的维度位置。我们发现,禁用它们显着降低传销损失和下游任务的性能。在几个BERT系列模型和其他流行的预训练Transformer架构(包括BART、XLNet和ELECTRA)中观察到了这种效应;我们在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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑