Efficient Transformers: A Survey
Preprint
Abstract
Transformer model architectures have garnered immense interest lately due to their effectiveness across a range of domains like language, vision and reinforcement learning. In the field of natural language processing for example, Transformers have become an indispensable staple in the modern deep learning stack. Recently, a dizzying number of "X-former" models have been proposed - Reformer, Linformer, Performer, Longformer, to name a few - which improve upon the original Transformer architecture, many of which make improvements around computational and memory efficiency. With the aim of helping the avid researcher navigate this flurry, this paper characterizes a large and thoughtful selection of recent efficiency-flavored "X-former" models, providing an organized and comprehensive overview of existing work and models across multiple domains.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- FNet: Mixing Tokens with Fourier Transforms2022
- Simple Local Attentions Remain Competitive for Long-Context Tasks2022
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
- Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Blockwise Self-Attention for Long Document Understanding2020
- TinyBERT: Distilling BERT for Natural Language Understanding2020
- HAT: Hardware-Aware Transformers for Efficient Natural Language Processing2020
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- Adaptive Attention Span in Transformers2019
- fairseq: A Fast, Extensible Toolkit for Sequence Modeling2019