English

Guiding Attention for Self-Supervised Learning with Transformers

Computation and Language 2020-10-07 v1

Abstract

In this paper, we propose a simple and effective technique to allow for efficient self-supervised learning with bi-directional Transformers. Our approach is motivated by recent studies demonstrating that self-attention patterns in trained models contain a majority of non-linguistic regularities. We propose a computationally efficient auxiliary loss function to guide attention heads to conform to such patterns. Our method is agnostic to the actual pre-training objective and results in faster convergence of models as well as better performance on downstream tasks compared to the baselines, achieving state of the art results in low-resource settings. Surprisingly, we also find that linguistic properties of attention heads are not necessarily correlated with language modeling performance.

Keywords

Cite

@article{arxiv.2010.02399,
  title  = {Guiding Attention for Self-Supervised Learning with Transformers},
  author = {Ameet Deshpande and Karthik Narasimhan},
  journal= {arXiv preprint arXiv:2010.02399},
  year   = {2020}
}

Comments

Accepted to Findings of EMNLP, 2020

R2 v1 2026-06-23T19:04:07.592Z