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