atlas

Research map / Architectures and efficiency / Attention and transformers

FFT-Based Dynamic Token Mixer for Vision

AAAI 2024 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 64 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Dynamic Filter, an FFT-based token mixer whose global frequency filters are linearly combined per channel from a learned basis with weights predicted by an MLP, and builds DFFormer and CDFFormer MetaFormer-style vision models.

Problem

Global FFT-based token mixers (global filters such as GFNet) are cheaper than self-attention at high resolution but have static filters and have not been examined within the MetaFormer architecture, lagging state-of-the-art models in accuracy.

Approach

Replace the static global filter with a dynamic filter: for each channel, input-dependent softmax weights (predicted by a small MLP from globally pooled features) linearly combine a basis of N learnable complex frequency filters, and the result is applied inside a MetaFormer block; hybrids mix in separable convolution blocks (CDFFormer).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reduce dynamic filter basis dimension from N=4 to N=2 (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 83.0Hurt
Reduce MLP intermediate ratio from ρ=0.25 to ρ=0.125 (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 83.1Hurt
Replace dynamic filters with global (static) filters (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 82.9Hurt
Replace dynamic filters with AFNO (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 82.6Hurt
Replace StarReLU with GELU (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 82.7Hurt
Replace StarReLU with ReLU (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 82.5Hurt
Replace StarReLU with ReLU and dynamic filters with AFNO (ablation)DFFormer-S18 · ImageNet-1KTop-1 accuracy: 83.2 -> 82.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K ADE20K COCO

Benchmarks: ImageNet-1K ADE20K COCO

Metrics: top-1 accuracy mIoU box AP throughput peak memory FLOPs linear CKA

Baselines: ConvNeXt ConvFormer CAFormer GFNet AMixer DynaMixer RMT MaxViT GCViT PoolFormer PVT ResNet

Builds on: GFNet MetaFormer AFNO ConvFormer StarReLU

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