Long Range Arena: A Benchmark for Efficient Transformers
Yi Tay Thanks: First two authors contributed equally. Affiliation: Google Research Mostafa Dehghani Samira Abnar Affiliation: Google Research Yikang Shen Affiliation: Google Research Dara Bahri Affiliation: Google Research Philip Pham Affiliation: Google Research Jinfeng Rao Affiliation: Google Research Liu Yang Affiliation: Google Research Sebastian Ruder Affiliation: Google DeepMind{yitay, Donald Metzler Affiliation: Google Research
Abstract
Transformers do not scale very well to long sequence lengths largely because of quadratic self-attention complexity. In the recent months, a wide spectrum of efficient, fast Transformers have been proposed to tackle this problem, more often than not claiming superior or comparable model quality to vanilla Transformer models. To this date, there is no well-established consensus on how to evaluate this class of models. Moreover, inconsistent benchmarking on a wide spectrum of tasks and datasets makes it difficult to assess relative model quality amongst many models. This paper proposes a systematic and unified benchmark, Long-Range Arena , specifically focused on evaluating model quality under long-context scenarios. Our benchmark is a suite of tasks consisting of sequences ranging from $1K$ to $16K$ tokens, encompassing a wide range of data types and modalities such as text, natural, synthetic images, and mathematical expressions requiring similarity, structural, and visual-spatial reasoning. We systematically evaluate ten well-established long-range Transformer models (Reformers, Linformers, Linear Transformers, Sinkhorn Transformers, Performers, Synthesizers, Sparse Transformers,
原文 arXiv:2011.04006;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2011.04006v1