arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02399cs.CL
收藏

用Transformers引导注意力进行自监督学习

Guiding Attention for Self-Supervised Learning with Transformers

Department of Computer Science(计算机科学系);Princeton University(普林斯顿大学)

Ameet Deshpande, Karthik Narasimhan

摘要:

在本文中,我们提出了一个简单而有效的技术,允许有效自监督学习与双向Transformers。最近的研究表明,训练模型中的自我注意模式包含了大部分非语言的注意力。我们提出了一个计算效率高的辅助损失函数,以指导注意头符合这样的模式。我们的方法与实际的预训练目标无关,与基线相比,模型的收敛速度更快,下游任务的性能更好,在低资源环境下实现了最先进的结果。令人惊讶的是,我们还发现,语言属性的注意头不一定与语言建模性能。

英文摘要:

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.

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

↑