Nystromformer: A Nystom-based Algorithm for Approximating Self-Attention.
Ontology highlight
ABSTRACT: Transformers have emerged as a powerful tool for a broad range of natural language processing tasks. A key component that drives the impressive performance of Transformers is the self-attention mechanism that encodes the influence or dependence of other tokens on each specific token. While beneficial, the quadratic complexity of self-attention on the input sequence length has limited its application to longer sequences - a topic being actively studied in the community. To address this limitation, we propose Nyströmformer - a model that exhibits favorable scalability as a function of sequence length. Our idea is based on adapting the Nyström method to approximate standard self-attention with O(n) complexity. The scalability of Nyströmformer enables application to longer sequen
SUBMITTER: Xiong Y
PROVIDER: S-EPMC8570649 | biostudies-literature | 2021
REPOSITORIES: biostudies-literature
ACCESS DATA