Home Knowledge Base Long-Range Arena (LRA)

Long-Range Arena (LRA) is the benchmark suite evaluating the capability and efficiency of sub-quadratic attention and efficient transformer architectures on sequences of 1,000 to 16,000 tokens — providing a standardized comparison across six tasks that expose the performance and memory trade-offs of alternatives to standard O(N²) full attention, directly motivating the development of linear transformers, sparse attention, and state space models.

What Is Long-Range Arena?

The 6 LRA Tasks

Task 1 — Long ListOps (sequence length: 2,000):

Task 2 — Byte-Level Text Classification (sequence length: 4,096):

Task 3 — Byte-Level Document Retrieval (sequence length: 4,096):

Task 4 — Image Classification (sequence length: 1,024):

Task 5 — Pathfinder (sequence length: 1,024):

Task 6 — PathX (sequence length: 16,384):

Architecture Comparison on LRA

ModelListOpsTextRetrievalImagePathfinderPathXAvg
Transformer36.464.357.542.471.4≈5053.7
Longformer35.762.956.942.269.7≈5052.7
BigBird36.164.059.340.874.9≈5054.2
Linear Transformer16.165.953.142.375.3≈5050.5
S4 (State Space)59.686.890.988.794.296.486.1

S4 (Structured State Spaces for Sequences) dramatically outperforms all attention variants on LRA — a result that catalyzed the state space model research wave (Mamba, Hyena, RWKV).

Why LRA Matters

Long-Range Arena is the endurance test for sequence models — evaluating which architectures can handle extremely long inputs (up to 16,384 tokens) without computational intractability, providing the empirical foundation for the shift from quadratic attention to linear-time sequence models like state space models and linear transformers.

long-range arenaevaluation

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.