[2011.04006] Long Range Arena: A Benchmark for Efficient Transformers
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, LRA, 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, and Longformers) on our newly proposed benchmark suite. LRA paves the way towards better understanding this class of efficient Transformer models, facilitates more research in this direction, and presents new challenging tasks to tackle. Our benchmark code will be released at this https URL.
Preprint L ONG R ANGE A RENA : A B ENCHMARK FOR E FFICIENT T RANSFORMERS Yi Tay1∗, Mostafa Dehghani1∗ , Samira Abnar1 , Yikang Shen1 , Dara Bahri1 , Philip Pham1 Jinfeng Rao1 , Liu Yang1 , Sebastian Ruder2 , Donald Metzler1 1 Google Research 2 Google DeepMind…
saved by
related reading
- transformer_attention.pdfarxiv.org
- On the Tradeoffs of SSMs and Transformers | Goomba Labgoombalab.github.io
- Getting Caught Up to Modern LLM Research | Samarth Goeldev.samarthgoel.com
- Unlimiformer: Long-Range Transformers with Unlimited Length Inputarxiv.org
- Extending Context is Hard | kaiokendevkaiokendev.github.io
- [2111.00396] Efficiently Modeling Long Sequences with Structured State Spacesarxiv.org
- Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentionarxiv.org
- 1706.03762arxiv.org
- [2108.12409] Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationarxiv.org
- 2305.19370arxiv.org
- [2507.04239] Scaling Context Requires Rethinking Attentionarxiv.org
- Explore | alphaXivalphaxiv.org