Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

The NLP Task Effectiveness of Long-Range Transformers (2202.07856v2)

Published 16 Feb 2022 in cs.CL and cs.LG

Abstract: Transformer models cannot easily scale to long sequences due to their O(N2) time and space complexity. This has led to Transformer variants seeking to lower computational complexity, such as Longformer and Performer. While such models have theoretically greater efficiency, their effectiveness on real NLP tasks has not been well studied. We benchmark 7 variants of Transformer models on 5 difficult NLP tasks and 7 datasets. We design experiments to isolate the effect of pretraining and hyperparameter settings, to focus on their capacity for long-range attention. Moreover, we present various methods to investigate attention behaviors to illuminate model details beyond metric scores. We find that the modified attention in long-range transformers has advantages on content selection and query-guided decoding, but they come with previously unrecognized drawbacks such as insufficient attention to distant tokens and accumulated approximation error.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Guanghui Qin (16 papers)
  2. Yukun Feng (7 papers)
  3. Benjamin Van Durme (173 papers)
Citations (24)
Youtube Logo Streamline Icon: https://streamlinehq.com