mlsanityData to 7 Oct 2026

FastRPB: a Scalable Relative Positional Encoding for Long Sequence Tasks

arXiv 2202.11364 ↗First posted 23 Feb 2022cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformers achieve remarkable performance in various domains, including NLP, CV, audio processing, and graph analysis. However, they do not scale well on long sequence tasks due to their quadratic complexity w.r.t. the inputs length. Linear Transformers were proposed to address this limitation. However, these models have shown weaker performance on the long sequence tasks comparing to the original one. In this paper, we explore Linear Transformer models, rethinking their two core components. Firstly, we improved Linear Transformer with Shift-Invariant Kernel Function SIKF, which achieve higher accuracy without loss in speed. Secondly, we introduce FastRPB which stands for Fast Relative Positional Bias, which efficiently adds positional information to self-attention using Fast Fourier Transformation. FastRPB is independent of the self-attention mechanism and can be combined with an original self-attention and all its efficient variants. FastRPB has O(N log(N)) computational complexity, requiring O(N) memory w.r.t. input sequence length N.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 23 Feb 2022.

Builds on

17 of 23 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  7. 2020Rethinking Attention with Performerscited by 1,584
  8. 2018Self-Attention with Relative Position Representationscited by 1,112
  9. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  10. 2021A Survey of Transformerscited by 399
  11. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  12. 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
5 more
  1. 2019Encoding word order in complex embeddingscited by 53
  2. 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
  3. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
  4. 2018Discovering Transforms: A Tutorial on Circulant Matrices, Circular Convolution, and the Discrete Fourier Transformcited by 8
  5. 2021On Fast Computation of a Circulant Matrix-Vector Productcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.