2021

Random Feature Attention

Peng, Hao, Pappas, Nikolaos, Yogatama, Dani et al.

Understand

Transformers are state-of-the-art models for a variety of sequence modeling tasks.

  • At their core is an attention function which models pairwise interactions between the inputs at every timestep.
  • While attention is powerful, it does not scale efficiently to long sequences due to its quadratic time and space complexity in the sequence length.
  • We propose RFA, a linear time and space attention that uses random feature methods to approximate the softmax function, and explore its application in transformers.

Reading the bibliography…