SesameBERT: Attention for Anywhere
Authors:
- 1 October 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 363-369
Abstract
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.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Convolutional Self-Attention Networks2019
- Self-Attentional Acoustic Models2018
- Squeeze-and-Excitation Networks2018
- GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding2018
- Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architectures2018
- Modeling Localness for Self-Attention Networks2018
- Deep Contextualized Word Representations2018
- Visual concepts and compositional votingAnnals of Mathematical Sciences and Applications, 2018
- Key-Value Memory Networks for Directly Reading Documents2016
- Glove: Global Vectors for Word Representation2014