Long Range Arena: 効率的なトランスフォーマーのためのベンチマーク
Long Range Arena: A Benchmark for Efficient Transformers
Long Range Arena: A Benchmark for Efficient Transformers
@misc{tay2020long,
title = {Long Range Arena: A Benchmark for Efficient Transformers},
author = {Yi Tay and Mostafa Dehghani and Samira Abnar and Yikang Shen and Dara Bahri and Philip Pham and Jinfeng Rao and Liu Yang and Sebastian Ruder and Donald Metzler},
year = {2020},
eprint = {2011.04006},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2011.04006}
}
Tay, Y., Dehghani, M., Abnar, S., Shen, Y., Bahri, D., Pham, P., Rao, J., Yang, L., Ruder, S., & Metzler, D. (2020). Long Range Arena: A Benchmark for Efficient Transformers [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.04006
TAY Y, DEHGHANI M, ABNAR S, et al. Long Range Arena: A Benchmark for Efficient Transformers[EB/OL]. (2020-11-08)[2026-11-30]. https://arxiv.org/abs/2011.04006.
要旨
トランスフォーマーは、二次的な自己注意の計算複雑性により、長いシーケンス長に対してスケーラビリティが低いという課題を抱えており、最近の数ヶ月間にわたって、この問題に対処するための効率的かつ高速なトランスフォーマーの多様な提案がなされてきた。これらの提案は、多くの場合、標準的なトランスフォーマーモデルに優等または同等のモデル品質を主張している。現在、このクラスのモデルを評価する方法については確立されたコンセンサスが存在しない。さらに、多様なタスクとデータセットにおける一貫性のないベンチマーク化により、多数のモデル間の相対的な品質を評価することが困難である。本論文では、長文脈シナリオ下でのモデル品質を評価ことに特化した体系的かつ統一されたベンチマーク、LRA を提案する。当ベンチマークは、1K から 16K トークンの範囲にわたるシーケンスを備えたタスクのセットであり、テキスト、自然画像、合成画像、数学式など、類似性、構造化、視覚空間推論を必要とする多様なデータタイプとモダリティを網羅している。我々は、新たに提案されたベンチマークセット上で、10 つの確立された長距離トランスフォーマーモデル(Reformers, Linformers, Linear Transformers, Sinkhorn Transformers, Performers, Synthesizers, Sparse Transformers, Longformers など)を体系的に評価した。LRA は、このクラスの効率的なトランスフォーマーモデルに対するより深い理解を可能にし、この分野の研究を促進するとともに、新たな挑戦的なタスクを提供する。当ベンチマークのコードは、https://github.com/google-research/long-range-arena に公開される。
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 https://github.com/google-research/long-range-arena.