Adaptive Attention Span In Transformers | Awesome LLM Papers Contribute to Awesome LLM Papers

Adaptive Attention Span In Transformers

Sainbayar Sukhbaatar, Edouard Grave, Piotr Bojanowski, Armand Joulin . Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics 2019 – 287 citations

[Paper]   Search on Google Scholar   Search on Semantic Scholar
ACL Uncategorized

We propose a novel self-attention mechanism that can learn its optimal attention span. This allows us to extend significantly the maximum context size used in Transformer, while maintaining control over their memory footprint and computational time. We show the effectiveness of our approach on the task of character level language modeling, where we achieve state-of-the-art performances on text8 and enwiki8 by using a maximum context of 8k characters.

Similar Work