scimeatlas

Research map / Architectures and efficiency / Attention and transformers

FNet: Mixing Tokens with Fourier Transforms

James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, Santiago Ontañón

NAACL 2022Architectures and efficiency › Attention and transformersapproach: Sparse efficient transformers for long contextopen problems in this approach674 citations (OpenAlex)

Google

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
9improved
3no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace self-attention with unparameterized Fourier mixingBERT-Base · GLUE validationaverage score: 83.3 -> 76.7Hurt
replace self-attention with unparameterized Fourier mixingBERT-Base · GLUE pre-training speedspeed: 80% faster on GPUs, 70% faster on TPUsImproved
add structured token mixing (Fourier) instead of none (ablation)FF-only Base · GLUE validationaverage score: 49.3 -> 76.7Improved
use Fourier mixing instead of constant random mixing (ablation)Random-Base · GLUE validationaverage score: 56.6 -> 76.7Improved
replace the final two Fourier sublayers with self-attention (ablation)FNet-Base · GLUE validationaverage score: 76.7 -> 80.6Improved
scale from Base to LargeFNet · GLUE validationaverage score: 76.7 -> 81.9Improved
use learnable dense linear mixing instead of Fourier at Large size (ablation)FNet-Large · GLUE validationaverage score: 81.9 -> 59.8Hurt
FNet vs vanilla TransformerTransformer · Long Range Arenaaverage accuracy: 55.83 vs 55.30No clear effect
use FNet instead of Transformer at long sequence lengthTransformer · LRA GPU training speedsteps/s: 4 -> 14 steps/s at 2048 tokensImproved
use FNet instead of TransformerTransformer · LRA GPU peak memoryGB: 12.2 -> 2.2 GB at 2048 tokensImproved
use Hartley instead of Fourier Transform (ablation)FNet · GLUEaverage score: 76.7 vs 76.7No clear effect
use DCT or Hadamard instead of Fourier Transform (ablation)FNet · GLUEaccuracy: ~4% (DCT), ~2% (Hadamard) degradationHurt

Later papers that compared with this method

1 later accepted paper reports FNet-Base as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in sparse efficient transformers for long context

Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy