장거리 영역: 효율적 트랜스포머를 위한 벤치마크
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 토큰까지 범위를 갖는 작업 세트입니다. 우리는 새로 제안한 벤치마크 세트에서 Reformers, Linformers, Linear Transformers, Sinkhorn Transformers, Performers, Synthesizers, Sparse Transformers, Longformers 등 10 개 잘 확립된 장기 범용 트랜스포머 모델을 체계적으로 평가했습니다. 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.