SesameBERT:随时随地关注
SesameBERT: Attention for Anywhere
摘要:
使用预先训练的模型进行微调,在许多语言任务中取得了出色的效果。在这项研究中,我们专注于一个这样的自我注意力网络模型,即BERT,它在不同语言理解基准的堆叠层方面表现良好。然而,在许多下游任务中,层之间的信息被BERT忽略以进行微调。此外,虽然自我注意力网络以其捕捉全球依赖性的能力而闻名,但在强调当地环境的重要性方面仍有改进的余地。鉴于这些优点和缺点,本文提出了SesameBERT,这是一种广义的微调方法,(1)通过挤压和激发在所有层之间提取全局信息,(2)通过高斯模糊捕获相邻上下文来丰富局部信息。此外,我们在HANS数据集中证明了我们的方法的有效性,该数据集用于确定模型是否采用了浅层分类,而不是学习底层的泛化。实验表明,芝麻BERT优于BERT相对于GLUE基准和HANS评估集。
英文摘要:
Fine-tuning with pre-trained models has achieved exceptional results for many language tasks. In this study, we focused on one such self-attention network model, namely BERT, which has performed well in terms of stacking layers across diverse language-understanding benchmarks. However, in many downstream tasks, information between layers is ignored by BERT for fine-tuning. In addition, although self-attention networks are well-known for their ability to capture global dependencies, room for improvement remains in terms of emphasizing the importance of local contexts. In light of these advantages and disadvantages, this paper proposes SesameBERT, a generalized fine-tuning method that (1) enables the extraction of global information among all layers through Squeeze and Excitation and (2) enriches local information by capturing neighboring contexts via Gaussian blurring. Furthermore, we demonstrated the effectiveness of our approach in the HANS dataset, which is used to determine whether models have adopted shallow heuristics instead of learning underlying generalizations. The experiments revealed that SesameBERT outperformed BERT with respect to GLUE benchmark and the HANS evaluation set.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。