Papers › Adaptive Frequency Filters As Efficient Global Token Mixers

Adaptive Frequency Filters As Efficient Global Token Mixers

26 Jul 2023ICCV 2023 1arXiv:2307.14008archive 2025-07-28

Zhipeng Huang, Zhizheng Zhang, Cuiling Lan, Zheng-Jun Zha, Yan Lu, Baining Guo

Recent vision transformers, large-kernel CNNs and MLPs have attained remarkable successes in broad vision tasks thanks to their effective information fusion in the global scope. However, their efficient deployments, especially on mobile devices, still suffer from noteworthy challenges due to the heavy computational costs of self-attention mechanisms, large kernels, or fully connected layers. In this work, we apply conventional convolution theorem to deep learning for addressing this and reveal that adaptive frequency filters can serve as efficient global token mixers. With this insight, we propose Adaptive Frequency Filtering (AFF) token mixer. This neural operator transfers a latent representation to the frequency domain via a Fourier transform and performs semantic-adaptive frequency filtering via an elementwise multiplication, which mathematically equals to a token mixing operation in the original latent space with a dynamic convolution kernel as large as the spatial resolution of this latent representation. We take AFF token mixers as primary neural operators to build a lightweight neural network, dubbed AFFNet. Extensive experiments demonstrate the effectiveness of our proposed AFF token mixer and show that AFFNet achieve superior accuracy and efficiency trade-offs compared to other lightweight network designs on broad visual tasks, including visual recognition and dense prediction tasks.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.14008")

Code

Syntology Ran 10 of 15 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: community (archive-listed): 15 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/TokenMixers officialmentioned on GitHubpytorchMIT report
NWPU-Li/AFFNet mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 10 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
5unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from NWPU-Li/AFFNet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AFNO2D_channelfirst NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: invariant no licence file found · pointer only · 227c2873c99077b9 · report
BaseLayer NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran no licence file found · pointer only · e1c2afc727bd6d1a · report
Conv2d NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 95bbde412a6c735c · report
ConvBNReLU NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 641eb298cd57de0b · report
ConvLayer NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran no licence file found · pointer only · 0df567a258b6e5b4 · report
DropPath NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 99f368d7aea9ef52 · report
InvertedResidual NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 6a8332def917d701 · report
SyncBatchNorm NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · d54f7d4fbdc254c5 · report
get_curr_time_stamp NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran no licence file found · pointer only · 84c0a35c7364c26f · report
module_profile NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) ran no licence file found · pointer only · 1585f9a504609936 · report
AFFBlock NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) unverified no licence file found · pointer only · caed0187b99312ad · report
BaseModule NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) unverified no licence file found · pointer only · 7f97a3538e5957e4 · report
Block NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) unverified no licence file found · pointer only · f391210c1cd38e6c · report
double_dash_line NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) unverified no licence file found · pointer only · c037d830c741191b · report
info NWPU-Li/AFFNet/aff_block_LL.py community (archive-listed) unverified no licence file found · pointer only · cfe97b03566da974 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections