Galerkin Transformer
Choose a Transformer: Fourier or Galerkin
Paper title Choose a Transformer: Fourier or Galerkin
Paper arXiv 2105.14995PDF
An operator learner whose encoder uses attention without softmax. The Fourier-type attention computes (QKᵀ)V/n and the Galerkin-type computes Q(KᵀV)/n, where n is the number of grid points and layer normalisation is applied to Q and K, or to K and V, before the product. The Galerkin form multiplies KᵀV first, so its cost per layer is O(nd²), linear in n. Grid coordinates are concatenated to the latent features in every attention head. In 2D an interpolation-based CNN downsamples before the attention and upsamples after it.
- Published
- NeurIPS
Share on LinkedIn, X or Bluesky, or or .
Know related work that belongs here? Suggest a link
Something wrong on this page? Tell the editor