FourierQK: Filter Shape, Admissibility and the Leakage-Coverage Law
Not on the map. Why?
Abstract (arXiv)
Frequency-collapse attention [Zeris, 2026e] achieves large gains over standard dot-product attention by replacing the Q/K dot product with a bandpass-filtered inner product at a learned frequency. A natural follow-up question is: which filter shape works best, and why? We test five hypotheses about filter properties -- DC suppression, Nyquist suppression, bandwidth, centre frequency, and multi-scale coverage -- using a controlled ablation on character-level language modelling (TinyShakespeare, 6-layer GPT). Our main findings are: (1) DC and Nyquist components are actively harmful (val ~= 2.0, equivalent to phase randomisation), confirming that oscillatory bandpass structure is essential, not just any low-dimensional spectral summary; (2) the optimal single-scale bandwidth is sigma ~= 2 bins centred at paragraph scale (~70 tokens), giving a clean gain of Delta = +1.15 nats over BASE-DOT; (3) admissible filters (zero-mean, Mexican Hat DOG m = 2) outperform non-admissible Gaussians at the same scale and provide partial protection against bilateral FFT leakage; (4) bilateral FFT leakage scales monotonically with spectral coverage -- narrowband filters (gap > +4) are clean, wideband filters (gap < +2) are leaky; and (5) causal time-domain Morlet at character scale cannot beat BASE-DOT (K=128 taps covers 50% of T=256 context), motivating word-level experiments in the companion MorletQK paper [Zeris, 2026f]. Together, findings (1)-(5) characterise FourierQK as effective in bidirectional attention settings (encoder-style, e.g. BERT), where full-sequence context is available at both training and inference time; autoregressive generation requires a causal spectral variant such as MorletQK [Zeris, 2026f] (decoder-style, e.g. GPT). Code available at: https://github.com/AthanasiosZeris/energy-gated-attention
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 14 references that are in the map. First posted on arXiv 9 Jul 2026.
Builds on
7 of 14 references.
References · 7
- 2017Attention Is All You Needcited by 60,361
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2026Energy-Gated Attention: Spectral Salience as an Inductive Bias for Transformer Attentioncited by 5
- 2026Energy-Gated Attention and Wavelet Positional Encoding: Complementary Inductive Biases for Transformer Attentioncited by 4
- 2026Beyond Sinusoids: A Morlet Wavelet Framework for Transformer Positional Encodingcited by 3
- 2026Multiscale POD of Transformer Attention Fields: Scale-Selective Analysis via Morlet Scalogramcited by 2
- 2026FourierQK: Spectral Preprocessing of Query-Key Projections Improves Transformer Attentioncited by 1
Built on by
Not cited yet.