mlsanityData to 7 Oct 2026

Transformer with Fourier Integral Attentions

arXiv 2206.00206 ↗First posted 1 Jun 2022cs.LG stat.MLcited by 2

Not on the map. Why?

Abstract (arXiv)

Multi-head attention empowers the recent success of transformers, the state-of-the-art models that have achieved remarkable success in sequence modeling and beyond. These attention mechanisms compute the pairwise dot products between the queries and keys, which results from the use of unnormalized Gaussian kernels with the assumption that the queries follow a mixture of Gaussian distribution. There is no guarantee that this assumption is valid in practice. In response, we first interpret attention in transformers as a nonparametric kernel regression. We then propose the FourierFormer, a new class of transformers in which the dot-product kernels are replaced by the novel generalized Fourier integral kernels. Different from the dot-product kernels, where we need to choose a good covariance matrix to capture the dependency of the features of data, the generalized Fourier integral kernels can automatically capture such dependency and remove the need to tune the covariance matrix. We theoretically prove that our proposed Fourier integral kernels can efficiently approximate any key and query distributions. Compared to the conventional transformers with dot-product attention, FourierFormers attain better accuracy and reduce the redundancy between attention heads. We empirically corroborate the advantages of FourierFormers over the baseline transformers in a variety of practical applications including language modeling and image classification.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 63 of its 86 references that are in the map. First posted on arXiv 1 Jun 2022.

Builds on

63 of 86 references.

References · 63

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  7. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  8. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  9. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  10. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  12. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
38 more
  1. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  4. 2016Pointer Sentinel Mixture Modelscited by 2,992
  5. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  6. 2017Non-local Neural Networkscited by 2,290
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  9. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
  10. 2021ViViT: A Video Vision Transformercited by 1,610
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  13. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  14. 2020Point Transformercited by 1,462
  15. 2018Self-Attention with Relative Position Representationscited by 1,112
  16. 2021Video Swin Transformercited by 1,090
  17. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  18. 2021Transformers in Vision: A Surveycited by 1,009
  19. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  20. 2021Multiscale Vision Transformerscited by 896
  21. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  22. 2019Are Sixteen Heads Really Better than One?cited by 803
  23. 2020Efficient Transformers: A Surveycited by 784
  24. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  25. 2020PCT: Point cloud transformercited by 730
  26. 2018Universal Transformerscited by 613
  27. 2019Designing and Interpreting Probes with Control Taskscited by 608
  28. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  29. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  30. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  31. 2021A Survey of Transformerscited by 399
  32. 2021Choose a Transformer: Fourier or Galerkincited by 333
  33. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  34. 2017Parseval Networks: Improving Robustness to Adversarial Examplescited by 288
  35. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  36. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  37. 2016A Decomposable Attention Model for Natural Language Inferencecited by 214
  38. 2018Sorting out Lipschitz function approximationcited by 211

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 1.

2 papers.